*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*GPDFileName: "LS-711R.GPD"
*ModelName: "LS-711R"
*MasterUnits: PAIR(203, 203)
*ResourceDLL: "LS-711R.DLL"
*PrinterType: SERIAL

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

*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: MANUAL
    *Option: MANUAL
    {
        *rcNameID: =MANUAL_FEED_DISPLAY
    }
}

*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY	
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "203 x 203 " =DOTS_PER_INCH
        *DPI: PAIR(203, 203)
        *TextDPI: PAIR(203, 203)
        *PinsPerLogPass:   24		
        *PinsPerPhysPass: 24		
        EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
        *SpotDiameter: 170
        *Command: CmdSendBlockData { *Cmd : "<1B 2A 21>" %l{NumOfDataBytes/3 } }
    }
}

*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: Option2
    *Option: Option1
    {
        *rcNameID: 811
        *OptionID: 811
		*Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "<1B>C<00>"
        }
		*PageDimensions: PAIR(968, 2374)
        *PrintableArea: PAIR(832, 2374)
        *PrintableOrigin: PAIR(0, 0)
    }
	 
    *Option: Option2
    {
        *rcNameID: 812
        *OptionID: 812
		*Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "<1B>C<00>"
        }
		*PageDimensions: PAIR(968, 26182)
        *PrintableArea: PAIR(832, 26182)
        *PrintableOrigin: PAIR(0, 0)
    }
  
	*Option: Option3
    {
        *rcNameID: 813
        *OptionID: 813
		*Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "<1B>C<01>"
        }
		*PageDimensions: PAIR(576, 2374)
        *PrintableArea: PAIR(576, 2374)
        *PrintableOrigin: PAIR(0, 0)
    }
	
    *Option: Option4
    {
        *rcNameID: 814
        *OptionID: 814
		*Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "<1B>C<01>"
        }
		*PageDimensions: PAIR(576, 26182)
        *PrintableArea: PAIR(576, 26182)
        *PrintableOrigin: PAIR(0, 0)
    }

    *Option: CUSTOMSIZE
   {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(203, 203)
        *MaxSize: PAIR(968, 26182)
        *MaxPrintableWidth: 968
        *MinLeftMargin: 0
        *TopMargin: 0
        *CenterPrintable?: FALSE	
    }
}	

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

*Feature: ZW_CASH
{
	*rcNameID: 805
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 806
    }
    *Option: Option2
    {
        *rcNameID: 807
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B>p<0019FF>"
        }
    }
    *Option: Option3
    {
        *rcNameID: 808
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B>p<0019FF>"
        }
    }
}


*Feature: ZW_SETUP_FEED_MM
{
	*rcNameID: 900
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 901
    }
    *Option: Option2
    {
        *rcNameID: 902
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B><4A><10>"
        }
    }
    *Option: Option3
    {
        *rcNameID: 903
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B><4A><20>"
        }
    }
    *Option: Option4
    {
        *rcNameID: 904
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B><4A><30>"
        }
    }
    *Option: Option5
    {
        *rcNameID: 905
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B><4A><40>"
        }
    }
    *Option: Option6
    {
        *rcNameID: 906
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B><4A><50>"
        }
    }
    *Option: Option7
    {
        *rcNameID: 907
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B><4A><60>"
        }
    }
    *Option: Option8
    {
        *rcNameID: 908
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B><4A><70>"
        }
    }
    *Option: Option9
    {
        *rcNameID: 909
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B><4A><90>"
        }
    }
    *Option: Option10
    {
        *rcNameID: 910
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B><4A><A0>"
        }
    }
    *Option: Option11
    {
        *rcNameID: 911
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B><4A><B0>"
        }
    }
}

*Feature: ZW_SETUP_FEED_LINE
{
	*rcNameID: 1000
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 1001
    }
    *Option: Option2
    {
        *rcNameID: 1002
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><01>"
        }
    }
    *Option: Option3
    {
        *rcNameID: 1003
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><02>"
        }
    }
    *Option: Option4
    {
        *rcNameID: 1004
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><03>"
        }
    }
    *Option: Option5
    {
        *rcNameID: 1005
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><04>"
        }
    }
    *Option: Option6
    {
        *rcNameID: 1006
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><05>"
        }
    }
    *Option: Option7
    {
        *rcNameID: 1007
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><06>"
        }
    }
    *Option: Option8
    {
        *rcNameID: 1008
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><07>"
        }
    }
    *Option: Option9
    {
        *rcNameID: 1009
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><08>"
        }
    }
    *Option: Option10
    {
        *rcNameID: 1010
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><09>"
        }
    }
    *Option: Option11
    {
        *rcNameID: 1011
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><0A>"
        }
    }
    *Option: Option12
    {
        *rcNameID: 1012
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><0B>"
        }
    }
    *Option: Option13
    {
        *rcNameID: 1013
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><0C>"
        }
    }
    *Option: Option14
    {
        *rcNameID: 1014
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><0D>"
        }
    }
    *Option: Option15
    {
        *rcNameID: 1015
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B><4A><0E>"
        }
    }
}

