*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*GPDFileName: "NX-580.GPD"
*ModelName: "ZhongYing NX-580"
*MasterUnits: PAIR(720, 432)
*ResourceDLL: "NX-580.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: TRACTOR
    *Option: TRACTOR
    {
        *rcNameID: =TRACTOR_DISPLAY
    }
    *Option: MANUAL
    {
        *rcNameID: =MANUAL_FEED_DISPLAY
*% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "240 x 144 " =DOTS_PER_INCH
        *DPI: PAIR(240, 144)
        *TextDPI: PAIR(240, 144)
        *PinsPerLogPass: 16
        *PinsPerPhysPass: 16
        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>Z" %l{NumOfDataBytes/2} }
    }
    *Option: Option2
    {
        *Name: "120 x 144 " =DOTS_PER_INCH
        *DPI: PAIR(120, 144)
        *TextDPI: PAIR(120, 144)
        *PinsPerLogPass: 16
        *PinsPerPhysPass: 16
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 140
        *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes/2} }
    }
    *Option: Option3
    {
        *Name: "120 x 72 " =DOTS_PER_INCH
        *DPI: PAIR(120, 72)
        *TextDPI: PAIR(120, 72)
        *PinsPerLogPass: 8
        *PinsPerPhysPass: 8
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 100
        *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: Option13
    *Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CB"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 4599)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (5760->5757) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4599->4596) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5757, 4596)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (5760->5754) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4599->4596) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5754, 4596)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (5760->5754) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4599->4590) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5754, 4590)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 4599)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (5760->5757) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4599->4596) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5757, 4596)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (5760->5754) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4599->4596) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5754, 4596)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (5760->5754) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4599->4590) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5754, 4590)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
        }
    }
    *Option: Option2
    {
        *rcNameID: 258
        *OptionID: 258
        *PageDimensions: PAIR(7920, 3672)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C3"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(7560, 3519)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (7560->7557) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3519->3516) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7557, 3516)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (7560->7554) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3519->3516) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7554, 3516)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (7560->7554) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3519->3510) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7554, 3510)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(7560, 3519)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (7560->7557) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3519->3516) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7557, 3516)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (7560->7554) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3519->3516) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7554, 3516)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (7560->7554) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3519->3510) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7554, 3510)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
        }
    }
    *Option: LEGAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CT"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 5895)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (5760->5757) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5895->5892) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5757, 5892)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (5760->5754) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5895->5892) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5754, 5892)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (5760->5754) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5895->5886) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5754, 5886)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 5895)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (5760->5757) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5895->5892) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5757, 5892)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (5760->5754) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5895->5892) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5754, 5892)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (5760->5754) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5895->5886) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5754, 5886)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
        }
    }
    *Option: EXECUTIVE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C?"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(4860, 4383)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (4860->4857) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4383->4380) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4857, 4380)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (4860->4854) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4383->4380) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4854, 4380)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (4860->4854) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4383->4374) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4854, 4374)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(4860, 4383)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (4860->4857) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4383->4380) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4857, 4380)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (4860->4854) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4383->4380) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4854, 4380)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (4860->4854) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4383->4374) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4854, 4374)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
        }
    }
    *Option: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CF"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5594, 4897)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (5594->5592) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4897->4893) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5592, 4893)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (5594->5592) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4897->4893) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5592, 4893)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (5594->5592) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4897->4890) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5592, 4890)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5594, 4897)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (5594->5592) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4897->4893) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5592, 4893)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (5594->5592) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4897->4893) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5592, 4893)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (5594->5592) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4897->4890) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5592, 4890)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
        }
    }
    *Option: A3
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>Cc"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(7920, 6871)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (7920->7920) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6871->6870) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 6870)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (7920->7920) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6871->6870) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 6870)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (7920->7920) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6871->6870) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 6870)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(7920, 6871)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (7920->7920) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6871->6870) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 6870)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (7920->7920) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6871->6870) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 6870)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (7920->7920) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6871->6870) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 6870)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
        }
    }
    *Option: Option6
    {
        *rcNameID: 259
        *OptionID: 259
        *PageDimensions: PAIR(8419, 3572)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C2"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(7920, 3419)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (7920->7917) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3419->3417) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7917, 3417)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (7920->7914) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3419->3417) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7914, 3417)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (7920->7914) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3419->3414) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7914, 3414)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
            *case: MANUAL
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(7920, 3419)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (7920->7917) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3419->3417) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7917, 3417)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (7920->7914) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3419->3417) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7914, 3417)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (7920->7914) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3419->3414) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7914, 3414)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
        }
    }
    *Option: Option7
    {
        *rcNameID: 260
        *OptionID: 260
        *PageDimensions: PAIR(7285, 6191)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CV"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(6925, 6038)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (6925->6921) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6038->6036) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(6921, 6036)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (6925->6918) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6038->6036) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(6918, 6036)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (6925->6918) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6038->6030) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(6918, 6030)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(6925, 6038)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (6925->6921) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6038->6036) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(6921, 6036)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (6925->6918) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6038->6036) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(6918, 6036)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (6925->6918) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6038->6030) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(6918, 6030)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
        }
    }
    *Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C="
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(4802, 4219)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (4802->4800) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4219->4215) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4800, 4215)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (4802->4800) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4219->4215) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4800, 4215)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (4802->4800) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4219->4212) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4800, 4212)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(4802, 4219)
                *PrintableOrigin: PAIR(226, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (4802->4800) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4219->4215) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4800, 4215)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable width is adjusted (4802->4800) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4219->4215) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4800, 4215)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable width is adjusted (4802->4800) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4219->4212) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4800, 4212)
