blob: c2642d3756be4d00c2c784424848a7da22105d4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Get printer attributes using get-printer-attributes
{
# The name of the test...
NAME "Get printer attributes using get-printer-attributes"
# The resource to use for the POST
# RESOURCE /admin
# The operation to use
OPERATION get-printer-attributes
# Attributes, starting in the operation group...
GROUP operation
ATTR charset attributes-charset utf-8
ATTR language attributes-natural-language en
ATTR uri printer-uri $uri
ATTR keyword requested-attributes com.apple.print.recoverable-message,copies-supported,document-format-supported,marker-colors,marker-levels,marker-message,marker-names,marker-types,printer-is-accepting-jobs,printer-state,printer-state-message,printer-state-reasons
# What statuses are OK?
STATUS successful-ok
STATUS successful-ok-ignored-or-substituted-attributes
}
|