# # IPP Everywhere Basic # # Copyright 2017 Printer Working Group # MAKE "PWG" MODEL "IPP Everywhere Basic Printer Simulator" Strings en test/en.strings Strings fr test/fr.strings Profile "sRGB Profile" test/srgb.icc { MEMBER keyword print-color-mode color } Profile "sRGB Glossy Profile" test/srgb-glossy.icc { MEMBER keyword print-color-mode color MEMBER collection media-col { MEMBER keyword media-type photographic-glossy } } Profile "sGray Profile" test/sgray.icc { MEMBER keyword print-color-mode monochrome } ############################################## # PWG ippserver basic types test attributes ############################################## # # These are PWG "vendor-specific" attribute definitions that should be definable # and representable by ippserver. If there are errors then something is broken. # #ATTR admin-define pwg-test-admin-define-type #ATTR admin-define pwg-test-admin-define-type-one-set # ATTR boolean pwg-test-boolean-type true # ATTR boolean pwg-test-boolean-type-one-set false,true # ATTR charset pwg-test-charset-type utf-8 # ATTR charset pwg-test-charset-type-one-set US-ASCII,utf-8,ISO-8859-1 # ATTR collection pwg-test-collection-type # { # MEMBER integer pwg-member-integer 69 # MEMBER integer pwg-member-integer-set 69,42,99 # } # ATTR collection pwg-test-collection-type-one-set # { # MEMBER integer pwg-member-integer 69 # MEMBER integer pwg-member-integer-set 69,42,99 # }, # { # MEMBER integer pwg-member-integer 69 # MEMBER integer pwg-member-integer-set 69,42,99 # } # # ATTR dateTime pwg-test-dateTime-type 2016-03-07T13:55:30Z # # ATTR dateTime pwg-test-dateTime-type-one-set 2016-03-07T13:55:30Z,2017-06-05T14:14:49-0800 # # ATTR default pwg-test-default-type # # ATTR default pwg-test-default-type-one-set # # ATTR delete-attribute pwg-test-delete-attribute-type # # ATTR delete-attribute pwg-test-delete-attribute-type-one-set # ATTR enum pwg-test-enum-type 1 # ATTR enum pwg-test-enum-type-one-set 2,3,4 # ATTR integer pwg-test-integer-type 1234567 # ATTR integer pwg-test-integer-type-one-set -2147483648,-1,0,1,2147483647 # ATTR keyword pwg-test-keyword-type pwg-test-keyword-1 # ATTR keyword pwg-test-keyword-type-one-set pwg-test-keyword-2,pwg-test-keyword-3 # ATTR mimeMediaType pwg-test-mimeMediaType-type text/plain # "text/plain; charset = utf-8" # ATTR mimeMediaType pwg-test-mimeMediaType-type-one-set image/pwg-raster,image/jpeg,text/plain # # ATTR nameWithLanguage pwg-test-nameWithLanguage-type An unquoted name with spaces # # ATTR nameWithLanguage pwg-test-nameWithLanguage-type-one-set # ATTR nameWithoutLanguage pwg-test-nameWithoutLanguage-type "A quoted name with spaces" # ATTR nameWithoutLanguage pwg-test-nameWithoutLanguage-type-one-set "A quoted name with spaces in a set","Another quoted name with spaces in a set" # ATTR naturalLanguage pwg-test-naturalLanguage-type en-us # ATTR naturalLanguage pwg-test-naturalLanguage-type-one-set fr,fr-ca,de,zh-cn # ATTR no-value pwg-test-no-value-type # no value # # ATTR no-value pwg-test-no-value-type-one-set # ATTR not-settable pwg-test-not-settable-type # no value # # ATTR not-settable pwg-test-not-settable-type-one-set # ATTR octetString pwg-test-octetString-type code=unknown;severity=other;group=other # ATTR octetString pwg-test-octetString-type-one-set code=unknown;severity=other;group=other,code=unknown;severity=other;group=other,code=unknown;severity=other;group=other,code=unknown;severity=otherother,code=unknown;severity=otherother,code=printerReadyToPrint;severity=other;group=generalPrinter,code=unknown;severity=other;group=other,code=unknown;severity=other;group=other # ATTR rangeOfInteger pwg-test-rangeOfInteger-type 0-200 # ATTR rangeOfInteger pwg-test-rangeOfInteger-type-one-set -1100-2200,0-41502 # ATTR resolution pwg-test-resolution-type 600dpi # ATTR resolution pwg-test-resolution-type-one-set 300dpi,600dpi # # ATTR textWithLanguage pwg-test-textWithLanguage-type # # ATTR textWithLanguage pwg-test-textWithLanguage-type-one-set # ATTR textWithoutLanguage pwg-test-textWithoutLanguage-type "A quoted text blob with spaces" # ATTR textWithoutLanguage pwg-test-textWithoutLanguage-type-one-set "A quoted text blob with spaces","Another quoted text blob with spaces" # ATTR unknown pwg-test-unknown-type # no value # # ATTR unknown pwg-test-unknown-type-one-set # ATTR unsupported pwg-test-unsupported-type # no value # # ATTR unsupported pwg-test-unsupported-type-one-set # ATTR uri pwg-test-uri-type ipps://cloudprint.pwg.org/my-cool-printer # ATTR uri pwg-test-uri-type-one-set https://www.pwg.org/ipp/everywhere.html,mailto:chair@pwg.org # ATTR uriScheme pwg-test-uriScheme-type http # ATTR uriScheme pwg-test-uriScheme-type-one-set http,https,mailto,ssh ############################ # Core IPP Attributes ############################ ATTR uri printer-uuid "urn:uuid:deadbeef-0000-1111-2222-000000000001" ATTR keyword ipp-features-supported document-object,ipp-everywhere,infrastructure-printer,page-overrides ATTR mimeMediaType document-format-supported image/pwg-raster,image/jpeg,application/octet-stream ATTR mimeMediaType document-format-default application/octet-stream # IPP Everywhere Dependencies ATTR resolution pwg-raster-document-resolution-supported 300dpi,600dpi ATTR keyword pwg-raster-document-sheet-back rotated ATTR keyword pwg-raster-document-type-supported sgray_8,srgb_8,adobe-rgb_8,rgb_8 ############################ # Media Support ############################ ATTR keyword media-default na_letter_8.5x11in ATTR keyword media-supported na_letter_8.5x11in ATTR keyword media-type-default auto ATTR keyword media-type-supported auto,paper,photographic-glossy ATTR keyword media-col-supported media-type,media-size,media-top-margin,media-left-margin,media-right-margin,media-bottom-margin,media-source,duplex-supported # # media-col-database # ATTR collection media-col-database { MEMBER keyword media-type "auto" MEMBER keyword media-type auto MEMBER keyword media-source main MEMBER keyword media-color white MEMBER collection media-size { MEMBER integer x-dimension 21590 MEMBER integer y-dimension 27940 } MEMBER integer media-bottom-margin 500 MEMBER integer media-left-margin 500 MEMBER integer media-right-margin 500 MEMBER integer media-top-margin 500 }, { MEMBER keyword media-type "paper" MEMBER keyword media-type auto MEMBER keyword media-source main MEMBER keyword media-color white MEMBER collection media-size { MEMBER integer x-dimension 21590 MEMBER integer y-dimension 27940 } MEMBER integer media-bottom-margin 500 MEMBER integer media-left-margin 500 MEMBER integer media-right-margin 500 MEMBER integer media-top-margin 500 }, { MEMBER keyword media-type "photographic-glossy" MEMBER keyword media-type auto MEMBER keyword media-source main MEMBER keyword media-color white MEMBER collection media-size { MEMBER integer x-dimension 21590 MEMBER integer y-dimension 27940 } MEMBER integer media-bottom-margin 0 MEMBER integer media-left-margin 0 MEMBER integer media-right-margin 0 MEMBER integer media-top-margin 0 } # # media-col-ready # # Missing: photographic-glossy type in size NA letter # ATTR collection media-col-ready { MEMBER keyword media-type "auto" MEMBER keyword media-type auto MEMBER keyword media-source main MEMBER keyword media-color white MEMBER collection media-size { MEMBER integer x-dimension 21590 MEMBER integer y-dimension 27940 } MEMBER integer media-bottom-margin 500 MEMBER integer media-left-margin 500 MEMBER integer media-right-margin 500 MEMBER integer media-top-margin 500 }, { MEMBER keyword media-type "paper" MEMBER keyword media-type auto MEMBER keyword media-source main MEMBER keyword media-color white MEMBER collection media-size { MEMBER integer x-dimension 21590 MEMBER integer y-dimension 27940 } MEMBER integer media-bottom-margin 500 MEMBER integer media-left-margin 500 MEMBER integer media-right-margin 500 MEMBER integer media-top-margin 500 } # # media-col-default # ATTR collection media-col-default { MEMBER keyword media-type "auto" MEMBER keyword media-type auto MEMBER keyword media-source main MEMBER keyword media-color white MEMBER collection media-size { MEMBER integer x-dimension 21590 MEMBER integer y-dimension 27940 } MEMBER integer media-bottom-margin 500 MEMBER integer media-left-margin 500 MEMBER integer media-right-margin 500 MEMBER integer media-top-margin 500 } ############################ # Media Support (End) ############################ ############################ # Other Features ############################ # Two Sided Printing - supported and enabled by default ATTR keyword sides-supported one-sided,two-sided-long-edge,two-sided-short-edge ATTR keyword sides-default two-sided-long-edge