[cups-devel] Saving all properties of a CUPS queue

Michael Sweet msweet at apple.com
Thu Oct 1 12:00:55 PDT 2015


Till,

> On Oct 1, 2015, at 1:59 PM, Till Kamppeter <till.kamppeter at gmail.com> wrote:
> 
> On 10/01/2015 02:06 PM, Michael Sweet wrote:
>> Till,
>> 
>> You can do a Get-Printer-Attributes (IPP_OP_GET_PRINTER_ATTRIBUTES) request, then look at the xxx-default and other attribute values.
>> 
> 
> And how do I apply these attributes to the new queue? As IPP attributes? As options?

Either - they are all IPP attributes, and can be passed as options to the lpadmin command (which maps them to IPP attributes...)

> Do I simply load all IPP attributes of the old queue and apply them all to the new queue to get an exact copy?

You cannot set them all.  The following can be set:

    *-default
    auth-info-required
    device-uri
    job-quota-period
    job-k-limit
    job-page-limit
    port-monitor
    printer-error-policy
    printer-info
    printer-is-accepting-jobs
    printer-is-shared
    printer-geo-location
    printer-location
    printer-op-policy
    printer-organization
    printer-organizational-unit
    printer-state
    printer-state-message
    printer-state-reasons
    requesting-user-name-allowed
    requesting-user-name-denied


> 
>   Till
> 
> _______________________________________________
> cups-devel mailing list
> cups-devel at cups.org
> https://www.cups.org/mailman/listinfo/cups-devel

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair




More information about the cups-devel mailing list