[cups.bugs] [LOW] STR #1866: "printcap" generation should be less destructive on Solaris

Norm Jacobs Norm.Jacobs at Sun.COM
Wed Jul 26 05:29:27 PDT 2006


[STR New]

cupsd supports the generation of a "printcap" file on systems that
support a "printcap".  On Solaris, this file is /etc/printers.conf.
When "printcap" generation is turned on on Solaris, cupsd will
assume it has complete control over the file and regenerate it
at will.  Rather than simply stomping on the file, it should check to
see if lpset(1m) is available.  If it is, it should build and run an
lpset command to add or remove specific entries to /etc/printers.conf.

With the introduction of PAPI based client commands in Solaris Nevada /
OpenSolaris build 44, these commands can use IPP to talk directly to 
cupsd, so the entries should include a "printer-uri-supported"
key/value pair as well.

Attached are diffs that incorporate this change.

Link: http://www.cups.org/str.php?L1866
Version: 1.3-current
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffs
Type: application/octet-stream
Size: 2805 bytes
Desc: not available
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20060726/b6fac9ee/attachment.obj>


More information about the cups-devel mailing list