*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*GPDFileName: "ZMINX1i.GPD"
*ModelName: "ZMIN X1i"
*MasterUnits: PAIR(300, 300)
*ResourceDLL: "ZMPWD3.Dll"
*PrinterType: SERIAL
*MaxCopies: 30000
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
         *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
             *CallbackID: 10
        }

    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =LANDSCAPE_DISPLAY
         *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
             *CallbackID: 10
        }
    }
}
*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 280
        *OptionID: 280
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: "#gl#"
        }
    }
    *Option: Option2
    {
        *rcNameID: 281
        *OptionID: 281
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: "#cl#"
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "300 x 300 " =DOTS_PER_INCH
        *DPI: PAIR(300, 300)
        *TextDPI: PAIR(300, 300)
        *SpotDiameter: 100
        *Command: CmdSendBlockData {*Cmd : }
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: CUSTOMSIZE
    *Option: Option1
    {
        *rcNameID: 258
        *OptionID: 258
        *PageDimensions: PAIR(1200, 900)
        *PrintableArea: PAIR(1200, 900)
        *PrintableOrigin: PAIR(0, 0)
        *CursorOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.13
            *CallbackID: 30 *% *Cmd: "qp" %d{PhysPaperLength}"H" %d{PhysPaperWidth}"W"
	*Params: LIST(PhysPaperLength,PhysPaperWidth)
        }
    }
  *Option: CUSTOMSIZE
    {
        *rcNameID: 256 *% =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(20, 12)
        *MaxSize: PAIR(1500, 32000)
        *MaxPrintableWidth: 1500
        *MinLeftMargin: 0
        *CenterPrintable?: FALSE
        *%*CustCursorOriginX:  %d{0}
        *%*CustCursorOriginY:   %d{0}
        *%*CustPrintableOriginX:  %d{0}
        *%*CustPrintableOriginY:  %d{0}
        *%*CustPrintableSizeX:   %d{PhysPaperWidth}
        *%*CustPrintableSizeY:  %d{PhysPaperLength}

        *Command: CmdSelect
        {
            *Order: DOC_SETUP.13
            *CallbackID: 30 *%*Cmd: "qp" %d{PhysPaperLength}"H" %d{PhysPaperWidth}"W"
	*Params: LIST(PhysPaperLength,PhysPaperWidth)
        }
    }


}
*Feature: MediaType
{
    *rcNameID: =MEDIA_TYPE_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 269
        *OptionID: 269
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.15
             *CallbackID: 40  *%*Cmd: "#d10#"
        }
    }
}
*Feature: PrintQuality
{
    *rcNameID: =TEXT_QUALITY_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 286
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.16
            *CallbackID: 50  *%*Cmd: "#s6#"
        }
    }
}

*Command: CmdStartDoc
{
    *Order: DOC_SETUP.11
    *Cmd: "#db#"
}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *Cmd: "#pb#"
}
*Command: CmdEndDoc	*%CmdEndJob
{
    *Order: DOC_FINISH.1	*%JOB_FINISH.1
    *Cmd: "#de#"
}
*Command: CmdEndPage
{
    *Order: PAGE_FINISH.1
    *Cmd: "#pe#"
}
*Command: CmdCopies
{
    *Order: DOC_SETUP.12
    *Cmd: "#cp#" %d[1,30000]{NumOfCopies}
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveThreshold: *
*YMoveUnit: 300
*Command: CmdYMoveRelDown { *Cmd : "#yo#" %d{DestYRel}"<00>" }
*Command: CmdCR { *Cmd : }	*%120515
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*EjectPageWithFF?: FALSE
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultCTT: -1
*CharPosition: BASELINE
