*GPDFileName: "PRTLPQ80.gpd"
*GPDFileVersion: "1.1.3.0"
*GPDSpecVersion: "1.0"
*ModelName: "PRTLPQ"
*MasterUnits: PAIR(203, 203)
*Include: "StdNames.gpd"
*ResourceDLL: "PRTRes.DLL"
*PrinterType: SERIAL

*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: Option1
	*Option: Option1
	{
		*rcNameID: 25001
	}
}

*%******************************************************************************************
*%                                      Resolution
*%******************************************************************************************
*Feature: Resolution
{
	*rcNameID: =RESOLUTION_DISPLAY
	*DefaultOption: Option1
	*Option: Option1
	{
		*Name: "8 dots per mm"
	        *Command: CmdSendBlockData { *Cmd : ""}

		*DPI: PAIR(203, 203)
		*PinsPerLogPass: 24
		*PinsPerPhysPass: 1
		*TextDPI: PAIR(203, 203)
		*SpotDiameter: 100
    }
}

*%******************************************************************************************
*%                                      Paper Size
*%******************************************************************************************
*Feature: PaperSize
{
	*rcNameID: =PAPER_SIZE_DISPLAY
	*DefaultOption: Option80

	*%empty option that will be overwritten
	*Option: Option1
	{
		*Name: "20mm x 10mm"
		*PageDimensions: PAIR(160, 80)
		*PrintableArea: PAIR(160, 80)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option2
	{
		*Name: "24mm x 12mm"
		*PageDimensions: PAIR(192, 96)
		*PrintableArea: PAIR(192, 96)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option3
	{
		*Name: "24mm x 14mm"
		*PageDimensions: PAIR(192, 112)
		*PrintableArea: PAIR(192, 112)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option4
	{
		*Name: "25mm x 15mm"
		*PageDimensions: PAIR(200, 120)
		*PrintableArea: PAIR(200, 120)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option5
	{
		*Name: "28mm x 22mm"
		*PageDimensions: PAIR(224, 176)
		*PrintableArea: PAIR(224, 176)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option6
	{
		*Name: "30mm x 10mm"
		*PageDimensions: PAIR(240, 80)
		*PrintableArea: PAIR(240, 80)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option7
	{
		*Name: "30mm x 15mm"
		*PageDimensions: PAIR(240, 120)
		*PrintableArea: PAIR(240, 120)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option8
	{
		*Name: "30mm x 18mm"
		*PageDimensions: PAIR(240, 144)
		*PrintableArea: PAIR(240, 144)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option9
	{
		*Name: "30mm x 20mm"
		*PageDimensions: PAIR(240, 160)
		*PrintableArea: PAIR(240, 160)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option10
	{
		*Name: "30mm x 25mm"
		*PageDimensions: PAIR(240, 200)
		*PrintableArea: PAIR(240, 200)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option11
	{
		*Name: "30mm x 37mm"
		*PageDimensions: PAIR(240, 296)
		*PrintableArea: PAIR(240, 296)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option12
	{
		*Name: "30mm x 50mm"
		*PageDimensions: PAIR(240, 400)
		*PrintableArea: PAIR(240, 400)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option13
	{
		*Name: "30mm x 55mm"
		*PageDimensions: PAIR(240, 440)
		*PrintableArea: PAIR(240, 440)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option14
	{
		*Name: "30mm x 70mm"
		*PageDimensions: PAIR(240, 560)
		*PrintableArea: PAIR(240, 560)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option15
	{
		*Name: "30mm x 90mm"
		*PageDimensions: PAIR(240, 720)
		*PrintableArea: PAIR(240, 720)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option16
	{
		*Name: "32mm x 12mm"
		*PageDimensions: PAIR(256, 96)
		*PrintableArea: PAIR(256, 96)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option17
	{
		*Name: "32mm x 25mm"
		*PageDimensions: PAIR(256, 200)
		*PrintableArea: PAIR(256, 200)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option18
	{
		*Name: "35mm x 12mm"
		*PageDimensions: PAIR(280, 96)
		*PrintableArea: PAIR(280, 96)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option19
	{
		*Name: "35mm x 20mm"
		*PageDimensions: PAIR(280, 160)
		*PrintableArea: PAIR(280, 160)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option20
	{
		*Name: "35mm x 25mm"
		*PageDimensions: PAIR(280, 200)
		*PrintableArea: PAIR(280, 200)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option21
	{
		*Name: "35mm x 50mm"
		*PageDimensions: PAIR(280, 400)
		*PrintableArea: PAIR(280, 400)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option22
	{
		*Name: "35mm x 65mm"
		*PageDimensions: PAIR(280, 520)
		*PrintableArea: PAIR(280, 520)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option23
	{
		*Name: "35mm x 70mm"
		*PageDimensions: PAIR(280, 560)
		*PrintableArea: PAIR(280, 560)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option24
	{
		*Name: "40mm x 15mm"
		*PageDimensions: PAIR(320, 120)
		*PrintableArea: PAIR(320, 120)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option25
	{
		*Name: "40mm x 20mm"
		*PageDimensions: PAIR(320, 160)
		*PrintableArea: PAIR(320, 160)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option26
	{
		*Name: "40mm x 25mm"
		*PageDimensions: PAIR(320, 200)
		*PrintableArea: PAIR(320, 200)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option27
	{
		*Name: "40mm x 30mm"
		*PageDimensions: PAIR(320, 240)
		*PrintableArea: PAIR(320, 240)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option28
	{
		*Name: "30mm x 40mm"
		*PageDimensions: PAIR(240, 320)
		*PrintableArea: PAIR(240, 320)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option29
	{
		*Name: "40mm x 35mm"
		*PageDimensions: PAIR(320, 280)
		*PrintableArea: PAIR(320, 280)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option30
	{
		*Name: "40mm x 50mm"
		*PageDimensions: PAIR(320, 400)
		*PrintableArea: PAIR(320, 400)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option31
	{
		*Name: "40mm x 60mm"
		*PageDimensions: PAIR(320, 480)
		*PrintableArea: PAIR(320, 480)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option32
	{
		*Name: "40mm x 70mm"
		*PageDimensions: PAIR(320, 560)
		*PrintableArea: PAIR(320, 560)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option33
	{
		*Name: "40mm x 80mm"
		*PageDimensions: PAIR(320, 640)
		*PrintableArea: PAIR(320, 640)
		*PrintableOrigin: PAIR(0, 0)
	}	
	*Option: Option34
	{
		*Name: "40mm x 90mm"
		*PageDimensions: PAIR(320, 720)
		*PrintableArea: PAIR(320, 720)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option35
	{
		*Name: "40mm x 100mm"
		*PageDimensions: PAIR(320, 800)
		*PrintableArea: PAIR(320, 800)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option36
	{
		*Name: "40mm x 40mm"
		*PageDimensions: PAIR(320, 320)
		*PrintableArea: PAIR(320, 320)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option37
	{
		*Name: "45mm x 15mm"
		*PageDimensions: PAIR(360, 120)
		*PrintableArea: PAIR(360, 120)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option38
	{
		*Name: "45mm x 20mm"
		*PageDimensions: PAIR(360, 160)
		*PrintableArea: PAIR(360, 160)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option39
	{
		*Name: "45mm x 30mm"
		*PageDimensions: PAIR(360, 240)
		*PrintableArea: PAIR(360, 240)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option40
	{
		*Name: "45mm x 35mm"
		*PageDimensions: PAIR(360, 280)
		*PrintableArea: PAIR(360, 280)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option41
	{
		*Name: "45mm x 90mm"
		*PageDimensions: PAIR(360, 720)
		*PrintableArea: PAIR(360, 720)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option42
	{
		*Name: "50mm x 15mm"
		*PageDimensions: PAIR(400, 120)
		*PrintableArea: PAIR(400, 120)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option43
	{
		*Name: "50mm x 20mm"
		*PageDimensions: PAIR(400, 160)
		*PrintableArea: PAIR(400, 160)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option44
	{
		*Name: "50mm x 25mm"
		*PageDimensions: PAIR(400, 200)
		*PrintableArea: PAIR(400, 200)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option45
	{
		*Name: "50mm x 30mm"
		*PageDimensions: PAIR(400, 240)
		*PrintableArea: PAIR(400, 240)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option46
	{
		*Name: "50mm x 35mm"
		*PageDimensions: PAIR(400, 280)
		*PrintableArea: PAIR(400, 280)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option47
	{
		*Name: "50mm x 40mm"
		*PageDimensions: PAIR(400, 320)
		*PrintableArea: PAIR(400, 320)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option48
	{
		*Name: "50mm x 50mm"
		*PageDimensions: PAIR(400, 400)
		*PrintableArea: PAIR(400, 400)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option49
	{
		*Name: "50mm x 70mm"
		*PageDimensions: PAIR(400, 560)
		*PrintableArea: PAIR(400, 560)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option50
	{
		*Name: "50mm x 100mm"
		*PageDimensions: PAIR(400, 800)
		*PrintableArea: PAIR(400, 800)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option51
	{
		*Name: "52mm x 70mm"
		*PageDimensions: PAIR(416, 560)
		*PrintableArea: PAIR(416, 560)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option52
	{
		*Name: "55mm x 30mm"
		*PageDimensions: PAIR(440, 240)
		*PrintableArea: PAIR(440, 240)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option53
	{
		*Name: "55mm x 100mm"
		*PageDimensions: PAIR(440, 800)
		*PrintableArea: PAIR(440, 800)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option54
	{
		*Name: "56mm x 100mm"
		*PageDimensions: PAIR(448, 800)
		*PrintableArea: PAIR(448, 800)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option55
	{
		*Name: "60mm x 30mm"
		*PageDimensions: PAIR(480, 240)
		*PrintableArea: PAIR(480, 240)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option56
	{
		*Name: "60mm x 40mm"
		*PageDimensions: PAIR(480, 320)
		*PrintableArea: PAIR(480, 320)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option57
	{
		*Name: "60mm x 45mm"
		*PageDimensions: PAIR(480, 360)
		*PrintableArea: PAIR(480, 360)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option58
	{
		*Name: "60mm x 60mm"
		*PageDimensions: PAIR(480, 480)
		*PrintableArea: PAIR(480, 480)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option59
	{
		*Name: "60mm x 90mm"
		*PageDimensions: PAIR(480, 720)
		*PrintableArea: PAIR(480, 720)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option60
	{
		*Name: "65mm x 15mm"
		*PageDimensions: PAIR(520, 120)
		*PrintableArea: PAIR(520, 120)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option61
	{
		*Name: "65mm x 35mm"
		*PageDimensions: PAIR(520, 280)
		*PrintableArea: PAIR(520, 280)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option62
	{
		*Name: "65mm x 90mm"
		*PageDimensions: PAIR(520, 720)
		*PrintableArea: PAIR(520, 720)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option63
	{
		*Name: "70mm x 30mm"
		*PageDimensions: PAIR(560, 240)
		*PrintableArea: PAIR(560, 240)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option64
	{
		*Name: "70mm x 40mm"
		*PageDimensions: PAIR(560, 320)
		*PrintableArea: PAIR(560, 320)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option65
	{
		*Name: "70mm x 50mm"
		*PageDimensions: PAIR(560, 400)
		*PrintableArea: PAIR(560, 400)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option66
	{
		*Name: "70mm x 60mm"
		*PageDimensions: PAIR(560, 480)
		*PrintableArea: PAIR(560, 480)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option67
	{
		*Name: "70mm x 90mm"
		*PageDimensions: PAIR(560, 720)
		*PrintableArea: PAIR(560, 720)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option68
	{
		*Name: "75mm x 50mm"
		*PageDimensions: PAIR(600, 400)
		*PrintableArea: PAIR(600, 400)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option69
	{
		*Name: "75mm x 60mm"
		*PageDimensions: PAIR(600, 480)
		*PrintableArea: PAIR(600, 480)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option70
	{
		*Name: "75mm x 100mm"
		*PageDimensions: PAIR(600, 800)
		*PrintableArea: PAIR(600, 800)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option71
	{
		*Name: "78mm x 40mm"
		*PageDimensions: PAIR(624, 320)
		*PrintableArea: PAIR(624, 320)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option72
	{
		*Name: "78mm x 60mm"
		*PageDimensions: PAIR(624, 480)
		*PrintableArea: PAIR(624, 480)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option73
	{
		*Name: "78mm x 100mm"
		*PageDimensions: PAIR(624, 800)
		*PrintableArea: PAIR(624, 800)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option74
	{
		*Name: "78mm x 160mm"
		*PageDimensions: PAIR(624, 1280)
		*PrintableArea: PAIR(624, 1280)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option75
	{
		*Name: "80mm x 30mm"
		*PageDimensions: PAIR(640, 240)
		*PrintableArea: PAIR(640, 240)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option76
	{
		*Name: "80mm x 40mm"
		*PageDimensions: PAIR(640, 320)
		*PrintableArea: PAIR(640, 320)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option77
	{
		*Name: "80mm x 50mm"
		*PageDimensions: PAIR(640, 400)
		*PrintableArea: PAIR(640, 400)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option78
	{
		*Name: "80mm x 60mm"
		*PageDimensions: PAIR(640, 480)
		*PrintableArea: PAIR(640, 480)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option79
	{
		*Name: "80mm x 100mm"
		*PageDimensions: PAIR(640, 800)
		*PrintableArea: PAIR(640, 800)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: Option80
	{
		*Name: "80mm x 160mm"
		*PageDimensions: PAIR(640, 1280)
		*PrintableArea: PAIR(640, 1280)
		*PrintableOrigin: PAIR(0, 0)
	}
	*Option: CUSTOMSIZE
	{
		*rcNameID: =USER_DEFINED_SIZE_DISPLAY
		*MinSize: PAIR(32, 32)
		*MaxSize: PAIR(640, 4465)
		*MaxPrintableWidth: 640
		*MinLeftMargin: 0
		*TopMargin: 0
		*BottomMargin: 0
		*CenterPrintable?: TRUE
		*CursorOrigin: PAIR(0, 0)
	}
}

*Feature: Halftone
{
    *rcNameID: =HALFTONING_DISPLAY
    *DefaultOption: HT_PATSIZE_2x2_M
    *Option: HT_PATSIZE_AUTO
    {
        *rcNameID: =HT_AUTO_SELECT_DISPLAY
    }
    *Option: HT_PATSIZE_SUPERCELL_M
    {
        *rcNameID: =HT_SUPERCELL_DISPLAY
    }
    *Option: HT_PATSIZE_2x2_M
    {
        *rcNameID: 224
    }
    *Option: HT_PATSIZE_6x6_M
    {
        *rcNameID: =HT_DITHER6X6_DISPLAY
    }
    *Option: HT_PATSIZE_8x8_M
    {
        *rcNameID: =HT_DITHER8X8_DISPLAY
    }
}
*Feature: ColorMode
{
	*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
	*DefaultOption: Mono
	*Option: Mono
	{
		*rcNameID: =MONO_DISPLAY
		*DevNumOfPlanes: 0
		*DevBPP: 0
		*IPCallbackID: 1
		*Color?: FALSE
	}
}
*%******************************************************************************************
*%                General Printing Attributes(Capability, Color, Cursor)
*%******************************************************************************************
*%MemoryUsage: LIST(FONT, RASTER, VECTOR)
*%OEMCustomData: ""
*%OutputOrderReversed?: FALSE
*%ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE, AFTER_FF)
*%ReverseBandOrderForEvenPages?: FALSE
*%ReverseBandOrderForEvenPages?: FALSE
*%RotateFont?: FALSE
*%RotateRaster?: FALSE
*%TextCaps: TC_xxx


*AbsXMovesRightOnly?: FALSE
*%BadCursorMoveInGrxMode: LIST(X_PORTRAIT, X_LANDSCAPE, Y_PORTRAIT, Y_LANDSCAPE)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*EjectPageWithFF?: TRUE
*%LineSpacingMoveUnit: 1
*%MaxLineSpacing: 0
*UseSpaceForXMove?: FALSE
*%XMoveThreshold: 0
*XMoveUnit: 203
*YMoveAttributes: SEND_CR_FIRST
*YMoveThreshold: *
*YMoveUnit: 203

*%******************************************************************************************
*%               Text Printing Attributes(Device, Downloaded, Simulated)
*%******************************************************************************************

*%******************************************************************************************
*%                 Raster Printing Attributes(Compression, Emission)
*%******************************************************************************************
*CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
*CursorYAfterSendBlockData: NO_MOVE
*OptimizeLeftBound?: FALSE
*OutputDataFormat: H_BYTE
*RasterSendAllData?: TRUE
*%StripBlanks: TRAILING

*%******************************************************************************************
*%                             Vector Printing Attributes
*%******************************************************************************************


*%******************************************************************************************
*%                       General Printing Commands(Color, Cursor)
*%******************************************************************************************
*Command: CmdCR: ""
*Command: CmdLF: ""
*Command: CmdFF: ""
*Command: CmdXMoveAbsolute: ""
*Command: CmdYMoveRelDown: ""

*Command: CmdStartDoc
{
	*Order: DOC_SETUP.1
	*Cmd: ""
}
*Command: CmdEndDoc
{
    *Order: DOC_FINISH.1
    *Cmd: ""
}
*Command: CmdEndPage
{
    *Order: PAGE_FINISH.1
    *Cmd: ""
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: ""
}

