*%
*% Copyright (c) 2000 EPSON Europe B.V.
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.1"
*GPDFileName: "EPLQ2180.GPD"
*ModelName: "Epson LQ-2180 ESC/P 2"
*MasterUnits: PAIR(360, 360)
*ResourceDLL: "EP2BRES.DLL"
*PrintRate: 480
*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: MANUAL
    *Option: MANUAL
    {
        *rcNameID: =MANUAL_FEED_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.8
            *Cmd: "<1B19>0"
        }
    }
    *Option: Option3
    {
        *rcNameID: 267
        *OptionID: 267
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.8
            *Cmd: "<1B19>1"
        }
    }
    *Option: Option4
    {
        *rcNameID: 268
        *OptionID: 268
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.8
            *Cmd: "<1B19>2"
        }
    }
    *Option: TRACTOR
    {
        *rcNameID: =TRACTOR_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.8
            *Cmd: "<1B19>0"
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option2
    *Option: Option1
    {
        *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: Option2
    {
        *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: Option3
    {
        *Name: "120 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(120, 180)
        *TextDPI: PAIR(120, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 120
        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: =LETTER_DISPLAY
        *PrintableArea: PAIR(2974, 3840)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(2972, 3840)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2970, 3840)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>x<0F1B>(c<0400>%<<00>%<<0F>"
        }
    }
    *Option: LEGAL
    {
        *rcNameID: =LEGAL_DISPLAY
        *PrintableArea: PAIR(2974, 4920)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(2972, 4920)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2970, 4920)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200B0131B>(c<0400>%<<00>t<13>"
        }
    }
    *Option: A4
    {
        *rcNameID: =A4_DISPLAY
        *PrintableArea: PAIR(2891, 4088)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(2890, 4088)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2889, 4088)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>p<101B>(c<0400>%<<00>4<10>"
        }
    }
    *Option: A5
    {
        *rcNameID: =A5_DISPLAY
        *PrintableArea: PAIR(2013, 2857)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(2013, 2856)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(2012, 2856)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2010, 2856)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200A10B1B>(c<0400>%<<00>e<0B>"
        }
    }
    *Option: B5
    {
        *rcNameID: =B5_DISPLAY
        *PrintableArea: PAIR(2495, 3523)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(2495, 3522)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(2494, 3522)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2493, 3522)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>;<0E1B>(c<0400>%<<00FF0D>"
        }
    }
    *Option: B4
    {
        *rcNameID: =B4_DISPLAY
        *PrintableArea: PAIR(3557, 5039)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(3557, 5038)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3556, 5038)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3555, 5038)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>'<141B>(c<0400>%<<00EB13>"
        }
    }
    *Option: STATEMENT
    {
        *rcNameID: =STATEMENT_DISPLAY
        *PrintableArea: PAIR(1894, 2940)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(1892, 2940)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(1890, 2940)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200F40B1B>(c<0400>%<<00B80B>"
        }
    }
    *Option: Letter_Fanfold
    {
        *rcNameID: 258
        *OptionID: 258
        *PageDimensions: PAIR(3060, 3960)
        *PrintableArea: PAIR(2974, 3840)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(2972, 3840)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2970, 3840)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>x<0F1B>(c<04000000>x<0F>"
        }
    }
    *Option: A4_Fanfold
    {
        *rcNameID: 259
        *OptionID: 259
        *PageDimensions: PAIR(2977, 4200)
        *PrintableArea: PAIR(2891, 4080)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(2890, 4080)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2889, 4080)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>h<101B>(c<04000000>h<10>"
        }
    }
    *Option: Fanfold_210x305
    {
        *rcNameID: 260
        *OptionID: 260
        *PageDimensions: PAIR(2977, 4320)
        *PrintableArea: PAIR(2891, 4200)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(2890, 4200)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2889, 4200)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200E0101B>(c<04000000E010>"
        }
    }
    *Option: FANFOLD_STD_GERMAN
    {
        *rcNameID: =FANFOLD_STD_GERMAN_DISPLAY
        *PrintableArea: PAIR(2974, 4200)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(2972, 4200)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2970, 4200)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200E0101B>(c<04000000E010>"
        }
    }
    *Option: FANFOLD_LGL_GERMAN
    {
        *rcNameID: =FANFOLD_LGL_GERMAN_DISPLAY
        *PrintableArea: PAIR(2974, 4560)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(2972, 4560)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2970, 4560)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>H<121B>(c<04000000>H<12>"
        }
    }
    *Option: Env_6_34
    {
        *rcNameID: 261
        *OptionID: 261
        *PageDimensions: PAIR(2340, 1305)
        *PrintableArea: PAIR(2254, 1185)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(2254, 1184)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(2252, 1184)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2250, 1184)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<020019051B>(c<0400>%<<00DD04>"
        }
    }
    *Option: Env_10
    {
        *rcNameID: 262
        *OptionID: 262
        *PageDimensions: PAIR(3420, 1485)
        *PrintableArea: PAIR(3334, 1365)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(3334, 1364)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3332, 1364)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3330, 1364)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200CD051B>(c<0400>%<<009105>"
        }
    }
    *Option: Env_DL
    {
        *rcNameID: 263
        *OptionID: 263
        *PageDimensions: PAIR(3118, 1559)
        *PrintableArea: PAIR(3032, 1439)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(3032, 1438)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3030, 1438)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3030, 1438)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<020017061B>(c<0400>%<<00DB05>"
        }
    }
    *Option: Env_C5
    {
        *rcNameID: 264
        *OptionID: 264
        *PageDimensions: PAIR(3247, 2297)
        *PrintableArea: PAIR(3161, 2177)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(3161, 2176)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(3160, 2176)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3159, 2176)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200F9081B>(c<0400>%<<00BD08>"
        }
    }
    *Option: Card_148x105
    {
        *rcNameID: 265
        *OptionID: 265
        *PageDimensions: PAIR(2098, 1488)
        *PrintableArea: PAIR(2012, 1368)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(2010, 1368)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2010, 1368)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200D0051B>(c<0400>%<<009405>"
        }
    }
    *Option: Fanfold_11x8.5
    {
        *rcNameID: 266
        *OptionID: 266
        *PageDimensions: PAIR(3960, 3060)
        *PrintableArea: PAIR(3874, 2940)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(3872, 2940)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3870, 2940)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200F40B1B>(c<04000000F40B>"
        }
    }
    *Option: TABLOID
    {
        *rcNameID: =TABLOID_DISPLAY
        *PrintableArea: PAIR(3874, 6000)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(3872, 6000)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3870, 6000)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200E8171B>(c<0400>%<<00AC17>"
        }
    }
    *Option: A3
    {
        *rcNameID: =A3_DISPLAY
        *PrintableArea: PAIR(4122, 5834)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(4120, 5834)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4119, 5834)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>B<171B>(c<0400>%<<000617>"
        }
    }
    *Option: A3_Rotated
    {
        *rcNameID: 254
        *OptionID: 254
        *PageDimensions: PAIR(5954, 4208)
        *PrintableArea: PAIR(4896, 4088)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(4896, 4088)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4896, 4088)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>p<101B>(c<0400>%<<00>4<10>"
        }
    }
    *Option: A4_Rotated
    {
        *rcNameID: 257
        *OptionID: 257
        *PageDimensions: PAIR(4208, 2977)
        *PrintableArea: PAIR(4122, 2857)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(4122, 2856)
            }
            *case: Option2
            {
                *PrintableArea: PAIR(4120, 2856)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4119, 2856)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200A10B1B>(c<0400>%<<00>e<0B>"
        }
    }
    *Option: A2
    {
        *rcNameID: =A2_DISPLAY
        *PrintableArea: PAIR(4891, 7860)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(4890, 7860)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4887, 7860)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200F01E1B>(c<0400>%<<00F01E>"
        }
    }
    *Option: Fanfold_358x305
    {
        *rcNameID: 255
        *OptionID: 255
        *PageDimensions: PAIR(5076, 4320)
        *PrintableArea: PAIR(4891, 4200)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(4890, 4200)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4887, 4200)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200E0101B>(c<04000000E010>"
        }
    }
    *Option: FANFOLD_US
    {
        *rcNameID: =FANFOLD_US_DISPLAY
        *PrintableArea: PAIR(4891, 3840)
        *PrintableOrigin: PAIR(43, 60)
        *switch: Resolution
        {
            *case: Option2
            {
                *PrintableArea: PAIR(4890, 3840)
                *PrintableOrigin: PAIR(44, 60)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4887, 3840)
                *PrintableOrigin: PAIR(45, 60)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>x<0F1B>(c<04000000>x<0F>"
        }
    }
    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(1404, 1404)
        *MaxSize: PAIR(5954, 7920)
        *MaxPrintableWidth: 4896
        *MinLeftMargin: 43
        *CenterPrintable?: FALSE
        *TopMargin: 60
        *BottomMargin: 60
        *CustCursorOriginX: %d{43}
        *CustCursorOriginY: %d{60}
        *CustPrintableOriginX: %d{43}
        *CustPrintableOriginY: %d{60}
        *CustPrintableSizeX: %d{PhysPaperWidth-86}
        *CustPrintableSizeY: %d{PhysPaperLength-120}
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *Cmd: "<1B>(C<0200>" %l{PhysPaperLength }"<1B>(c<0400>%<<00>" %l{PhysPaperLength }
        }
    }
}
*Feature: PrintQuality
{
    *rcNameID: =TEXT_QUALITY_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 269
    }
    *Option: Option2
    {
        *rcNameID: 270
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.6
            *Cmd: "<1B>U<00>"
        }
    }
    *Option: Option3
    {
        *rcNameID: 271
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.6
            *Cmd: "<1B>U<01>"
        }
    }
}
*Feature: FontSupport
{
    *FeatureType: PRINTER_PROPERTY
    *rcNameID: 272
    *DefaultOption: Standard
    *Option: Standard
    {
        *rcNameID: 273
    }
    *Option: NLSP
    {
        *rcNameID: 274
    }
    *Option: NoFont
    {
        *rcNameID: =NONE_DISPLAY
    }
}
*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>6<1B>R<001B>P<1B>(U<0100>"
+ "<0A><1B>(t<0300010100><1B>t<01>"

}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *Cmd: "<0D>"
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: "<1B>@<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: 360
*YMoveUnit: 180
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,4890]{max_repeat(DestX )} }
*Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
*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
*switch: Orientation
{
    *case: PORTRAIT
    {
        *switch: FontSupport
        {
                *case: Standard
                {
                       *DefaultFont: 3
                       *DefaultCTT: 1
                       *DeviceFonts: LIST(8,16,36,37,38,39,40,41,42,43,44,45,46,47,55,
+                     1,2,3,4,5,6,7,9,10,11,12,13,14,15,17,18,19,20,21,22,23,24,25,26,
+                     27,28,29,30,31,32,33,34,35,48,49,50,51,52,53,54,56)
                }
                *case: NLSP
                {
                       *DefaultFont: 59
                       *DefaultCTT: 2
                       *DeviceFonts: LIST(8,16,36,37,38,39,40,41,42,43,44,45,46,47,55,
+                     57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,
+                     78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97)
                }
                *case: NoFont
                {
                       *DefaultFont: 3
                       *DefaultCTT: 1
                       *DeviceFonts: LIST()
                }
        }
    }
    *case: LANDSCAPE_CC270
    {
        *DefaultFont: 3
        *DefaultCTT: 1
        *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>" }
