1# Get printer attributes using get-printer-attributes
2{
3	# The name of the test...
4	NAME "Get printer attributes using get-printer-attributes"
5
6	# The resource to use for the POST
7	# RESOURCE /admin
8
9	# The operation to use
10	OPERATION get-printer-attributes
11
12	# Attributes, starting in the operation group...
13	GROUP operation
14	ATTR charset attributes-charset utf-8
15	ATTR language attributes-natural-language en
16	ATTR uri printer-uri $uri
17	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
18
19	# What statuses are OK?
20	STATUS successful-ok
21	STATUS successful-ok-ignored-or-substituted-attributes
22}
23