3 <!-- SECTION: Man Pages -->
5 <link rel=
"stylesheet" type=
"text/css" href=
"../cups-printable.css">
6 <title>ipptoolfile(
5)
</title>
9 <h1 class=
"title">ipptoolfile(
5)
</h1>
10 <h2 class=
"title"><a name=
"NAME">Name
</a></h2>
11 ipptoolfile - ipptool file format
13 <h2 class=
"title"><a name=
"DESCRIPTION">Description
</a></h2>
14 The
<i>ipptool(
1)
</i> program accepts free-form plain text files that describe one or more IPP requests. Comments start with the
"#" character and continue to the end of the line. Each request is enclosed by curly braces, for example:
19 # The name of the test
20 NAME
"Print PostScript Job"
24 GROUP operation-attributes-tag
25 ATTR charset attributes-charset utf-
8
26 ATTR language attributes-natural-language en
27 ATTR uri printer-uri $uri
28 ATTR name requesting-user-name $user
31 # The response to expect
33 EXPECT attributes-charset OF-TYPE charset
34 EXPECT attributes-natural-language OF-TYPE naturalLanguage
35 EXPECT job-id OF-TYPE integer
36 EXPECT job-uri OF-TYPE uri
39 # The name of the test
40 NAME
"Get Attributes of PostScript Job"
43 OPERATION Get-Job-Attributes
44 GROUP operation-attributes-tag
45 ATTR charset attributes-charset utf-
8
46 ATTR language attributes-natural-language en
47 ATTR uri printer-uri $uri
48 ATTR integer job-id $job-id
49 ATTR name requesting-user-name $user
51 # The response to expect
53 EXPECT attributes-charset OF-TYPE charset
54 EXPECT attributes-natural-language OF-TYPE naturalLanguage
55 EXPECT job-id OF-TYPE integer
56 EXPECT job-uri OF-TYPE uri
57 EXPECT job-state OF-TYPE enum
58 EXPECT job-originating-user-name OF-TYPE name WITH-VALUE
"$user"
62 <h2 class=
"title"><a name=
"TOP_LEVEL_DIRECTIVES">Top-level Directives
</a></h2>
63 The following directives can be used outside of a test:
64 <p style=
"margin-left: 5.0em; text-indent: -5.0em">{ test }
67 <p style=
"margin-left: 5.0em; text-indent: -5.0em">DEFINE variable-name value
69 Defines the named variable to the given value. This is equivalent to specifying
70 "-d variable-name=value" on the
<i>ipptool
</i> command-line.
71 <p style=
"margin-left: 5.0em; text-indent: -5.0em">DEFINE-DEFAULT variable-name value
73 Defines the named variable to the given value if it does not already have a
75 <p style=
"margin-left: 5.0em; text-indent: -5.0em">FILE-ID
"identifier"
77 Specifies an identifier string for the current file.
78 <p style=
"margin-left: 5.0em; text-indent: -5.0em">IGNORE-ERRORS yes
80 <p style=
"margin-left: 5.0em; text-indent: -5.0em">IGNORE-ERRORS no
82 Specifies whether, by default,
<i>ipptool
</i> will ignore errors and continue with
84 <p style=
"margin-left: 5.0em; text-indent: -5.0em">INCLUDE
"filename"
86 <p style=
"margin-left: 5.0em; text-indent: -5.0em">INCLUDE
<filename
>
88 Includes another test file. The first form includes a file relative to the
89 current test file, while the second form includes a file from the
<i>ipptool
</i>
91 <p style=
"margin-left: 5.0em; text-indent: -5.0em">INCLUDE-IF-DEFINED name
"filename"
93 <p style=
"margin-left: 5.0em; text-indent: -5.0em">INCLUDE-IF-DEFINED name
<filename
>
95 Includes another test file if the named variable is defined. The first form
96 includes a file relative to the current test file, while the second form
97 includes a file from the
<i>ipptool
</i> include directory.
98 <p style=
"margin-left: 5.0em; text-indent: -5.0em">INCLUDE-IF-NOT-DEFINED name
"filename"
100 <p style=
"margin-left: 5.0em; text-indent: -5.0em">INCLUDE-IF-NOT-DEFINED name
<filename
>
102 Includes another test file if the named variable is not defined. The first form
103 includes a file relative to the current test file, while the second form
104 includes a file from the
<i>ipptool
</i> include directory.
105 <p style=
"margin-left: 5.0em; text-indent: -5.0em">SKIP-IF-DEFINED variable-name
107 <p style=
"margin-left: 5.0em; text-indent: -5.0em">SKIP-IF-NOT-DEFINED variable-name
109 Specifies that the remainder of the test file should be skipped when the
110 variable is or is not defined.
111 <p style=
"margin-left: 5.0em; text-indent: -5.0em">STOP-AFTER-INCLUDE-ERROR no
113 <p style=
"margin-left: 5.0em; text-indent: -5.0em">STOP-AFTER-INCLUDE-ERROR yes
115 Specifies whether tests will be stopped after an error in an included file.
116 <p style=
"margin-left: 5.0em; text-indent: -5.0em">TRANSFER auto
118 Specifies that tests will, by default, use
"Transfer-Encoding: chunked" for
119 requests with attached files and
"Content-Length:" for requests without attached
121 <p style=
"margin-left: 5.0em; text-indent: -5.0em">TRANSFER chunked
123 Specifies that tests will, by default, use the HTTP/
1.1 "Transfer-Encoding:
124 chunked" header. This is the default and is equivalent to specifying
"-c" on the
125 <i>ipptool
</i> command-line. Support for chunked requests is required for
126 conformance with all versions of IPP.
127 <p style=
"margin-left: 5.0em; text-indent: -5.0em">TRANSFER length
129 Specifies that tests will, by default, use the HTTP/
1.0 "Content-Length:"
130 header. This is equivalent to specifying
"-l" on the
<i>ipptool
</i> command-line.
131 Support for content length requests is required for conformance with all
133 <p style=
"margin-left: 5.0em; text-indent: -5.0em">VERSION
1.0
135 <p style=
"margin-left: 5.0em; text-indent: -5.0em">VERSION
1.1
137 <p style=
"margin-left: 5.0em; text-indent: -5.0em">VERSION
2.0
139 <p style=
"margin-left: 5.0em; text-indent: -5.0em">VERSION
2.1
141 <p style=
"margin-left: 5.0em; text-indent: -5.0em">VERSION
2.2
143 Specifies the default IPP version number to use for the tests that follow.
145 <h2 class=
"title"><a name=
"TEST_DIRECTIVES">Test Directives
</a></h2>
146 The following directives are understood in a test:
147 <p style=
"margin-left: 5.0em; text-indent: -5.0em">ATTR tag attribute-name value(s)
149 Adds an attribute to the test request. Values are separated by the comma (
",")
150 character - escape commas using the
"" character. Common attributes and values are listed in the IANA IPP registry - see references below.
151 <p style=
"margin-left: 5.0em; text-indent: -5.0em">ATTR collection attribute-name { MEMBER tag member-name value(s) ... } [ ... { ... } ]
153 Adds a collection attribute to the test request. Member attributes follow the
154 same syntax as regular attributes and can themselves be nested collections.
155 Multiple collection values can be supplied as needed.
156 <p style=
"margin-left: 5.0em; text-indent: -5.0em">COMPRESSION deflate
158 <p style=
"margin-left: 5.0em; text-indent: -5.0em">COMPRESSION gzip
160 <p style=
"margin-left: 5.0em; text-indent: -5.0em">COMPRESSION none
163 Uses the specified compression on the document data following the attributes in
164 a Print-Job or Send-Document request.
165 <p style=
"margin-left: 5.0em; text-indent: -5.0em">DELAY seconds
167 Specifies a delay before this test will be run.
168 <p style=
"margin-left: 5.0em; text-indent: -5.0em">DISPLAY attribute-name
170 Specifies that value of the named attribute should be output as part of the
172 <p style=
"margin-left: 5.0em; text-indent: -5.0em">EXPECT attribute-name [ predicate(s) ]
174 <p style=
"margin-left: 5.0em; text-indent: -5.0em">EXPECT ?attribute-name predicate(s)
176 <p style=
"margin-left: 5.0em; text-indent: -5.0em">EXPECT !attribute-name
178 Specifies that the response must/may/must not include the named attribute.
179 Additional requirements can be added as predicates - see the
"EXPECT PREDICATES"
180 section for more information on predicates.
181 <p style=
"margin-left: 5.0em; text-indent: -5.0em">FILE filename
183 Specifies a file to include at the end of the request. This is typically used
184 when sending a test print file.
185 <p style=
"margin-left: 5.0em; text-indent: -5.0em">GROUP tag
187 Specifies the group tag for subsequent attributes in the request.
188 <p style=
"margin-left: 5.0em; text-indent: -5.0em">IGNORE-ERRORS yes
190 <p style=
"margin-left: 5.0em; text-indent: -5.0em">IGNORE-ERRORS no
192 Specifies whether
<i>ipptool
</i> will ignore errors and continue with subsequent
194 <p style=
"margin-left: 5.0em; text-indent: -5.0em">NAME
"literal string"
196 Specifies the human-readable name of the test.
197 <p style=
"margin-left: 5.0em; text-indent: -5.0em">OPERATION operation-code
199 Specifies the operation to be performed.
200 <p style=
"margin-left: 5.0em; text-indent: -5.0em">REQUEST-ID number
202 <p style=
"margin-left: 5.0em; text-indent: -5.0em">REQUEST-ID random
204 Specifies the request-id value to use in the request, either an integer or the
205 word
"random" to use a randomly generated value (the default).
206 <p style=
"margin-left: 5.0em; text-indent: -5.0em">RESOURCE path
208 Specifies an alternate resource path that is used for the HTTP POST request.
209 The default is the resource from the URI provided to the
<i>ipptool
</i> program.
210 <p style=
"margin-left: 5.0em; text-indent: -5.0em">SKIP-IF-DEFINED variable-name
212 <p style=
"margin-left: 5.0em; text-indent: -5.0em">SKIP-IF-NOT-DEFINED variable-name
214 Specifies that the current test should be skipped when the variable is or is not
216 <p style=
"margin-left: 5.0em; text-indent: -5.0em">SKIP-PREVIOUS-ERROR yes
218 <p style=
"margin-left: 5.0em; text-indent: -5.0em">SKIP-PREVIOUS-ERROR no
220 Specifies whether
<i>ipptool
</i> will skip the current test if the previous test
221 resulted in an error/failure.
222 <p style=
"margin-left: 5.0em; text-indent: -5.0em">STATUS status-code [ predicate ]
224 Specifies an expected response status-code value. Additional requirements can be
225 added as predicates - see the
"STATUS PREDICATES" section for more information
227 <p style=
"margin-left: 5.0em; text-indent: -5.0em">TEST-ID
"identifier"
229 Specifies an identifier string for the current test.
230 <p style=
"margin-left: 5.0em; text-indent: -5.0em">TRANSFER auto
232 Specifies that this test will use
"Transfer-Encoding: chunked" if it has an
233 attached file or
"Content-Length:" otherwise.
234 <p style=
"margin-left: 5.0em; text-indent: -5.0em">TRANSFER chunked
236 Specifies that this test will use the HTTP/
1.1 "Transfer-Encoding: chunked"
238 <p style=
"margin-left: 5.0em; text-indent: -5.0em">TRANSFER length
240 Specifies that this test will use the HTTP/
1.0 "Content-Length:" header.
241 <p style=
"margin-left: 5.0em; text-indent: -5.0em">VERSION
1.0
243 <p style=
"margin-left: 5.0em; text-indent: -5.0em">VERSION
1.1
245 <p style=
"margin-left: 5.0em; text-indent: -5.0em">VERSION
2.0
247 <p style=
"margin-left: 5.0em; text-indent: -5.0em">VERSION
2.1
249 <p style=
"margin-left: 5.0em; text-indent: -5.0em">VERSION
2.2
251 Specifies the IPP version number to use for this test.
253 <h2 class=
"title"><a name=
"EXPECT_PREDICATES">Expect Predicates
</a></h2>
254 The following predicates are understood following the EXPECT test directive:
255 <p style=
"margin-left: 5.0em; text-indent: -5.0em">COUNT number
257 Requires the EXPECT attribute to have the specified number of values.
258 <p style=
"margin-left: 5.0em; text-indent: -5.0em">DEFINE-MATCH variable-name
260 Defines the variable to
"1" when the EXPECT condition matches. A side-effect of
261 this predicate is that this EXPECT will never fail a test.
262 <p style=
"margin-left: 5.0em; text-indent: -5.0em">DEFINE-NO-MATCH variable-name
264 Defines the variable to
"1" when the EXPECT condition does not match. A side-
265 effect of this predicate is that this EXPECT will never fail a test.
266 <p style=
"margin-left: 5.0em; text-indent: -5.0em">DEFINE-VALUE variable-name
268 Defines the variable to the value of the attribute when the EXPECT condition
269 matches. A side-effect of this predicate is that this EXPECT will never fail a test.
270 <p style=
"margin-left: 5.0em; text-indent: -5.0em">IF-DEFINED variable-name
272 Makes the EXPECT conditions apply only if the specified variable is defined.
273 <p style=
"margin-left: 5.0em; text-indent: -5.0em">IF-NOT-DEFINED variable-name
275 Makes the EXPECT conditions apply only if the specified variable is not
277 <p style=
"margin-left: 5.0em; text-indent: -5.0em">IN-GROUP tag
279 Requires the EXPECT attribute to be in the specified group tag.
280 <p style=
"margin-left: 5.0em; text-indent: -5.0em">OF-TYPE tag[,tag,...]
282 Requires the EXPECT attribute to use the specified value tag(s).
283 <p style=
"margin-left: 5.0em; text-indent: -5.0em">REPEAT-LIMIT number
286 Specifies the maximum number of times to repeat. The default value is
1000.
287 <p style=
"margin-left: 5.0em; text-indent: -5.0em">REPEAT-MATCH
289 <p style=
"margin-left: 5.0em; text-indent: -5.0em">REPEAT-NO-MATCH
291 Specifies that the current test should be repeated when the EXPECT condition
292 matches or does not match.
293 <p style=
"margin-left: 5.0em; text-indent: -5.0em">SAME-COUNT-AS attribute-name
295 Requires the EXPECT attribute to have the same number of values as the specified
297 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-HOSTNAMES
"literal string"
299 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-HOSTNAMES
"/regular expression/"
301 Requires that all URI values contain a matching hostname.
302 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-RESOURCES
"literal string"
304 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-RESOURCES
"/regular expression/"
306 Requires that all URI values contain a matching resource (including leading /).
307 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-SCHEMES
"literal string"
309 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-SCHEMES
"/regular expression/"
311 Requires that all URI values contain a matching scheme.
312 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-VALUES
"literal string"
314 Requires that all values of the EXPECT attribute match the literal string. Comparisons are case-sensitive.
315 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-VALUES
<number
317 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-VALUES =number
319 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-VALUES
>number
321 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-VALUES number[,number,...]
323 Requires that all values of the EXPECT attribute match the number(s) or numeric comparison. When comparing rangeOfInteger values, the
"<" and
">" operators only check the upper bound of the range.
324 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-VALUES
"false"
326 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-VALUES
"true"
328 Requires that all values of the EXPECT attribute match the boolean value given.
329 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-ALL-VALUES
"/regular expression/"
331 Requires that all values of the EXPECT attribute match the regular expression, which must conform to the POSIX regular expression syntax. Comparisons are case-sensitive.
332 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-HOSTNAME
"literal string"
334 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-HOSTNAME
"/regular expression/"
336 Requires that at least one URI value contains a matching hostname.
337 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-RESOURCE
"literal string"
339 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-RESOURCE
"/regular expression/"
341 Requires that at least one URI value contains a matching resource (including leading /).
342 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-SCHEME
"literal string"
344 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-SCHEME
"/regular expression/"
346 Requires that at least one URI value contains a matching scheme.
347 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-VALUE
"literal string"
349 Requires that at least one value of the EXPECT attribute matches the literal string. Comparisons are case-sensitive.
350 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-VALUE
<number
352 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-VALUE =number
354 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-VALUE
>number
356 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-VALUE number[,number,...]
358 Requires that at least one value of the EXPECT attribute matches the number(s) or numeric comparison. When comparing rangeOfInteger values, the
"<" and
">" operators only check the upper bound of the range.
359 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-VALUE
"false"
361 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-VALUE
"true"
363 Requires that at least one value of the EXPECT attribute matches the boolean value given.
364 <p style=
"margin-left: 5.0em; text-indent: -5.0em">WITH-VALUE
"/regular expression/"
366 Requires that at least one value of the EXPECT attribute matches the regular expression, which must conform to the POSIX regular expression syntax. Comparisons are case-sensitive.
368 <h2 class=
"title"><a name=
"STATUS_PREDICATES">Status Predicates
</a></h2>
369 The following predicates are understood following the STATUS test directive:
370 <p style=
"margin-left: 5.0em; text-indent: -5.0em">DEFINE-MATCH variable-name
372 Defines the variable to
"1" when the STATUS matches. A side-effect of this predicate is that this STATUS will never fail a test.
373 <p style=
"margin-left: 5.0em; text-indent: -5.0em">DEFINE-NO-MATCH variable-name
375 Defines the variable to
"1" when the STATUS does not match. A side-effect of this predicate is that this STATUS will never fail a test.
376 <p style=
"margin-left: 5.0em; text-indent: -5.0em">IF-DEFINED variable-name
378 Makes the STATUS apply only if the specified variable is defined.
379 <p style=
"margin-left: 5.0em; text-indent: -5.0em">IF-NOT-DEFINED variable-name
381 Makes the STATUS apply only if the specified variable is not defined.
382 <p style=
"margin-left: 5.0em; text-indent: -5.0em">REPEAT-LIMIT number
385 Specifies the maximum number of times to repeat. The default value is
1000.
386 <p style=
"margin-left: 5.0em; text-indent: -5.0em">REPEAT-MATCH
388 <p style=
"margin-left: 5.0em; text-indent: -5.0em">REPEAT-NO-MATCH
390 Specifies that the current test should be repeated when the response status-code
391 matches or does not match the value specified by the STATUS directive.
393 <h2 class=
"title"><a name=
"OPERATION_CODES">Operation Codes
</a></h2>
394 Operation codes correspond to the hexadecimal numbers (
0xHHHH) and names from
395 RFC
2911 and other IPP extension specifications. Here is a complete list:
399 CUPS-Add-Modify-Class
400 CUPS-Add-Modify-Printer
401 CUPS-Authenticate-Job
421 Create-Job-Subscriptions
422 Create-Printer-Subscriptions
429 Get-Printer-Attributes
430 Get-Printer-Support-Files
431 Get-Printer-Supported-Values
432 Get-Subscription-Attributes
438 Pause-Printer-After-Current-Job
443 Release-Held-New-Jobs
454 Send-Hardcopy-Document
458 Set-Printer-Attributes
466 <h2 class=
"title"><a name=
"STATUS_CODES">Status Codes
</a></h2>
467 Status codes correspond to the hexadecimal numbers (
0xHHHH) and names from RFC
468 2911 and other IPP extension specifications. Here is a complete list:
470 client-error-attributes-not-settable
471 client-error-attributes-or-values-not-supported
472 client-error-bad-request
473 client-error-charset-not-supported
474 client-error-compression-error
475 client-error-compression-not-supported
476 client-error-conflicting-attributes
477 client-error-document-access-error
478 client-error-document-format-error
479 client-error-document-format-not-supported
480 client-error-document-password-error
481 client-error-document-permission-error
482 client-error-document-security-error
483 client-error-document-unprintable-error
484 client-error-forbidden
486 client-error-ignored-all-notifications
487 client-error-ignored-all-subscriptions
488 client-error-not-authenticated
489 client-error-not-authorized
490 client-error-not-found
491 client-error-not-possible
492 client-error-print-support-file-not-found
493 client-error-request-entity-too-large
494 client-error-request-value-too-long
496 client-error-too-many-subscriptions
497 client-error-uri-scheme-not-supported
499 redirection-other-site
501 server-error-device-error
502 server-error-internal-error
503 server-error-job-canceled
504 server-error-multiple-document-jobs-not-supported
505 server-error-not-accepting-jobs
506 server-error-operation-not-supported
507 server-error-printer-is-deactivated
508 server-error-service-unavailable
509 server-error-temporary-error
510 server-error-version-not-supported
512 successful-ok-but-cancel-subscription
513 successful-ok-conflicting-attributes
514 successful-ok-events-complete
515 successful-ok-ignored-notifications
516 successful-ok-ignored-or-substituted-attributes
517 successful-ok-ignored-subscriptions
518 successful-ok-too-many-events
521 <h2 class=
"title"><a name=
"TAGS">Tags
</a></h2>
522 Value and group tags correspond to the names from RFC
2911 and other IPP
523 extension specifications. Here are the group tags:
525 event-notification-attributes-tag
527 operation-attributes-tag
528 printer-attributes-tag
529 subscription-attributes-tag
530 unsupported-attributes-tag
532 <p>Here are the value tags:
561 <h2 class=
"title"><a name=
"VARIABLES">Variables
</a></h2>
562 The
<i>ipptool
</i> program maintains a list of variables that can be used in any
563 literal string or attribute value by specifying
"$variable-name". Aside from
564 variables defined using the
"-d" option or
"DEFINE" directive, the following
565 pre-defined variables are available:
566 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$$
568 Inserts a single
"$" character.
569 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$ENV[name]
571 Inserts the value of the named environment variable, or an empty string if the
572 environment variable is not defined.
573 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$filename
575 Inserts the filename provided to
<i>ipptool
</i> with the
"-f" option.
576 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$hostname
578 Inserts the hostname from the URI provided to
<i>ipptool
</i>.
579 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$job-id
581 Inserts the last job-id value returned in a test response or
0 if no job-id has
583 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$job-uri
585 Inserts the last job-uri value returned in a test response or an empty string if
586 no job-uri has been seen.
587 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$scheme
589 Inserts the scheme from the URI provided to
<i>ipptool
</i>.
590 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$notify-subscription-id
592 Inserts the last notify-subscription-id value returned in a test response or
0 if
593 no notify-subscription-id has been seen.
594 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$port
596 Inserts the port number from the URI provided to
<i>ipptool
</i>.
597 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$resource
599 Inserts the resource path from the URI provided to
<i>ipptool
</i>.
600 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$uri
602 Inserts the URI provided to
<i>ipptool
</i>.
603 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$user
605 Inserts the current user's login name.
606 <p style=
"margin-left: 5.0em; text-indent: -5.0em">$username
608 Inserts the username from the URI provided to
<i>ipptool
</i>, if any.
610 <h2 class=
"title"><a name=
"SEE_ALSO">See Also
</a></h2>
611 <i>ipptool(
1)
</i>, RFC
2911,
613 <a href=
"http://localhost:631/help">http://localhost:
631/help
</a>
615 <a href=
"http://www.iana.org/assignments/ipp-registrations">http://www.iana.org/assignments/ipp-registrations
</a>
617 <a href=
"http://www.pwg.org/ipp">http://www.pwg.org/ipp
</a>
618 <h2 class=
"title"><a name=
"COPYRIGHT">Copyright
</a></h2>
619 Copyright
2007-
2014 by Apple Inc.