*GPDSpecVersion: "1.0"
*GPDFileName: "TXTHM80.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "TX 80 Thermal"
*MasterUnits: PAIR(203, 203)
*ResourceDLL: "txmini.dll"
*PrinterType: SERIAL
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =LANDSCAPE_DISPLAY
    }
}
*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: MANUAL
    *Option: MANUAL
    {
        *rcNameID: =MANUAL_FEED_DISPLAY
    }
    *Option: TRACTOR
    {
        *rcNameID: =TRACTOR_DISPLAY
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "203 x 203 " =DOTS_PER_INCH
        *DPI: PAIR(203, 203)
        *TextDPI: PAIR(203, 203)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 72
        EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
        *% EXTERN_GLOBAL: *SendMultipleRows?: TRUE
        *SpotDiameter: 100
        *Command: CmdSendBlockData { *Cmd : "<1D>v0<00>" %l{RasterDataWidthInBytes} %l{RasterDataHeightInPixels}}
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 261
        *OptionID: 261
        *PageDimensions: PAIR(640, 2374)
        *PrintableArea: PAIR(576, 2374)
        *PrintableOrigin: PAIR(32, 0)
        *% *Command: CmdSelect
        *% {
        *%     *Order: DOC_SETUP.4
        *%     *Cmd: "<1B>2"
        *% }
    }
    *Option: Option2
    {
        *rcNameID: 263
        *OptionID: 263
        *PageDimensions: PAIR(640, 2374)
        *PrintableArea: PAIR(640, 2374)
        *PrintableOrigin: PAIR(0, 0)
        *% *Command: CmdSelect
        *% {
        *%     *Order: DOC_SETUP.4
        *%     *Cmd: "<1B>2"
        *% }
    }
    *Option: Option3
    {
        *rcNameID: 265
        *OptionID: 265
        *PageDimensions: PAIR(832, 2374)
        *PrintableArea: PAIR(832, 2374)
        *PrintableOrigin: PAIR(0, 0)
        *% *Command: CmdSelect
        *% {
        *%     *Order: DOC_SETUP.4
        *%     *Cmd: "<1B>2"
        *% }
    }
    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(203, 203)
        *MaxSize: PAIR(832, 32767)
        *MaxPrintableWidth: 832
        *MinLeftMargin: 0
        *CenterPrintable?: FALSE
        *% *Command: CmdSelect
        *% {
        *%     *Order: DOC_SETUP.4
        *%     *Cmd: "<1B>2"
        *% }
    }
}
*Feature: Halftone
{
    *rcNameID: =HALFTONING_DISPLAY
    *DefaultOption: HT_PATSIZE_AUTO
    *Option: HT_PATSIZE_AUTO
    {
        *rcNameID: =HT_AUTO_SELECT_DISPLAY
    }
    *Option: HT_PATSIZE_SUPERCELL_M
    {
        *rcNameID: =HT_SUPERCELL_DISPLAY
    }
    *Option: HT_PATSIZE_6x6_M
    {
        *rcNameID: =HT_DITHER6X6_DISPLAY
    }
    *Option: HT_PATSIZE_8x8_M
    {
        *rcNameID: =HT_DITHER8X8_DISPLAY
    }
}
*Feature: Cutter
{
    *rcNameID: 280
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 281
        *OptionID: 281
        *Command: CmdSelect
        {
            *Order: DOC_FINISH.3
            *Cmd: "<1B>J<801B>m"
        }
    }
    *Option: Option2
    {
        *rcNameID: 282
        *OptionID: 282
        *Command: CmdSelect
        {
            *Order: DOC_FINISH.3
            *Cmd: "<1B>J<801B>i"
        }
    }
    *Option: Option3
    {
        *rcNameID: 283
        *OptionID: 283
        *Command: CmdSelect
        {
            *Order: DOC_FINISH.3
            *Cmd: "<1B>J<80>"
        }
    }
    *Option: Option4
    {
        *rcNameID: 284
        *OptionID: 284
    }
    *Option: Option5
    {
        *rcNameID: 285
        *OptionID: 285
        *Command: CmdSelect
        {
            *Order: PAGE_FINISH.3
            *Cmd: "<1B>J<801B>m"
        }
    }
    *Option: Option6
    {
        *rcNameID: 286
        *OptionID: 286
        *Command: CmdSelect
        {
            *Order: PAGE_FINISH.3
            *Cmd: "<1B>J<801B>i"
        }
    }
}
*Feature: Drawer
{
    *rcNameID: 290
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 291
        *OptionID: 291
    }
    *Option: Option2
    {
        *rcNameID: 292
        *OptionID: 292
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.2
            *Cmd: "<1B>p<008080>"
        }
    }
    *Option: Option3
    {
        *rcNameID: 293
        *OptionID: 293
        *Command: CmdSelect
        {
            *Order: DOC_FINISH.4
            *Cmd: "<1B>p<008080>"
        }
    }
}
*% *Feature: Beep
*% {
*%     *rcNameID: 282
*%     *DefaultOption: Option1
*%     *Option: Option1
*%     {
*%         *rcNameID: 283
*%     }
*%     *Option: Option2
*%     {
*%         *rcNameID: 284
*%         *Command: CmdSelect
*%         {
*%             *Order: DOC_FINISH.5
*%             *Cmd: "<1B07141401>"
*%         }
*%     }
*% }
*Command: CmdStartDoc
{
    *Order: DOC_SETUP.1
    *Cmd: "<1B>@<1B>=<011B>R<001B>t<001D>P<0000>"
}
*% *Command: CmdStartPage
*% {
*%     *Order: PAGE_SETUP.1
*%     *Cmd: "<1B>Ph<0000>"
*% }
*% *Command: CmdEndPage
*% {
*%     *Order: PAGE_FINISH.1
*%     *Cmd: "<1B>Pg<00>"
*% }
*Command: CmdEndJob
{
    *Order: JOB_FINISH.10
    *% *Cmd: "<1B>Pi<001B>@"
    *Cmd: "<1B>@"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST,FAV_LF)
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 203
*YMoveUnit: 203
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{DestX } }
*Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat(DestYRel )} }
*Command: CmdCR { *Cmd : "<00>" }
*Command: CmdLF { *Cmd : "<00>" }
*Command: CmdFF { *Cmd : "<1B>J<00>" }
*EjectPageWithFF?: TRUE
*switch: InputBin
{
    *case: TRACTOR
    {
        *EjectPageWithFF?: FALSE
    }
}
*% *OutputDataFormat: V_BYTE
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: AUTO_INCREMENT
*% *DefaultCTT: 0
*Command: CmdSelectSingleByteMode { *Cmd : "<1C>." }
*Command: CmdSelectDoubleByteMode { *Cmd : "<1C>&" }
