*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*GPDFileName: "GPH80300.GPD"
*ModelName: "GP-H80300 Series"
*MasterUnits: PAIR(203, 203)
*ResourceDLL: "GP80N.DLL"
*PrinterType: SERIAL
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
    }
}
*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 269
        *OptionID: 269
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *CallbackID: 1009
        }
    }
        *Option: Option2
    {        
        *rcNameID: 268
        *OptionID: 268
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *CallbackID: 1008
        }
    }
        *Option: Option3
    {
        *rcNameID: 270
        *OptionID: 270
    }
        *Option: Option4
    {
        *rcNameID: 271
        *OptionID: 271
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *CallbackID: 1010
        }
    }
        *Option: Option5
    {
        *rcNameID: 272
        *OptionID: 272
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *CallbackID: 1011
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "203 x 203 " =DOTS_PER_INCH
        *DPI: PAIR(203, 203)
        *TextDPI: PAIR(203, 203)
        *MinStripBlankPixels: 1
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
        *PinsPerLogPass: 4
        *SpotDiameter: 170        
        *Command: CmdSendBlockData 
        {
           *Params: LIST(RasterDataWidthInBytes,RasterDataHeightInPixels,NumOfDataBytes)
           *CallbackID: 1000 
        }
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: Option2
    *Option: Option1
    {
        *rcNameID: 258
        *OptionID: 258
        *PageDimensions: PAIR(576, 1678)
        *PrintableArea: PAIR(576, 1678)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: Option2
    {
        *rcNameID: 259
        *OptionID: 259
        *PageDimensions: PAIR(576, 2374)
        *PrintableArea: PAIR(576, 2374)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: Option3
    {
        *rcNameID: 260
        *OptionID: 260
        *PageDimensions: PAIR(576, 26182)
        *PrintableArea: PAIR(576, 26182)
        *PrintableOrigin: PAIR(0, 0)
    }
    
    *Option: Option4
    {
        *rcNameID: 310
        *OptionID: 310
        *PageDimensions: PAIR(608, 1678)
        *PrintableArea: PAIR(608, 1678)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: Option5
    {
        *rcNameID: 311
        *OptionID: 311
        *PageDimensions: PAIR(608, 2374)
        *PrintableArea: PAIR(608, 2374)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: Option6
    {
        *rcNameID: 312
        *OptionID: 312
        *PageDimensions: PAIR(608, 26182)
        *PrintableArea: PAIR(608, 26182)
        *PrintableOrigin: PAIR(0, 0)
    }
    
    *Option: Option7
    {
        *rcNameID: 313
        *OptionID: 313
        *PageDimensions: PAIR(640, 1678)
        *PrintableArea: PAIR(640, 1678)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: Option8
    {
        *rcNameID: 314
        *OptionID: 314
        *PageDimensions: PAIR(640, 2374)
        *PrintableArea: PAIR(640, 2374)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: Option9
    {
        *rcNameID: 315
        *OptionID: 315
        *PageDimensions: PAIR(640, 26182)
        *PrintableArea: PAIR(640, 26182)
        *PrintableOrigin: PAIR(0, 0)
    }

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

*Feature: MediaType
{
    *rcNameID: =MEDIA_TYPE_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 261
        *OptionID: 261
    }
    *Option: Option2
    {
        *rcNameID: 262
        *OptionID: 262
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.2
            *CallbackID: 1002
        }
    }
    *Option: Option3
    {
        *rcNameID: 263
        *OptionID: 263
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.2
            *CallbackID: 1003
        }
    }
    *Option: Option4
    {
        *rcNameID: 264
        *OptionID: 264
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.2
            *CallbackID: 1004
        }
    }
    *Option: Option5
    {
        *rcNameID: 265
        *OptionID: 265
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.2
            *CallbackID: 1005
        }
    }
    *Option: Option6
    {
        *rcNameID: 266
        *OptionID: 266
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.2
            *CallbackID: 1006
        }
    }
    *Option: Option7
    {
        *rcNameID: 267
        *OptionID: 267
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.2
            *CallbackID: 1007
        }
    }
}

*Feature: PrintQuality
{
    *rcNameID: =TEXT_QUALITY_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 278
    }
    *Option: Option2
    {
        *rcNameID: 279
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 1013
        }
    }
    *Option: Option3
    {
        *rcNameID: 280
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 1014
        }
    }
    *Option: Option4
    {
        *rcNameID: 281
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 1015
        }
    }
    *Option: Option5
    {
        *rcNameID: 282
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 1016
        }
    }
    *Option: Option6
    {
        *rcNameID: 283
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *CallbackID: 1017
        }
    }
    *Option: Option7
    {
        *rcNameID: 284
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 1018
        }
    }
    *Option: Option8
    {
        *rcNameID: 285
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 1019
        }
    }
    *Option: Option9
    {
        *rcNameID: 286
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 1020
        }
    }
    *Option: Option10
    {
        *rcNameID: 287
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 1021
        }
    }
}

*Feature: OutputBin
{
    *rcNameID: =OUTPUTBIN_DISPLAY
     *DefaultOption: Option4
    *Option: Option1
    {
        *rcNameID: 300
    }
    *Option: Option2
    {
        *rcNameID: 301
        *Command: CmdSelect
        {
            *Order: PAGE_FINISH.2 
            *CallbackID: 1029
        }
    }
    *Option: Option3
    {
        *rcNameID: 302
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.1
            *CallbackID: 1029
        }
    }    
    *Option: Option4
    {
        *rcNameID: 303
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3 
            *CallbackID: 1029
        }
    }
    *Option: Option5
    {
        *rcNameID: 304
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *CallbackID: 1029
        }
    }  
}

*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
    *CallbackID: 1022
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *CallbackID: 1023
}
*Command: CmdEndPage
{
    *Order: PAGE_FINISH.1
    *CallbackID: 1024
}
*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)
    }
}
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST)
*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 203
*YMoveUnit: 203

*Command: CmdXMoveAbsolute 
{ 
    *Params: LIST(DestX)
    *CallbackID: 1027 
}
*Command: CmdYMoveRelDown {  *Cmd : "<1E>f" %c[0,255]{max_repeat( DestYRel )} }
*Command: CmdCR { *Cmd : "<>" }
*Command: CmdLF { *Cmd : "<>" }
*Command: CmdFF { *Cmd : "<>" }

*EjectPageWithFF?: TRUE
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultCTT: 0
