"Fossies" - the Fresh Open Source Software Archive

Member "cups-2.3rc1/examples/ipp-backend.test" (21 May 2019, 811 Bytes) of package /linux/misc/cups-2.3rc1-source.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    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 }