mirror of https://gitee.com/openkylin/cups.git
22 lines
520 B
Plaintext
22 lines
520 B
Plaintext
|
# Get PPD files using CUPS-Get-PPDs and language
|
||
|
{
|
||
|
# The name of the test...
|
||
|
NAME "Get PPD files using CUPS-Get-PPDs and language"
|
||
|
|
||
|
# 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 language ppd-natural-language $ENV[language]
|
||
|
|
||
|
# What statuses are OK?
|
||
|
STATUS successful-ok
|
||
|
}
|