[cups.bugs] [MOD] STR #4007: PostScript printers print command file instead of executing it with commandtops

Till Kamppeter till.kamppeter at gmail.com
Wed Jan 18 15:21:43 PST 2012


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

I have tried out the maintenance command facility for PostScript printers
(commandtops filter), especially because I want to make the printer setup
tool in Ubuntu Precise run the AutoConfigure command on every new queue so
that users to not need to set the "Installable Options", paper size, ...
(everything which has printer default setting read-out commands in the
PPD, "*?<option name>: ...").

Unfortunately, CUPS 1.5.0 does not call the filter but simply prints the
commands as plain text. Problem is that the default filter rule for
PostScript PPDs without cupsFilter line for a command filter sets
filter-less conversion of command files (filter "-") as default and not
"commandtops".

Patch to fix this is attached.

I have tested with the HP Color LaserJet CM3530 MFP and the PPD supplied
with the HPLIP package and "socket" as backend.

Link: http://www.cups.org/str.php?L4007
Version: 1.5.0
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: execute-commandtops-commands.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20120118/bfeb5542/attachment.ksh>


More information about the cups-devel mailing list