I'll try to help you to use OpenSolaris without the headache ! I am an ex Sun Microsystems and please don't hesitate to contact me for any matter having a link with OpenSolaris... No stupid questions... It is a very nice OS ! Don't miss it !

Thursday, April 2, 2009

Adobe Reader on OpenSolaris !!!


Youpee !!!

Adobe Reader

root@catalogne:/export/home/rudy/Download# chmod +x AdbeRdr9.1.0-1_i486solaris_enu.bin
root@catalogne:/export/home/rudy/Download# ./AdbeRdr9.1.0-1_i486solaris_enu.bin

Extracting files, please wait. (This may take a while depending on the configuration of your machine)

This installation requires 171 MB of free disk space.

Enter installation directory for Adobe Reader 9.1.0 [/opt]
/opt

Installing platform independent files ... Done
Installing platform dependent files ... Done
Setting up libraries ... Done
Setting up desktop and menu icons ... Done
Setting up the browser plugin ... Done

-Rudy-

OpenSolaris 2008.11 - CUPS - Brother HL-2030 USB

I was a little bit disappointed... I plugged my laser printer Brother HL-2030 ( USB ) and enabled cups and played a little bit with the cups website but was not able to print anything as the printer goes offline ! S...

After reading several sources what have to be done :

  • enable cups
The package SUNWcups was not installed. Start the Package Manager and type cups in the "search field". I installed the 3 packages to be sure : SUNWcups, SUNWcups-libs and SUNWpycups(if I remember well this one was already installed).

Query the print service and cups is enabled.

root@catalogne:~# print-service -q
active print service: cups

If cups is not enabled :

print-services -s cups

  • enable your user to use the cups website(when authentication is required)
Getting Admin rights to modify CUPS settings

You have to be in the group "sys".

root@catalogne:~# cat /etc/group | grep sys:
sys::3:root,bin,adm,rudy

In this example, the user "rudy" is in the "sys" group.

"THIS IS TEMPORARY ! ROOT CANNOT AUTHENTICATE INTO CUPS"
please remove later your user from "sys" !
  • Access the cups website and create a new usb printer
example : http://localhost:631

This will create the necessary configuration for a test1 printer.
  • Modify the cups configuration
Add "FileDevice Yes" in cupsd.conf(backup the file before).

root@catalogne:/etc# more /etc/cups/cupsd.conf
#
# "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $"
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#

# RUV
FileDevice Yes
...
...
...

Modify printers.conf

root@catalogne:~# more /etc/cups/printers.conf
# Printer configuration file for CUPS v1.3.7
# Written by cupsd on 2009-04-02 20:04

Info test1
Location test1
DeviceURI file://dev/printers/0
State Idle
StateTime 1238695489
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer


From DeviceURI usb://Brother/HL-2030%20series
TO file://dev/printers/0
  • Access the cups website
example : http://localhost:631

Printers--->Print Test Page



Printed a test page !!!

That's all for today !

-Rudy-