*%============================================================================
*% Copyright (c) 2005 SAGEM Communication
*% All Rights Reserved.
*%
*% Companion Suite Pro LL2 Fax Driver
*%============================================================================

*GPDSpecVersion: "1.0"
*GPDFileName: "cspll22k.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "Companion Suite Pro LL2 Fax"
*MasterUnits: PAIR(200, 200)
*ResourceDLL: "cspll22k.DLL"
*MaxCopies: 1
*PrinterType: PAGE

*Feature: InputBin
{
	*rcNameID: =PAPER_SOURCE_DISPLAY
	*DefaultOption: AUTO
	*Option: AUTO
	{
		*rcNameID: =AUTO_DISPLAY
	}
}

*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B>OP"
        }
    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =LANDSCAPE_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "<1B>OP"
        }
    }
}

*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
       *rcNameID: 285
        *DPI: PAIR(200, 200)
        *TextDPI: PAIR(200, 200)
        *MinStripBlankPixels: 300
        EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED)
        *SpotDiameter: 100
        *Command: CmdSendBlockData { *Cmd : "<1B>SB" %l{NumOfDataBytes } }
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B>R2"
        }
    }
    *Option: Option2
    {
        *rcNameID: 286
        *DPI: PAIR(200, 100)
        *TextDPI: PAIR(200, 100)
        *MinStripBlankPixels: 300
        EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED)
        *SpotDiameter: 100
        *Command: CmdSendBlockData { *Cmd : "<1B>SB" %l{NumOfDataBytes } }
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.4
            *Cmd: "<1B>R1"
        }
    }
}

*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: A4
    *Option: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(1654, 2338)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.5
            *Cmd: "<1B>P1"
        }
    }
    *Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(1700, 2200)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.5
            *Cmd: "<1B>P2"
        }
    }
    *Option: LEGAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(1700, 2800)
        *PrintableOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.5
            *Cmd: "<1B>P3"
        }
    }
}

*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: CmdStartDoc
{
    *Order: DOC_SETUP.1
    *Cmd: "<1B>BD"
}

*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *Cmd: "<1B>BP"
}

*Command: CmdEndDoc
{
    *Order: DOC_FINISH.1
    *Cmd: "<1B>ED"
}

*Command: CmdEndPage
{
    *Order: PAGE_FINISH.1
    *Cmd: "<1B>EP"
}

*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveThreshold: *
*YMoveUnit: 200
*Command: CmdYMoveAbsolute { *Cmd : "<1B>AM" %l{DestY} }
*Command: CmdYMoveRelDown { *Cmd : "<1B>RM" %l{DestYRel} }
*Command: CmdCR { *Cmd : }
*Command: CmdLF { *Cmd : }
*Command: CmdFF { *Cmd : }
*EjectPageWithFF?: TRUE
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultCTT: 0
