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 :
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%20seriesTO file://dev/printers/0 example : http://localhost:631
Printers--->Print Test Page

Printed a test page !!!
That's all for today !
-Rudy-