"Option foo bar" lines in printers.conf not reflected in "lpoptions" query

Till Kamppeter till.kamppeter at gmail.com
Mon Jul 2 03:11:29 PDT 2007


Kurt, can you post this on http://www.cups.org/str.php, I think this is 
very important for the usability of CUPS.

    Till

Kurt Pfeifle wrote:
> I've not yet submitted a bug report, but probably will do so after your feedback....
> 
> It looks like no "Option foo bar" line's setting in printers.conf is discoverable by standard command line methods.
> 
> Specifically, a line "Option job-hold-until indefinite" is not showing up with the lpoptions command.
> 
> The only way to discover why the printqueue was not printing what was thrown at it was scrutinizing the printers.conf file. But unfortunately, that was not the first idea that crossed my mind...  :-)
> 
> This cause me to waste quite some time before I actually found out that cause when a customer called me today and asked me to remotely log in and help him save his free Sunday evening...  :-)
> 
> Also, I'm wondering why I get the exact same line 'Job 77 hold_until = 0' in a debug error log regardless of whether the default value of a queue is to hold a job or to print it immediately.
> 
> I think all lines from printers conf containing "Option $keyword $value" should be reflected in lpoptions queries.
> 
> --
> Kurt Pfeifle
> System & Network Printing Consultant --- Linux/Unix/Windows/Samba/CUPS
> Infotec Deutschland GmbH - A RICOH Company ......... Stuttgart/Germany
> 
> 
> 
> 




More information about the cups-devel mailing list