[cups.bugs] [MOD] STR #1872: Unknown -o option argument use not reported by lpr/lp

Bernd Krumböck krumboeck at universalnet.at
Fri Jul 28 13:16:24 PDT 2006


> $ lpr -o sides=double-sided-long-edge HTMLPrimerPDF.pdf
> lpr: error, unknown option "-o sides=double-sided-long-edge" (document not
> queued for printing)
> $

I agree with Kurt Pfeifle: It's not a bug it's a feature!  ;)

Solution (or workaround):
Create a wrapper and check all options before you call lp or lpr command.
You can also rename lp command to something like "lp.orig". After that
rename your wrapper to "lp" and place it in the search path for your users.

This simple trick is often used.  ;)


best regards!
Bernd




More information about the cups-devel mailing list