mirror of https://gitee.com/openkylin/cups.git
24 lines
603 B
Plaintext
24 lines
603 B
Plaintext
|
# Validate a test page using Validate-Job
|
||
|
{
|
||
|
# The name of the test...
|
||
|
NAME "Validate file/ticket using Validate-Job"
|
||
|
|
||
|
# The operation to use
|
||
|
OPERATION Validate-Job
|
||
|
|
||
|
# 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
|
||
|
ATTR name requesting-user-name $user
|
||
|
ATTR mimeMediaType document-format $filetype
|
||
|
|
||
|
GROUP job-attributes-tag
|
||
|
ATTR integer copies 1
|
||
|
|
||
|
# What statuses are OK?
|
||
|
STATUS successful-ok
|
||
|
STATUS successful-ok-ignored-or-substituted-attributes
|
||
|
}
|