*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "EPLQ870.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "Epson LQ-870 ESC/P 2"
*MasterUnits: PAIR(720, 720)
*ResourceDLL: "escp2res.dll"
*PrintRate: 300
*PrintRateUnit: CPS
*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
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>0"
        }
    }
    *Option: MANUAL
    {
        *rcNameID: =MANUAL_FEED_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>0"
        }
    }
    *Option: Option3
    {
        *rcNameID: 281
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>4<1B19>1"
        }
    }
    *Option: Option4
    {
        *rcNameID: 282
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>4<1B19>2"
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "360 x 360 " =DOTS_PER_INCH
        *DPI: PAIR(360, 360)
        *TextDPI: PAIR(360, 360)
        *PinsPerLogPass: 24
        *MinStripBlankPixels: 1
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 170
        *Command: CmdSendBlockData { *Cmd : "<1B>.<010A0A18>" %l{(RasterDataWidthInBytes * 8) } }
        *Command: CmdEndBlockData { *Cmd : "<0D>" }
    }
    *Option: Option2
    {
        *Name: "360 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(360, 180)
        *TextDPI: PAIR(360, 180)
        *PinsPerLogPass: 24
        *MinStripBlankPixels: 1
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 140
        *Command: CmdSendBlockData { *Cmd : "<1B>.<01140A18>" %l{(RasterDataWidthInBytes * 8) } }
        *Command: CmdEndBlockData { *Cmd : "<0D>" }
    }
    *Option: Option3
    {
        *Name: "180 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(180, 180)
        *TextDPI: PAIR(180, 180)
        *PinsPerLogPass: 24
        *MinStripBlankPixels: 1
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 120
        *Command: CmdSendBlockData { *Cmd : "<1B>.<01141418>" %l{(RasterDataWidthInBytes * 8) } }
        *Command: CmdEndBlockData { *Cmd : "<0D>" }
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: LETTER
    *Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>x<0F1B>(c<04000000>x<0F>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 7920)
                *PrintableOrigin: PAIR(180, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 7230)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7228)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7228)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 7230)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7228)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7228)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 7230)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7228)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7228)
                    }
                }
            }
        }
    }
    *Option: LEGAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200B0131B>(c<04000000B013>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 10080)
                *PrintableOrigin: PAIR(180, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 9390)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 9388)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 9388)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 9390)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 9388)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 9388)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 9390)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 9388)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 9388)
                    }
                }
            }
        }
    }
    *Option: TABLOID
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200E8171B>(c<04000000E817>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 12240)
                *PrintableOrigin: PAIR(180, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 11550)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 11548)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 11548)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 11550)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 11548)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 11548)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 11550)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 11548)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 11548)
                    }
                }
            }
        }
    }
    *Option: EXECUTIVE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200C40E1B>(c<04000000C40E>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5040, 7560)
                *PrintableOrigin: PAIR(180, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5040, 6870)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5040, 6868)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5040, 6868)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5040, 6870)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5040, 6868)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5040, 6868)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5040, 6870)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5040, 6868)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5040, 6868)
                    }
                }
            }
        }
    }
    *Option: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>f<101B>(c<04000000>f<10>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 8417)
                *PrintableOrigin: PAIR(180, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(5760, 8416)
                    }
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 8416)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 8416)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 7727)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(5760, 7726)
                    }
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7724)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7724)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 7727)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(5760, 7726)
                    }
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7724)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7724)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 7727)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(5760, 7726)
                    }
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7724)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7724)
                    }
                }
            }
        }
    }
    *Option: A5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200A10B1B>(c<04000000A10B>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(4018, 5954)
                *PrintableOrigin: PAIR(180, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(4018, 5952)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4016, 5952)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(4018, 5264)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4016, 5264)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4018, 5264)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4016, 5264)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(4018, 5264)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4016, 5264)
                    }
                }
            }
        }
    }
    *Option: B4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<02009A131B>(c<040000009A13>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 10318)
                *PrintableOrigin: PAIR(180, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 10316)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 10316)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 9628)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 9628)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 9628)
                *PrintableOrigin: PAIR(180, 240)
            }
        }
    }
    *Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>K<0E1B>(c<04000000>K<0E>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(4982, 7286)
                *PrintableOrigin: PAIR(180, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(4982, 7284)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4980, 7284)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(4982, 6596)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4980, 6596)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4982, 6596)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4980, 6596)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(4982, 6596)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4980, 6596)
                    }
                }
            }
        }
    }
    *Option: Option9
    {
        *rcNameID: 263
        *PageDimensions: PAIR(5954, 8640)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200E0101B>(c<04000000E010>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 8640)
                *PrintableOrigin: PAIR(180, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 7950)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 7950)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 7950)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                }
            }
        }
    }
    *Option: FANFOLD_STD_GERMAN
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200E0101B>(c<04000000E010>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 8640)
                *PrintableOrigin: PAIR(180, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 7950)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 7950)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 7950)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 7948)
                    }
                }
            }
        }
    }
    *Option: FANFOLD_LGL_GERMAN
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>H<121B>(c<04000000>H<12>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 9360)
                *PrintableOrigin: PAIR(180, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 8670)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 8668)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 8668)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 8670)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 8668)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 8668)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 8670)
                *PrintableOrigin: PAIR(180, 240)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 8668)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 8668)
                    }
                }
            }
        }
    }
    *Option: ENV_9
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>s<051B>(c<04000000>s<05>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 2794)
                *PrintableOrigin: PAIR(180, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 2792)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 2792)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 2104)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 2104)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 2104)
                *PrintableOrigin: PAIR(180, 240)
            }
        }
    }
    *Option: ENV_10
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200CF051B>(c<04000000CF05>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 2974)
                *PrintableOrigin: PAIR(180, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 2972)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 2972)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 2284)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 2284)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 2284)
                *PrintableOrigin: PAIR(180, 240)
            }
        }
    }
    *Option: ENV_DL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<020017061B>(c<040000001706>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 3118)
                *PrintableOrigin: PAIR(180, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 3116)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 3116)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 2428)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 2428)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 2428)
                *PrintableOrigin: PAIR(180, 240)
            }
        }
    }
    *Option: ENV_C5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200F9081B>(c<04000000F908>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 4594)
                *PrintableOrigin: PAIR(180, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 4592)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 4592)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 3904)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 3904)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 3904)
                *PrintableOrigin: PAIR(180, 240)
            }
        }
    }
    *Option: ENV_B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200BE091B>(c<04000000BE09>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5760, 4990)
                *PrintableOrigin: PAIR(180, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5760, 4988)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5760, 4988)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5760, 4300)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5760, 4300)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5760, 4300)
                *PrintableOrigin: PAIR(180, 240)
            }
        }
    }
    *Option: ENV_MONARCH
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<02008C0A1B>(c<040000008C0A>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(5220, 2794)
                *PrintableOrigin: PAIR(180, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(5220, 2792)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(5220, 2792)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(5220, 2104)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(5220, 2104)
                *PrintableOrigin: PAIR(180, 240)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(5220, 2104)
                *PrintableOrigin: PAIR(180, 240)
            }
        }
    }
    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(720, 720)
        *MaxSize: PAIR(8280, 32767)
        *MaxPrintableWidth: 5760
        *MinLeftMargin: 180
        *CenterPrintable?: FALSE
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *TopMargin: 0
                *BottomMargin: 0
            }
            *case: MANUAL
            {
                *TopMargin: 240
                *BottomMargin: 450
            }
            *case: Option3
            {
                *TopMargin: 240
                *BottomMargin: 450
            }
            *case: Option4
            {
                *TopMargin: 240
                *BottomMargin: 450
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>(C<0200>" %l{(PhysPaperLength / 2) }
        }
    }
}
*Feature: Halftone
{
    *rcNameID: =HALFTONING_DISPLAY
    *DefaultOption: HT_PATSIZE_AUTO
    *Option: HT_PATSIZE_AUTO
    {
        *rcNameID: =HT_AUTO_SELECT_DISPLAY
    }
*Ifdef: WINNT_50
    *Option: HT_PATSIZE_SUPERCELL_M
    {
        *rcNameID: =HT_SUPERCELL_DISPLAY
    }
*Endif:
    *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>@<1B>(G<0100011B>(U<01000A1B>r<00>"
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: "<1B>@"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*TextCaps: LIST(TC_RA_ABLE)
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(FAVOR_LF)
*MaxLineSpacing: 255
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 360
*YMoveUnit: 360
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 2) } }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>(V<0200>" %l{(DestY / 2) } }
*Command: CmdSetLineSpacing { *Cmd : "<1B>+" %c[0,255]{(LinefeedSpacing / 2) } }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "<0000>" }
*Command: CmdDisableCompression { *Cmd : "<0000>" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
*CursorYAfterSendBlockData: NO_MOVE
*DefaultCTT: 0
