Though CUPS and LP can and do use several common pieces of software on 
Solaris for printer support and SMB support, they aren't integrated with 
each other.  CUPS can be used in place of LP and vice versa.  If you 
want to switch between CUPS and LP you can use the print-serivce(1m) 
command:

    # uname -a
    SunOS snappy 5.11 snv_90 i86pc i386 i86pc
    # print-service -q
    active print service: cups
    # svcs '*cups*' '*print*'
    STATE          STIME    FMRI
    disabled       Jun_09   svc:/application/print/server:default
    disabled       Jun_09   svc:/application/print/ipp-listener:default
    disabled       Jun_09   svc:/application/print/ppd-cache-update:default
    disabled       Jun_09   svc:/network/device-discovery/printers:snmp
    disabled       Jun_09   svc:/application/print/rfc1179:default
    online         Jun_09   svc:/application/cups/scheduler:default
    online         Jun_09   svc:/application/cups/in-lpd:default
    online         Jun_09   svc:/application/cde-printinfo:default
    # print-service -s lp
    disabling CUPS services...
    enabling LP services...
    # svcs '*cups*' '*print*'
    STATE          STIME    FMRI
    disabled       Jun_09   svc:/network/device-discovery/printers:snmp
    disabled       10:42:02 svc:/application/cups/in-lpd:default
    disabled       10:42:02 svc:/application/cups/scheduler:default
    online         Jun_09   svc:/application/cde-printinfo:default
    online         10:42:03 svc:/application/print/server:default
    online         10:42:03 svc:/application/print/rfc1179:default
    online         10:42:14 svc:/application/print/ipp-listener:default
    online         10:42:30 svc:/application/print/ppd-cache-update:default
    # print-service -s cups 
    disabling LP services...
    enabling CUPS services...
    # svcs '*cups*' '*print*'
    STATE          STIME    FMRI
    disabled       Jun_09   svc:/network/device-discovery/printers:snmp
    disabled       10:42:52 svc:/application/print/ppd-cache-update:default
    disabled       10:42:52 svc:/application/print/rfc1179:default
    disabled       10:42:52 svc:/application/print/ipp-listener:default
    disabled       10:42:53 svc:/application/print/server:default
    online         Jun_09   svc:/application/cde-printinfo:default
    online         10:42:54 svc:/application/cups/scheduler:default
    online         10:42:54 svc:/application/cups/in-lpd:default
    # print-service -q
    active print service: cups
    #

If you  want to use a Windows hosted printer from CUPS you can use 
"lpadmin -p queue -v smb://windows-host/queue ..." to create the queue 
or use the CUPS web interface http://localhost:631/admin/ (all 
applications -> system tools -> manage printing from the gnome menus).  
Both LP and CUPS use smbspool(1m) from samba to communicate with the 
Windows SMB print server.  With respect to printing and the new Solaris 
CIFS support (client and server), integrated printing support is on the 
list of things that are yet to be done.

    -Norm

Wyllys Ingersoll wrote:
> Can someone post some updated instructions on how to configure and use CUPS 
> on a *recent* Nevada system?   I am trying to print to a shared printer 
> hosted on Windows XP using SMB.  If using 'printmgr', I can configure the URI 
> method and specify smb://HOST/PRINTER, but that also requires me to set up 
> /etc/sfw/smb.conf, so apparently it is not using any of the new Solaris CIFS 
> client services.  I thought CUPS was integrated better into the printing 
> services - I am running build 91 - but I don't see any SMF entries or man 
> pages describing how to use it, or at least none that are complete and correct

Reply via email to