*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*GPDFileName: "SRP350.GPD"
*ModelName: "BIXOLON SRP-350"
*MasterUnits: PAIR(180, 180)
*ResourceDLL: "SRP350.Dll"
*PrinterType: SERIAL
*MaxCopies: 999
*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: Option1
    *Option: Option1
    {
        *rcNameID: 272
        *OptionID: 272
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.3
            *Cmd: "<1B>Ps<02>"
        }
    }
    *Option: Option2
    {
        *rcNameID: 273
        *OptionID: 273
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.3
            *Cmd: "<1B>Ps<01>"
        }
    }
    *Option: Option3
    {
        *rcNameID: 274
        *OptionID: 274
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.3
            *Cmd: "<1B>Ps<05>"
        }
    }
    *Option: Option4
    {
        *rcNameID: 275
        *OptionID: 275
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.3
            *Cmd: "<1B>Ps<03>"
        }
    }
    *Option: Option5
    {
        *rcNameID: 276
        *OptionID: 276
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.3
            *Cmd: "<1B>Ps<04>"
        }
    }
    *Option: Option6
    {
        *rcNameID: 277
        *OptionID: 277
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.3
            *Cmd: "<1B>Ps<06>"
        }
    }
    *Option: Option7
    {
        *rcNameID: 278
        *OptionID: 278
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.3
            *Cmd: "<1B>Ps<07>"
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "180 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(180, 180)
        *TextDPI: PAIR(180, 180)
        EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
        *SpotDiameter: 100
        *Command: CmdSendBlockData { *Cmd : "<001B>J<001B>HJBLK" %l{NumOfDataBytes } }
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: 258
        *OptionID: 258
        *PageDimensions: PAIR(512, 23216)
        *PrintableArea: PAIR(512, 23216)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option2
    {
        *rcNameID: 259
        *OptionID: 259
        *PageDimensions: PAIR(512, 2104)
        *PrintableArea: PAIR(512, 2104)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option3
    {
        *rcNameID: 260
        *OptionID: 260
        *PageDimensions: PAIR(512, 284)
        *PrintableArea: PAIR(512, 284)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option4
    {
        *rcNameID: 261
        *OptionID: 261
        *PageDimensions: PAIR(512, 568)
        *PrintableArea: PAIR(512, 568)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option5
    {
        *rcNameID: 262
        *OptionID: 262
        *PageDimensions: PAIR(512, 852)
        *PrintableArea: PAIR(512, 852)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option6
    {
        *rcNameID: 263
        *OptionID: 263
        *PageDimensions: PAIR(512, 1134)
        *PrintableArea: PAIR(512, 1134)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option7
    {
        *rcNameID: 264
        *OptionID: 264
        *PageDimensions: PAIR(512, 1418)
        *PrintableArea: PAIR(512, 1418)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option8
    {
        *rcNameID: 265
        *OptionID: 265
        *PageDimensions: PAIR(352, 2104)
        *PrintableArea: PAIR(352, 2104)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option9
    {
        *rcNameID: 266
        *OptionID: 266
        *PageDimensions: PAIR(352, 23216)
        *PrintableArea: PAIR(352, 23216)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option10
    {
        *rcNameID: 267
        *OptionID: 267
        *PageDimensions: PAIR(352, 284)
        *PrintableArea: PAIR(352, 284)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option11
    {
        *rcNameID: 268
        *OptionID: 268
        *PageDimensions: PAIR(352, 568)
        *PrintableArea: PAIR(352, 568)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option12
    {
        *rcNameID: 269
        *OptionID: 269
        *PageDimensions: PAIR(352, 852)
        *PrintableArea: PAIR(352, 852)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option13
    {
        *rcNameID: 270
        *OptionID: 270
        *PageDimensions: PAIR(352, 1134)
        *PrintableArea: PAIR(352, 1134)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
    *Option: Option14
    {
        *rcNameID: 271
        *OptionID: 271
        *PageDimensions: PAIR(352, 1418)
        *PrintableArea: PAIR(352, 1418)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
						*Order: JOB_SETUP.2
            *Cmd: "<1B>2"
        }
    }
}
*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: CmdStartJob
{
    *Order: JOB_SETUP.1
    *Cmd: "<1B>@<1B>=<011B>t<10>"
}
*Command: CmdStartDoc
{
    *Order: DOC_SETUP.1
    *CallbackID: 1
}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *CallbackID: 2
}
*Command: CmdEndPage
{
    *Order: PAGE_FINISH.1
    *%Cmd: "<1B>Pe"
    *CallbackID: 3
}
*Command: CmdEndDoc
{
    *Order: DOC_FINISH.1
    *CallbackID: 4
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: "<001B>ed"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
    *case: PORTRAIT
    {
        *TextCaps: LIST(TC_EA_DOUBLE,TC_UA_ABLE,TC_RA_ABLE)
    }
    *case: LANDSCAPE_CC270
    {
        *TextCaps: LIST(TC_RA_ABLE)
    }
}
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST)
*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 180
*YMoveUnit: 180
*Command: CmdXMoveAbsolute { *Cmd : "<001B>$" %l{DestX } }
*Command: CmdYMoveRelDown { *Cmd : "<001B>J" %c[0,255]{max_repeat(DestYRel )} }
*Command: CmdCR { *Cmd : "<000D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<00>" }
*EjectPageWithFF?: TRUE
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultFont: 1
*DefaultCTT: 2
*switch: Orientation
{
    *case: PORTRAIT
    {
        *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
+                   17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
+                   33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,
+                   49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,
+                   65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,
+                   81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,
+                   97,103,104,105,106,107,108,109,110,111,112,113,114,115,
+                   116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,
+                   132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,
+                   148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,
+                   164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,
+                   184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203)
    }
    *case: LANDSCAPE_CC270
    {
        *DeviceFonts: LIST()
    }
}
*%Command: CmdBoldOn { *Cmd : "<1B>E<01>" }
*%Command: CmdBoldOff { *Cmd : "<1B>E<00>" }
*%Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
*%Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
*Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
