• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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	# The version to use
13	VERSION 2.0
14
15	# Attributes, starting in the operation group...
16	GROUP operation
17	ATTR charset attributes-charset utf-8
18	ATTR language attributes-natural-language en
19	ATTR uri printer-uri $uri
20	ATTR keyword requested-attributes all,media-col-database
21
22	# What statuses are OK?
23	STATUS successful-ok
24
25	# What attributes do we expect?
26	EXPECT charset-configured
27	EXPECT charset-supported
28	EXPECT compression-supported
29	EXPECT document-format-default
30	EXPECT document-format-supported
31	EXPECT generated-natural-language-supported
32	EXPECT ipp-versions-supported
33	EXPECT media-col-default
34	EXPECT natural-language-configured
35	EXPECT operations-supported
36	EXPECT printer-info
37	EXPECT printer-is-accepting-jobs
38	EXPECT printer-location
39	EXPECT printer-make-and-model
40	EXPECT printer-more-info
41	EXPECT printer-name
42	EXPECT printer-state
43	EXPECT printer-state-reasons
44	EXPECT printer-up-time
45	EXPECT printer-uri-supported
46	EXPECT uri-authentication-supported
47	EXPECT uri-security-supported
48}
49