*GPDFileName: "IZMPrinter.gpd"
*GPDSpecVersion: "1.0"
*GPDFileVersion: "5.0"
*Include: "StdNames.gpd"
*ModelName: "IZMPrinter"
*MasterUnits: PAIR(203, 203)
*PrinterType: SERIAL

*%******************************************************************************************
*%                                      Orientation
*%******************************************************************************************
*Feature: Orientation
{
	*rcNameID: =ORIENTATION_DISPLAY
	*DefaultOption: PORTRAIT
	*Option: PORTRAIT
	{
		*rcNameID: =PORTRAIT_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.6
			*Cmd: ""
		}
	}
	*Option: LANDSCAPE_CC270
	{
		*rcNameID: =LANDSCAPE_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.8
			*Cmd: ""
		}
	}
}

*%******************************************************************************************
*%                                      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 : "" }
    }
}

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

    *Option: Option1
    {
        *Name:"100x60 mm"
        *PageDimensions: PAIR(800, 480)
        *PrintableArea:  PAIR(800, 480)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 15
            *Params: LIST(PhysPaperWidth,PhysPaperLength)
        }
    }
    *Option: Option2
    {
        *Name:"76x130 mm"
        *PageDimensions: PAIR(608, 1040)
        *PrintableArea:  PAIR(608, 1040)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 15
            *Params: LIST(PhysPaperWidth,PhysPaperLength)
        }
    }
    *Option: Option3
    {
        *Name:"80x50 mm"
        *PageDimensions: PAIR(640, 400)
        *PrintableArea:  PAIR(640, 400)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 15
            *Params: LIST(PhysPaperWidth,PhysPaperLength)
        }
    }
    *Option: Option4
    {
        *Name:"80x3276 mm"
        *PageDimensions: PAIR(640,26208)
        *PrintableArea:  PAIR(640, 26208)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 15
            *Params: LIST(PhysPaperWidth,PhysPaperLength)
        }
    }
    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(20, 20)
        *MaxSize: PAIR(2040, 4466)
        *MaxPrintableWidth: 2040
        *MinLeftMargin: 0
        *CenterPrintable?: FALSE
        *CursorOrigin:  PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID: 15
            *Params: LIST(PhysPaperWidth,PhysPaperLength)
        }
    }
}


*%******************************************************************************************
*%                                      Doc setup commands
*%******************************************************************************************
*Command: CmdStartDoc
{
	*Order: DOC_SETUP.7
	*CallbackID: 11
}
*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

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


