**SPAM Hits=4.1 Re: [cups.general] printing options

Helge Blischke h.blischke at srz.de
Fri Jul 29 05:15:21 PDT 2005


kalhoff at rz.uni-kiel.de wrote:
> 
> I tried different variants:
>     lpr -P printer -o key=value ...
>     lp -d printer -o key=value ...
>     lp -d printer -o portrait ...
>     lpr -o key=value -P printer ...
>     lp -o key=value -d printer ...
>     lpoptions -d printer -o key=value
> 
> without receiving any value in the options parameter of the backend.
> 
> Bernhard
> 
> > kalhoff at rz.uni-kiel.de wrote:
> >>
> >> How can I pass a job specific printing option to a CUPS backend ?
> >> I tried ' lpr -P printer -o key=value ..." and "lpoptions -d printer
> >> -o
> >> key=value"
> >> but the options parameter of the backend remains empty.
> >>
> >> Bernhard
> >
> > What if you try the lp command?
> > But is should work anyway.
> >
> > Helge
> >

I do it all the time. Be aware that the options parameter which is passed
to the backend (as well as to the filters) is ONE string containing all
options separated by space.

Helge


-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list