You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ipptool: Bad resolution value "" on line 14 of 'resolution.test'.
Here is the content of resolution.test file.
{
SKIP-IF-NOT-DEFINED PRINTER_RESOLUTION
NAME "Validate-Job: resolution"
OPERATION Validate-Job
GROUP operation-attributes-tag
ATTR charset attributes-charset utf-8
ATTR naturalLanguage attributes-natural-language en
ATTR uri printer-uri $uri
ATTR name requesting-user-name $user
ATTR mimeMediaType document-format application/octet-stream
GROUP job-attributes-tag
ATTR resolution printer-resolution $PRINTER_RESOLUTION
# ATTR keyword sides $PRINTER_RESOLUTION #This line is for testing if the test is skipped.
STATUS successful-ok
}
run this using below command to reproduce the issue.
ipptool -vt ipp:///ipp/print resilution.test
By defining PRINTER_RESOLUTION test case passes but how to skip the resolution.
ipptool -vt ipp:///ipp/print -d PRINTER_RESOLUTION=600dpi resilution.test
Note: It works for the keyword attribute.
The text was updated successfully, but these errors were encountered:
ipptool: Bad resolution value "" on line 14 of 'resolution.test'.
Here is the content of resolution.test file.
run this using below command to reproduce the issue.
ipptool -vt ipp:///ipp/print resilution.test
By defining PRINTER_RESOLUTION test case passes but how to skip the resolution.
ipptool -vt ipp:///ipp/print -d PRINTER_RESOLUTION=600dpi resilution.test
Note: It works for the keyword attribute.
The text was updated successfully, but these errors were encountered: