[PATCH] cupsys: options parsing and job-sheet attribute to cups-lpd
Michael Sweet
mike at easysw.com
Tue Nov 9 09:05:03 PST 2004
David Decotigny wrote:
>
> Hi,
>
> It semms that the "job-sheets" argument that can be passed to cups-lpd
> by inetd is not correctly supported. Actually, I think there is both 1/
> a (critical IMHO) problem with cupsAddOption() which does not realloc
> correctly the "options" array (it realloc'ed one of the items in the
> array...), and 2/ a problem with a cups-lpd function which messed up
> with 2 options array.
>
> Attached is the patch against current cupsys of debian/testing. Now,
> when I pass -o job-sheets=titi,toto to cups-lpd in inetd, the banners
> are printed correctly.
>
> BTW: it seems that job-sheets-default is not available to the
> cups-lpd... is it because the IPP server it interacts with is cups
> version 1.1.17 (redhat 9) ? Or is it because this attribute has to be
> defined in a place deifferent than /etc/cups/printers.conf (variable
> JobSheets) ? Where ?
Probably the best thing to do is test with the current release of
CUPS (1.1.22) and not a two-year-old version (1.1.17). If the
problem persists, report it using the form at:
http://www.cups.org/str.php
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups
mailing list