*GPDFileName: "ThPrinter80.gpd"
*GPDFileVersion: "1.0"
*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "ThPrinter80"
*MasterUnits: PAIR(203, 203)
*ResourceDLL: "ThPrintRes.dll"
*PrinterType: SERIAL

*%******************************************************************************************
*%                                      Orientation
*%******************************************************************************************
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =LANDSCAPE_DISPLAY
    }
}

*%******************************************************************************************
*%                                      Input Bin
*%******************************************************************************************
*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: UPPER
    *Option: UPPER
    {
        *rcNameID: =UPPER_TRAY_DISPLAY
    }
}

*%******************************************************************************************
*%                                      Resolution
*%******************************************************************************************
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "203 x 203 " =DOTS_PER_INCH
        *DPI: PAIR(203, 203)
        *TextDPI: PAIR(203, 203)
        *SpotDiameter: 100
        *Command: CmdSendBlockData { *Cmd : "" }
    }
}

*%******************************************************************************************
*%                                      Halftone
*%******************************************************************************************
*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
    }
}

*%******************************************************************************************
*%                                      Paper Size
*%******************************************************************************************
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: Option5
    *Option: Option1
    {
        *rcNameID: 259
        *OptionID: 259
        *PageDimensions: PAIR(640, 1680)
        *PrintableArea: PAIR(576, 1680)
        *PrintableOrigin: PAIR(32, 0)
    }
    *Option: Option2
    {
        *rcNameID: 260
        *OptionID: 260
        *PageDimensions: PAIR(640, 1680)
        *PrintableArea: PAIR(640, 1680)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: Option3
    {
        *rcNameID: 801
        *OptionID: 801
        *PageDimensions: PAIR(640, 2375)
        *PrintableArea: PAIR(576, 2375)
        *PrintableOrigin: PAIR(32, 0)
    }
    *Option: Option4
    {
        *rcNameID: 802
        *OptionID: 802
        *PageDimensions: PAIR(640, 2375)
        *PrintableArea: PAIR(640, 2375)
        *PrintableOrigin: PAIR(0, 0)
    }
	*Option: Option5
    {
        *rcNameID: 804
        *OptionID: 804
        *PageDimensions: PAIR(640, 26182)
        *PrintableArea: PAIR(576, 26182)
        *PrintableOrigin: PAIR(32, 0)
    }	
	*Option: Option6
    {
        *rcNameID: 805
        *OptionID: 805
        *PageDimensions: PAIR(640, 26182)
        *PrintableArea: PAIR(640, 26182)
        *PrintableOrigin: PAIR(0, 0)
    }

    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(384, 180)
        *MaxSize: PAIR(640, 32767)
        *MaxPrintableWidth: 640
        *MinLeftMargin: 0
        *CursorOrigin: PAIR(32,0)
        *CenterPrintable?: TRUE
    }
}


*%******************************************************************************************
*%                                      Doc setup commands
*%******************************************************************************************
*Command: CmdStartDoc
{
	*Order: DOC_SETUP.7
	*Cmd: ""
}
*Command: CmdStartPage
{
	*Order: PAGE_SETUP.1
	*Cmd: ""
}
*Command: CmdEndJob
{
	*Order: JOB_FINISH.1
	*Cmd: ""
}
*Command: CmdCopies
{
	*Order: DOC_SETUP.13
	*Cmd: ""
}

*%******************************************************************************************
*%                                      Cursor and Page Commands
*%******************************************************************************************
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
*MemoryUsage: LIST(FONT, RASTER, VECTOR)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: 0
*YMoveUnit: 203
*XMoveUnit: 203
*EjectPageWithFF?: TRUE
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT

*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_OP_CHARACTER,TC_RA_ABLE)
    }
}

*Command: CmdCR { *Cmd : "" }
*Command: CmdLF { *Cmd : "" }
*Command: CmdFF { *Cmd : "" }


