passing solaris printing options to CUPS server

Helge Blischke H.Blischke at srz-berlin.de
Fri Sep 3 05:45:46 PDT 2004


Currently, there is no separate "client install", but as I remember,
something like this is planned for CUPS 1.2.x.

But it is sufficient to install the library (libcups.so) and
the command line utilites you need into the appropriate 
directories and then set up the client.conf.

Helge


Anonymous wrote:
> 
> Thanks to Helge Blischke and Michael Sweet for your swift replies.
> 
> So, I have followed your advice and (compiled and) installed CUPS on the solaris client.  I then updated the /etc/cups/client.conf file to point to the cups server.  Printing with the format options (e.g landscape) now works correctly.
> 
> Is there a special procedure to install a "cups client".  I have actually installed a cups server on my solaris client  and simply updated the client.conf file so that CUPS behaves as a client.  It would be prefereable if I could install a cut-down version somehow.
> 
> Colin
> European Commission
> 
> Helge Blischke wrote:
> > Anonymous wrote:
> > >
> > > Hello.
> > >
> > > on a solaris 9 printing client, I have defined a printer called hp4_0062_a4.  It is configured as follows in /etc/printers.conf
> > > hp4_0062_a4:\
> > >         :bsdaddr=cupslpd.cc.cec.eu.int,hp4_0062_a4,Solaris:\
> > >         :description=APPOPMP MO34 02/A22:
> > >
> > > On the CUPS server, the printer is defined as follows (/etc/cups/printers.conf)
> > > <Printer hp4_0062_a4>
> > > Info APPOPMP
> > > Location B-28 07/114
> > > DeviceURI lpd://hp4_0062_a4/lp
> > > State Idle
> > > Accepting Yes
> > > JobSheets none none
> > > QuotaPeriod 0
> > > PageLimit 0
> > > KLimit 0
> > > </Printer>
> > >
> > > When I execute the following command on the the solaris printing client, I get the printing prints in portrait (none of the options are passed): -
> > > lp -d hp4_0062_a4 -olandscape -ocpi13 -olpi8 /etc/hosts
> > >
> > > On the other hand, when I execute the same command on the cups server, the options succeed (e.g it prints in landscape).
> > >
> > > background Note: We are in the middle of a project to migrate from Xprint to CUPS.
> > >
> > > I would appreciate any advice, thanks in adv.,
> > > Colin
> >
> > I guess the Solaris 9 spooler uses the LPD protocol (bsdaddr=...)
> > according to
> > RFC 1179 with some undocumented Solaris extensions (,Solaris). Thus, I
> > guess you
> > are stuck to the cups-lpd daemon with all its restrictions.
> >
> > I suggest to compile CUPS on Solaris 9 and install only the client part
> > to be
> > able to use all the comfort CUPS offers.
> >
> > Helge
> >
> > --
> > H.Blischke at srz-berlin.de
> > H.Blischke at srz-berlin.com
> > H.Blischke at acm.org

-- 
H.Blischke at srz-berlin.de
H.Blischke at srz-berlin.com
H.Blischke at acm.org




More information about the cups mailing list