How to turn on CUPS



OpenSolaris have 2 print systems, the default print system to date including 2009.06 release is LP. From the Live CD, the LP print system is installed. You may want to have CUPS because of better application integration or other reasons. You need to install additional packages from the repositories, such as http://pkg.opensolaris.org/dev.

To avail of the CUPS print system, one needs to do the following steps:

$ pfexec pkg install SUNWcups SUNWcups-libs SUNWcups-manager SUNWpycups SUNWhal-cups-utils

or simply

$ pfexec pkg install SUNWhal-cups-utils


(All the relevant pkgs will be installed based on dependencies)
NOTE: SUNWhal-cups-utils was integrated into build 114, so you need to have that version or later).

Once these packages are installed, do

$ pfexec /usr/sbin/print-service -s cups


(The print system is then switch over to CUPS)

To revert back to LP, simply do

$ pfexec /usr/sbin/print-service -s lp



Comments:

Should the first two examples not read:

pfexec pkg install.......

Posted by Chris Gerhard on September 21, 2009 at 05:39 AM GMT+00:00 #

Chris, Thanks!
What a silly omission from me.

Posted by Ghee Teo on September 21, 2009 at 05:52 AM GMT+00:00 #

In build 123 (x86) we have SUNWhal-cups-utils and not SUNWcups-hal-utils (as you can see here: http://pkg.opensolaris.org/dev/en/search.shtml?token=cups&action=Search)

Posted by Luca Morettoni on September 21, 2009 at 08:16 AM GMT+00:00 #

Thanks. Luca!
Never tried to write a blog on Monday morning :(.

Posted by Ghee Teo on September 21, 2009 at 08:27 AM GMT+00:00 #

Do we still need Samba or can we use Sun's CIFS to print to Windows hosted printers ?

Posted by Paul Griffith on September 23, 2009 at 07:17 AM GMT+00:00 #

CIFS doesn't yet support printing as far as I know. So samba is still required.

Posted by Ghee Teo on September 23, 2009 at 07:37 AM GMT+00:00 #

Does CUPS interact well with NIS printers? I am on SWAN. Thanks.

Posted by Sivakumar S on September 24, 2009 at 02:35 AM GMT+00:00 #

You can add your own print queue to a printer in SWAN even though it is managed under NIS using the CUPS print manager. CUPS doesn't support NIS but it does support LDAP.

I have NIS based printer, but I generally just create a print queue to the printer I need and ignore NIS setup completely.

Posted by Ghee Teo on September 24, 2009 at 04:00 AM GMT+00:00 #

Post a Comment:
  • HTML Syntax: NOT allowed
About

I work in the Desktop Group Site Meter

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today