*% Warning: the following printable origin X is adjusted (226->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(228, 90)
                    }
                }
            }
        }
    }
    *Option: Option9
    {
        *rcNameID: 262
        *OptionID: 262
        *PageDimensions: PAIR(7920, 4752)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CB"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(7920, 4752)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(7920, 4599)
                *PrintableOrigin: PAIR(0, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4599->4596) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 4596)
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (4599->4596) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 4596)
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4599->4590) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 4590)
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 90)
                    }
                }
            }
        }
    }
    *Option: Option10
    {
        *rcNameID: 261
        *OptionID: 261
        *PageDimensions: PAIR(7920, 2376)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C!"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(7920, 2376)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(7920, 2223)
                *PrintableOrigin: PAIR(0, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (2223->2220) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 2220)
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (2223->2220) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 2220)
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (2223->2214) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 2214)
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 90)
                    }
                }
            }
        }
    }
    *Option: Option11
    {
        *rcNameID: 263
        *OptionID: 263
        *PageDimensions: PAIR(7920, 5184)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CH"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(7920, 5184)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(7920, 5031)
                *PrintableOrigin: PAIR(0, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (5031->5028) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 5028)
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (5031->5028) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 5028)
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (5031->5022) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(7920, 5022)
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 90)
                    }
                }
            }
        }
    }
    *Option: Option12
    {
        *rcNameID: 264
        *OptionID: 264
        *PageDimensions: PAIR(5760, 4752)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CB"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 4752)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 4599)
                *PrintableOrigin: PAIR(0, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4599->4596) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5760, 4596)
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (4599->4596) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5760, 4596)
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4599->4590) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5760, 4590)
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 90)
                    }
                }
            }
        }
    }
    *Option: Option13
    {
        *rcNameID: 265
        *OptionID: 265
        *PageDimensions: PAIR(5760, 5184)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CH"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 5184)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 5031)
                *PrintableOrigin: PAIR(0, 85)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (5031->5028) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5760, 5028)
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 87)
                    }
                    *case: Option2
                    {
*% Warning: the following printable length is adjusted (5031->5028) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5760, 5028)
*% Warning: the following printable origin Y is adjusted (85->87) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 87)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (5031->5022) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(5760, 5022)
*% Warning: the following printable origin Y is adjusted (85->90) so it is divisible by the resolution Y scale.
                        *PrintableOrigin: PAIR(0, 90)
                    }
                }
            }
        }
    }
    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(720, 432)
        *MaxSize: PAIR(9360, 9504)
        *MaxPrintableWidth: 7920
        *MinLeftMargin: 0
        *CenterPrintable?: FALSE
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *TopMargin: 0
                *BottomMargin: 0
            }
            *case: MANUAL
            {
                *TopMargin: 85
                *BottomMargin: 68
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 72) }
        }
    }
}
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.LETTER)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.Option2)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.LEGAL)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.EXECUTIVE)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.Option6)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.Option7)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B5)
*Feature: PrintQuality
{
    *rcNameID: =TEXT_QUALITY_DISPLAY
    *DefaultOption: DRAFT_QUALITY
    *Option: NEAR_LETTER_QUALITY
    {
        *rcNameID: =NEAR_LETTER_QUALITY_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.2
            *Cmd: "<1B>x<01>"
        }
    }
    *Option: DRAFT_QUALITY
    {
        *rcNameID: =DRAFT_QUALITY_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.2
            *Cmd: "<1B>x<00>"
        }
    }
}
*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
    }
}
*Command: CmdStartDoc
{
    *Order: DOC_SETUP.1
    *Cmd: "<1B>@<0D1B>t<011B>I<011B>6<1B>R<001C>.<1B1A01>"
}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *Cmd: "<1D><16><0D>"
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: "<0D>"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
    *case: PORTRAIT
    {
        *TextCaps: LIST(TC_OP_CHARACTER,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: 60
*YMoveUnit: 72
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{((DestX * 2) / 24) } }
*Command: CmdYMoveRelDown { *Cmd : "<1B><1D>J" %c[0,255]{max_repeat((DestYRel / 6) )} }
*Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,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: 1
*DefaultCTT: 1
*switch: Orientation
{
    *case: PORTRAIT
    {
        *DeviceFonts: LIST(1,2,3,4,5,6,7)
    }
    *case: LANDSCAPE_CC270
    {
        *DeviceFonts: LIST()
    }
}
*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>" }
