# Get printer attributes using get-printer-attributes
{
# The name of the test...
NAME "Get printer attributes using Get-Printer-Attributes"
# The operation to use
OPERATION Get-Printer-Attributes
# Attributes, starting in the operation group...
GROUP operation-attributes-tag
ATTR charset attributes-charset utf-8
ATTR language attributes-natural-language en
ATTR uri printer-uri $uri
# What statuses are OK?
STATUS successful-ok
# What attributes do we expect?
EXPECT charset-configured
EXPECT charset-supported
EXPECT compression-supported
EXPECT document-format-default
EXPECT document-format-supported
EXPECT generated-natural-language-supported
EXPECT ipp-versions-supported
EXPECT natural-language-configured
EXPECT operations-supported
EXPECT pdl-override-supported
EXPECT printer-is-accepting-jobs
EXPECT printer-name
EXPECT printer-state
EXPECT printer-state-reasons
EXPECT printer-up-time
EXPECT printer-uri-supported
EXPECT queued-job-count
EXPECT uri-authentication-supported
EXPECT uri-security-supported
}