1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
3 <!-- SECTION: Specifications -->
5 <title>CUPS Implementation of IPP
</title>
6 <meta name='keywords' content='Programming, Internet Printing Protocol'
>
12 CUPS IPP specification for the Common UNIX Printing System (CUPS).
14 Copyright 2007 by Apple Inc.
15 Copyright 1997-2007 by Easy Software Products.
17 These coded instructions, statements, and computer programs are the
18 property of Easy Software Products and are protected by Federal
19 copyright law. Distribution and use rights are outlined in the file
20 "LICENSE.txt" which should have been included with this file. If this
21 file is missing or damaged please contact Easy Software Products
24 Attn: CUPS Licensing Information
25 Easy Software Products
26 44141 Airport View Drive, Suite 204
27 Hollywood, Maryland 20636 USA
30 EMail: cups-info@cups.org
31 WWW: http://www.cups.org
34 <h2 class='title'
><a name='INTRODUCTION'
>Introduction
</a></h2>
36 <p>CUPS
1.1 implements IPP/
1.1 and the operations and attributes
37 defined in the
"IPP: Job and Printer Set Operations",
"IPP/1.1:
38 Output-bin Attribute Extension", and
"IPP/1.1: finishings
39 'fold',' trim', and 'bale' attribute values extension"
42 <p>CUPS also provides
16 new operations and many new attributes
43 to support multiple IPP printers and printer classes on a single
46 <h3 class='title'
><a name='IPP_URIS'
>IPP URIs
</a></h3>
48 <p>CUPS supports the
"http",
"https", and
"ipp" schemes. The
49 following resource names are used:
</p>
53 <dt><tt>scheme://hostname:port/
</tt></dt>
55 <dd>Can be used for all
"get" operations and for server
58 <dt><tt>scheme://hostname:port/admin/
</tt></dt>
60 <dd>Used for all administrative operations.
</dd>
62 <dt><tt>scheme://hostname:port/classes/name
</tt></dt>
64 <dd>Specifies a printer class.
</dd>
66 <dt><tt>scheme://hostname:port/jobs/id
</tt></dt>
68 <dd>Specifies a job.
</dd>
70 <dt><tt>scheme://hostname:port/printers/name
</tt></dt>
72 <dd>Specifies a printer.
</dd>
76 <p>So a typical printer URI would be
77 "ipp://foo.bar.com/printers/LaserJet". In addition, the CUPS
78 server also supports normal browser access via
79 "http://hostname:port/" and
"https://hostname:port/".
</p>
81 <h3 class='title'
><a name='IPP_OPERATIONS'
>CUPS IPP Operations
</a></h3>
83 <p>CUPS provides
16 extension operations in addition to most of the
84 standard IPP and registered extension operations:
86 <div class='table'
><table align='center' border='
1' width='
80%'
87 summary='Supported Operations'
>
90 <TH VALIGN=
"TOP">Operation Name
</th>
91 <TH VALIGN=
"TOP">CUPS
</th>
92 <TH VALIGN=
"TOP">Code
</th>
93 <TH VALIGN=
"TOP">Brief Description
</th>
98 <td><a href='#PRINT_JOB'
>Print-Job
</a></td>
101 <td>Print a file.
</td>
104 <td>Validate-Job
</td>
107 <td>Validate job attributes.
</td>
110 <td><a href='#CREATE_JOB'
>Create-Job
</a></td>
113 <td>Create a print job.
</td>
116 <td>Send-Document
</td>
119 <td>Send a file for a print job.
</td>
122 <td><a href='#CANCEL_JOB'
>Cancel-Job
</a></td>
125 <td>Cancel a print job.
</td>
128 <td>Get-Job-Attributes
</td>
131 <td>Get job attributes.
</td>
137 <td>Get all jobs.
</td>
140 <td>Get-Printer-Attributes
</td>
143 <td>Get printer attributes.
</td>
149 <td>Hold a job for printing.
</td>
155 <td>Release a job for printing.
</td>
161 <td>Restarts a print job.
</td>
164 <td>Pause-Printer
</td>
167 <td>Pause printing on a printer.
</td>
170 <td>Resume-Printer
</td>
173 <td>Resume printing on a printer.
</td>
176 <td><a href='#PURGE_JOBS'
>Purge-Jobs
</a></td>
179 <td>Purge all jobs.
</td>
182 <td><a href='#SET_JOB_ATTRIBUTES'
>Set-Job-Attributes
</a></td>
185 <td>Set attributes for a pending or held job.
</td>
188 <td><a href='#CREATE_PRINTER_SUBSCRIPTION'
>Create-Printer-Subscription
</a></td>
191 <td>Creates a subscription associated with a printer or the server.
</td>
194 <td>Create-Job-Subscription
</td>
197 <td>Creates a subscription associated with a job.
</td>
200 <td>Get-Subscription-Attributes
</td>
203 <td>Gets the attributes for a subscription.
</td>
206 <td>Get-Subscriptions
</td>
209 <td>Gets the attributes for zero or more subscriptions.
</td>
212 <td>Renew-Subscription
</td>
215 <td>Renews a subscription.
</td>
218 <td>Cancel-Subscription
</td>
221 <td>Cancels a subscription.
</td>
224 <td>Get-Notifications
</td>
227 <td>Get notification events for
<tt>ippget
</tt> subscriptions.
</td>
230 <td>Enable-Printer
</td>
233 <td>Accepts jobs on a printer.
</td>
236 <td>Disable-Printer
</td>
239 <td>Rejects jobs on a printer.
</td>
242 <td><a href='#CUPS_GET_DEFAULT'
>CUPS-Get-Default
</a></td>
245 <td>Get the default destination.
</td>
248 <td><a href='#CUPS_GET_PRINTERS'
>CUPS-Get-Printers
</a></td>
251 <td>Get all of the available printers.
</td>
254 <td><a href='#CUPS_ADD_MODIFY_PRINTER'
>CUPS-Add-Modify-Printer
</a></td>
257 <td>Add or modify a printer.
</td>
260 <td><a href='#CUPS_DELETE_PRINTER'
>CUPS-Delete-Printer
</a></td>
263 <td>Delete a printer.
</td>
266 <td><a href='#CUPS_GET_CLASSES'
>CUPS-Get-Classes
</a></td>
269 <td>Get all of the available printer classes.
</td>
272 <td><a href='#CUPS_ADD_MODIFY_CLASS'
>CUPS-Add-Modify-Class
</a></td>
275 <td>Add or modify a printer class.
</td>
278 <td><a href='#CUPS_DELETE_CLASS'
>CUPS-Delete-Class
</a></td>
281 <td>Delete a printer class.
</td>
284 <td><a href='#CUPS_ACCEPT_JOBS'
>CUPS-Accept-Jobs
</a></td>
287 <td>Accept jobs on a printer or printer class.
</td>
290 <td><a href='#CUPS_REJECT_JOBS'
>CUPS-Reject-Jobs
</a></td>
293 <td>Reject jobs on a printer or printer class.
</td>
296 <td><a href='#CUPS_SET_DEFAULT'
>CUPS-Set-Default
</a></td>
299 <td>Set the default destination.
</td>
302 <td><a href='#CUPS_GET_DEVICES'
>CUPS-Get-Devices
</a></td>
305 <td>Get all of the available devices.
</td>
308 <td><a href='#CUPS_GET_PPDS'
>CUPS-Get-PPDs
</a></td>
311 <td>Get all of the available PPDs.
</td>
314 <td><a href='#CUPS_MOVE_JOB'
>CUPS-Move-Job
</a></td>
317 <td>Move a job to a different printer.
</td>
320 <td><a href='#CUPS_AUTHENTICATE_JOB'
>CUPS-Authenticate-Job
</a></td>
323 <td>Authenticate a job for printing.
</td>
326 <td><a href='#CUPS_GET_PPD'
>CUPS-Get-PPD
</a></td>
329 <td>Get a PPD file.
</td>
332 <td><a href='#CUPS_GET_DOCUMENT'
>CUPS-Get-Document
</a></td>
335 <td>Get a document file from a job.
</td>
340 <h2 class='title'
><a name='OPERATIONS'
>Operations
</a></h2>
342 <p>The following sections describe the operations supported by CUPS.
343 In the interest of brevity, operations which use only the standard
344 IPP attributes are not described.
346 <h3 class='title'
><a name='PRINT_JOB'
>Print-Job Operation
</a></h3>
348 <p>The Print-Job operation (
0x0002) prints a file.
350 <h4>Print-Job Request
</h4>
352 <p>The following groups of attributes are supplied as part of the
355 <p>Group
1: Operation Attributes
359 <dt>Natural Language and Character Set:
361 <dd>The
"attributes-charset" and
"attributes-natural-language"
362 attributes as described in section
3.1.4.1 of the IPP Model and
365 <dt>"printer-uri" (uri):
367 <dd>The client MUST supply a URI for the specified printer.
371 <p>Group
2: Job Template Attributes
375 <dt>"auth-info" (
1setOf text(MAX)):
<span class='info'
>CUPS
1.3</span>
377 <dd>The client OPTIONALLY supplies one or more authentication values as specified by the
"auth-info-required" attribute.
379 <dt>"job-billing" (text(MAX)):
<span class='info'
>CUPS
1.1</span>
381 <dd>The client OPTIONALLY supplies a billing string that is logged
382 with the page accounting information.
384 <dt>"job-sheets" (
1setof type3 keyword | name(MAX)):
<span class='info'
>CUPS
1.1</span>
386 <dd>The client OPTIONALLY supplies one or two banner pages that
387 are printed before and after any files in the print job. The
388 name of
"none" is reserved to indicate that no banner page
389 should be printed. If the client does not specify this
390 attribute then the value of the
"job-sheets-default" printer
391 object attribute is used.
393 <blockquote><b>Note:
</b> Standard IPP only allows
394 specification of a single job-sheets attribute
397 <dt>"media" (
1setof type3 keyword | name(MAX)):
399 <dd>The client OPTIONALLY supplies one or more media attributes
400 specifying the size, type, source, and color of the output
401 media. If the client does not specify this attribute then the
402 value of the
"media-default" printer object attribute is used.
404 <blockquote><b>Note:
</b> Standard IPP only allows
405 specification of a single media attribute
408 <dt>Other Job Template Attributes
412 <p>The Print-Job request is followed by a file to be printed.
414 <h4>Print-Job Response
</h4>
416 <p>The following groups of attributes are send as part of the Print-Job
419 <p>Group
1: Operation Attributes
425 <dd>The standard response status message.
427 <dt>Natural Language and Character Set:
429 <dd>The
"attributes-charset" and
"attributes-natural-language"
430 attributes as described in section
3.1.4.2 of the IPP Model and
435 <p>Group
2: Job Attributes
439 <dt>Standard Job Attributes
443 <p>Group
3: Unsupported Attributes (status=client-eror-attributes-or-values-not-supported)
447 <dt>auth-info-required (
1setOf Type2 keyword)
449 <dd>The required authentication information.
453 <h3 class='title'
><span class='info'
>CUPS
1.1</span><a name='CREATE_JOB'
>Create-Job Operation
</a></h3>
455 <p>The Create-Job operation (
0x0005) creates a new, empty print job.
457 <h4>Create-Job Request
</h4>
459 <p>The following groups of attributes are supplied as part of the
462 <p>Group
1: Operation Attributes
466 <dt>Natural Language and Character Set:
468 <dd>The
"attributes-charset" and
"attributes-natural-language"
469 attributes as described in section
3.1.4.1 of the IPP Model and
472 <dt>"printer-uri" (uri):
474 <dd>The client MUST supply a URI for the specified printer.
478 <p>Group
2: Job Template Attributes
482 <dt>"auth-info" (
1setOf text(MAX)):
<span class='info'
>CUPS
1.3</span>
484 <dd>The client OPTIONALLY supplies one or more authentication values as specified by the
"auth-info-required" attribute.
486 <dt>"job-billing" (text(MAX)):
<span class='info'
>CUPS
1.1</span>
488 <dd>The client OPTIONALLY supplies a billing string that is logged
489 with the page accounting information.
491 <dt>"job-sheets" (
1setof type3 keyword | name(MAX)):
<span class='info'
>CUPS
1.1</span>
493 <dd>The client OPTIONALLY supplies one or two banner pages that
494 are printed before and after any files in the print job. The
495 name of
"none" is reserved to indicate that no banner page
496 should be printed. If the client does not specify this
497 attribute then the value of the
"job-sheets-default" printer
498 object attribute is used.
500 <blockquote><b>Note:
</b> Standard IPP only allows
501 specification of a single job-sheets attribute
504 <dt>"media" (
1setof type3 keyword | name(MAX)):
506 <dd>The client OPTIONALLY supplies one or more media attributes
507 specifying the size, type, source, and color of the output
508 media. If the client does not specify this attribute then the
509 value of the
"media-default" printer object attribute is used.
511 <blockquote><b>Note:
</b> Standard IPP only allows
512 specification of a single media attribute
515 <dt>Standard Job Template Attributes
519 <h4>Create-Job Response
</h4>
521 <p>The following groups of attributes are send as part of the
524 <p>Group
1: Operation Attributes
530 <dd>The standard response status message.
532 <dt>Natural Language and Character Set:
534 <dd>The
"attributes-charset" and
"attributes-natural-language"
535 attributes as described in section
3.1.4.2 of the IPP Model and
540 <p>Group
2: Job Attributes
544 <dt>Standard Job Attributes
548 <p>Group
3: Unsupported Attributes (status=client-eror-attributes-or-values-not-supported)
552 <dt>auth-info-required (
1setOf Type2 keyword)
554 <dd>The required authentication information.
558 <h3 class='title'
><a name='CANCEL_JOB'
>Set-Job-Attributes Operation
</a></h3>
560 <p>The Cancel-Job operation (
0x0008) cancels the specified job. CUPS
1.4 adds
561 a new
<tt>purge-job (boolean)
</tt> attribute that allows you to purge both
562 active and completed jobs, removing all history and document files for the
565 <h4>Cancel-Job Request
</h4>
567 <p>The following groups of attributes are supplied as part of the
568 Set-Job-Attributes request:
570 <p>Group
1: Operation Attributes
574 <dt>Natural Language and Character Set:
576 <dd>The
"attributes-charset" and
"attributes-natural-language"
577 attributes as described in section
3.1.4.1 of the IPP Model and
580 <dt>"printer-uri" (uri) and
"job-id" (integer)
584 <dd>The client MUST supply a URI for the specified printer and
585 a job ID number, or the job URI.
587 <dt><span class=
"info">CUPS
1.4</span>"purge-job" (boolean):
589 <dd>The client OPTIONALLY supplies this attribute. When true,
590 all job files (history and document) are purged. The default
591 is false, leading to the standard IPP behavior.
595 <h4>Cancel-Job Response
</h4>
597 <p>The following groups of attributes are send as part of the Cancel-Job
600 <p>Group
1: Operation Attributes
606 <dd>The standard response status message.
608 <dt>Natural Language and Character Set:
610 <dd>The
"attributes-charset" and
"attributes-natural-language"
611 attributes as described in section
3.1.4.2 of the IPP Model and
616 <h3 class='title'
><a name='PURGE_JOBS'
>Purge-Jobs Operation
</a></h3>
618 <p>The Purge-Jobs operation (
0x0012) cancels all of the jobs on a
619 given destination and optionally removes all history and document
620 files for the jobs as well.
622 <h4>Purge-Jobs Request
</h4>
624 <p>The following groups of attributes are supplied as part of the
627 <p>Group
1: Operation Attributes
631 <dt>Natural Language and Character Set:
633 <dd>The
"attributes-charset" and
"attributes-natural-language"
634 attributes as described in section
3.1.4.1 of the IPP Model and
637 <dt>"printer-uri" (uri):
639 <dd>The client MUST supply a URI for the specified printer or
640 "ipp://.../printers" for all printers and classes.
642 <dt><span class=
"info">CUPS
1.2</span>"purge-jobs" (boolean):
644 <dd>The client OPTIONALLY supplies this attribute to specify
645 whether the jobs are purged (true) or just canceled (false).
650 <h4>Purge-Jobs Response
</h4>
652 <p>The following groups of attributes are send as part of the Purge-Jobs
655 <p>Group
1: Operation Attributes
661 <dd>The standard response status message.
663 <dt>Natural Language and Character Set:
665 <dd>The
"attributes-charset" and
"attributes-natural-language"
666 attributes as described in section
3.1.4.2 of the IPP Model and
671 <h3 class='title'
><span class='info'
>CUPS
1.1</span><a name='SET_JOB_ATTRIBUTES'
>Set-Job-Attributes Operation
</a></h3>
673 <p>The Set-Job-Attributes operation (
0x0014) changes the attributes of
674 an active (not completed) job.
676 <h4>Set-Job-Attributes Request
</h4>
678 <p>The following groups of attributes are supplied as part of the
679 Set-Job-Attributes request:
681 <p>Group
1: Operation Attributes
685 <dt>Natural Language and Character Set:
687 <dd>The
"attributes-charset" and
"attributes-natural-language"
688 attributes as described in section
3.1.4.1 of the IPP Model and
691 <dt>"printer-uri" (uri) and
"job-id" (integer)
695 <dd>The client MUST supply a URI for the specified printer and
696 a job ID number, or the job URI.
700 <p>Group
2: Job Template Attributes
704 <dt>"job-sheets" (
1setof type3 keyword | name(MAX)):
<span class='info'
>CUPS
1.1</span>
706 <dd>The client OPTIONALLY supplies one or two banner pages that
707 are printed before and after any files in the print job. The
708 name of
"none" is reserved to indicate that no banner page
709 should be printed. If the client does not specify this
710 attribute then the value of the
"job-sheets-default" printer
711 object attribute is used.
713 <blockquote><b>Note:
</b> Standard IPP only allows
714 specification of a single job-sheets attribute
717 <dt>"media" (
1setof type3 keyword | name(MAX)):
719 <dd>The client OPTIONALLY supplies one or more media attributes
720 specifying the size, type, source, and color of the output
721 media. If the client does not specify this attribute then the
722 value of the
"media-default" printer object attribute is used.
724 <blockquote><b>Note:
</b> Standard IPP only allows
725 specification of a single media attribute
728 <dt>Other Job Template Attributes
732 <h4>Set-Job-Attributes Response
</h4>
734 <p>The following groups of attributes are send as part of the Set-Job-Attributes
737 <p>Group
1: Operation Attributes
743 <dd>The standard response status message.
745 <dt>Natural Language and Character Set:
747 <dd>The
"attributes-charset" and
"attributes-natural-language"
748 attributes as described in section
3.1.4.2 of the IPP Model and
753 <h3 class='title'
><span class='info'
>CUPS
1.2</span><a
754 name='CREATE_PRINTER_SUBSCRIPTION'
>Create-Printer-Subscription
</a></h3>
756 <p>The Create-Printer-Subscription operation (
0x0016) creates a
757 subscription for printer or server event notifications. CUPS
758 provides several additional events in addition to the standard
759 events in the IPP notifications specification.
</p>
761 <h4>Create-Printer-Subscription Request
</h4>
763 <p>The following groups of attributes are supplied as part of the
766 <p>Group
1: Operation Attributes
</p>
770 <dt>Natural Language and Character Set:
772 <dd>The
"attributes-charset" and
"attributes-natural-language"
773 attributes as described in section
3.1.4.1 of the IPP Model and
776 <dt>"printer-uri" (uri):
779 (
<tt>ipp://server/printers/printername
</tt>), class
780 (
<tt>ipp://server/classes/classname
</tt>), or server
781 (
<tt>ipp://server/
</tt>) URI for event notifications.
783 <dt>"notify-events" (
1setOf keyword):
785 <dd>The events to monitor. In addition to the standard
786 events, CUPS adds the following keywords:
789 <li><tt>printer-added
</tt> - Get notified
790 whenever a printer or class is added
</li>
792 <li><tt>printer-deleted
</tt> - Get notified
793 whenever a printer or class is deleted
</li>
795 <li><tt>printer-modified
</tt> - Get notified
796 whenever a printer or class is modified
</li>
798 <li><tt>server-audit
</tt> - Get notified when a
799 security condition occurs
</li>
801 <li><tt>server-restarted
</tt> - Get notified when
802 the server is restarted
</li>
804 <li><tt>server-started
</tt> - Get notified when
805 the server is started
</li>
807 <li><tt>server-stopped
</tt> - Get notified when
808 the server is stopped
</li>
814 <h4>Create-Printer-Subscription Response
</h4>
816 <p>The following groups of attributes are send as part of the
819 <p>Group
1: Operation Attributes
</p>
825 <dd>The standard response status message.
827 <dt>Natural Language and Character Set:
829 <dd>The
"attributes-charset" and
"attributes-natural-language"
830 attributes as described in section
3.1.4.2 of the IPP Model and
835 <p>Group
2: Subscription Object Attributes
</p>
839 <dt>"subscription-id" (integer):
841 <dd>The subscription number.
845 <h3 class='title'
><a name='CUPS_GET_DEFAULT'
>CUPS-Get-Default Operation
</a></h3>
847 <p>The CUPS-Get-Default operation (
0x4001) returns the default printer
850 <h4>CUPS-Get-Default Request
</h4>
852 <p>The following groups of attributes are supplied as part of the
853 CUPS-Get-Default request:
855 <p>Group
1: Operation Attributes
859 <dt>Natural Language and Character Set:
861 <dd>The
"attributes-charset" and
"attributes-natural-language"
862 attributes as described in section
3.1.4.1 of the IPP Model and
865 <dt>"requested-attributes" (
1setOf keyword) :
867 <dd>The client OPTIONALLY supplies a set of attribute names
868 and/or attribute group names in whose values the requester is
869 interested. If the client omits this attribute, the server
870 responds as if this attribute had been supplied with a value of
875 <h4>CUPS-Get-Default Response
</h4>
877 <p>The following groups of attributes are send as part of the
878 CUPS-Get-Default Response:
880 <p>Group
1: Operation Attributes
886 <dd>The standard response status message.
888 <dt>Natural Language and Character Set:
890 <dd>The
"attributes-charset" and
"attributes-natural-language"
891 attributes as described in section
3.1.4.2 of the IPP Model and
896 <p>Group
2: Printer Object Attributes
900 <dt>The set of requested attributes and their current values.
904 <h3 class='title'
><a name='CUPS_GET_PRINTERS'
>CUPS-Get-Printers Operation
</a></h3>
906 <p>The CUPS-Get-Printers operation (
0x4002) returns the printer
907 attributes for every printer known to the system. This may include
908 printers that are not served directly by the server.
910 <h4>CUPS-Get-Printers Request
</h4>
912 <p>The following groups of attributes are supplied as part of the
913 CUPS-Get-Printers request:
915 <p>Group
1: Operation Attributes
919 <dt>Natural Language and Character Set:
921 <dd>The
"attributes-charset" and
"attributes-natural-language"
922 attributes as described in section
3.1.4.1 of the IPP Model and
925 <dt>"limit" (integer (
1:MAX)):
927 <dd>The client OPTIONALLY supplies this attribute limiting the
928 number of printers that are returned.
930 <dt>"printer-info" (text(
127)):
<span class='info'
>CUPS
1.1</span>
932 <dd>The client OPTIONALLY supplies this attribute to
933 select which printers are returned.
935 <dt>"printer-location" (text(
127)):
<span class='info'
>CUPS
1.1.7</span>
937 <dd>The client OPTIONALLY supplies this attribute to
938 select which printers are returned.
940 <dt>"printer-type" (type2 enum):
<span class='info'
>CUPS
1.1.7</span>
942 <dd>The client OPTIONALLY supplies a printer type enumeration to
943 select which printers are returned.
945 <dt>"printer-type-mask" (type2 enum):
<span class='info'
>CUPS
1.1.7</span>
947 <dd>The client OPTIONALLY supplies a printer type mask
948 enumeration to select which bits are used in the
"printer-type"
951 <dt>"requested-attributes" (
1setOf keyword) :
953 <dd>The client OPTIONALLY supplies a set of attribute names
954 and/or attribute group names in whose values the requester is
955 interested. If the client omits this attribute, the server
956 responds as if this attribute had been supplied with a value of
961 <h4>CUPS-Get-Printers Response
</h4>
963 <p>The following groups of attributes are send as part of the
964 CUPS-Get-Printers Response:
966 <p>Group
1: Operation Attributes
972 <dd>The standard response status message.
974 <dt>Natural Language and Character Set:
976 <dd>The
"attributes-charset" and
"attributes-natural-language"
977 attributes as described in section
3.1.4.2 of the IPP Model and
982 <p>Group
2: Printer Object Attributes
986 <dt>The set of requested attributes and their current values for
991 <h3 class='title'
><a name='CUPS_ADD_MODIFY_PRINTER'
>CUPS-Add-Modify-Printer Operation
</a></h3>
993 <p>The CUPS-Add-Modify-Printer operation (
0x4003) adds a new printer or
994 modifies an existing printer on the system.
996 <h4>CUPS-Add-Modify-Printer Request
</h4>
998 <p>The following groups of attributes are supplied as part of the
999 CUPS-Add-Modify-Printer request:
1001 <p>Group
1: Operation Attributes
1005 <dt>Natural Language and Character Set:
1007 <dd>The
"attributes-charset" and
"attributes-natural-language"
1008 attributes as described in section
3.1.4.1 of the IPP Model and
1011 <dt>"printer-uri" (uri):
1013 <dd>The client MUST supply a URI for the specified printer.
1017 <p>Group
2: Printer Object Attributes
1021 <dt>"auth-info-required" (
1setOf type2 keyword):
<span class='info'
>CUPS
1.3</span>
1023 <dd>The client OPTIONALLY supplies one or more authentication keywords that are required to communicate with the printer/remote queue.
1025 <dt>"job-sheets-default" (
1setOf name(
127)):
<span
1026 class='info'
>CUPS
1.1.7</span>
1028 <dd>The client OPTIONALLY supplies one or two banner page
1029 names that are printed before and after files in a job.
1030 The reserved name
"none" is used to specify that no
1031 banner page should be printed.
1033 <dt>"device-uri" (uri):
1035 <dd>The client OPTIONALLY supplies a device URI for the
1038 <dt>"port-monitor" (name(
127)):
1040 <dd>The client OPTIONALLY supplies a port monitor name for the
1043 <dt>"ppd-name" (name(
127)):
1045 <dd>The client OPTIONALLY supplies a PPD name for the specified
1048 <dt>"printer-is-accepting-jobs" (boolean):
1050 <dd>The client OPTIONALLY supplies this boolean attribute
1051 indicating whether or not the printer object should accept new jobs.
1053 <dt>"printer-info" (text(
127)):
1055 <dd>The client OPTIONALLY supplies this attribute indicating the
1056 printer information string.
1058 <dt>"printer-location" (text(
127)):
1060 <dd>The client OPTIONALLY supplies this attribute indicating a
1061 textual location of the printer.
1063 <dt>"printer-more-info" (uri):
1065 <dd>The client OPTIONALLY supplies this attribute indicating a
1066 URI for additional printer information.
1068 <dt>"printer-state" (type2 enum):
1070 <dd>The client OPTIONALLY supplies this attribute indicating the
1071 initial/current state of the printer. Only the
"idle" and
"stopped"
1072 enumerations are recognized.
1074 <dt>"printer-state-message" (text(MAX)):
1076 <dd>The client OPTIONALLY supplies this attribute indicating a
1077 textual reason for the current printer state.
1079 <dt>"requesting-user-name-allowed" (
1setof name(
127) | delete)
1081 <br>"requesting-user-name-denied" (
1setof name(
127) | delete):
1083 <dd>The client OPTIONALLY supplies one of these attributes to
1084 specify an access control list for incoming print jobs. To allow
1085 all users access to a printer, use the delete tag for the
1090 <p>The CUPS-Add-Modify-Printer request can optionally be followed by a PPD
1091 file or System V interface script to be used for the printer. The
1092 "ppd-name" attribute overrides any file that is attached to the end of
1093 the request with a local CUPS PPD file.
1095 <h4>CUPS-Add-Modify-Printer Response
</h4>
1097 <p>The following groups of attributes are send as part of the
1098 CUPS-Add-Modify-Printer Response:
1100 <p>Group
1: Operation Attributes
1106 <dd>The standard response status message.
1108 <dt>Natural Language and Character Set:
1110 <dd>The
"attributes-charset" and
"attributes-natural-language"
1111 attributes as described in section
3.1.4.2 of the IPP Model and
1116 <h3 class='title'
><a name='CUPS_DELETE_PRINTER'
>CUPS-Delete-Printer Operation
</a></h3>
1118 <p>The CUPS-Delete-Printer operation (
0x4004) removes an existing
1119 printer from the system.
1121 <h4>CUPS-Delete-Printer Request
</h4>
1123 <p>The following groups of attributes are supplied as part of the
1124 CUPS-Delete-Printer request:
1126 <p>Group
1: Operation Attributes
1130 <dt>Natural Language and Character Set:
1132 <dd>The
"attributes-charset" and
"attributes-natural-language"
1133 attributes as described in section
3.1.4.1 of the IPP Model and
1136 <dt>"printer-uri" (uri):
1138 <dd>The client MUST supply a URI for the specified printer.
1142 <h4>CUPS-Delete-Printer Response
</h4>
1144 <p>The following groups of attributes are send as part of the
1145 CUPS-Delete-Printer Response:
1147 <p>Group
1: Operation Attributes
1153 <dd>The standard response status message.
1155 <dt>Natural Language and Character Set:
1157 <dd>The
"attributes-charset" and
"attributes-natural-language"
1158 attributes as described in section
3.1.4.2 of the IPP Model and
1163 <h3 class='title'
><a name='CUPS_GET_CLASSES'
>CUPS-Get-Classes Operation
</a></h3>
1165 <p>The CUPS-Get-Classes operation (
0x4005) returns the printer
1166 attributes for every printer class known to the system. This may
1167 include printer classes that are not served directly by the server.
1169 <h4>CUPS-Get-Classes Request
</h4>
1171 <p>The following groups of attributes are supplied as part of the
1172 CUPS-Get-Classes request:
1174 <p>Group
1: Operation Attributes
1178 <dt>Natural Language and Character Set:
1180 <dd>The
"attributes-charset" and
"attributes-natural-language"
1181 attributes as described in section
3.1.4.1 of the IPP Model and
1184 <dt>"limit" (integer (
1:MAX)):
1186 <dd>The client OPTIONALLY supplies this attribute limiting the
1187 number of printer classes that are returned.
1189 <dt>"printer-info" (text(
127)):
<span class='info'
>CUPS
1.1.7</span>
1190 <dd>The client OPTIONALLY supplies this attribute to
1191 select which printer classes are returned.
1193 <dt>"printer-location" (text(
127)):
<span class='info'
>CUPS
1.1.7</span>
1194 <dd>The client OPTIONALLY supplies this attribute to
1195 select which printer classes are returned.
1197 <dt>"printer-type" (type2 enum):
<span class='info'
>CUPS
1.1.7</span>
1198 <dd>The client OPTIONALLY supplies a printer type enumeration to
1199 select which printer classes are returned.
1201 <dt>"printer-type-mask" (type2 enum):
<span class='info'
>CUPS
1.1.7</span>
1202 <dd>The client OPTIONALLY supplies a printer type mask
1203 enumeration to select which bits are used in the
"printer-type"
1206 <dt>"requested-attributes" (
1setOf keyword) :
1208 <dd>The client OPTIONALLY supplies a set of attribute names
1209 and/or attribute group names in whose values the requester is
1210 interested. If the client omits this attribute, the server responds as
1211 if this attribute had been supplied with a value of 'all'.
1215 <h4>CUPS-Get-Classes Response
</h4>
1217 <p>The following groups of attributes are send as part of the
1218 CUPS-Get-Classes Response:
1220 <p>Group
1: Operation Attributes
1226 <dd>The standard response status message.
1228 <dt>Natural Language and Character Set:
1230 <dd>The
"attributes-charset" and
"attributes-natural-language"
1231 attributes as described in section
3.1.4.2 of the IPP Model and
1236 <p>Group
2: Printer Class Object Attributes
1240 <dt>The set of requested attributes and their current values for
1245 <h3 class='title'
><a name='CUPS_ADD_MODIFY_CLASS'
>CUPS-Add-Modify-Class Operation
</a></h3>
1247 <p>The CUPS-Add-Modify-Class operation (
0x4006) adds a new printer class or
1248 modifies and existing printer class on the system.
1250 <h4>CUPS-Add-Modify-Class Request
</h4>
1252 <p>The following groups of attributes are supplied as part of the
1253 CUPS-Add-Modify-Class request:
1255 <p>Group
1: Operation Attributes
1259 <dt>Natural Language and Character Set:
1261 <dd>The
"attributes-charset" and
"attributes-natural-language"
1262 attributes as described in section
3.1.4.1 of the IPP Model and
1265 <dt>"printer-uri" (uri):
1267 <dd>The client MUST supply a URI for the specified printer class.
1271 <p>Group
2: Printer Object Attributes
1275 <dt>"auth-info-required" (
1setOf type2 keyword):
<span class='info'
>CUPS
1.3</span>
1277 <dd>The client OPTIONALLY supplies one or more authentication keywords that are required to communicate with the printer/remote queue.
1279 <dt>"member-uris" (
1setof uri):
1281 <dd>The client OPTIONALLY supplies the
"member-uris" set
1282 specifying the printers and printer classes that are part of the class.
1284 <dt>"printer-is-accepting-jobs" (boolean):
1286 <dd>The client OPTIONALLY supplies this boolean attribute
1287 indicating whether or not the class object should accept new jobs.
1289 <dt>"printer-info" (text(
127)):
1291 <dd>The client OPTIONALLY supplies this attribute indicating the
1292 printer information string.
1294 <dt>"printer-location" (text(
127)):
1296 <dd>The client OPTIONALLY supplies this attribute indicating a
1297 textual location of the class.
1299 <dt>"printer-more-info" (uri):
1301 <dd>The client OPTIONALLY supplies this attribute indicating a
1302 URI for additional class information.
1304 <dt>"printer-state" (type2 enum):
1306 <dd>The client OPTIONALLY supplies this attribute indicating the
1307 initial/current state of the class. Only the
"idle" and
"stopped"
1308 enumerations are recognized.
1310 <dt>"printer-state-message" (text(MAX)):
1312 <dd>The client OPTIONALLY supplies this attribute indicating a
1313 textual reason for the current class state.
1315 <dt>"requesting-user-name-allowed" (
1setof name(
127))
1317 <br>"requesting-user-name-denied" (
1setof name(
127)):
1319 <dd>The client OPTIONALLY supplies one of these attributes to
1320 specify an access control list for incoming print jobs. To allow
1321 all users access to a class, use the delete tag for the
1326 <h4>CUPS-Add-Modify-Class Response
</h4>
1328 <p>The following groups of attributes are send as part of the CUPS-Add-Modify-Class Response:
1330 <p>Group
1: Operation Attributes
1336 <dd>The standard response status message.
1338 <dt>Natural Language and Character Set:
1340 <dd>The
"attributes-charset" and
"attributes-natural-language"
1341 attributes as described in section
3.1.4.2 of the IPP Model and
1346 <h3 class='title'
><a name='CUPS_DELETE_CLASS'
>CUPS-Delete-Class Operation
</a></h3>
1348 <p>The CUPS-Delete-Class operation (
0x4007) removes an existing printer
1349 class from the system.
1351 <h4>CUPS-Delete-Class Request
</h4>
1353 <p>The following groups of attributes are supplied as part of the
1354 CUPS-Delete-Class request:
1356 <p>Group
1: Operation Attributes
1360 <dt>Natural Language and Character Set:
1362 <dd>The
"attributes-charset" and
"attributes-natural-language"
1363 attributes as described in section
3.1.4.1 of the IPP Model and
1366 <dt>"printer-uri" (uri):
1368 <dd>The client MUST supply a URI for the specified printer class.
1372 <h4>CUPS-Delete-Class Response
</h4>
1374 <p>The following groups of attributes are send as part of the
1375 CUPS-Delete-Class Response:
1377 <p>Group
1: Operation Attributes
1383 <dd>The standard response status message.
1385 <dt>Natural Language and Character Set:
1387 <dd>The
"attributes-charset" and
"attributes-natural-language"
1388 attributes as described in section
3.1.4.2 of the IPP Model and
1393 <h3 class='title'
><a name='CUPS_ACCEPT_JOBS'
>CUPS-Accept-Jobs Operation
</a></h3>
1395 <p>The CUPS-Accept-Jobs operation (
0x4008) sets the
1396 "printer-is-accepting-jobs" attribute to true for the specified printer
1399 <h4>CUPS-Accept-Jobs Request
</h4>
1401 <p>The following groups of attributes are supplied as part of the
1402 CUPS-Accept-Jobs request:
1404 <p>Group
1: Operation Attributes
1408 <dt>Natural Language and Character Set:
1410 <dd>The
"attributes-charset" and
"attributes-natural-language"
1411 attributes as described in section
3.1.4.1 of the IPP Model and
1414 <dt>"printer-uri" (uri):
1416 <dd>The client MUST supply a URI for the specified printer or printer class.
1420 <h4>CUPS-Accept-Jobs Response
</h4>
1422 <p>The following groups of attributes are send as part of the
1423 CUPS-Accept-Jobs Response:
1425 <p>Group
1: Operation Attributes
1431 <dd>The standard response status message.
1433 <dt>Natural Language and Character Set:
1435 <dd>The
"attributes-charset" and
"attributes-natural-language"
1436 attributes as described in section
3.1.4.2 of the IPP Model and
1441 <h3 class='title'
><a name='CUPS_REJECT_JOBS'
>CUPS-Reject-Jobs Operation
</a></h3>
1443 <p>The CUPS-Reject-Jobs operation (
0x4009) sets
1444 the
"printer-is-accepting-jobs" attribute to false for the specified
1445 printer or printer class.
1447 <h4>CUPS-Reject-Jobs Request
</h4>
1449 <p>The following groups of attributes are supplied as part of the
1450 CUPS-Reject-Jobs request:
1452 <p>Group
1: Operation Attributes
1456 <dt>Natural Language and Character Set:
1458 <dd>The
"attributes-charset" and
"attributes-natural-language"
1459 attributes as described in section
3.1.4.1 of the IPP Model and
1462 <dt>"printer-uri" (uri):
1464 <dd>The client MUST supply a URI for the specified printer or printer class.
1468 <p>Group
2: Printer Object Attributes
1472 <dt>"printer-state-message" (text(MAX)):
1474 <dd>The client OPTIONALLY supplies this attribute indicating a
1475 textual reason for the current printer state.
1479 <h4>CUPS-Reject-Jobs Response
</h4>
1481 <p>The following groups of attributes are send as part of the
1482 CUPS-Reject-Jobs Response:
1484 <p>Group
1: Operation Attributes
1490 <dd>The standard response status message.
1492 <dt>Natural Language and Character Set:
1494 <dd>The
"attributes-charset" and
"attributes-natural-language"
1495 attributes as described in section
3.1.4.2 of the IPP Model and
1500 <h3 class='title'
><a name='CUPS_SET_DEFAULT'
>CUPS-Set-Default Operation
</a></h3>
1502 <p>The CUPS-Set-Default operation (
0x400A) sets the default printer
1503 destination for all clients when a resource name of
"/printers" is
1506 <h4>CUPS-Set-Default Request
</h4>
1508 <p>The following groups of attributes are supplied as part of the
1509 CUPS-Set-Default request:
1511 <p>Group
1: Operation Attributes
1515 <dt>Natural Language and Character Set:
1517 <dd>The
"attributes-charset" and
"attributes-natural-language"
1518 attributes as described in section
3.1.4.1 of the IPP Model and
1521 <dt>"printer-uri" (uri):
1523 <dd>The client MUST supply a URI for the specified printer or
1528 <h4>CUPS-Set-Default Response
</h4>
1530 <p>The following groups of attributes are send as part of the
1531 CUPS-Set-Default Response:
1533 <p>Group
1: Operation Attributes
1539 <dd>The standard response status message.
1541 <dt>Natural Language and Character Set:
1543 <dd>The
"attributes-charset" and
"attributes-natural-language"
1544 attributes as described in section
3.1.4.2 of the IPP Model and
1549 <h3 class='title'
><span class='info'
>CUPS
1.1</span><a name='CUPS_GET_DEVICES'
>CUPS-Get-Devices Operation
</a></h3>
1551 <p>The CUPS-Get-Devices operation (
0x400B) returns all of the
1552 supported device-uri's for the server.
</p>
1554 <h4>CUPS-Get-Devices Request
</h4>
1556 <p>The following groups of attributes are supplied as part of the
1557 CUPS-Get-Devices request:
1559 <p>Group
1: Operation Attributes
1563 <dt>Natural Language and Character Set:
1565 <dd>The
"attributes-charset" and
"attributes-natural-language"
1566 attributes as described in section
3.1.4.1 of the IPP Model and
1569 <dt>"device-class" (type1 keyword):
1571 <dd>The client OPTIONALLY supplies a device class keyword to select
1572 which devices are returned.
1574 <dt>"limit" (integer (
1:MAX)):
1576 <dd>The client OPTIONALLY supplies this attribute limiting the number of
1577 devices that are returned.
1579 <dt>"requested-attributes" (
1setOf keyword) :
1581 <dd>The client OPTIONALLY supplies a set of attribute names and/or
1582 attribute group names in whose values the requester is interested. If
1583 the client omits this attribute, the server responds as if this
1584 attribute had been supplied with a value of 'all'.
1588 <h4>CUPS-Get-Devices Response
</h4>
1590 <p>The following groups of attributes are send as part of the
1591 CUPS-Get-Devices Response:
1593 <p>Group
1: Operation Attributes
1599 <dd>The standard response status message.
1601 <dt>Natural Language and Character Set:
1603 <dd>The
"attributes-charset" and
"attributes-natural-language"
1604 attributes as described in section
3.1.4.2 of the IPP Model and
1609 <p>Group
2: Device Object Attributes
1613 <dt>The set of requested attributes and their current values for
1618 <h3 class='title'
><span class='info'
>CUPS
1.1</span><a name='CUPS_GET_PPDS'
>CUPS-Get-PPDs Operation
</a></h3>
1620 <p>The CUPS-Get-PPDs operation (
0x400C) returns all of the
1621 locally available PPD files on the system.
</p>
1623 <h4>CUPS-Get-PPDs Request
</h4>
1625 <p>The following groups of attributes are supplied as part of the
1626 CUPS-Get-PPDs request:
1628 <p>Group
1: Operation Attributes
1632 <dt>Natural Language and Character Set:
1634 <dd>The
"attributes-charset" and
"attributes-natural-language"
1635 attributes as described in section
3.1.4.1 of the IPP Model and
1638 <dt>"limit" (integer (
1:MAX)):
1640 <dd>The client OPTIONALLY supplies this attribute limiting the number of PPDs that are returned.
1642 <dt>"ppd-make" (text(
127)):
1644 <dd>The client OPTIONALLY supplies a printer manufacturer to select which PPDs are returned.
1646 <dt>"ppd-make-and-model" (text(
127)):
<span class='info'
>CUPS
1.3</span>
1648 <dd>The client OPTIONALLY supplies a make and model to select which PPDs are returned.
1650 <dt>"ppd-model-number" (integer):
<span class='info'
>CUPS
1.3</span>
1652 <dd>The client OPTIONALLY supplies a model number to select which PPDs are returned.
1654 <dt>"ppd-natural-language" (naturalLanguage):
<span class='info'
>CUPS
1.3</span>
1656 <dd>The client OPTIONALLY supplies a language to select which PPDs are returned.
1658 <dt>"ppd-product" (text(
127)):
<span class='info'
>CUPS
1.3</span>
1660 <dd>The client OPTIONALLY supplies a PostScript product string to select which PPDs are returned.
1662 <dt>"ppd-psversion" (text(
127)):
<span class='info'
>CUPS
1.3</span>
1664 <dd>The client OPTIONALLY supplies a PostScript version string to select which PPDs are returned.
1666 <dt>"ppd-type" (type1 keyword):
<span class='info'
>CUPS
1.3</span>
1668 <dd>The client OPTIONALLY supplies a driver type to select which PPDs are returned.
1670 <dt>"requested-attributes" (
1setOf keyword) :
1672 <dd>The client OPTIONALLY supplies a set of attribute names and/or attribute group names in whose values the requester is interested. If the client omits this attribute, the server responds as if this attribute had been supplied with a value of 'all'. Specify
"ppd-make" to get a list of manufacturers.
1676 <h4>CUPS-Get-PPDs Response
</h4>
1678 <p>The following groups of attributes are send as part of the
1679 CUPS-Get-PPDs Response:
1681 <p>Group
1: Operation Attributes
1687 <dd>The standard response status message.
1689 <dt>Natural Language and Character Set:
1691 <dd>The
"attributes-charset" and
"attributes-natural-language"
1692 attributes as described in section
3.1.4.2 of the IPP Model and
1697 <p>Group
2: PPD Attributes
1701 <dt>The set of requested attributes and their current values for each
1706 <h3 class='title'
><span class='info'
>CUPS
1.1</span><a name='CUPS_MOVE_JOB'
>CUPS-Move-Job Operation
</a></h3>
1708 <p>The CUPS-Move-Job operation (
0x400D) moves an active print job
1709 to a different printer.
</p>
1711 <h4>CUPS-Move-Job Request
</h4>
1713 <p>The following groups of attributes are supplied as part of the
1714 CUPS-Move-Job request:
1716 <p>Group
1: Operation Attributes
1720 <dt>Natural Language and Character Set:
1722 <dd>The
"attributes-charset" and
"attributes-natural-language"
1723 attributes as described in section
3.1.4.1 of the IPP Model and
1726 <dt>"printer-uri" (uri) and
"job-id" (integer)
1730 <dd>The client MUST supply a URI for the specified printer and
1731 a job ID number, or the job URI.
1735 <p>Group
2: Job Template Attributes
1739 <dt>"job-printer-uri" (uri)
1741 <dd>The client MUST supply a URI for a printer on the same server.
1745 <h4>CUPS-Move-Job Response
</h4>
1747 <p>The following groups of attributes are send as part of the
1748 CUPS-Move-Job Response:
1750 <p>Group
1: Operation Attributes
1756 <dd>The standard response status message.
1758 <dt>Natural Language and Character Set:
1760 <dd>The
"attributes-charset" and
"attributes-natural-language"
1761 attributes as described in section
3.1.4.2 of the IPP Model and
1766 <h3 class='title'
><span class='info'
>CUPS
1.2</span><a name='CUPS_AUTHENTICATE_JOB'
>CUPS-Authenticate-Job Operation
</a></h3>
1768 <p>The CUPS-Authenticate-Job operation (
0x400E) authenticate a
1769 print job for printing. Typically this is used when printing to a
1770 remote server. The authentication information is passed in the
1773 <h4>CUPS-Authenticate-Job Request
</h4>
1775 <p>The following groups of attributes are supplied as part of the
1776 CUPS-Authenticate-Job request:
1778 <p>Group
1: Operation Attributes
1782 <dt>Natural Language and Character Set:
1784 <dd>The
"attributes-charset" and
"attributes-natural-language"
1785 attributes as described in section
3.1.4.1 of the IPP Model and
1788 <dt>"printer-uri" (uri) and
"job-id" (integer)
1792 <dd>The client MUST supply a URI for the specified printer and
1793 a job ID number, or the job URI.
1797 <p>Group
2: Job Attributes
1801 <dt>"auth-info" (
1setOf text(MAX)):
<span class='info'
>CUPS
1.3</span>
1803 <dd>The client OPTIONALLY supplies one or more authentication values as specified by the
"auth-info-required" attribute.
1807 <h4>CUPS-Authenticate-Job Response
</h4>
1809 <p>The following groups of attributes are send as part of the
1810 CUPS-Authenticate-Job Response:
1812 <p>Group
1: Operation Attributes
1818 <dd>The standard response status message.
1820 <dt>Natural Language and Character Set:
1822 <dd>The
"attributes-charset" and
"attributes-natural-language"
1823 attributes as described in section
3.1.4.2 of the IPP Model and
1828 <p>Group
2: Unsupported Attributes (status=client-eror-attributes-or-values-not-supported)
1832 <dt>auth-info-required (
1setOf Type2 keyword)
1834 <dd>The required authentication information.
1838 <h3 class='title'
><span class='info'
>CUPS
1.3</span><a name='CUPS_GET_PPD'
>CUPS-Get-PPD Operation
</a></h3>
1840 <p>The CUPS-Get-PPD operation (
0x400F) gets a PPD file from the
1841 server. The PPD file can be specified using a
<tt>ppd-name
</tt>
1842 returned by
<a href='#CUPS_GET_PPDS'
><tt>CUPS-Get-PPDs
</tt></a>
1843 or using the
<tt>printer-uri
</tt> for a queue.
</p>
1845 <p>If the PPD file is found,
<tt>successful-ok
</tt> is returned with
1846 the PPD file following the response data.
</p>
1848 <p>If the PPD file cannot be served by the local server because
1849 the
<tt>printer-uri
</tt> attribute points to an external printer,
1850 a
<tt>cups-see-other
</tt> status is returned with the correct
1853 <p>If the PPD file does not exist,
<tt>client-error-not-found
</tt> is
1856 <h4>CUPS-Get-PPD Request
</h4>
1858 <p>The following group of attributes is supplied as part of the
1859 CUPS-Get-PPD request:
1861 <p>Group
1: Operation Attributes
1865 <dt>Natural Language and Character Set:
1867 <dd>The
"attributes-charset" and
"attributes-natural-language"
1868 attributes as described in section
3.1.4.1 of the IPP Model and
1871 <dt>"printer-uri" (uri)
1873 <br>"ppd-name" (name(
255)):
1875 <dd>The client MUST supply a printer URI or PPD name.
1879 <h4>CUPS-Get-PPD Response
</h4>
1881 <p>The following group of attributes is sent as part of the
1882 CUPS-Get-PPD Response:
1884 <p>Group
1: Operation Attributes
1890 <dd>The standard response status message.
1892 <dt>Natural Language and Character Set:
1894 <dd>The
"attributes-charset" and
"attributes-natural-language"
1895 attributes as described in section
3.1.4.2 of the IPP Model and
1898 <dt>"printer-uri" (uri):
1900 <dd>The printer that provides the actual PPD file when
1901 the status code is cups-see-other (
0x280)
1905 <p>If the status code is
<tt>successful-ok
</tt>, the PPD file follows
1906 the end of the IPP response.
</p>
1908 <h3 class='title'
><span class='info'
>CUPS
1.4</span><a name='CUPS_GET_DOCUMENT'
>CUPS-Get-Document Operation
</a></h3>
1910 <p>The CUPS-Get-Document operation (
0x4027) gets a document file from a
1911 job on the server. The document file is specified using the
1912 <tt>document-number
</tt> and either the
<tt>job-uri
</tt> or
<tt>printer-uri
</tt>
1913 and
<tt>job-id
</tt> identifying the job.
</p>
1915 <p>If the document file is found,
<tt>successful-ok
</tt> is returned with
1916 the document file following the response data.
</p>
1918 <p>If the document file does not exist,
<tt>client-error-not-found
</tt> is
1921 <p>If the requesting user does not have access to the document file,
1922 <tt>client-error-not-authorized
</tt> is returned.
1924 <h4>CUPS-Get-Document Request
</h4>
1926 <p>The following group of attributes is supplied as part of the
1927 CUPS-Get-Document request:
1929 <p>Group
1: Operation Attributes
1933 <dt>Natural Language and Character Set:
1935 <dd>The
"attributes-charset" and
"attributes-natural-language"
1936 attributes as described in section
3.1.4.1 of the IPP Model and
1939 <dt>"printer-uri" (uri) and
"job-id" (integer)
1941 <br>"job-uri" (uri):
1943 <dd>The client MUST supply a printer URI and job ID or job URI.
1945 <dt>"document-number" (integer(
1:MAX)):
1947 <dd>The client MUST supply a document number to retrieve. The
1948 <tt>document-count
</tt> attribute for the job defines the maximum
1949 document number that can be specified. In the case of jobs with
1950 banners (
<tt>job-sheets
</tt> is not
"none"), document number
1
1951 will typically contain the start banner and document number N
1952 will typically contain the end banner.
1956 <h4>CUPS-Get-Document Response
</h4>
1958 <p>The following group of attributes is sent as part of the
1959 CUPS-Get-Document Response:
1961 <p>Group
1: Operation Attributes
1967 <dd>The standard response status message.
1969 <dt>Natural Language and Character Set:
1971 <dd>The
"attributes-charset" and
"attributes-natural-language"
1972 attributes as described in section
3.1.4.2 of the IPP Model and
1975 <dt>"document-format" (mimeType):
1977 <dd>The format of the document file.
1979 <dt>"document-number" (integer(
1:MAX)):
1981 <dd>The requested document number.
1983 <dt>"document-name" (name(MAX)):
1985 <dd>The name that was supplied with the document, if any.
1989 <p>If the status code is
<tt>successful-ok
</tt>, the document file follows
1990 the end of the IPP response.
</p>
1993 <h2 class='title'
><a name='ATTRIBUTES'
>Attributes
</a></h2>
1995 <p>CUPS provides many extension attributes to support multiple
1996 devices, PPD files, standard job filters, printers, and printer
1999 <h3 class='title'
><a name='DEVICE_ATTRIBUTES'
>Device Attributes
</a></h3>
2001 <p>Device attributes are returned by the CUPS-Get-Devices
2002 operation and enumerate all of the available hardware devices and
2003 network protocols that are supported by the server.
</p>
2005 <h4><a name=
"device-class">device-class (type2 keyword)
</a></h4>
2007 <p>The device-class attribute specifies the class of device and can be
2008 one of the following:
2012 <li>"file" - a disk file.
2014 <li>"direct" - a parallel or fixed-rate serial data port,
2015 currently used for Centronics, IEEE-
1284, and USB printer
2018 <li>"serial" - a variable-rate serial port.
2020 <li>"network" - a network connection, typically via AppSocket,
2021 HTTP, IPP, LPD, or SMB/CIFS protocols.
2025 <h4><a name=
"device-id">device-id (text(
127))
</a><span class=
"info">CUPS
1.2</span></h4>
2027 <p>The device-id attribute specifies the IEEE-
1284 device ID
2028 string for the device.
</p>
2030 <h4><a name=
"device-info">device-info (text(
127))
</a></h4>
2032 <p>The device-info attribute specifies a human-readable string describing
2033 the device, e.g.
"Parallel Port #1".
2035 <h4><a name=
"device-make-and-model">device-make-and-model (text(
127))
</a></h4>
2037 <p>The device-makr-and-model attribute specifies a device
2038 identification string provided by the printer connected to the device.
2039 If the device or printer does not support identification then this
2040 attribute contains the string
"unknown".
2042 <h4><a name=
"device-uri">device-uri (uri)
</a></h4>
2044 <p>The device-uri attribute specifies a unique identifier for the
2045 device. The actual format of the device-uri string depends on the value
2046 of the device-class attribute:
2050 <li>"file" - The device-uri will be of the form
2051 "file:///path/to/filename".
2053 <li>"direct" - The device-uri will be of the form
2054 "scheme:/dev/filename" or
"scheme://vendor/identifier",
2055 where scheme may be
"parallel" or
"usb" in the current
2058 <li>"serial" - The device-uri will be of the form
2059 "serial:/dev/filename?baud=value+parity=value+flow=value".
2060 The baud value is the data rate in bits per second; the
2061 supported values depend on the underlying hardware.
2062 The parity value can be one of
"none",
"even", or
"odd".
2063 The flow value can be one of
"none",
"soft" (XON/XOFF
2064 handshaking),
"hard" or
"rts/cts" (RTS/CTS handshaking),
2065 or
"dtrdsr" (DTR/DSR handshaking).
2067 <p>The URI returned by CUPS-Get-Devices will contain the
2068 maximum baud rate supported by the device and the best
2069 type of flow control available (
"soft" or
"hard").
2071 <li>"network" - The device-uri will be of the form
2072 "scheme://[username:password@]hostname[:port]/[resource]",
2073 where scheme may be
"http",
"https",
"ipp",
"lpd",
"smb", or
2074 "socket" in the current implementation.
2076 <p>The URI returned by CUPS-Get-Devices will only contain
2077 the scheme name (
"scheme"). It is up to the client
2078 application to add the appropriate host and other
2079 information when adding a new printer.
2081 <p>The URI returned by Get-Printer-Attributes and
2082 CUPS-Get-Printers has any username and password information
2083 stripped; the information is still stored and used by the
2084 server internally to perform any needed authentication.
2088 <h3 class='title'
><a name='JOB_TEMPLATE_ATTRIBUTES'
>Job Template Attributes
</a></h3>
2090 <h4><a name=
"auth-info">auth-info (
1setOf text(MAX))
</a><span class=
"info">CUPS
1.3</span></h4>
2092 <p>The auth-info attribute specifies the authentication information to use when printing to a remote device. The order and content of each text value is specifed by the
<a href=
"#auth-info-required">auth-info-required
</a> printer attribute.
2094 <h4><a name=
"blackplot">blackplot (boolean)
</a></h4>
2096 <p>The blackplot attribute specifies whether HP-GL/
2 plot files should be
2097 rendered entirely in black ink (blackplot=true) or using the colors and shades
2098 specified in the file (blackplot=false). The default value is false.
2100 <h4><a name=
"brightness">brightness (integer(
0:
200))
</a></h4>
2102 <p>The brightness attribute specifies the overall brightness of the printed
2103 output in percent. A brightness of
100 is normal, while
200 is twice as
2104 bright and
50 is half as bright. The default value is
100.
2106 <p>Brightness is applied to the Cyan, Magenta, Yellow, and Black values using
2107 the function
"f(x) = brightness / 100 * x".
2109 <h4><a name=
"columns">columns (integer(
1:
4))
</a></h4>
2111 <p>The columns attribute specifies the number of columns to generate when
2112 printing text files. The default value is
1.
2114 <h4><a name=
"cpi">cpi (type2 enum)
</a></h4>
2116 <p>The cpi attribute specifies the number of characters per inch when
2117 printing text files. Only the values
10,
12, and
17 are currently
2118 supported. The default value is
10.
2120 <h4><a name=
"document-count">document-count (integer(
1:MAX))
</a></h4>
2122 <p>The document-count attribute specifies the number of documents that
2123 are present in the job.
2125 <h4><a name=
"fitplot">fitplot (boolean)
</a></h4>
2127 <p>The fitplot attribute specifies whether to scale HP-GL/
2 plot files to
2128 fit on the selected media (fitplot=true) or use the physical scale specified
2129 in the plot file (fitplot=false). The default value is false.
2131 <h4><a name=
"gamma">gamma (integer(
1:
10000))
</a></h4>
2133 <p>The gamma attribute specifies the luminance correction for the output.
2134 A value of
1000 specifies no correction, while values of
2000 and
500 will
2135 generate lighter and darker output, respectively. The default value is
2138 <p>Gamma is applied to the Red, Green, and Blue values (or luminance for
2139 grayscale output) using the function
"f(x) = x<SUp>(1000/gamma)</SUp>".
2141 <h4><a name=
"hue">hue (integer(-
180:
180))
</a></h4>
2143 <p>The hue attribute specifies a color hue rotation when printing image
2144 files. The default value is
0.
2146 <h4><a name=
"job-billing">job-billing (text(MAX))
</a><span class='info'
>CUPS
1.1</span></h4>
2148 <p>The job-billing attribute provides a text value to associate with a job
2149 for billing purposes.
2151 <h4><a name=
"job-hold-until">job-hold-until (keyword | name(MAX))
</a><span class='info'
>CUPS
1.1</span></h4>
2153 <p>The job-hold-until attribute specifies a hold time. In addition to the
2154 standard IPP/
1.1 keyword names, CUPS supports name values of the form
2155 "HH:MM" and
"HH:MM:SS" that specify a hold time. The hold time is in
2156 Universal Coordinated Time (UTC) and
<i>not
</i> in the local time zone. If the
2157 specified time is less than the current time, the job is held until the
2160 <h4><a name=
"job-printer-state-message">job-printer-state-message (text(MAX))
</a><span class='info'
>CUPS
1.3</span></h4>
2162 <p>The job-printer-state-message attribute provides the last known value of the printer-state-message attribute for the printer that processed (or is processing) the job.
</p>
2164 <h4><a name=
"job-printer-state-reasons">job-printer-state-reasons (
1setOf type2 keyword)
</a><span class='info'
>CUPS
1.3</span></h4>
2166 <p>The job-printer-state-reasons attribute provides the last known value of the printer-state-reasons attribute for the printer that processed (or is processing) the job.
</p>
2168 <h4><a name=
"job-sheets">job-sheets (
1setof type3 keyword | name(MAX))
</a><span class='info'
>CUPS
1.1</span></h4>
2170 <p>The job-sheets attribute specifies one or two banner files that are printed
2171 before and after a job. The reserved value of
"none" disables banner printing.
2172 The default value is stored in the job-sheets-default attribute.
2174 <p>If only one value is supplied, the banner file is printed before the job.
2175 If two values are supplied, the first value is used as the starting banner
2176 file and the second as the ending banner file.
2178 <h4><a name=
"job-originating-host-name">job-originating-host-name (name(MAX))
</a></h4>
2180 <p><i>(CUPS
1.1.5 and higher)
</i>
2182 <p>The job-originating-host-name attribute specifies the host
2183 from which the job was queued. The value will be the hostname or
2184 IP address of the client depending on whether hostname
2185 resolution is enabled. The localhost address (
127.0.0.1) is
2186 <b>always
</b> resolved to the name
"localhost".
2188 <p>This attribute is read-only.
2190 <h4><a name=
"lpi">lpi (type2 enum)
</a></h4>
2192 <p>The lpi attribute specifies the number of lines per inch when
2193 printing text files. Only the values
6 and
8 are currently supported.
2194 The default value is
6.
2196 <h4><a name=
"mirror">mirror (boolean)
</a></h4>
2198 <p>The mirror attribute specifies whether pages are mirrored on
2199 their X axis, which is useful for printing transfer images on
2200 special media. The default value is false.
2202 <h4><a name=
"natural-scaling">natural-scaling (integer(
1:
1000))
</a><span class='info'
>CUPS
1.1.9</span></h4>
2203 <p>The natural-scaling attribute specifies the scaling of image files with
2204 respect to the natural image size. A value of
100 specifies that the image
2205 file should exactly the natural size, while
50 is half the natural size
2206 and
200 is twice the natural size. The default value is
100.
2208 <p>The ppi option can be used to override the natural resolution of the
2209 image, which controls the natural size.
2211 <h4><a name=
"number-up-layout">number-up-layout (type2 keyword)
</a><span class='info'
>CUPS
1.1.15</span></h4>
2212 <p>The number-up-layout attribute specifies the order each input
2213 page is placed on each output page. The following keywords are
2218 <li><CODE>btlr
</CODE> - Bottom to top, left to right
</li>
2220 <li><CODE>btrl
</CODE> - Bottom to top, right to left
</li>
2222 <li><CODE>lrbt
</CODE> - Left to right, bottom to top
</li>
2224 <li><CODE>lrtb
</CODE> - Left to right, top to bottom (default)
</li>
2226 <li><CODE>rlbt
</CODE> - Right to left, bottom to top
</li>
2228 <li><CODE>rltb
</CODE> - Right to left, top to bottom
</li>
2230 <li><CODE>tblr
</CODE> - Top to bottom, left to right
</li>
2232 <li><CODE>tbrl
</CODE> - Top to bottom, right to left
</li>
2236 <h4><a name=
"page-border">page-border (type2 keyword)
</a><span class='info'
>CUPS
1.1.15</span></h4>
2237 <p>The page-border attribute specifies whether a border is
2238 draw around each page. The following keywords are presently
2243 <li><CODE>double
</CODE> - Two hairline borders are drawn
</li>
2245 <li><CODE>double-thick
</CODE> - Two
1pt borders are drawn
</li>
2247 <li><CODE>none
</CODE> - No border is drawn (default)
</li>
2249 <li><CODE>single
</CODE> - A single hairline border is drawn
</li>
2251 <li><CODE>single-thick
</CODE> - A single
1pt border is drawn
</li>
2255 <h4><a name=
"page-bottom">page-bottom (integer(
0:MAX))
</a></h4>
2257 <p>The page-bottom attribute specifies the bottom margin in points (
72 points
2258 equals
1 inch). The default value is the device physical margin.
2260 <h4><a name=
"page-label">page-label (text(MAX))
</a><span class='info'
>CUPS
1.1.7</span></h4>
2261 <p>The page-label attribute provides a text value to place in
2262 the header and footer on each page. If a classification level is
2263 set on the server, then this classification is printed before
2266 <h4><a name=
"page-left">page-left (integer(
0:MAX))
</a></h4>
2268 <p>The page-left attribute specifies the left margin in points (
72 points
2269 equals
1 inch). The default value is the device physical margin.
2271 <h4><a name=
"page-right">page-right (integer(
0:MAX))
</a></h4>
2273 <p>The page-right attribute specifies the right margin in points (
72 points
2274 equals
1 inch). The default value is the device physical margin.
2276 <h4><a name=
"page-set">page-set (type2 keyword)
</a></h4>
2278 <p>The page-set attribute specifies which pages to print in a file. The
2279 supported keywords are
"all",
"even", and
"odd". The default value is
2282 <h4><a name=
"page-top">page-top (integer(
0:MAX))
</a></h4>
2284 <p>The page-top attribute specifies the top margin in points (
72 points
2285 equals
1 inch). The default value is the device physical margin.
2287 <h4><a name=
"penwidth">penwidth (integer(
0:MAX))
</a></h4>
2289 <p>The penwidth attribute specifies the default pen width in micrometers
2290 when printing HP-GL/
2 plot files. The default value is
1000 (
1 millimeter).
2292 <h4><a name=
"position">position (type2 keyword)
</a></h4>
2294 <p>The position attribute specifies the location of image files on the
2295 media. The following keyword values are recognized:
2299 <li><CODE>center
</CODE> - Center the image on the page (default)
2301 <li><CODE>top
</CODE> - Print the image centered at the top of the page
2303 <li><CODE>left
</CODE> - Print the image centered on the left of page
2305 <li><CODE>right
</CODE> - Print the image centered on the right of the page
2307 <li><CODE>top-left
</CODE> - Print the image at the top left corner of
2310 <li><CODE>top-right
</CODE> - Print the image at the top right corner of
2313 <li><CODE>bottom
</CODE> - Print the image centered at the bottom of
2316 <li><CODE>bottom-left
</CODE> - Print the image at the bottom left
2319 <li><CODE>bottom-right
</CODE> - Print the image at the bottom right
2324 <h4><a name=
"ppi">ppi (integer(
1:MAX))
</a></h4>
2326 <p>The ppi attribute specifies the resolution of an image file in pixels
2327 per inch. The default value is the resolution included with the file or
2328 128 if no resolution information is available.
2330 <h4><a name=
"prettyprint">prettyprint (boolean)
</a></h4>
2332 <p>The prettyprint attribute specifies whether text files should be printed
2333 with a shaded header and keyword highlighting (prettyprint=true) or without
2334 additional formatting (prettyprint=false). The default value is false.
2336 <h4><a name=
"saturation">saturation (integer(
0:
200))
</a></h4>
2338 <p>The saturation attribute specifies the color saturation when
2339 printing image files. A saturation of
100 is normal, while values of
50
2340 and
200 will be half and twice as colorful, respectively. The default
2343 <h4><a name=
"scaling">scaling (integer(
1:
1000))
</a></h4>
2345 <p>The scaling attribute specifies the scaling of image files with
2346 respect to the selected media. A value of
100 specifies that the image
2347 file should fit
100% of the page, or as much as possible given the
2348 image dimensions. The default value is unspecified.
2350 <p>The scaling attribute overrides the ppi attribute if specified.
2352 <h4><a name=
"wrap">wrap (boolean)
</a></h4>
2354 <p>The wrap attribute specifies whether long lines should be wrapped
2355 (wrap=true) or not (wrap=false) when printing text files. The default
2358 <h3 class='title'
><a name='PPD_ATTRIBUTES'
>PPD Attributes
</a></h3>
2360 <h4><a name=
"ppd-device-id">ppd-device-id (text(
127))
</a></h4>
2362 <p>The ppd-device-id attribute specifies the IEEE-
1284 device ID
2363 string for the device described by the PPD file.
</p>
2365 <h4><a name=
"ppd-make">ppd-make (text(
127))
</a></h4>
2367 <p>The ppd-make attribute specifies the manufacturer of the printer
2368 (the Manufacturer attribute in the PPD file). If the manufacturer
2369 is not specified in the PPD file then an educated guess is made using
2370 the NickName attribute in the PPD file.
2372 <h4><a name=
"ppd-make-and-model">ppd-make-and-model (text(
127))
</a></h4>
2374 <p>The ppd-make-and-model attribute specifies the manufacturer and model
2375 name of the PPD file (the NickName attribute in the PPD file). If the
2376 make and model is not specified in the PPD file then the ModelName or
2377 ShortNickName attributes are used instead.
2379 <h4><a name=
"ppd-model-number">ppd-model-number (integer)
</a><span class=
"info">CUPS
1.3</span></h4>
2381 <p>The ppd-model-number attribute provides the
<tt>cupsModelNumber
</tt> value from the PPD file.
2383 <h4><a name=
"ppd-name">ppd-name (name(
255))
</a></h4>
2385 <p>The ppd-name attribute specifies either the PPD filename on the server relative to the model directory or a URI that maps to a specific driver interface in the driver directory. The forward slash (/) is used to delineate directories.
2387 <h4><a name=
"ppd-natural-language">ppd-natural-language (
1setOf naturalLanguage)
</a></h4>
2389 <p>The ppd-natural-language attribute specifies the language encoding
2390 of the PPD file (the LanguageVersion attribute in the PPD file). If the
2391 language is unknown or undefined then
"en" (English) is assumed.
2393 <h4><a name=
"ppd-product">ppd-product (
1setOf text(
127))
</a></h4>
2395 <p>The ppd-product attribute specifies the Product attribute values in the PPD file.
2397 <h4><a name=
"ppd-psversion">ppd-psversion (
1setOf text(
127))
</a><span class=
"info">CUPS
1.3</span></h4>
2399 <p>The ppd-product attribute specifies the PSVersion attribute values in the PPD file.
2401 <h4><a name=
"ppd-type">ppd-type (type1 keyword)
</a><span class=
"info">CUPS
1.3</span></h4>
2403 <p>The ppd-type attribute specifies the type of driver described by the PPD file:
</p>
2407 <li><tt>fax
</tt> - A facsimile or multi-function device
</li>
2409 <li><tt>pdf
</tt> - A PDF printer
</li>
2411 <li><tt>postscript
</tt> - A PostScript printer (no filters)
</li>
2413 <li><tt>raster
</tt> - A CUPS raster driver
</li>
2415 <li><tt>unknown
</tt> - An unknown or hybrid driver
</li>
2420 <h3 class='title'
><a name='PRINTER_ATTRIBUTES'
>Printer Attributes
</a></h3>
2422 <h4><a name=
"auth-info-required">auth-info-required (
1setOf type2 keyword)
</a><span class=
"info">CUPS
1.3</span></h4>
2424 <p>The auth-info-required attribute specifies the authentication information that is required for printing a job. The following keywords are recognized:
</p>
2428 <li><tt>domain
</tt> - A domain name is required.
</li>
2430 <li><tt>none
</tt> - No authentication is required - this keyword can only appear by itself.
</li>
2432 <li><tt>password
</tt> - A password is required.
</li>
2434 <li><tt>username
</tt> - A username is required.
</li>
2438 <h4><a name=
"job-k-limit">job-k-limit (integer)
</a><span class='info'
>CUPS
1.1</span></h4>
2440 <p>The job-k-limit attribute specifies the maximum number of kilobytes that
2441 may be printed by a user, including banner files. The default value of
0
2442 specifies that there is no limit.
2444 <h4><a name=
"job-page-limit">job-page-limit (integer)
</a><span class='info'
>CUPS
1.1</span></h4>
2446 <p>The job-page-limit attribute specifies the maximum number of pages that
2447 may be printed by a user, including banner files. The default value of
0
2448 specifies that there is no limit.
2450 <h4><a name=
"job-quota-period">job-quota-period (integer)
</a><span class='info'
>CUPS
1.1</span></h4>
2452 <p>The job-quota-period attribute specifies the time period used for quota
2453 calculations, in seconds. The default value of
0 specifies that the limits
2454 apply to all jobs that have been printed by a user that are still known to
2457 <h4><a name=
"job-sheets-supported">job-sheets-supported (
1setof type3 keyword | name(MAX))
</a><span class='info'
>CUPS
1.1</span></h4>
2459 <p>The job-sheets-supported attribute specifies the available banner files.
2460 There will always be at least one banner file available called
"none".
2462 <h4><a name=
"port-monitor">port-monitor
" (name(127))</a></h4>
2464 <p>The port-monitor attribute specifies the port monitor to use when printing
2465 to this printer. The default port monitor is "none
".
2467 <h4><a name="port-monitor-supported
">port-monitor-supported" (
1setOf name(
127))
</a></h4>
2469 <p>The port-monitor-supported attribute specifies the available port monitors.
2471 <h4><a name=
"printer-type">printer-type (type2 enum)
</a></h4>
2473 <p>The printer-type attribute specifies printer type and
2474 capability bits for the printer or class. The default value is
2475 computed from internal state information and the PPD file for the
2476 printer. The following bits are defined:
</p>
2478 <div class='table'
><table align='center' border='
1' width='
80%'
2479 summary='Printer Type Bits'
>
2483 <th>Description
</th>
2489 <td>Is a printer class.
</td>
2493 <td>Is a remote destination.
</td>
2497 <td>Can print in black.
</td>
2501 <td>Can print in color.
</td>
2505 <td>Can print on both sides of the page in hardware.
</td>
2509 <td>Can staple output.
</td>
2513 <td>Can do fast copies in hardware.
</td>
2517 <td>Can do fast copy collation in hardware.
</td>
2521 <td>Can punch output.
</td>
2525 <td>Can cover output.
</td>
2529 <td>Can bind output.
</td>
2533 <td>Can sort output.
</td>
2537 <td>Can handle media up to US-Legal/A4.
</td>
2541 <td>Can handle media from US-Legal/A4 to ISO-C/A2.
</td>
2545 <td>Can handle media larger than ISO-C/A2.
</td>
2549 <td>Can handle user-defined media sizes.
</td>
2553 <td>Is an implicit (server-generated) class.
</td>
2557 <td>Is the a default printer on the network.
</td>
2561 <td>Is a facsimile device.
</td>
2565 <td>Is rejecting jobs.
</td>
2569 <td>Delete this queue.
</td>
2573 <td>Queue is not shared.
</td>
2577 <td>Queue requires authentication.
</td>
2581 <td>Queue supports CUPS command files.
</td>
2585 <td>Queue was automatically discovered and added.
</td>
2590 <h4>printer-type-mask (type2 enum)
<span class='info'
>CUPS
1.1</span></h4>
2592 <p>The printer-type-mask attribute is used to choose printers or classes with
2593 the CUPS-Get-Printers and CUPS-Get-Classes operations. The bits are defined
2594 identically to the printer-type attribute and default to all
1's.
2596 <h4>requesting-user-name-allowed (
1setof name(
127))
<span class='info'
>CUPS
1.1</span></h4>
2598 <p>The requesting-user-name-allowed attribute lists all of the users that are
2599 allowed to access a printer or class. Either this attribute or the
2600 requesting-user-name-denied attribute will be defined, but not both.
2602 <h4>requesting-user-name-denied (
1setof name(
127))
<span class='info'
>CUPS
1.1</span></h4>
2604 <p>The requesting-user-name-denied attribute lists all of the users that are
2605 not allowed to access a printer or class. Either this attribute or the
2606 requesting-user-name-allowed attribute will be defined, but not both.
2608 <h3 class='title'
><a name='CLASS_ATTRIBUTES'
>Printer Class Attributes
</a></h3>
2610 <h4>member-names (
1setof name(
127))
</h4>
2612 <p>The member-names attribute specifies each of the printer-name attributes of
2613 the member printers and classes. Each name corresponds to the same element of
2614 the member-uris attribute.
2616 <h4>member-uris (
1setof uri)
</h4>
2618 <p>The member-uris attribute specifies each of the printer-uri attributes of
2619 the member printers and classes. Each URI corresponds to the same element of
2620 the member-names attribute.