#
# Test printer configuration file.
#
# Copyright © 2022 by OpenPrinting.
#
# Licensed under Apache License v2.0.  See the file "LICENSE" for more
# information.
#

ATTR boolean color-supported true

ATTR integer copies-default 1
ATTR rangeOfInteger copies-supported 1-999

ATTR mimeMediaType document-format-default application/octet-stream
ATTR mimeMediaType document-format-supported application/pdf,image/jpeg,image/pwg-raster,image/urf,application/octet-stream

ATTR no-value finishings-col-default
ATTR collection finishings-col-database {
    MEMBER keyword finishing-template none
},{
    MEMBER keyword finishing-template punch
},{
    MEMBER keyword finishing-template punch-dual-top
},{
    MEMBER keyword finishing-template punch-triple-left
},{
    MEMBER keyword finishing-template staple
},{
    MEMBER keyword finishing-template staple-top-left
},{
    MEMBER keyword finishing-template staple-top-right
}
ATTR collection finishings-col-ready {
    MEMBER keyword finishing-template none
},{
    MEMBER keyword finishing-template punch
},{
    MEMBER keyword finishing-template punch-dual-top
},{
    MEMBER keyword finishing-template punch-triple-left
},{
    MEMBER keyword finishing-template staple
},{
    MEMBER keyword finishing-template staple-top-left
},{
    MEMBER keyword finishing-template staple-top-right
}
ATTR keyword finishings-col-supported finishing-template,punching,stitching
ATTR enum finishings-default 3
ATTR enum finishings-ready 3,4,5,20,22,75,78
ATTR enum finishings-supported 3,4,5,20,22,75,78
ATTR keyword finishing-template-supported none,punch,punch-dual-top,punch-triple-left,staple,staple-top-left,staple-top-right
ATTR octetString printer-finisher "index=1;type=puncher;unit=sheets;maxcapacity=20;presentonoff=on;status=0;","index=2;type=stitcher;unit=sheets;maxcapacity=20;presentonoff=on;status=0;"
ATTR text printer-finisher-description "Puncher SN:1234","Stitcher SN:5678"
ATTR rangeOfInteger punching-locations-supported 635-29065
ATTR integer punching-offset-supported 635
ATTR keyword punching-reference-edge-supported left,top
ATTR integer stitching-angle-supported 0,45,90
ATTR rangeOfInteger stitching-locations-supported 635-29065
ATTR keyword stitching-method-supported auto,crimp,wire
ATTR integer stitching-offset-supported 635
ATTR keyword stitching-reference-edge-supported left,right,top

ATTR integer max-page-ranges-supported 1

ATTR integer media-bottom-margin-supported 0,423
ATTR collection media-col-database {
    MEMBER collection media-size {
        MEMBER integer x-dimension 21590
        MEMBER integer y-dimension 27940
    }
},{
    MEMBER collection media-size {
        MEMBER integer x-dimension 21000
        MEMBER integer y-dimension 29700
    }
},{
    MEMBER collection media-size {
        MEMBER rangeOfInteger x-dimension 7620-21590
        MEMBER rangeOfInteger y-dimension 12700-29700
    }
    MEMBER keyword media-source manual
},{
    MEMBER collection media-size {
        MEMBER rangeOfInteger x-dimension 7620-21590
        MEMBER rangeOfInteger y-dimension 12700-29700
    }
    MEMBER keyword media-source by-pass-tray
}
ATTR collection media-col-default {
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 21590
        MEMBER integer y-dimension 27940
    }
    MEMBER keyword media-source main
    MEMBER integer media-top-margin 423
    MEMBER keyword media-type stationery
}
ATTR collection media-col-ready {
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 21590
        MEMBER integer y-dimension 27940
    }
    MEMBER keyword media-source main
    MEMBER integer media-top-margin 423
    MEMBER keyword media-type stationery
},{
    MEMBER integer media-bottom-margin 423
    MEMBER integer media-left-margin 423
    MEMBER integer media-right-margin 423
    MEMBER collection media-size {
        MEMBER integer x-dimension 21000
        MEMBER integer y-dimension 29700
    }
    MEMBER keyword media-source alternate
    MEMBER integer media-top-margin 423
    MEMBER keyword media-type stationery
}
ATTR keyword media-col-supported media-bottom-margin,media-left-margin,media-right-margin,media-size,media-size-name,media-source,media-top-margin,media-type
ATTR keyword media-default na_letter_8.5x11in
ATTR integer media-left-margin-supported 0,423
ATTR keyword media-ready na_letter_8.5x11in,iso_a4_210x297mm
ATTR integer media-right-margin-supported 0,423
ATTR collection media-size-supported {
    MEMBER integer x-dimension 21590
    MEMBER integer y-dimension 27940
},{
    MEMBER integer x-dimension 21000
    MEMBER integer y-dimension 29700
},{
    MEMBER rangeOfInteger x-dimension 7620-21590
    MEMBER rangeOfInteger y-dimension 12700-29700
}
ATTR keyword media-source-supported main,alternate,manual,by-pass-tray
ATTR keyword media-supported na_letter_8.5x11in,na_legal_8.5x14in,iso_a4_210x297mm,custom_min_3x5in,custom_max_8.5x14in
ATTR integer media-top-margin-supported 0,423
ATTR keyword media-type-supported stationery,stationery-letterhead

ATTR enum orientation-requested-default 3
ATTR enum orientation-requested-supported 3,4,5,6,7

ATTR keyword output-bin-default face-down
ATTR keyword output-bin-supported face-down

ATTR keyword overrides-supported document-numbers,media,media-col,pages

ATTR boolean page-ranges-supported true

ATTR integer pages-per-minute 20
ATTR integer pages-per-minute-color 10

ATTR keyword print-color-mode-default auto
ATTR keyword print-color-mode-supported auto,color,monochrome

ATTR keyword print-content-optimize-default auto
ATTR keyword print-content-optimize-supported auto,graphic,photo,text,text-and-graphic

ATTR enum print-quality-default 4
ATTR enum print-quality-supported 3,4,5

ATTR octetString printer-input-tray
     "type=sheetFeedAutoRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=250;level=-2;status=0;name=main",
     "type=sheetFeedAutoRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=250;level=-2;status=0;name=alternate",
     "type=sheetFeedManual;mediafeed=0;mediaxfeed=0;maxcapacity=1;level=-2;status=0;name=manual",
     "type=sheetFeedAutoNonRemovableTray;mediafeed=0;mediaxfeed=0;maxcapacity=-2;level=-2;status=0;name=by-pass-tray"

ATTR octetString printer-output-tray
     "type=unRemovableBin;maxcapacity=-2;remaining=-2;status=0;name=face-down;stackingorder=firstToLast;pagedelivery=faceDown;"

ATTR text printer-make-and-model "Test Printer"

ATTR resolution printer-resolution-default 600dpi
ATTR resolution printer-resolution-supported 300dpi,600dpi,1200x600dpi

ATTR keyword sides-default one-sided
ATTR keyword sides-supported one-sided,two-sided-long-edge,two-sided-short-edge
