passing solaris printing options to CUPS server

Anonymous anonymous at easysw.com
Thu Sep 2 02:54:21 PDT 2004


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




More information about the cups mailing list