[cups.general] STR #1923 fix incomplete?

Jerome Alet alet at librelogiciel.com
Thu Feb 15 10:43:08 PST 2007


On Thu, Feb 15, 2007 at 06:00:14PM +0000, Tim Waugh wrote:
> 
> I just want to build a graphical interface for adding and removing
> 'Option' lines in printers.conf, and I want to implement it using IPP
> calls alone.

This looks a similar problem to the one I submitted a patch for the
other day (retrieval of CUPS' version number over IPP).

What about implementing a (or a set of) CUPS_* IPP calls which
would allow at the very least to retrieve the entire 
CUPS' configuration files remotely over IPP ? 

Something like CUPS_GET_CONFIGURATION_FILE as the operation code
comes to mind. That call would accept the filename as a parameter
(printers.conf, cupsd.conf etc...) for example. In a symmetric
way CUPS_SET_CONFIGURATION_FILE would replace CUPS' configuration
files (and probably reload CUPS). 

This would probably be very easy to add, although not as useful as 
having several calls with each returning properly formatted datas, 
because of course parsing the files would have to be done by the third 
party application, but this would still be very useful.

Isn't the purpose of values higher than IPP_PRIVATE to allow for
easy addition of CUPS' only IPP calls without having to register
them with the IANA (I don't know) ? 

Any comment ?

Jerome Alet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.cups.org/pipermail/cups/attachments/20070215/fc25fc03/attachment.bin>


More information about the cups mailing list