| Server IP : 172.67.134.114 / Your IP : 162.159.115.41 Web Server : Apache/2.4.37 System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : ricodeal ( 1046) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/cups/ipptool/ |
Upload File : |
# 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
}