*Feature: ZW_FINISH_FEED_MM
{
	*rcNameID: 1300
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 1301
    }
    *Option: Option2
    {
        *rcNameID: 1302
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><10>"
        }
    }
    *Option: Option3
    {
        *rcNameID: 1303
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><20>"
        }
    }
    *Option: Option4
    {
        *rcNameID: 1304
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><30>"
        }
    }
    *Option: Option5
    {
        *rcNameID: 1305
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><40>"
        }
    }
    *Option: Option6
    {
        *rcNameID: 1306
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><50>"
        }
    }
    *Option: Option7
    {
        *rcNameID: 1307
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><60>"
        }
    }
    *Option: Option8
    {
        *rcNameID: 1308
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><80>"
        }
    }
    *Option: Option9
    {
        *rcNameID: 1309
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><90>"
        }
    }
    *Option: Option10
    {
        *rcNameID: 1310
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><A0>"
        }
    }
    *Option: Option11
    {
        *rcNameID: 1311
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><B0>"
        }
    }
    *Option: Option12
    {
        *rcNameID: 1312
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><C0>"
        }
    }
    *Option: Option13
    {
        *rcNameID: 1313
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><D0>"
        }
    }
    *Option: Option14
    {
        *rcNameID: 1314
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><E0>"
        }
    }
    *Option: Option15
    {
        *rcNameID: 1315
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.2
            *Cmd: "<1B><4A><F0>"
        }
    }
}

*Feature: ZW_FINISH_FEED_LINE
{
	*rcNameID: 1400
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 1401
    }
    *Option: Option2
    {
        *rcNameID: 1402
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><01>"
        }
    }
    *Option: Option3
    {
        *rcNameID: 1403
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><02>"
        }
    }
    *Option: Option4
    {
        *rcNameID: 1404
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><03>"
        }
    }
    *Option: Option5
    {
        *rcNameID: 1405
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><04>"
        }
    }
    *Option: Option6
    {
        *rcNameID: 1406
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><05>"
        }
    }
    *Option: Option7
    {
        *rcNameID: 1407
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><06>"
        }
    }
    *Option: Option8
    {
        *rcNameID: 1408
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><07>"
        }
    }
    *Option: Option9
    {
        *rcNameID: 1409
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><08>"
        }
    }
    *Option: Option10
    {
        *rcNameID: 1410
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><09>"
        }
    }
    *Option: Option11
    {
        *rcNameID: 1411
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><0A>"
        }
    }
    *Option: Option12
    {
        *rcNameID: 1412
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><0B>"
        }
    }
    *Option: Option13
    {
        *rcNameID: 1413
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><0C>"
        }
    }
    *Option: Option14
    {
        *rcNameID: 1414
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><0D>"
        }
    }
    *Option: Option15
    {
        *rcNameID: 1415
        *Command: CmdSelect
        {
            *Order: JOB_FINISH.3
            *Cmd: "<1B><4A><0E>"
        }
    }
}

*Command: CmdStartDoc
{
    *Order: PAGE_SETUP.1
    *Cmd: "<1B>@"
}

*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE

*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST)

*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 203
*YMoveUnit: 203
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX) } }
*Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel) )} }
*Command: CmdCR { *Cmd : "<>" }
*Command: CmdLF { *Cmd : "<>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*EjectPageWithFF?: TRUE
*OutputDataFormat: V_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultFont: 1
*DefaultCTT: 0
*switch: Orientation
{
    *case: PORTRAIT
    {
        *DeviceFonts: LIST(1,2,3,4,5,6,7,8)
    }
    *case: LANDSCAPE_CC270
    {
        *DeviceFonts: LIST()
    }
}
*Command: CmdBoldOn { *Cmd : "<1B>E" }
*Command: CmdBoldOff { *Cmd : "<1B>F" }
*Command: CmdItalicOn { *Cmd : "<1B>4" }
*Command: CmdItalicOff { *Cmd : "<1B>5" }
*Command: CmdUnderlineOn { *Cmd : "<1B>-<011C>-<01>" }
*Command: CmdUnderlineOff { *Cmd : "<1B>-<001C>-<00>" }