*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*Include: "R34DG.GPD"
*ModelName: "OEM RISO 300DPI PRINTER DRIVER"
*MasterUnits: PAIR(300, 300)
*ResourceDLL: "unires.dll"
*PrinterType: PAGE
*PrintRate: 8
*PrintRateUnit: PPM
*PrintRatePPM: 8

*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.6
            *CallbackID: 1
        }
    }
    *Option: LANDSCAPE_CC90
    {
        *rcNameID: =LANDSCAPE_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.6
            *CallbackID: 1
        }
    }
}
*%******************************************************************************
*%                             Collate
*%******************************************************************************
*Feature: Collate
{
    *Name: "Collate"
    *DefaultOption: OFF
    *ConcealFromUI?: TRUE

    *Option: OFF
    {
        *rcNameID: =OFF_DISPLAY
    }
}

*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: AUTO
    *Option: AUTO
    {
        *rcNameID: =AUTO_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.6
            *CallbackID: 1
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: 600DPI
    *Option: 600DPI
    {
        *Name: "300 x 300 " =DOTS_PER_INCH
        *DPI: PAIR(300, 300)
        *TextDPI: PAIR(300, 300)
        *SpotDiameter: 100
        *Command: CmdSendBlockData { *CallbackID: 1 }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *CallbackID: 1
        }
    }
}

*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: A4
    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(237, 237)
        *MaxSize: PAIR(4018, 5199)
        *MaxPrintableWidth: 3946
        *MinLeftMargin: 36
        *CenterPrintable?: FALSE
    }
    *Option: A3
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(3437, 4877)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2409, 3425)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: A4_ROTATED
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(3437,2397)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: A5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(1677,2397)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: A5_ROTATED
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2409,1665)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: A6
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(1169,1665)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: B4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2964,4216)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }    
    *Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2078,2952)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: B5_JIS_ROTATED
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2964,2066)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: B6_JIS
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(1440,2066)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: B6_JIS_ROTATED
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2078,1429)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: FOOLSCAP
    {
        *Name: "Foolscap"
        *PageDimensions: PAIR(2551, 4015)
        *PrintableArea: PAIR(2480,3933)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: TABLOID
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(3229, 5017)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: LEGAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2479, 4117)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(2479, 3217)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: LETTER_ROTATED
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(3229, 2467)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: STATEMENT
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(1579, 2467)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
    *Option: STATEMENT_ROTATED
    {
        *Name: "Statement-R"
        *PageDimensions: PAIR(2550, 1650)
        *PrintableArea: PAIR(2479, 1567)
        *PrintableOrigin: PAIR(36, 59)
        *CursorOrigin: PAIR(36, 59)
    }
}
*Feature: ColorMode
{
    *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
    *DefaultOption: 24bpp
    *Option: 24bpp
    {
        *rcNameID: =24BPP_DISPLAY
        *DevNumOfPlanes: 1
        *DevBPP: 24
        *DrvBPP: 24
        *PaletteSize: 1
        *RasterMode: DIRECT
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.16
            *CallbackID: 1
        }
    }
}
*Feature: Halftone
{
    *rcNameID: =HALFTONING_DISPLAY
    *DefaultOption: HT_PATSIZE_8x8_M
    *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: CmdStartDoc
{
    *Order: DOC_SETUP.5
    *CallbackID: 1
}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *CallbackID: 1
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *CallbackID: 1
}
*TextCaps: LIST(TC_UA_ABLE)
*Command: CmdCR { *CallbackID: 1 }
*Command: CmdLF { *CallbackID: 1 }
*Command: CmdFF { *CallbackID: 1 }
*EjectPageWithFF?: TRUE
*RasterSendAllData?: TRUE