*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*GPDFileName: "T5040.GPD"
*ModelName: "Tally T5040"
*MasterUnits: PAIR(360, 360)
*ResourceDLL: "t5040.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: Option1
    *Option: Option1
    {
        *rcNameID: 263
        *OptionID: 263
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>0"
        }
    }
    *Option: Option2
    {
        *rcNameID: 264
        *OptionID: 264
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>0<1B>[2*t"
        }
    }
    *Option: Option3
    {
        *rcNameID: 265
        *OptionID: 265
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>0<1B>[3*t"
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option3
    *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: "360 x 360 " =DOTS_PER_INCH
        *DPI: PAIR(360, 360)
        *TextDPI: PAIR(360, 360)
        *PinsPerLogPass: 48
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 360
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 170
        *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
    }
    *Option: Option3
    {
        *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: Option4
    {
        *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: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2905, 4120)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option3
            {
                *PrintableArea: PAIR(2904, 4120)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2904, 4120)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: A5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2027, 2889)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(2027, 2888)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2026, 2888)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2025, 2888)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: Option3
    {
        *rcNameID: 258
        *OptionID: 258
        *PageDimensions: PAIR(2977, 2099)
        *PrintableArea: PAIR(2905, 2011)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(2905, 2010)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2904, 2010)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2904, 2010)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: Option4
    {
        *rcNameID: 259
        *OptionID: 259
        *PageDimensions: PAIR(1488, 2097)
        *PrintableArea: PAIR(1416, 2009)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(1416, 2008)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(1416, 2008)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(1416, 2008)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: Option5
    {
        *rcNameID: 260
        *OptionID: 260
        *PageDimensions: PAIR(2097, 1488)
        *PrintableArea: PAIR(2025, 1400)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option3
            {
                *PrintableArea: PAIR(2024, 1400)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: Option6
    {
        *rcNameID: 261
        *OptionID: 261
        *PageDimensions: PAIR(2124, 1500)
        *PrintableArea: PAIR(2052, 1412)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: Option7
    {
        *rcNameID: 262
        *OptionID: 262
        *PageDimensions: PAIR(2124, 1200)
        *PrintableArea: PAIR(2052, 1112)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2988, 3872)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: STATEMENT
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(1908, 2972)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: EXECUTIVE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2538, 3692)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2509, 3555)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(2509, 3554)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2508, 3554)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2508, 3554)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: QUARTO
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2974, 3811)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(2974, 3810)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2974, 3810)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2973, 3810)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_9
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3125, 1309)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(3125, 1308)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3124, 1308)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(3123, 1308)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_10
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3348, 1399)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(3348, 1398)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3348, 1398)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(3348, 1398)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_11
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3402, 1532)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_12
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3402, 1622)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_14
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3402, 1712)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_DL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3046, 1471)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(3046, 1470)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3046, 1470)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(3045, 1470)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_C5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3175, 2209)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(3175, 2208)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3174, 2208)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(3174, 2208)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_C6
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(2225, 1528)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option3
            {
                *PrintableArea: PAIR(2224, 1528)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2223, 1528)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_C65
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3175, 1528)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option3
            {
                *PrintableArea: PAIR(3174, 1528)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(3174, 1528)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3402, 2407)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(3402, 2406)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3402, 2406)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(3402, 2406)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_B6
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(1699, 2407)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(1699, 2406)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(1698, 2406)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(1698, 2406)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_ITALY
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3190, 1471)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(3190, 1470)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(3190, 1470)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(3189, 1470)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_MONARCH
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(2628, 1309)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(2628, 1308)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2628, 1308)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2628, 1308)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_PERSONAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(2268, 1219)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option1
            {
                *PrintableArea: PAIR(2268, 1218)
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2268, 1218)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2268, 1218)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: JAPANESE_POSTCARD
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(2027, 1330)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option3
            {
                *PrintableArea: PAIR(2026, 1330)
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2025, 1330)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: 9X11
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3402, 3152)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: ENV_INVITE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3046, 3030)
        *PrintableOrigin: PAIR(36, 38)
        *switch: Resolution
        {
            *case: Option4
            {
                *PrintableArea: PAIR(3045, 3030)
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: A5_EXTRA
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3258, 2378)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: B5_EXTRA
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *PrintableArea: PAIR(3402, 2760)
        *PrintableOrigin: PAIR(36, 38)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<7F>"
        }
    }
    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(992, 992)
        *MaxSize: PAIR(3402, 8640)
        *MaxPrintableWidth: 3402
        *MinLeftMargin: 36
        *CenterPrintable?: FALSE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C"%c[1,144]{PhysPaperLength/60}
        }
    }
}
*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>@<1B>t<011B>(t<03000103101B>6<1B>l<01>"
}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *Cmd: "<0D>"
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: "<1B>@"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
    *case: PORTRAIT
    {
        *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
    }
    *case: LANDSCAPE_CC270
    {
        *TextCaps: LIST(TC_RA_ABLE)
    }
}
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST)
*MaxLineSpacing: 255
*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 60
*YMoveUnit: 180
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 6) } }
*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
*DefaultFont: 10
*DefaultCTT: 1
*switch: Orientation
{
    *case: PORTRAIT
    {
        *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,
+                   17,18,19,20,21,22,38,39)
    }
    *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>" }
