*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.1"
*GPDFileName: "JMDMP24.GPD"
*ModelName: "Jolimark 24-pin printer"
*MasterUnits: PAIR(360, 360)
*ResourceDLL: "JMDMP24.Dll"
*PrinterType: SERIAL
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =LANDSCAPE_DISPLAY
    }
}
*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: MANUAL
    *Option: MANUAL
    {
        *rcNameID: =MANUAL_FEED_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B1911>"
        }
    }
    *Option: Option2
    {
        *rcNameID: 269
        *OptionID: 269
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B1919>"
        }
    }
    *Option: Option3
    {
        *rcNameID: 270
        *OptionID: 270
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B1910>"
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "180 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(180, 180)
        *TextDPI: PAIR(180, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 180
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 120
        *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{(NumOfDataBytes / 3) } }
    }
    *Option: Option2
    {
        *Name: "120 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(120, 180)
        *TextDPI: PAIR(120, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 180
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 120
        *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{(NumOfDataBytes / 3) } }
    }
    *Option: Option3
    {
        *Name: "360 x 360 " =DOTS_PER_INCH
        *DPI: PAIR(360, 360)
        *TextDPI: PAIR(360, 360)
        *PinsPerLogPass: 48
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 360
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
        *SpotDiameter: 170
        *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
    }
    *Option: Option4
    {
        *Name: "360 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(360, 180)
        *TextDPI: PAIR(360, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 360
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 170
        *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{(NumOfDataBytes / 3) } }
    }
    *Option: Option5
    {
        *Name: "90 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(90, 180)
        *TextDPI: PAIR(90, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 90
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 100
        *Command: CmdSendBlockData { *Cmd : "<1B>*&" %l{NumOfDataBytes / 3} }
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: A4
    *Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>x<0F>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 3900)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3060, 3960)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3060, 3960)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: Option2
    {
        *rcNameID: 258
        *OptionID: 258
        *PageDimensions: PAIR(3060, 1980)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200BC07>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 1920)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3060, 1980)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3060, 1980)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: Option3
    {
        *rcNameID: 259
        *OptionID: 259
        *PageDimensions: PAIR(3060, 1320)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>(<05>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 1260)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3060, 1320)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3060, 1320)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: Option4
    {
        *rcNameID: 260
        *OptionID: 260
        *PageDimensions: PAIR(3060, 990)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200DE03>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 930)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3060, 990)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3060, 990)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: LETTER_TRANSVERSE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>x<0F>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 3900)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3060, 3960)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3060, 3960)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: LEGAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200B013>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 4980)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3060, 5040)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3060, 5040)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: EXECUTIVE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200C40E>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(2610, 3720)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2610->2608) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2608, 3720)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(2610, 3780)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2610->2608) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2608, 3780)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2610, 3780)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2610->2608) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2608, 3780)
                    }
                }
            }
        }
    }
    *Option: FOLIO
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>H<12>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 4620)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3060, 4680)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3060, 4680)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: Option9
    {
        *rcNameID: 262
        *OptionID: 262
        *PageDimensions: PAIR(5954, 8416)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200E0> "
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 8356)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 8416)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 8416)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: A3
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>B<17>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(4208, 5894)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(4206, 5894)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(4208, 5954)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(4206, 5954)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4208, 5954)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(4206, 5954)
                    }
                }
            }
        }
    }
    *Option: Option11
    {
        *rcNameID: 263
        *OptionID: 263
        *PageDimensions: PAIR(5954, 4208)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>p<10>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4148)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4208)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4208)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>p<10>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(2977, 4148)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2976, 4148)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2976, 4148)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2976, 4148)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(2977, 4208)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2976, 4208)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2976, 4208)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2976, 4208)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2977, 4208)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2976, 4208)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2976, 4208)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2976, 4208)
                    }
                }
            }
        }
    }
    *Option: A4_TRANSVERSE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200A10B>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(4208, 2917)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (2917->2916) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 2916)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2917->2916) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4206, 2916)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2917->2916) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 2916)
                    }
                    *case: Option5
                    {
*% Warning: the following printable length is adjusted (2917->2916) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 2916)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(4208, 2977)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 2976)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4206, 2976)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 2976)
                    }
                    *case: Option5
                    {
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 2976)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4208, 2977)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 2976)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4206, 2976)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 2976)
                    }
                    *case: Option5
                    {
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 2976)
                    }
                }
            }
        }
    }
    *Option: A5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200A10B>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(2099, 2917)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2917->2916) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2098, 2916)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2917->2916) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2097, 2916)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2917->2916) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2099, 2916)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2099->2096) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2917->2916) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2096, 2916)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(2099, 2977)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2098, 2976)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2097, 2976)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2099, 2976)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2099->2096) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2096, 2976)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2099, 2977)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2098, 2976)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2097, 2976)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2099, 2976)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2099->2096) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2096, 2976)
                    }
                }
            }
        }
    }
    *Option: B4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>'<14>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3643, 5099)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5099->5098) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3642, 5098)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5099->5098) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3642, 5098)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (5099->5098) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3643, 5098)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3643->3640) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5099->5098) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3640, 5098)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3643, 5159)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3642, 5158)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3642, 5158)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3643, 5158)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3643->3640) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3640, 5158)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3643, 5159)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3642, 5158)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3642, 5158)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3643, 5158)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3643->3640) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3640, 5158)
                    }
                }
            }
        }
    }
    *Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>;<0E>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(2581, 3583)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3583->3582) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2580, 3582)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3583->3582) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2580, 3582)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3583->3582) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2581, 3582)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3583->3582) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2580, 3582)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(2581, 3643)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2580, 3642)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2580, 3642)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2581, 3642)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2580, 3642)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2581, 3643)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2580, 3642)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2580, 3642)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2581, 3642)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2580, 3642)
                    }
                }
            }
        }
    }
    *Option: Option17
    {
        *rcNameID: 264
        *OptionID: 264
        *PageDimensions: PAIR(2880, 2160)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>p<08>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(2880, 2100)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(2880, 2160)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2880, 2160)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: Option18
    {
        *rcNameID: 265
        *OptionID: 265
        *PageDimensions: PAIR(5357, 4208)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>p<10>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4148)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4208)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4208)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: FANFOLD_US
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>x<0F>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 3900)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 3960)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 3960)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: FANFOLD_STD_GERMAN
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200E010>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 4260)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3060, 4320)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3060, 4320)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: Option21
    {
        *rcNameID: 266
        *OptionID: 266
        *PageDimensions: PAIR(2976, 4320)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200E010>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(2976, 4260)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(2976, 4320)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2976, 4320)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: Option22
    {
        *rcNameID: 267
        *OptionID: 267
        *PageDimensions: PAIR(5074, 4320)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200E010>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4260)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4320)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4320)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: Option23
    {
        *rcNameID: 268
        *OptionID: 268
        *PageDimensions: PAIR(5400, 4320)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200E010>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4260)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4320)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4320)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: FANFOLD_LGL_GERMAN
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>H<12>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 4620)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3060, 4680)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3060, 4680)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: ENV_9
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>u<05>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3197, 1337)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3197->3196) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1337->1336) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3196, 1336)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3197->3195) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1337->1336) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3195, 1336)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1337->1336) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3197, 1336)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3197->3196) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1337->1336) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3196, 1336)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3197, 1397)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3197->3196) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3196, 1396)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3197->3195) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3195, 1396)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3197, 1396)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3197->3196) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3196, 1396)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3197, 1397)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3197->3196) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3196, 1396)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3197->3195) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3195, 1396)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3197, 1396)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3197->3196) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3196, 1396)
                    }
                }
            }
        }
    }
    *Option: ENV_10
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200D005>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3420, 1427)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1427->1426) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1426)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (1427->1426) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1426)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1427->1426) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1426)
                    }
                    *case: Option5
                    {
*% Warning: the following printable length is adjusted (1427->1426) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1426)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3420, 1487)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1486)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1486)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1486)
                    }
                    *case: Option5
                    {
*% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1486)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3420, 1487)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1486)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1486)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1486)
                    }
                    *case: Option5
                    {
*% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3420, 1486)
                    }
                }
            }
        }
    }
    *Option: ENV_DL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<02001706>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3118, 1499)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1499->1498) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3118, 1498)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3118->3117) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1499->1498) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3117, 1498)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1499->1498) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3118, 1498)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3118->3116) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1499->1498) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3116, 1498)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3118, 1559)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1559->1558) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3118, 1558)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3118->3117) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1559->1558) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3117, 1558)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1559->1558) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3118, 1558)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3118->3116) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1559->1558) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3116, 1558)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3118, 1559)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1559->1558) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3118, 1558)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3118->3117) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1559->1558) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3117, 1558)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1559->1558) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3118, 1558)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3118->3116) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1559->1558) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3116, 1558)
                    }
                }
            }
        }
    }
    *Option: ENV_C5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200F908>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3247, 2237)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3247->3246) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2237->2236) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3246, 2236)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3247->3246) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2237->2236) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3246, 2236)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2237->2236) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3247, 2236)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3247->3244) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2237->2236) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3244, 2236)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3247, 2297)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3247->3246) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2297->2296) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3246, 2296)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3247->3246) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2297->2296) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3246, 2296)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2297->2296) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3247, 2296)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3247->3244) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2297->2296) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3244, 2296)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3247, 2297)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3247->3246) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2297->2296) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3246, 2296)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3247->3246) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2297->2296) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3246, 2296)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2297->2296) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3247, 2296)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3247->3244) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2297->2296) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3244, 2296)
                    }
                }
            }
        }
    }
    *Option: ENV_C3
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200F211>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4534)
                *PrintableOrigin: PAIR(0, 60)
            }
            *case: Option2
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4594)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: Option3
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4594)
                *PrintableOrigin: PAIR(0, 0)
            }
        }
    }
    *Option: ENV_B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200BF09>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(3542, 2435)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (2435->2434) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3542, 2434)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3542->3540) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2435->2434) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3540, 2434)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2435->2434) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3542, 2434)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3542->3540) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2435->2434) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3540, 2434)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3542, 2495)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (2495->2494) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3542, 2494)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3542->3540) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2495->2494) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3540, 2494)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2495->2494) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3542, 2494)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3542->3540) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2495->2494) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3540, 2494)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3542, 2495)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (2495->2494) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3542, 2494)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (3542->3540) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2495->2494) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3540, 2494)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2495->2494) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3542, 2494)
                    }
                    *case: Option5
                    {
*% Warning: the following printable width is adjusted (3542->3540) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2495->2494) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3540, 2494)
                    }
                }
            }
        }
    }
    *Option: ENV_MONARCH
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>u<05>"
        }
        *switch: InputBin
        {
            *case: MANUAL
            {
                *PrintableArea: PAIR(2700, 1337)
                *PrintableOrigin: PAIR(0, 60)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1337->1336) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1336)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (1337->1336) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1336)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1337->1336) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1336)
                    }
                    *case: Option5
                    {
*% Warning: the following printable length is adjusted (1337->1336) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1336)
                    }
                }
            }
            *case: Option2
            {
                *PrintableArea: PAIR(2700, 1397)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1396)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1396)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1396)
                    }
                    *case: Option5
                    {
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1396)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2700, 1397)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1396)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1396)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1396)
                    }
                    *case: Option5
                    {
*% Warning: the following printable length is adjusted (1397->1396) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2700, 1396)
                    }
                }
            }
        }
    }
    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(180, 180)
        *MaxSize: PAIR(5940, 32767)
        *MaxPrintableWidth: 4896
        *MinLeftMargin: 0
        *CenterPrintable?: FALSE
        *switch: InputBin
        {
            *case: MANUAL
            {
                *TopMargin: 60
                *BottomMargin: 0
            }
            *case: Option2
            {
                *TopMargin: 0
                *BottomMargin: 0
            }
            *case: Option3
            {
                *TopMargin: 0
                *BottomMargin: 0
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>" %l{PhysPaperLength }
        }
    }
}
*Feature: Halftone
{
    *rcNameID: =HALFTONING_DISPLAY
    *DefaultOption: HT_PATSIZE_AUTO
    *Option: HT_PATSIZE_AUTO
    {
        *rcNameID: =HT_AUTO_SELECT_DISPLAY
    }
    *Option: HT_PATSIZE_SUPERCELL_M
    {
        *rcNameID: =HT_SUPERCELL_DISPLAY
    }
    *Option: HT_PATSIZE_6x6_M
    {
        *rcNameID: =HT_DITHER6X6_DISPLAY
    }
    *Option: HT_PATSIZE_8x8_M
    {
        *rcNameID: =HT_DITHER8X8_DISPLAY
    }
}
*Feature: OutputBin
{
    *rcNameID: =OUTPUTBIN_DISPLAY
    *DefaultOption: Option2
    *Option: Option1
    {
        *rcNameID: 282
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.8
            *Cmd: "<1D0C>"
        }
    }
    *Option: Option2
    {
        *rcNameID: 283
    }
}
*Command: CmdStartDoc
{
    *Order: DOC_SETUP.1
    *Cmd: "<1B1D1E0601011B1D1F1B>@<1B>t<011B>6<1B>R<001B>r<001B>U<001B>(U<01000A>"
}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *Cmd: "<0D01010D>"
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: "<1B>@<1B1D1E0601001B1D1F>"
}
*Command: CmdEndPage
{
    *Order: PAGE_FINISH.1
    *Cmd: "<0D01020D>"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
    *case: PORTRAIT
    {
        *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
    }
    *case: LANDSCAPE_CC270
    {
        *TextCaps: LIST(TC_RA_ABLE)
    }
}
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST)
*MaxLineSpacing: 255
*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 360
*YMoveUnit: 180
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{DestX } }
*Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
*Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[24,255]{(LinefeedSpacing / 2) } }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
*Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
*EjectPageWithFF?: TRUE
*OutputDataFormat: V_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultFont: 3
*DefaultCTT: 1
*Command: CmdBoldOn { *Cmd : "<1B>E" }
*Command: CmdBoldOff { *Cmd : "<1B>F" }
*Command: CmdItalicOn { *Cmd : "<1B>4" }
*Command: CmdItalicOff { *Cmd : "<1B>5" }
*Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
*Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
*Feature: ColorMode
{
    *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
    *DefaultOption: Mono
    *ConcealFromUI? : FALSE

    *Option: Mono
    {
        *rcNameID: =MONO_DISPLAY
        *Color? : FALSE
        *DevNumOfPlanes: 1
        *DevBPP: 1
        *IPCallbackID: 1
    }
}