[cups.general] STR #1923 fix incomplete?
Michael Sweet
mike at easysw.com
Thu Feb 15 09:41:26 PST 2007
Tim Waugh wrote:
> On Thu, 2007-02-15 at 12:09 -0500, Michael Sweet wrote:
>
>> In this situation, just do your own IPP_GET_PRINTER_ATTRIBUTES
>> request to get the server-side defaults. cupsGetDests() will
>> return a composite of the client-side defaults - suitable for
>> user applications but not for administrative apps.
>
> Perhaps I should have said 'admin-set' defaults (i.e. the 'Option' lines
> in /etc/cups/printers.conf) rather than 'user-set'.
>
> I am using GET_ATTRIBUTES, but I still can't find out if the default
> options have been set by the admin or if they are the CUPS defaults.
I don't see us providing a way to distinguish between compiled-in
defaults and admin-set defaults. However, the following -default
attributes are always set and cannot be removed:
copies-default
document-format-default
finishings-default
job-hold-until-default
job-priority-default
job-sheets-default
media-default
notify-events-default
notify-lease-duration-default
number-up-default
orientation-requested-default
sides-default
These are the standard IPP job template attributes, required for
conformance...
> In other words, the admin tool I sent a screenshot of needs to be able
> to know which options to list in the box, each with a 'Remove' button.
> Obviously system defaults cannot be removed -- they are hardwired in the
> software.
All system defaults can be overridden, too.
--
______________________________________________________________________
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