mirror of https://gitee.com/openkylin/cups.git
22 lines
504 B
Plaintext
22 lines
504 B
Plaintext
|
# Get PPD files using CUPS-Get-PPDs and Product
|
||
|
{
|
||
|
# The name of the test...
|
||
|
NAME "Get PPD files using CUPS-Get-PPDs and Product"
|
||
|
|
||
|
# The resource to use for the POST
|
||
|
# RESOURCE /admin
|
||
|
|
||
|
# The operation to use
|
||
|
OPERATION CUPS-Get-PPDs
|
||
|
|
||
|
# 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 text ppd-product $ENV[product]
|
||
|
|
||
|
# What statuses are OK?
|
||
|
STATUS successful-ok
|
||
|
}
|