ipp-backend.test   [plain text]


# Get printer attributes using get-printer-attributes
{
	# The name of the test...
	NAME "Get printer attributes using get-printer-attributes"

	# The resource to use for the POST
	# RESOURCE /admin

	# The operation to use
	OPERATION get-printer-attributes

	# Attributes, starting in the operation group...
	GROUP operation
	ATTR charset attributes-charset utf-8
	ATTR language attributes-natural-language en
	ATTR uri printer-uri $uri
	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

	# What statuses are OK?
	STATUS successful-ok
	STATUS successful-ok-ignored-or-substituted-attributes
}