*% Copyright 1996 - 2004, Hewlett-Packard Co.
*% All Rights Reserved.

*%-------------------------------------------------------------------------
*% Version Section
*%-------------------------------------------------------------------------
*GPDFileName: "hpmcpl25.gpd"
*GPDSpecVersion: "1.0"
*GPDFileVersion: "053.2507"

*%-------------------------------------------------------------------------
*% Include Section
*%-------------------------------------------------------------------------
*Include: "stdnames.gpd"
*Include: "hpzsmlhn.gpd"
*%HelpFile: "hpzenlhn.hlp"

*Feature: RESDLL
{
    *Name: "resource dll files"

    *Option: STRRESSEC
    {
        *Name: "hpzstlhn.dll"       *% Get this from the required phase
    }
}

*%---------------------------
*% B-size printer gpd
*% change ref gpd: hpc90505.gpd
*%---------------------------

*%-------------------------------------------------------------------------
*% Model Section
*%-------------------------------------------------------------------------
*%ModelName: "HP Universal Printing PCL 5e"
*ModelName: "HP Universal Printing PCL 5"


*PrintRate: 8
*PrintRateUnit: PPM
*PrintRatePPM: 8

*MasterUnits: PAIR(1200, 1200)


*PrinterType: PAGE
*MaxCopies: 9999                        *% Unidriver Max is 9999

*FontCartSlots: 0
*TTFSEnabled?: TRUE
*DeviceFonts: =IDS_DEFAULT_FONT
*DefaultFont: =IDS_DEFAULT_FONT
*TTFS: Courier
{
  *TTFontName: "Courier New"
  *DevFontName: "Courier New"
}



*%------------------------------------------------------------------------
*% DOC_PROP Standard features section
*%------------------------------------------------------------------------
*Feature: Resolution
{
    *rcNameID: =IDS_RESOLUTION_DISPLAY
    *DefaultOption: 600dpi

    *Option: 600dpi
    {
        *rcNameID: =IDS_600DPI
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *MinStripBlankPixels: 32
        EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
        *SpotDiameter: 100

        *Command: CmdBeginRaster
        {
            *Cmd: "<1B>*r1A"
            *%*Cmd: "<1B>*v7S<1B>*r1A"              *%  Use this for Color PCL5
        }

        *Command: CmdEndRaster
        {
            *Cmd: "<1B>*rB"
            *%*Cmd: "<1B>*rC"                       *%  Use this for Color PCL5
        }

        *Command: CmdSendBlockData
        {
            *Cmd : "<1B>*b" %d{NumOfDataBytes}"W"
        }

        *Command: CmdSelect
        {
            *Order: JOB_SETUP.190
            *Cmd: "@PJL SET RESOLUTION=600<0A>"
+                 "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
        }
    }

    *Option: 300dpi
    {
        *rcNameID: =IDS_300DPI
        *DPI: PAIR(300, 300)
        *TextDPI: PAIR(300, 300)
        *MinStripBlankPixels: 32
        EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
        *SpotDiameter: 100

        *Command: CmdBeginRaster
        {
            *Cmd: "<1B>*r1A"
        }

        *Command: CmdEndRaster
        {
            *Cmd : "<1B>*rB"
        }

        *Command: CmdSendBlockData
        {
            *Cmd : "<1B>*b" %d{NumOfDataBytes}"W"
        }

        *Command: CmdSelect
        {
            *Order: JOB_SETUP.190
            *Cmd: "@PJL SET RESOLUTION=300<0A>"
+                 "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
        }
    }
}

*Feature: Orientation
{
    *rcNameID: =IDS_ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT

    *Option: PORTRAIT
    {
        *rcNameID: =IDS_PORTRAIT_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *NoPageEject?: TRUE
            *CallbackID: =CMDCB_HPROT_DOC_SETUP
        }
    }

    *Option: LANDSCAPE_CC90
    {
        *rcNameID: =IDS_LANDSCAPE_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *NoPageEject?: TRUE
            *CallbackID: =CMDCB_HPROT_DOC_SETUP
        }
    }
}

*Feature: HPOrientRotate180
{
    *rcNameID: =IDS_ORIENT_ROTATE_180
    *%HelpIndex: =IDH_UNIDRV_PRINT_ROTATED
    *DefaultOption: False

    *Option: False
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }

    *Option: True
    {
        *rcNameID: =IDS_ON_DISPLAY
    }
}

*Feature: Duplex
{
    *rcNameID: =IDS_TWO_SIDED_PRINTING_DISPLAY
    *%HelpIndex: =IDH_UNIDRV_PRINT_ON_BOTH_SIDES_AUTO
    *ConflictPriority: 4
    *DefaultOption: NONE

    *Option: NONE
    {
        *rcNameID: =IDS_NONE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.60
            *Cmd: "<1B>&l0S"
        }
    }

    *Option: VERTICAL
    {
        *rcNameID: =IDS_FLIP_ON_LONG_EDGE_STANDARD
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.60
            *Cmd: "<1B>&l1S"
        }
    }

    *Option: HORIZONTAL
    {
        *rcNameID: =IDS_FLIP_ON_SHORT_EDGE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.60
            *Cmd: "<1B>&l2S"
        }
    }
}

*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *%HelpIndex: =IDH_UNIDRV_PAPER_SIZE
    *ConflictPriority: 1
    *DefaultOption: LETTER

    *Option: LETTER                                 *% physical page (10200, 13200 - 8.5" x 11.0")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9600, 12800)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l2A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9800, 12720)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 12960)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l2A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: LEGAL                                  *% physical page (10200, 16800 - 8.5" x 14.0"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9600, 16400)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l3A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9800, 16320)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 16560)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l3A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: EXECUTIVE                              *% physical page (8700, 12600 - 7.25" x 10.5"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8100, 12200)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l1A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(8300, 12120)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 12360)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l1A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: STATEMENT          *% physical page (6600, 10200 - 5.5" x 8.5")
    {
        *rcNameID: =IDS_STATEMENT
        *PageDimensions: PAIR(6600, 10200)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6000,9800)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.12
                    *Cmd: "<1B>&n10WeSTATEMENT"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t3600x5880Y<1B>*b0M<0D>"        *%needs to be verified
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(6200,9720)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 9960)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.12
                    *Cmd: "<1B>&n10WeSTATEMENT"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5832x3720Y<1B>*b0M<0D>"        *%needs to be verified
                }
            }
        }
    }

    *Option: 8_5X13                                 *% physical page (10200, 15600 - 8.5" x 13.0")
    {
        *rcNameID: =IDS_8_5X13
        *PageDimensions: PAIR(10200,15600)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9602, 15188)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l10A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5761x9114Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9802, 15108)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 15350)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l10A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t9066x5881Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: A4                                      *% physical page (9920, 14030 - 8.2677" x 11.693")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9352, 13630)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l26A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5611x8178Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9520, 13558)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 13794)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l26A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t8135x5712Y<1B>*b0M<0D>"
                }
            }
        }
    }

   *Option: A5                                      *% physical page (6992, 9920 - 5.8268" x 8.2677")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6424, 9520)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l25A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t3855x5712Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(6592, 9448)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 9684)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l25A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5669x3955Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: B5                                      *% B5 (JIS) physical page (8598, 12140 - 7.1653" x 10.118")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8030, 11740)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l45A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t4818x7044Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(8198, 11668)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 11904)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l45A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7001x4919Y<1B>*b0M<0D>"
                }
            }
        }
    }

    
    *Option:EXECUTIVE_JIS                             *% physical page (10202, 15588 - 8.5039" x 12.992"))
    {
        *rcNameID: =IDS_EXECUTIVE_JIS
        *PageDimensions: PAIR(10200,15588)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9602, 15190)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l18A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5761x9114Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9802, 15110)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 15350)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l18A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t9066x5881Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: DBL_JAPANESE_POSTCARD_ROTATED          *% physical page (6992, 9448 - 5.8268" x 7.874")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6424,9048)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l72A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t3854x5428Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(6592, 8976)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 9212)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l72A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5386x3955Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option:16K                                      *% physical page (9300, 12900 - 7.75" x 10.75")
    {
        *rcNameID: =IDS_16K_DISPLAY
        *PageDimensions: PAIR(9300,12900)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8700,12500)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l17A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5220x7500Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(8900, 12420)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 12660)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l17A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7452x5340Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: ENV_10                                 *% physical page (4948, 11400 - 4.125" x 9.5"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4348, 11000)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l81A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4548, 10920)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 11160)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l81A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: ENV_MONARCH                            *% physical page (4648, 9000 - 3.875" x 7.50")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4048, 8600)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l80A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4248, 8520)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 8760)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l80A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5112x2549Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: ENV_C5                                 *% physical page (7652, 10818 - 6.3779" x 9.0157"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(7084, 10418)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l91A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t4250x6250Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(7252, 10346)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 10582)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l91A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t6208x4352Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: ENV_DL                                 *% physical page (5196, 10392 - 4.3307" x 8.6614")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4628, 9992)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l90A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t2777x5995Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4796, 9920)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 10156)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l90A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: ENV_B5                                 *% physical page (8314, 11810 - 6.9291" x 9.8425"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(7746, 11410)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l100A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t4647x6846Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(7914, 11338)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 11574)
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l100A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t6802x4748Y<1B>*b0M<0D>"
                }
            }
        }
    }


    *Option: CUSTOMSIZE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *MinSize: PAIR(3600, 6000)                      *% min page (3" x 5") - This is the smallest paper supported by the printer
        *%*MaxSize: PAIR(10200, 16800)                  *% actual max page (8.5"x 14") - This is the largest paper supported by the printer
        *MaxSize: PAIR(14030, 20400)                    *% max page (11"x 17") - This is the largest SLP paper supported
        *MaxPrintableWidth: 14030                       *% This corresponds to the X value of the MaxSize keyword
        *MinLeftMargin: 100

        *InsertBlock: =DuplexConstraints
        
		*CenterPrintable?: FALSE
        
		*switch: Orientation
        {
            *case: PORTRAIT
            {
              *CustCursorOriginX:       %d{300}
                *CustCursorOriginY:     %d{200}
                *CustPrintableOriginX:  %d{300}
                *CustPrintableOriginY:  %d{200}
                *CustPrintableSizeX:    %d{PhysPaperWidth - 600}
                *CustPrintableSizeY:    %d{PhysPaperLength - 400}
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&f" %d{((PhysPaperWidth*720)/1200)} "i" %d{((PhysPaperLength*720)/1200)} "J<1B>&l101A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t" %d{((PhysPaperWidth-600)*720)/1200} "x" %d{((PhysPaperLength-400)*720)/1200} "Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *CustCursorOriginX:     %d{200}
                *CustCursorOriginY:     %d{PhysPaperLength - 240}
                *CustPrintableOriginX:  %d{200}
                *CustPrintableOriginY:  %d{240}
                *CustPrintableSizeX:    %d{PhysPaperWidth - 400}
                *CustPrintableSizeY:    %d{PhysPaperLength - 480}
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&f" %d{((PhysPaperWidth*720)/1200)} "i" %d{((PhysPaperLength*720)/1200)} "J<1B>&l101A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t" %d{((PhysPaperLength-480)*720)/1200} "x" %d{((PhysPaperWidth-400)*720)/1200} "Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: A3                                     *% physical page (14030, 19842 - 11.693" x 16.535")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(13462, 19442)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)

                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l27A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t8077x11665Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(13630, 19370)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 19606)

                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l27A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t11622x8178Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: B4                                      *% B4 (JIS) physical page (12140, 17196 - 10.118" x 14.33")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(11572, 16796)
                *PrintableOrigin: PAIR(284, 200)
                *CursorOrigin: PAIR(284, 200)

                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l46A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t6943x10078Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(11740, 16724)
                *PrintableOrigin: PAIR(200, 236)
                *CursorOrigin: PAIR(200, 16960)

                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l46A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t10034x7044Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option:8K                                      *% physical page (12900, 18600 - 10.748" x 15.512")
    {
        *rcNameID: =IDS_8K
        *PageDimensions: PAIR(12900,18600)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(12300, 18200)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)

                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l19A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7380x10920Y<1B>*b0M<0D>"
                }
            }

            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(12500, 18120)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 18360)

                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l19A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t10872x7500Y<1B>*b0M<0D>"
                }
            }
        }
    }

    *Option: 11X17                                   *% physical page (13200, 20400 - 11.00" x 17.00")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(12600, 20000)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)

                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l6A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y<1B>*b0M<0D>"
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(12800, 19920)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 20160)

                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l6A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y<1B>*b0M<0D>"
                }
            }
        }
    }
*%------------------------------------------------------------------------
*%  Unsupported Papers for Allow Scaling From Larger Paper (Virtual Paper Sizes)   
*%  The paper sizes for this printer are A2 and CSize sheet
*%  Commands are sent for SLP papers as well. This is done to handle cases where EMF raw spooling
*%  is enabled for a mixed mode document which has an SLP papersize selected in the middle of the job.
*%------------------------------------------------------------------------
    *%UnSupported Paper for Allow Scaling From Larger Paper
    *Option: A2
    {                                                *% physical page (19848, 28068 - 16.54" x 23.39")
         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
         *%PageDimensions: PAIR(19848, 28068)                                    
         *switch: Orientation
         {
             *case: PORTRAIT
             {
                 *PrintableArea: PAIR(19280, 27668)
                 *PrintableOrigin: PAIR(284, 200)
                 *CursorOrigin: PAIR(284, 200)   
                 *Command: CmdSelect
                 {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l27A"
                 }
                 *Command: CmdStartPage
                 {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t8077x11665Y<1B>*b0M<0D>"
                 }
                                         
             }
             *case: LANDSCAPE_CC90
             {             
                 *PrintableArea: PAIR(19448, 27596)
                 *PrintableOrigin: PAIR(200, 236)
                 *CursorOrigin: PAIR(200, 27832)  
                 *Command: CmdSelect
                 {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l27A"
                 }
                 *Command: CmdStartPage
                 {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t11622x8178Y<1B>*b0M<0D>"
                 }                               
             }
         }         
     }        
    *Option: CSHEET                                   *% physical page (20400, 26400 - 17.00" x 22.00")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME                    
        *%PageDimensions: PAIR(20400, 26400)                        
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(19800, 26000)
                *PrintableOrigin: PAIR(300, 200)
                *CursorOrigin: PAIR(300, 200)  
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l6A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y<1B>*b0M<0D>"
                }                              
            }
            *case: LANDSCAPE_CC90
            {
               *PrintableArea: PAIR(20000, 25920)
                *PrintableOrigin: PAIR(200, 240)
                *CursorOrigin: PAIR(200, 26160)                              
                *Command: CmdSelect
                {
                    *Order: DOC_SETUP.20
                    *Cmd: "<1B>&l6A"
                }
                *Command: CmdStartPage
                {
                    *Order: PAGE_SETUP.1
                    *Cmd: "<1B>&l8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y<1B>*b0M<0D>"
                }
            }
        }
    }
}

*%  HPConsumerCustomPaper custom feature
*%  This feature is used for showing the Custom Paper Button on the PQ tab page
*Feature: HPConsumerCustomPaper
{
    *Name: "HPConsumerCustomPaper"
    *Option: True
    {
        *Name: "True"
    }
}

*%------------Mystique Inserted 2-23-05--------Begin----------------------
*Feature: InputBin
{
    *rcNameID: =IDS_PAPER_SOURCE            
    *%HelpIndex: =IDH_UNIDRV_FIRST_PAGE_SOURCE_IS
    *DefaultOption: Auto
    *ConflictPriority: 3
    *FeatureType: DOC_PROPERTY

    *Option: Auto
    {
        *rcNameID: =IDS_PRINTER_AUTO_SELECT

        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l7H"
        }
    }
    *Option: ManualFeed
    {
        *rcNameID: =IDS_MANUAL_FEED_IN_TRAY1
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l2H"
        }
    }
    *Option: Tray1
    {
        *rcNameID: =IDS_TRAY1
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l4H"
        }
    }
    *Option: Tray2
    {
        *rcNameID: =IDS_TRAY2
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l1H"
        }
    }
    *Option: Tray3
    {
        *rcNameID: =IDS_TRAY3
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l5H"
        }
    }

    *Option: Tray4
    {
        *rcNameID: =IDS_TRAY4
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l8H"
        }
    }

    *Option: Tray5
    {
        *rcNameID: =IDS_TRAY5
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l9H"
        }
    }
    
    *Option: Tray6
    {
        *rcNameID: =IDS_TRAY_6
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l10H"
        }
    }
    *Option: Tray7
    {
        *rcNameID: =IDS_TRAY7
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l11H"
        }
    }
    
    *Option: Tray8
    {
        *rcNameID: =IDS_TRAY8
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l12H"
        }
    }
    
    *Option: Tray9
    {
        *rcNameID: =IDS_TRAY9
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l13H"
        }
    }

    *Option: TrayExt1
    {
        *Name: "Ex Tray1"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l20H"
        }
    }
    *Option: TrayExt2
    {
        *Name: "Ex Tray2"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l21H"
        }
    }
    *Option: TrayExt3
    {
        *Name: "Ex Tray3"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l22H"
        }
    }

    *Option: TrayExt4
    {
        *Name: "Ex Tray4"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l23H"
        }
    }

    *Option: TrayExt5
    {
        *Name: "Ex Tray5"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l24H"
        }
    }
    
    *Option: EnvFeed
    {
        *rcNameID: =IDS_ENVELOPE_FEEDER_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.40
            *Cmd: "<1B>&l6H"
        }
    }
    
}
*%------------Mystique Inserted 2-23-05--------End------------------------

*Feature: MediaType
{
    *rcNameID: =IDS_MEDIA_TYPE_DISPLAY
    *%HelpIndex: =IDH_UNIDRV_FIRST_PAGE_TYPE_IS
    *ConflictPriority: 2
    *DefaultOption: AUTO

    *Option: AUTO
    {
        *rcNameID: =IDS_UNSPECIFIED
    }

    *Option: PLAIN
    {
        *rcNameID: =IDS_PLAIN_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n6WdPlain"
        }
    }

    *Option: PREPRINTED
    {
        *rcNameID: =IDS_PREPRINTED_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n11WdPreprinted"
        }
    }

    *Option: LETTERHEAD
    {
        *rcNameID: =IDS_LETTERHEAD_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n11WdLetterhead"
        }
    }

    *Option: TRANSPARENCY
    {
        *rcNameID: =IDS_TRANSPARENCY_DISPLAY
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n13WdTransparency"
        }
    }

    *Option: PREPUNCHED
    {
        *rcNameID: =IDS_PREPUNCHED_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n11WdPrepunched"
        }
    }

    *Option: LABELS
    {
        *rcNameID: =IDS_LABELS_TYPE
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n7WdLabels"
        }
    }

    *Option: BOND
    {
        *rcNameID: =IDS_BOND_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n5WdBond"
        }
    }

    *Option: RECYCLED
    {
        *rcNameID: =IDS_RECYCLED_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n9WdRecycled"
        }
    }
    *Option: COLOR
    {
        *rcNameID: =IDS_COLOR_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n6WdColor"
        }
    }
    *Option: LIGHT
    {
        *rcNameID: =IDS_LIGHT3
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *Cmd: "<1B>&n6W<64>Light"
        }
    }

    *Option: HEAVY
    {
        *rcNameID: =IDS_HEAVY_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *Cmd: "<1B>&n6W<64>Heavy"
        }
    }

    *Option: CARDSTOCK
    {
        *rcNameID: =IDS_CARDSTOCK_164_200
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n11WdCard Stock"
        }
    }

    *% CFG file has GLOSS.Hence changing GLOSSY_75_TO_105  to GLOSS
    *Option: GLOSS
    {
        *rcNameID: =IDS_GLOSS_TYPE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *Cmd: "<1B>&n6W<64>Gloss"
        }
    }
    *Option: HEAVY_GLOSSY
    {
        *rcNameID: =IDS_HP_HEAVY_GLOSSY         *%3054
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n12W<64>Heavy Gloss"
        }
    }
    *Option: HIGH_GLOSS
    {
        *rcNameID: =IDS_HP_HIGH_GLOSS_IMAGES
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *Cmd: "<1B>&n18W<64>High Gloss Images"
        }
    }

    *Option: GLOSSY_FILM
    {
        *rcNameID: =IDS_TOUGH_PAPER
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.10
            *Cmd: "<1B>&n11W<64>Gloss Film"
        }
    }

    *Option: ENVELOPE
    {
        *rcNameID: =ENVELOPE_DISPLAY
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *Cmd: "<1B>&n9WdEnvelope"
        }
    }

    *%  Addition of User Defined Media Types. These are processed through EAC/BiDi.
    *%  Currently MOMBI supports only upto 5. Also make sure that HPMediaPMLRange feature is also present

    *Option: UserDefinedMedia1
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia2
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia3
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia4
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia5
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.50
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *%  End of Addition of User Defined Media Types.

}

*Feature: Collate
{
    *rcNameID: =IDS_COLLATE
    *DefaultOption: OFF

    *Option: OFF
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }

*%------------Mystique Inserted 2-23-05--------Begin----------------------
    *Option: ON
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.90
            *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
        }
        *Constraints: DeviceIsMopier.NotInstalled
    }
*%------------Mystique Inserted 2-23-05--------End------------------------
}


*switch: Collate
{
    *case: OFF
    {
        *Command: CmdCopies
        {
            *Order: DOC_SETUP.80
            *Cmd: "<1B>&l" %d[1,9999]{NumOfCopies}"X"       *% Set copy count to NumOfCopies

        }
    }
*%------------Mystique Inserted 2-23-05--------Begin----------------------
    *case: ON
    {
        *Command: CmdCopies
        {
            *Order: DOC_SETUP.80
            *Cmd: "<1B>&l1X"        *%Printer collate or Spooler collate!. Set copy count to 1
        }
    }
*%------------Mystique Inserted 2-23-05--------End------------------------
}



*%------------Mystique Inserted 2-23-05--------Begin------------------------
*% not working
*%serrano lite should have a top-bin when configured with a 3000 sheet stapler stacker
*%serrano not printing to left output bin (it has a top bin and left bin) "left bin (face up)"
*%vulcan face up bin does not work
*%4200 w/ 500 sheet stacker stapler, top bin face down doesn't work
*% endof not working
*Feature: OutputBin
{
    *rcNameID: =IDS_OUTPUTBIN_DISPLAY
    *%HelpIndex: =IDH_OUTPUT_BIN_OPTIONS_Q204
    *DefaultOption: Auto

    *Option: Auto
    {
        *rcNameID: =IDS_AUTO_SELECT
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: ""
        }
    }
*% begin 9500mfp    
    *Option: UpperLeftBinStraight9500MFP
    {
        *rcNameID: =IDS_UPPER_LEFT_BIN_SP
        *OutputOrderReversed?:  TRUE
        *switch: AccessoryOutputBins
        {
            *case: 3000Stapler
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }
            *case: 3000Stacker
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }
            *case: MultiFunctionFinisher
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>@PJL SET PROCESSINGTYPE=<22>FACE_UP<22><0A>@PJL SET PROCESSINGOPTION=<22>FACE_UP<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }
            *case: MBM8Mailbox
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }
            *case: MBM8Stacker
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }
            *case: MBM8Sorter
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }
            *case: MBM8JobSeparator
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }
            *default:       *% added this for the 9050
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }

        }
    }

    *Option: UpperLeftBin9500MFP
    {
        *rcNameID: =IDS_UPPER_LEFT_BIN
        *OutputOrderReversed?:  TRUE
        *switch: AccessoryOutputBins
        {
            *case: MultiFunctionFinisher
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>@PJL SET PROCESSINGTYPE=<22>FACE_DOWN<22><0A>@PJL SET PROCESSINGOPTION=<22>FACE_DOWN<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }

        }
    }

    *Option: LowerLeftBin9500MFP
    {
        *rcNameID: =IDS_LOWER_LEFT_BIN_HC
        *%OutputOrderReversed?:  TRUE
        *switch: AccessoryOutputBins
        {
            *case: 3000Stapler
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
                }
            }
            *case: 3000Stacker
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
                }
            }
          }
    }
    *Option: OutputBin29500MFP
    {
        *rcNameID: =IDS_OUTPUT_BIN_2
        *switch: AccessoryOutputBins
        {
            *case: MBM8Mailbox
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
                }
            }
        }
    }
    *Option: OutputBin39500MFP
    {
        *rcNameID: =IDS_OUTPUT_BIN_3
        *switch: AccessoryOutputBins
        {
            *case: MBM8Mailbox
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN4<0A>"
                }
            }
        }
    }
    *Option: OutputBin49500MFP
    {
        *rcNameID: =IDS_OUTPUT_BIN_4
        *switch: AccessoryOutputBins
        {
            *case: MBM8Mailbox
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN5<0A>"
                }
            }
        }
    }
    *Option: OutputBin59500MFP
    {
        *rcNameID: =IDS_OUTPUT_BIN_5
        *switch: AccessoryOutputBins
        {
            *case: MBM8Mailbox
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN6<0A>"
                }
            }
        }
    }
    *Option: OutputBin69500MFP
    {
        *rcNameID: =IDS_OUTPUT_BIN_6
        *switch: AccessoryOutputBins
        {
            *case: MBM8Mailbox
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>"
                }
            }
        }
    }
    *Option: OutputBin79500MFP
    {
        *rcNameID: =IDS_OUTPUT_BIN_7
        *switch: AccessoryOutputBins
        {
            *case: MBM8Mailbox
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN8<0A>"
                }
            }
        }
    }
    *Option: OutputBin89500MFP
    {
        *rcNameID: =IDS_OUTPUT_BIN_8
        *switch: AccessoryOutputBins
        {
            *case: MBM8Mailbox
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN9<0A>"
                }
            }
        }
    }
    *Option: OutputBin2_89500MFP
    {
        *rcNameID: =IDS_OUTPUT_BIN_2_8
        *switch: AccessoryOutputBins
        {
            *case: MBM8Stacker
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
                }
            }
            *case: MBM8Sorter
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
                }
            }
            *case: MBM8JobSeparator
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
                }
            }

        }
    }
*% end of 9500mfp    
*% lj9040mfp begin
    *Option: Stacker2
    {
        *rcNameID: =IDS_STACKER_BIN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
        }
    }
    
    *Option: MFPUpperLeftBinStraight
    {
        *rcNameID: =IDS_UPPER_LEFT_BIN_SP
        *DisabledFeatures: LIST(Stapling)
        *OutputOrderReversed?:  TRUE         *% Verify with the spec
        *switch: AccessoryOutputBins
        {
            *case: 3000Stapler
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }

            *case: 3000Stacker
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                } 
            }

            *case: MultiFunctionFinisher
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>@PJL SET PROCESSINGTYPE=<22>FACE_UP<22><0A>@PJL SET PROCESSINGOPTION=<22>FACE_UP<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }
            *default:
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                } 
            }
        }
    }
    *Option: OutputBin2_8
    {
        *rcNameID: =IDS_OUTPUT_BIN_2_8 
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
        }
    }

    
    *Option: OutputBin2
    {
        *rcNameID: =IDS_OUTPUT_BIN_2 
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
        }
    }
    *Option: OutputBin3
    {
        *rcNameID: =IDS_OUTPUT_BIN_3
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN4<0A>"
        }
    }
    *Option: OutputBin4
    {
        *rcNameID: =IDS_OUTPUT_BIN_4
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN5<0A>"
        }
    }
    *Option: OutputBin5
    {
        *rcNameID: =IDS_OUTPUT_BIN_5
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN6<0A>"
        }
    }
    *Option: OutputBin6
    {
        *rcNameID: =IDS_OUTPUT_BIN_6
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>"
        }
    }
    *Option: OutputBin7
    {
        *rcNameID: =IDS_OUTPUT_BIN_7
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN8<0A>"
        }
    }
    *Option: OutputBin8
    {
        *rcNameID: =IDS_OUTPUT_BIN_8
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN9<0A>"
        }
    }

*% shares stackerfaceup/down and left from 9500 below
*% end lj9040mfp
*% from hplj4345 begin
    *Option: OutputBin31
    {
        *rcNameID: =IDS_OUTPUT_BIN_1
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
        }
    }
    *Option: OutputBin32
    {
        *rcNameID: =IDS_OUTPUT_BIN_2
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
        }
    }
    *Option: OutputBin33
    {
        *rcNameID: =IDS_OUTPUTBIN_3_HIGHEST_CAPACITY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
        }
    }
*% end hplj4345
*% from hp9055mfp begin
    *% Missing 9055 GPD info
*% end hp9055mfp
*% lj9000 begin
    *Option: Upper9000
    {
        *rcNameID: =IDS_TOP_BIN_FACE_DOWN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.5
            *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
        }
    
    }

    *Option: Left9000
    {
        *rcNameID: =IDS_LEFT_BIN_FACE_UP
        *OutputOrderReversed?:  TRUE         

        *switch: AccessoryOutputBins
        {
            *case: None
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.5
                    *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
                }
            }
            *case: 3000Stacker
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.5
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }
            *case: 3000Stapler
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.5
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }
            *case: MultiFunctionFinisher
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.30
                    *Cmd: "@PJL SET OUTBIN=BIN1<0A>@PJL SET PROCESSINGTYPE=<22>FACE_UP<22><0A>@PJL SET PROCESSINGOPTION=<22>FACE_UP<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }
        }
    }
*% end lj9000
*% lj9050 begin
    *Option: Upper
    {
        *rcNameID: =IDS_STANDARD_TOP_BIN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
        }
    }

    *Option: Left
    {    
        *%rcNameID: =IDS_UPPER_LEFT_BIN   
        *Name: "Left Output Bin (Straightest Path)"
        *OutputOrderReversed?: TRUE
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
        }
    }
    *Option: UpperLeftBin           *% this looks to be the same command as UpperLeftBin9500MFP but it has a switch statement to only enable during multifunction device
    {
        *rcNameID: =IDS_UPPER_LEFT_BIN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>@PJL SET PROCESSINGTYPE=<22>FACE_DOWN<22><0A>@PJL SET PROCESSINGOPTION=<22>FACE_DOWN<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }

    *Option: LowerLeftBin
    {
        *rcNameID: =IDS_LOWER_LEFT_BIN_HC
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
        }
    }

*% end lj9050
*% lj4250 begin
    *%shares Upper
    *Option: Stacker
    {
        *rcNameID: =IDS_STACKER_BIN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
        }
    }
    
*% end lj4250
*% lj9500 begin
    *% shares Upper
    *Option: LeftBinUp
    {
        *rcNameID: =IDS_LEFT_BIN_FACE_UP
        *OutputOrderReversed?: TRUE         *% Verify with the spec
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
        }
    }


    *Option: StackerFaceDown
    {
        *rcNameID: =IDS_STACKER_BIN_DOWN
        *switch: AccessoryOutputBins
        {
            *case: 3000Stapler
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>NONE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }

            *case: 3000Stacker
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
                } 
            }

            *case: MultiFunctionFinisher
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>@PJL SET PROCESSINGTYPE=<22>FACE_DOWN<22><0A>@PJL SET PROCESSINGOPTION=<22>FACE_DOWN<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }
        }
    }

    *Option: StackerFaceUp
    {
        *rcNameID: =IDS_STACKER_BIN_UP
        *OutputOrderReversed?:  TRUE         *% Verify with the spec
        *switch: AccessoryOutputBins
        {
            *case: 3000Stapler
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                }
            }

            *case: 3000Stacker
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
                } 
            }

            *case: MultiFunctionFinisher
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.100
                    *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>@PJL SET PROCESSINGTYPE=<22>FACE_UP<22><0A>@PJL SET PROCESSINGOPTION=<22>FACE_UP<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }
        }
    }
*% end lj9500
*% lj4700 begin
          
    *Option: Stapler750
    {
        *rcNameID: =IDS_STAPLER_BIN
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.100
            *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
        }
    }
*% end lj4700

}
*%------------Mystique Inserted 2-23-05--------End------------------------

*%------------Mystique Inserted 2-23-05--------Begin------------------------
*Feature: HPOutputBinOrientation
{
    *Name: "HPOutputBinOrientation"
    *DefaultOption: FACEUP

    *Option: FACEDOWN
    {
        *Name:"FACEDOWN"
    }
    *Option: FACEUP
    {
        *Name:"FACEUP"
    }
}
*%------------Mystique Inserted 2-23-05--------End------------------------

*%------------Mystique Inserted 2-23-05--------Begin------------------------
*%-------------------------------------------------------------------------
*% Stapling
*%
*% If Stapling is set to anything other than none, the stapling commands
*% will always override the output bin commands but if the output
*% bin is set to a Face Up Bin, the "*OutputOrderReversed?:  TRUE"
*% will cause the output to be printed in the reverse order, so we need to
*% set "*OutputOrderReversed?:  FALSE" for each of the stapling options.
*% Note that the stapling options must come after the OutputBin options
*% for this to work correctly.
*%-------------------------------------------------------------------------
*Feature: Stapling
{
    *rcNameID: =IDS_STAPLER
    *%HelpIndex: 15106
    *DefaultOption: None
    *Option: None
    {
        *rcNameID: =IDS_NONE
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>NONE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
    
    *Option: 1diagonal
    {
        *rcNameID: =IDS_ONE_STAPLE_ANGLED_30_SHEETS
        *switch: HPStaplingOpposed
        {
            *case: False
            {
                *Command: CmdSelect
                {
                    *Order: JOB_SETUP.110
                    *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>ONE_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                }
            }
            *case: True
            {
                *%This product uses a fixed stapler, so there is no need to send different commands for depending upon orientation/papersize.
            }
        }
    }
    
    *Option: 1parallel
    {
        *rcNameID:=IDS_ONE_STAPLE
        *Constraints: AccessoryOutputBins.500Stapler
		*Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>ONE_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }

    }
    *Option: 1diagonal
    {
        *rcNameID: =IDS_ONE_STAPLE_ANGLED
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.750Stapler
        *Constraints: AccessoryOutputBins.3000InternalStapler        
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>ANGLED_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }


    *Option: 2parallel
    {
        *rcNameID: =IDS_TWO_STAPLE
        *%OutputOrderReversed?: FALSE
        *Constraints: AccessoryOutputBins.750Stapler
        *Constraints: AccessoryOutputBins.500Stapler
        *Constraints: AccessoryOutputBins.3000InternalStapler        
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>TWO_STAPLES<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
    *Option: 3parallel
    {

        *rcNameID: =IDS_THREE_STAPLE
        *%OutputOrderReversed?: FALSE
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.500Stapler
        *Constraints: AccessoryOutputBins.750Stapler
        *Constraints: AccessoryOutputBins.3000InternalStapler        
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>THREE_STAPLES<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
    *Option: 6parallel
    {

        *rcNameID: =IDS_SIX_STAPLE
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.750Stapler
        *Constraints: AccessoryOutputBins.500Stapler
        *Constraints: AccessoryOutputBins.3000InternalStapler        
        *%OutputOrderReversed?: FALSE
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>SIX_STAPLES<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }

    *Option: Stitching                   *% "Fold Saddle"
    {
        *rcNameID: =IDS_FOLD_AND_STITCH
        *Constraints: AccessoryOutputBins.MultiFunctionFinisher
        *Constraints: AccessoryOutputBins.3000Stapler
        *Constraints: AccessoryOutputBins.750Stapler
        *Constraints: AccessoryOutputBins.500Stapler
        *Constraints: AccessoryOutputBins.3000InternalStapler        
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.110
            *Cmd: "@PJL SET PROCESSINGTYPE=<22>BOOKLET_MAKER<22><0A>@PJL SET PROCESSINGOPTION=<22>BOOKLET_MAKER<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
        }
    }
}
*%------------Mystique Inserted 2-23-05--------End------------------------


*Feature: TextAsBlack
{
    *rcNameID: =IDS_PRINTALLBLACK
    *FeatureType: DOC_PROPERTY
    *%HelpIndex: =IDH_UNIDRV_PRINT_TEXT_BLACK_EC5
    *DefaultOption: False

    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
        *Ifdef: WINNT_51
        *Constraints: GraphicsMode.RASTERMODE
        *Endif:
    }
}

*Ifdef: WINNT_51
*Personality: ="PERSONALITY_HPGL2"
*Feature: GraphicsMode
{
    *rcNameID: =IDS_RENDERING_MODE
    *DefaultOption: HPGL2MODE
    *%HelpIndex: =IDH_UNIDRV_GRAPHICS_MODE_EC5

    *Option: HPGL2MODE
    {
        *rcNameID: =IDS_RENDERMODE_VECTOR

    }

    *Option: RASTERMODE
    {
        *rcNameID: =IDS_RENDERMODE_RASTER
    }
}

*Endif:

*%-------------------------------------------------------------------------
*% Feature: HPSmartHub: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*Feature: HPSmartHub
{

  *Name: "HPSmartHub"
  *FeatureType: DOC_PROPERTY  
  *DefaultOption: Inet_SID_263_BID_514_HID_265

  *Option: Inet_SID_263_BID_514_HID_265                 *%"Select a destination"
  {
     *Name: ""
  }
  
  *Option: Inet_SID_264_BID_514_HID_266                 *%"Online Diagnostic Tools": "Interactive tools and contacts for troubleshooting."
  {
     *Name: ""
  }

  *Option: Inet_SID_251_BID_514_HID_267                 *%"Product Home Page" was ("Launch Product Support Website") changed to "Support & troubleshooting": "The product's main support page on hp.com"
  {

     *Name: ""     
  }
  
  *Option: Inet_SID_252_BID_514_HID_268                 *%"Product Documentation" changed to "Product Manuals": "Online manuals that may be viewed or downloaded."
  {
     *Name: ""
  }
  
  *Option: Inet_SID_253_BID_514_HID_269                 *%"Check for Driver Updates": "Automatically check to see if the correct driver is installed."
  {
     *Name: ""
  }
  *Option: Inet_SID_279_BID_514_HID_280                 *%"Order supplies":"Online shopping of supplies for your HP printer."
  {
     *Name: ""
  }  
}

*%-------------------------------------------------------------------------
*% PRN_PROP Standard features section
*%-------------------------------------------------------------------------

*%------------Mystique Inserted 2-23-05--------Begin-----------------------
*Feature: AutoConfiguration
{
    *rcNameID: =IDS_AUTO_CONFIGURATION
    *%HelpIndex: =IDH_UPDATE_NOW_EC6
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }
    *Option: Installed
    {
        *rcNameID: =IDS_UPDATE_NOW
    }
}

*Feature: AccessoryOutputBins
{
    *rcNameID: =IDS_ACCESSORY_OUTPUT_BIN
    *FeatureType: PRINTER_PROPERTY
    *%HelpIndex: =IDH_UNIDRV_ACCESSORY_OUTPUT_BIN_EC5
    *DefaultOption: None

    *Option: None
    {
        *rcNameID: =IDS_NOTINSTALLED
        *DisabledFeatures: LIST(Stapling)
    }
    *Option: 3000Stacker
    {
        *%Name: "HP 3000-Sheet Stacker"
        *rcNameID: =IDS_HP_3000_SHEET_STACKER
        *DisabledFeatures: LIST(Stapling)
    }
    *Option: 3000Stapler
    {
        *%Name: "HP 3000-Sheet Stapler/Stacker"
        *rcNameID: =IDS_HP_3000_SHEET_STAPLERSTACKER
    }
    *Option: MultiFunctionFinisher
    {
        *%Name: "HP Multifunction Finisher"
        *rcNameID: =IDS_MULTIFN_FINISHER
    }
    *Option: MBM8Mailbox
    {
        *rcNameID: =IDS_8_BIN_MAILBOX_MAILBOX_MODE
        *%Name: "8-Bin Mailbox - Mailbox Mode"
        *DisabledFeatures: LIST(Stapling)
    }
    *Option: MBM8Stacker
    {
        *%Name: "8-Bin Mailbox - Stacker Mode"
        *rcNameID: =IDS_8_BIN_MAILBOX_STACKER_MODE
    }
    *Option: MBM8Sorter
    {
        *%Name: "8-Bin Mailbox - Sorter/Collator Mode"
        *rcNameID: =IDS_8_BIN_MAILBOX_COLLATOR_MODE
    }
    *Option: MBM8JobSeparator
    {
        *%Name: "8-Bin Mailbox - Job Separator Mode"
        *rcNameID: =IDS_8_BIN_MAILBOX_JOBSEPARATOR_MODE
    }
    *Option: 750Stapler
    {
        *%Name: "HP 750-Sheet Stapler/Stacker"
        *rcNameID: =IDS_HP_750_STAPLER_STACKER
    }
    *Option: 500Stapler
    {
        *rcNameID: =IDS_500_STAPLER_STACKER
        *%Name: "HP 500-Sheet Stapler/Stacker"
    }
    *Option: 500Stacker
    {
        *%Name: "HP 500-Sheet Stacker"
        *rcNameID: =IDS_500_STACKER
        *DisabledFeatures: LIST(Stapling)
    }
    *Option: MBM3Mailbox
    {
        *%Name: "HP 3-Bin Mailbox - Mailbox Mode"
        *rcNameID: =IDS_3_BIN_MAILBOX_MAILBOX_MODE
        *DisabledFeatures: LIST(Stapling)
    }
    *Option: MBM3Stacker
    {
        *%Name: "HP 3-Bin Mailbox - Stacker Mode"
        *rcNameID: =IDS_3_BIN_MAILBOX_STACKER_MODE
    }
    *Option: MBM3FunctionSeparator
    {
        *%Name: "HP 3-Bin Mailbox-Function Separator"
        *rcNameID: =IDS_3_BIN_MAILBOX_SEPARATOR_MODE
    }
    *Option: 3000InternalStapler
    {
        *%Name: "HP 3000-Sheet Stapler/Stacker (Internal)"
        *rcNameID: =IDS_HP_3000_SHEET_STAPLERSTACKER
    }
    *Option: MultiFunctionInternalFinisher
    {
        *%Name: "HP Multifunction Finisher (Internal)"
        *rcNameID: =IDS_MULTIFN_FINISHER
    }
   

}
*%------------Mystique Inserted 2-23-05--------End------------------------

*Feature: DuplexUnit
{
    *rcNameID: =IDS_DUPLEX_2_SIDED_PRINTING
    *FeatureType: PRINTER_PROPERTY
    *%HelpIndex: =IDH_UNIDRV_DUPLEX_UNIT_EC5
    *DefaultOption: Installed

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
        *DisabledFeatures: LIST(Duplex)
    }

    *Option: Installed
    {
        *rcNameID: =IDS_INSTALLED
    }

}



*Feature: Memory
{
    *rcNameID: =IDS_PRINTER_MEMORY
    *%HelpIndex: =IDH_UNIDRV_HP5SI_MEM
    *DefaultOption: 256MB

    *Option: 128MB
    {
        *rcNameID: =IDS_128_MB
        *MemoryConfigMB: PAIR(128, 6)
    }
    
    *Option: 160MB
    {
        *rcNameID: =IDS_160_MB
        *MemoryConfigMB: PAIR(160, 22)
    }
    
    *Option: 192MB
    {
        *rcNameID: =IDS_192_MB
        *MemoryConfigMB: PAIR(192, 38)
    }

    *Option: 224MB
    {
        *rcNameID: =IDS_224_MB
        *MemoryConfigMB: PAIR(224, 54)
    }
    
    *Option: 256MB
    {
        *rcNameID: =IDS_256_MB
        *MemoryConfigMB: PAIR(256, 70)
    }
    *Option: 288MB
    {
        *rcNameID: =IDS_288_MB
        *MemoryConfigMB: PAIR(288, 86)
    }
    
    *Option: 320MB
    {
        *rcNameID: =IDS_320_MB
        *MemoryConfigMB: PAIR(320, 102)
    }
    
    *Option: 352MB
    {
        *rcNameID: =IDS_352_MB
        *MemoryConfigMB: PAIR(352, 118)
    }
    

    *Option: 384MB
    {
        *rcNameID: =IDS_384_MB
        *MemoryConfigMB: PAIR(384, 134)
    }
    
    *Option: 416MB
    {
        *rcNameID: =IDS_416_MB
        *MemoryConfigMB: PAIR(416, 150)
    }

    *Option: 448MB
    {
        *rcNameID: =IDS_448_MB
        *MemoryConfigMB: PAIR(448, 166)
    }

    *Option: 480MB
    {
        *rcNameID: =IDS_480_MB
        *MemoryConfigMB: PAIR(480, 182)
    }

    *Option: 512MB
    {
        *rcNameID: =IDS_512_MB
        *MemoryConfigMB: PAIR(512, 198)
    }
}

*Feature: PrinterHardDisk
{
    *rcNameID: =IDS_PRINTERHARDDISK
    *FeatureType: PRINTER_PROPERTY
    *%HelpIndex: =IDH_UNIDRV_HP5SI_DISK
    *DefaultOption: Installed

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
    }

    *Option: Installed
    {
        *rcNameID: =IDS_INSTALLED
    }

}

*Feature: JobRetention
{
    *rcNameID: =IDS_JOBR_CB_TITLE
    *FeatureType: PRINTER_PROPERTY
    *%HelpIndex: =IDH_UNIDRV_JOBRETENTION_PH3
    *DefaultOption: Installed

    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *CallbackID: =CMDCB_JRSTARTDOC
        }
        
    }

}

*%------------Mystique Inserted 2-23-05--------Begin----------------------
*Feature: DeviceIsMopier
{
    *rcNameID:=IDS_MOPIER_MODE
    *FeatureType: PRINTER_PROPERTY
    *%HelpIndex: =IDH_UNIDRV_MOPIER_ENABLED
    *DefaultOption: Installed

    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
        *DisabledFeatures: LIST(Collate)
    }
    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}
*%------------Mystique Inserted 2-23-05--------End------------------------

*%-------------------------------------------------------------------------
*% DOC_PROP Custom features section
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*% Feature: HPDocPropResourceData: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  The dependency files will include now a .cab file, 
*%  which will contain the help files of all locales supported by the product. 
*%  During the runtime the help file corresponding to the locale of the current user 
*%  the help file is extracted from the .cab file and used.
*%-------------------------------------------------------------------------
*Feature: HPDocPropResourceData
{
    *Name: "HPDocPropResourceData"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: hpzhllhn.cab 

    *Option: hpzhllhn.cab       *%Name of the cab file in hpzhlyyq.cab format
    {
        *Name: "hpzhllhn.cab" 
    }
    
    *Option: hpz_en_lhn.hlp     *%Name of the English help file with the token separator "_"
    {
        *Name: "hpz_en_lhn.hlp"
    }
}

*%  This feature is used for the Print Quality association.
*%  The help index, and option name strings are taken from here and displayed on the HP Paper/Quality tab page
*%  under the Print Quality list box.
*%  Each of these option selections are associated with a set of other GPD feature selections
*%  (visible or hidden in treeview) using the HP specific XML data file

*Feature: PrintQualityGroup
{
    *Name: "PrintQualityGroup"
    *%HelpIndex: =IDH_UNIDRV_PRINT_QUALITY_PH3
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PQGroup_1

    *Option: PQGroup_1
    {
        *rcNameID: =IDS_600DPI_RES
    }

    *Option: PQGroup_2
    {
        *rcNameID: =IDS_300DPI_RES
    }
}

*%-------------------------------------------------------------------------
*% Custom Features for Color UI Tab
*%-------------------------------------------------------------------------
*% rt:changed here
*Feature: HPColorMode
{
    *Name: "HPColorMode"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: MONOCHROME_MODE

    *Option: MONOCHROME_MODE
    {
        *Name: "MONOCHROME_MODE"
    }
}

*%  Associated feature under PrintQualityGroup.
*%  - PrintQuality
*%  This feature is used for specifying whether the printer is color or monochrome
*%  Possible values are MONOCHROME_MODE, COLOR_MODE
*%  Based on the color/monochrome support, the Color tab is shown in the HP UI.
*%  Using this, additional specific processing and switching can also be done in the HP UI and render plug-in modules

*%*ChangeColorModeOnDoc?: FALSE
*%*Feature: ColorMode
*%{
*%    *rcNameID: =IDS_COLOR_PRINTING_MODE          *%IDS_COLOR_PRINTING_MODE
*%    *%HelpIndex: 12024
*%    *DefaultOption: Mono
*%    *Option: Mono
*%    {
*%        *rcNameID: =IDS_MONOCHROME               *%IDS_MONOCHROME
*%        *DevNumOfPlanes: 1
*%        *DevBPP: 1
*%        *Color? : FALSE
*%        *Command: CmdSelect
*%        {
*%            *Order: PAGE_SETUP.16
*%            *Cmd: "<1B>&b1M"
*%        }
*%    }
*%    *Option: 24bpp
*%    {
*%        *rcNameID: =IDS_TRUE_COLOR
*%        *DevNumOfPlanes: 1
*%        *DevBPP: 24
*%        *DrvBPP: 24
*%*%      *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
*%        *PaletteSize: 256
*%        *PaletteProgrammable? : TRUE
*%        *Command: CmdDefinePaletteEntry
*%        {
*%            *Cmd : "<1B>*v" %d{RedValue}"a"
*%+                            %d{GreenValue}"b"
*%+                            %d{BlueValue}"c"
*%+                            %d{PaletteIndexToProgram}"I"
*%        }
*%        *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
*%        *Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" }
*%        *Command: CmdSelect
*%        {
*%            *Order: PAGE_SETUP.16
*%            *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<000308080808><1B>*v0a0b0c7i255a255b255c0I"
*%        }
*%    }
*%}

*Feature: TextAsBlack
{
    *rcNameID: =IDS_PRINTALLBLACK
    *%HelpIndex: 15250
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
*Ifdef: WINNT_51
        *Constraints: GraphicsMode.RASTERMODE
*Endif:
    }
}

*%*Feature: TTAsBitmapsSetting
*%{
*%    *rcNameID: =IDS_TTASBITMAPS
*%    *%HelpIndex: 13153
*%    *FeatureType: DOC_PROPERTY
*%    *DefaultOption: TTModeOutline
*%    *Option: TTModeOutline
*%    {
*%        *rcNameID: =IDS_DISABLED_DISPLAY
*%    }
*%    *Option: TTModeBitmap
*%    {
*%        *rcNameID: =IDS_ENABLED_DISPLAY
*%    }
*%}

*%*switch: TTAsBitmapsSetting
*%{
*%    *case: TTModeBitmap
*%    {
*%        *FontFormat: HPPCL_RES
*%    }

*%    *case: TTModeOutline
*%    {
*%        *switch: Resolution
*%        {
*%            *case: 300dpi
*%            {
*%                *FontFormat: HPPCL_RES
*%            }
*%
*%            *default:
*%            {
                *FontFormat: HPPCL_OUTLINE
*%            }
*%        }
*%    }
*%}

*Feature: HPPDLType
{
    *Name: "HPPDLType"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PDL_PCL5

    *Option: PDL_PCL5
    {
        *Name: "PDL_PCL5"
    }
}

*% This feature is used for specifying the maximum resolution supported by the printer for use in the render module
*% Possible values are PDM_1500DPI, PDM_300DPI, PDM_600DPI

*Feature: HPMaxResolution
{
    *Name: "HPMaxResolution"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PDM_600DPI
    *Option: PDM_600DPI
    {
        *Name: "PDM_600DPI"
    }
}

*% This feature is used for specifying the encoding supported by the printer
*% Possible values are UTF8, 7 Bit ASCII Encoding, 8 Bit ASCII Encoding and No Encoding
*% Using this, various PJL strings (Job Storage User Names, Job Names etc) can be encoded and sent to the printer

*Feature: HPPJLEncoding
{
    *Name: "HPPJLEncoding"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: UTF8

    *Option: UTF8
    {
        *Name: "UTF8"
    }
}

*% This feature is used for the Job Accounting feature for sending various statistical and metrics data to the printer
*% Possible values are HPJOBACCT_JOBACNT (Job Accounting alone), HPJOBACCT_JOBACNT_TIMESTAMP (Job Accounting and Time Stamp)
*% A callback ID (must be 1) is specified and in the render module, the metrics data is obtained
*% and sent as PJLs to the printer

*Feature: HPJobAccounting
{
    *Name: "HPJobAccounting"
    *FeatureType: DOC_PROPERTY

    *Option: HPJOBACCT_JOBACNT
    {
        *Name: "HPJOBACCT_JOBACNT"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.10
            *CallbackID: =CMDCB_HPJOBACCOUNT
        }
    }
}

*% This feature is used for the Born On Date feature for sending the date/time stamp of the job to the printer
*% Possible values are HPBOD
*% A callback ID (must be 3) is specified and in the render module, the date/time stamp is obtained
*% and sent as PJLs to the printer

*Feature: HPBornOnDate
{
    *Name: "HPBornOnDate"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: HPBOD

    *Option: HPBOD
    {
        *Name: "HPBOD"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.20
            *CallbackID: =CMDCB_HPBOD
        }
    }
}

*% This feature is used to verify the color settings of Mystique

*%*Feature: HPColorPlane
*%{
*%    *Name: "HPColorPlane"
*%    *FeatureType: DOC_PROPERTY
*%    *DefaultOption: HPCP
*%
*%    *Option: HPCP
*%    {
*%        *Name: "HPCP"
*%        *Command: CmdSelect
*%        {
*%            *Order: JOB_SETUP.30
*%            *CallbackID: =CMDCB_COLOR_PLANE
*%        }
*%    }
*%}

*% This feature is used for the Job By Hob Override feature. Here the user name needs to be sent with every job
*% Possible values are JBJO
*% A callback ID (must be 5) is specified and in the render module, the user name is obtained 
*% and sent as PJLs to the printer

*Feature: HPJobByJobOverride
{
    *Name: "HPJobByJobOverride"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JBJO

    *Option: JBJO
    {
        *Name: "JBJO"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.40
            *CallbackID: =CMDCB_HPJBJO
        }
    }
}
*% This feature is used for specifying the HP specific XML file name that the printer is using
*% The HP specific XML file is an additional data fle to the UI and render modules. It specifies enhanced data like
*% Print Quality automation, External Quicksets, Media Type Ordering, DMC Install and Upgrade Time events etc
*% The XML file is used only in the read mode dynamically during the UI session

*Feature: HPXMLFileUsed
{
    *Name: "HPXMLFileUsed"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: hpmcpdp5.xml

    *Option: hpmcpdp5.xml
    {
        *Name: "hpmcpdp5.xml"
    }

    *Option: HPXMLFileNameEnd
    {
        *Name: ""
    }
}

*%------------Mystique Inserted 2-23-05--------Begin------------------------
*% This feature is used for specifying the type of stapling to be applied under diferent scenarios
*% The option is set from the UI depending on the scenarios. This feature is switched along with other features like
*% orientation, paper size etc for determining the exact stapling commands to be sent to the printer

*Feature: HPStaplingOpposed
{
    *Name: "HPStaplingOpposed"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False

    *Option: False
    {
        *Name: "False"
    }

    *Option: True
    {
        *Name: "True"
    }
}
*%------------Mystique Inserted 2-23-05--------End------------------------


*% This feature is used for enabling smart duplexing on a single page job
*% (i.e not playing the blank side of the page)
*% Required as True for all products     

*Feature: HPSmartDuplexSinglePageJob
{
    *Name: "HPSmartDuplexSinglePageJob"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True

    *Option: True
    {
        *Name: "True"
    }
}

*% This feature is used for specifying the Support for Larger paper (SLP) feature which allows the user to select a paper
*% size larger than what the printer supports and still print that onto a supported (mapped) paper without any page reflow
*% in the document at the application side
*% Currently, this feature is either always supported for printers or not suppoted at all. 
*% This means that this feature is not user modifiable and has no UI exposure
*% To support SLP, define this feature with *DefaultOption: Installed
*% To remove SLP support, define this feature with *DefaultOption: NotInstalled or do not define the feature

*Feature: ScaleFromLargePaper
{    
    *rcNameID: =IDS_LARGE_PAPER_SUPPORT    
    *FeatureType: PRINTER_PROPERTY
    *%HelpIndex: =IDH_UNIDRV_LARGER_PAPER
    *DefaultOption: Installed

    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*% This feature is used in conjunction with the ScaleFromLargePaper above. It should be present only if 
*% ScaleFromLargePaper above is present. This specifies the Actual (supported) MaxSize dimensions of the printer
*% since the *MaxSize keyword dimensions have been specified as the maximum larger (SLP) paper
*% Specify the option name as X_Y whre X and Y are the width and height of the paper in "tens of mm"
*Feature: ActualCustomRange
 {
    *Name: "Actual Custom Range"
    *ConcealFromUI?: TRUE
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: 311912_469900
    *Option: 311912_469900
    {
        *Name: "311912_469900"
    }
}

*%------------------------------------------------------------------------
*% Custom Features for Custom Paper Duplexing
*%------------------------------------------------------------------------
*Feature: HPCustomDUplexableRange
{
    *Name: "HPCustomDUplexableRange"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: 3x5_8.5x14
    
    *Option: 3x5_8.5x14
    {
        *Name: "3x5_8.5x14"
    }
}

*Feature: HPCovers

{
    *Name: "HPCovers"
    *FeatureType: DOC_PROPERTY
    *ConflictPriority: 6
    *DefaultOption: Front_Cover
    *Option: Front_Cover
    {
        *rcNameID: =IDS_FRONT_COVER
    }
    *Option: First_Page
    {
        *rcNameID: =IDS_STA_FIRST_PAGE
    }
    *Option: Other_Pages
    {
        *rcNameID: =IDS_MEDIA_LB_OTHER_PAGES
    }
    *Option: Last_Page
    {
        *rcNameID: =IDS_LAST_PAGE
    }
    *Option: Back_Cover
    {
        *rcNameID: =IDS_BACK_COVER
    }
}

*%  This feature is used for handling duplicate job names
*%  Single option. Possible values are SWFW and SW
*Feature: HPDuplicateJobNameOverride
{
    *Name: "HPDuplicateJobNameOverride"

    *Option: SWFW
    {
        *Name: "SWFW"
    }
}
*Feature: EnhancedPCL5Enable
{
    *Name: "EnhancedPCL5Enable"
    *FeatureType: DOC_PROPERTY
    *% ConcealFromUI?: TRUE
    *DefaultOption: True
    *Option: False
    {
        *Name: "False"
    }        
    *Option: True
    {
        *Name: "True"
    }
}

*% rtay: disable for static mode Mystique driver
*%*Feature: DynamicRender
*%{
*%    *Name: "Device Render Type"               *%768
*%    *FeatureType: DOC_PROPERTY
*%    *DefaultOption: AUTODEVICE
*%    *Option: AUTODEVICE
*%    {
*%         *Name: "Automatic"      *%769
*%    }
*%    *Option: COLORDEVICE
*%    {
*%         *Name: "Color"      *%770
*%    }
*%    *Option: MONODEVICE
*%    {
*%         *Name: "Monochrome"      *%770
*%    }
*%}

*%  This feature is used for enabling dynamic EMF/RAW spool switching in the driver
*%  Single option. Possible values are True.
*%  Add this feature if you want to support the dynamic switching.

*Feature: HPEnableRAWSpooling
{
    *Name: "HPEnableRAWSpooling"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True

    *Option: True
    {
        *Name: "True"
    }
}

*%-------------------------------------------------------------------------
*% PRN_PROP Custom features section
*%-------------------------------------------------------------------------

*%  Job Storage custom feature
*%  JRConstraints will have an option value for full, none or partial
*%  (1) JRCHDFull - the printer requires a Hard Disk for ALL JR options
*%  (2) JRCHDPartial - the printer requires a HardDisk only for SOME JR options.
*%  (3) JRCHDNone - the printer does NOT require a HardDisk for ANY JR options

*Feature: JRConstraints
{
    *Name: "JRConstraints"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JRCHDFull
    *Option: JRCHDFull
    {
        *Name: "JRCHDFull"
    }
    *Option: JRCJobRet
    {
        *Name: "JRCJobRet"
    }
    *Option: 0
    {
        *Name: "0"
    }
}

*%  Job Storage custom feature
*%  Two JR Option constraint features are defined
*%  (1) JRHDInstalled - This lists the JR options available when HD is installed
*%  (2) JRHDNotInstalled - This lists the JR options available when HD is not installed
*%      The options are as follows - (in this order)
*%               (a) JRHDOff
*%               (b) JRHDProof
*%               (c) JRHDPrivate
*%               (d) JRHDQuickCopy
*%               (e) JRHDStore
*%  Note: The options are the same for both JRHDInstalled and JRHDNotInstalled

*Feature: JRHDInstalled
{
    *Name: "JRHDInstalled"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JRHDOff
    *Option: JRHDOff
    {
        *Name: "JRHDOff"
    }

    *Option: JRHDProof
    {
        *Name: "JRHDProof"
    }

    *Option: JRHDPrivate
    {
        *Name: "JRHDPrivate"
    }

    *Option: JRHDQuickCopy
    {
        *Name: "JRHDQuickCopy"
    }

    *Option: JRHDStore
    {
        *Name: "JRHDStore"
    }
}

*Feature: JRHDNotInstalled
{
    *Name: "JRHDNotInstalled"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JRHDOff

    *Option: JRHDOff
    {
        *Name: "JRHDOff"
    }

    *Option: JRHDProof
    {
        *Name: "JRHDProof"
    }

    *Option: JRHDPrivate
    {
        *Name: "JRHDPrivate"
    }
}

*%-------------------------------------------------------------------------
*% Feature: HPPrnPropResourceData: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*% The dependency files will include now a .cab file, 
*% which will contain the help files of all locales supported by the product. 
*% During the runtime the help file corresponding to the locale of the current user 
*% the help file is extracted from the .cab file and used.
*%-------------------------------------------------------------------------
*Feature: HPPrnPropResourceData
{
    *Name: "HPPrnPropResourceData"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: hpzhllhn.cab

    *Option: hpzhllhn.cab       *%name of the cab file in hpzhlyyq.cab format
    {
        *Name: "hpzhllhn.cab" 
    }
    *Option: hpz_en_lhn.hlp     *%name of the English help file with the token separator "_"
    {
        *Name: "hpz_en_lhn.hlp"
    }
}
*% This feature is used for specifying the Support for Larger paper (SLP) feature which allows the user to select a paper
*% size larger than what the printer supports and still print that onto a supported (mapped) paper without any page reflow
*% in the document at the application side
*% Currently, this feature is either always supported for printers or not suppoted at all.
*% This means that this feature is not user modifiable and has no UI exposure
*% To support SLP, define this feature with *DefaultOption: Installed
*% To remove SLP support, define this feature with *DefaultOption: NotInstalled or do not define the feature

*% This feature is used for the "Combine Media Types and Sources in the application list" feature
*% This feature is currently not shown in the treeview because of Unidrv limitations.
*% So in any product, this feature is either always present as installed or always present as Not Installed

*Feature: CombineMediaTypesAndInputBins
{
    *rcNameID: =IDS_COMBINE_SOURCE_TYPE
    *FeatureType: PRINTER_PROPERTY
    *%HelpIndex: =IDH_UNIDRV_COMBINE_SOURCE_TYPE
    *DefaultOption: Installed

    *Option: Installed
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*%------------Mystique Inserted 2-23-05--------Begin------------------------
*% Verify that each option in AccessoryOutputBin feature corresponds to an option here

*Feature: HPInstallableHCO
{
    *Name: "HPInstallableHCO"
    *FeatureType: PRINTER_PROPERTY
    
    *Option:  3000Stacker-C8084
    {
        *Name: "3000Stacker-C8084"
    }
    *Option:  3000Stapler-C8085
    {
        *Name: "3000Stapler-C8085"
    }
    *Option:  MultiFunctionFinisher-C8088
    {
        *Name: "MultiFunctionFinisher-C8088"
    }
    *Option:  MBM8Mailbox-Q5693
    {
        *Name: "MBM8Mailbox-Q5693"
    }
    *Option:  MBM8Stacker-Q5693
    {
        *Name: "MBM8Stacker-Q5693"
    }
    *Option:  MBM8Sorter-Q5693
    {
        *Name: "MBM8Sorter-Q5693"
    }
    *Option:  MBM8JobSeparator-Q5693
    {
        *Name: "MBM8JobSeparator-Q5693"
    }
    *Option:  750Stapler-Q7003
    {
        *Name: "750Stapler-Q7003"
    }
    *Option:  500Stapler-Q2443
    {
        *Name: "500Stapler-Q2443"
    }
    *Option:  500Stacker-Q2442
    {
        *Name: "500Stacker-Q2442"
    }
    *Option: 500Stapler-Q5691
    {
         *Name: "500Stapler-Q5691"
    }
    *Option: MBM3Mailbox-Q5692
    {
        *Name: "MBM3Mailbox-Q5692"
    }

    *Option: MBM3Stacker-Q5692
    {
        *Name: "MBM3Stacker-Q5692"
    }

    *Option: MBM3FunctionSeparator-Q5692
    {
        *Name: "MBM3FunctionSeparator-Q5692"
    }
    *Option:  3000InternalStapler-Q3633
    {
        *Name: "3000InternalStapler-Q3633"
    }
    *Option:  MultiFunctionInternalFinisher-Q3634
    {
        *Name: "MultiFunctionInternalFinisher-Q3634"
    }
}
*%------------Mystique Inserted 2-23-05--------End------------------------

*% This feature is used for specifying if the HP custom font installer is to be used

*Feature: HPFontInstaller
{
    *Name: "HPFontInstaller"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: TRUE

    *Option: TRUE
    {
        *Name: ""
    }
}

*%  This feature is used for specifying the range of User Defined Media types.
*%  This range is used to construct the command sent to the printer for user defined media types

*Feature: HPMediaPMLRange
{
    *Name: "HPMediaPMLRange"
    *FeatureType: PRINTER_PROPERTY

    *Option: 14-18
    {
         *Name: "14-18"
    }
}
*%------------Mystique Inserted 2-24-05--------Begin----------------------
*%-------------------------------------------------------------------------
*% HP Device (MailBox/MultiFunction/StackerStapler or ModelName) to OutputBin Mapping
*%-------------------------------------------------------------------------
*Feature: HPMOutputBinHCOMap
{
    *Name: "HPMOutputBinHCOMap"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: None
    
    *Option: None
    {
        *Name: "Auto"
    }
    *Option: hp_laserjet_4250
    {
        *Name: "Auto-Upper-Stacker"
    }
    *Option: hp_laserjet_4350
    {
        *Name: "Auto-Upper-Stacker"
    }
    *Option: hp_color_LaserJet_9500
    {
        *Name: "Auto-Upper-LeftBinUp"
    }
    *Option: hp_LaserJet_9040_MFP
    {
        *Name: "Auto-Left"
    }
    *Option: hp_LaserJet_9050_MFP
    {
        *Name: "Auto-Left"
    }
    *Option: hp_LaserJet_9050
    {
        *Name: "Auto-Upper9000-Left9000"
    }
    *Option: HP_LaserJet_9000_Series
    {
        *Name: "Auto-Upper9000-Left9000"
    }
    *Option: hp_color_LaserJet_9500_MFP-3000Stapler-C8085
    {
        *Name: "UpperLeftBinStraight9500MFP-LowerLeftBin9500MFP"
    }
    *Option: hp_color_LaserJet_9500_MFP-3000Stacker-C8084
    {
        *Name: "UpperLeftBinStraight9500MFP-LowerLeftBin9500MFP"
    }
    *Option: hp_color_LaserJet_9500_MFP-MultiFunctionFinisher-C8088
    {
        *Name: "Auto-UpperLeftBinStraight9500MFP-LowerLeftBin9500MFP"
    }
    *Option: hp_color_LaserJet_9500_MFP-MBM8Mailbox-Q5693
    {
        *Name: "UpperLeftBinStraight9500MFP-OutputBin29500MFP-OutputBin39500MFP-OutputBin49500MFP-OutputBin59500MFP-OutputBin69500MFP-OutputBin79500MFP-OutputBin89500MFP-Auto"
    }
    *Option: hp_color_LaserJet_9500_MFP-MBM8Stacker-Q5693
    {
        *Name: "Auto-UpperLeftBinStraight-OutputBin2_89500MFP"
    }
    *Option: hp_color_LaserJet_9500_MFP-MBM8SorterCollator-Q5693
    {
        *Name: "Auto-UpperLeftBinStraight9500MFP-OutputBin2_89500MFP"
    }
    *Option: 500Stapler-Q2443
    {
        *Name: "Upper9000-Stacker"
    }
    *Option: 500Stacker-Q2442
    {
        *Name: "Upper9000-Stacker"
    }
    *Option: 500Stapler-Q5691
    {
        *Name: "Auto"
    }
    *Option: 750Stapler-Q7003
    {
        *Name: "Auto-Stapler750"
    }
    *Option: 3000Stapler-C8085
    {
        *Name: "Auto-MFPUpperLeftBinStraight-Stacker2"
    }
    *Option: 3000Stacker-C8084
    {
        *Name: "Auto-MFPUpperLeftBinStraight-Stacker2"
    }
    *Option: MultiFunctionFinisher-C8088
    {
        *Name: "Auto-StackerFaceUp-StackerFaceDown"
    }
    *Option: MBM8Mailbox-Q5693
    {
        *Name: "Stacker2-OutputBin2-OutputBin3-OutputBin4-OutputBin5-OutputBin6-OutputBin7-OutputBin8-Auto-MFPUpperLeftBinStraight"
    }
    *Option: MBM8Stacker-Q5693
    {
        *Name: "Auto-StackerFaceUp-OutputBin2_8"
    }
    *Option: MBM8SorterCollator-Q5693
    {
        *Name: "Auto-StackerFaceUp-OutputBin2_8"
    }
    *Option: MBM3Mailbox-Q5692
    {
        *Name: "OutputBin31-OutputBin32-OutputBin33"
    }
    *Option: MBM3Stacker-Q5692
    {
        *Name: "Auto"
    }
    *Option: MBM3FunctionSeparator-Q5692
    {
        *Name: "Auto-OutputBin31-OutputBin32-OutputBin33"
    }
    *Option: 3000InternalStapler-Q3633
    {
        *Name: "Auto-MainBinFaceDown-MainBinFaceUp-UpperBinFaceDown-UpperBinFaceUp"
    }
    *Option: MultiFunctionInternalFinisher-Q3634
    {
        *Name: "Auto-MainBinFaceDown-MainBinFaceUp-UpperBinFaceDown-UpperBinFaceUp"
    }
}

*Feature: HPMOutputBinHCOPMLMap
{
    *Name: "HPMOutputBinHCOPMLMap"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: None
    
    *Option: None
    {
          *Name: "0-0"
    }
    *Option: hp_LaserJet_9050_MFP-MBM8Mailbox-Q5693
    {
          *Name: "4-11"
    }
    *Option: hp_LaserJet_9040_MFP-MBM8Mailbox-Q5693
    {
          *Name: "4-11"
    }
    *Option: MBM8Mailbox-Q5693
    {
          *Name: "5-12"
    }
    *Option: MBM3Mailbox-Q5692
    {
          *Name: "3-5"
    }
}

*%------------Mystique Inserted 2-24-05--------End------------------------

*%------------Mystique Inserted 2-24-05--------Begin----------------------
*Feature: HPOutputBinPMLRange
{
     *Name: "HPOutputBinPMLRange"
     *FeatureType: PRINTER_PROPERTY

     *Option: 0-0
     {
          *Name: "0-0"
     }
     *Option: 2-4
     {
          *Name: "2-4"
     }
     *Option: 3-5
     {
          *Name: "3-5"
     }
     *Option: 4-11
     {
          *Name: "4-11"
     }
     *Option: 5-12
     {
          *Name: "5-12"
     }
}
*%------------Mystique Inserted 2-24-05--------End------------------------

*%------------Mystique Inserted 2-23-05--------Begin----------------------
*% This macro is to be inserted for the 1diagonal and 1diagonal cases that depend on paper sizes

*BlockMacro: StaplingCommandsFrontAndRearStaple
{
    *case: True
    {
        *switch: PaperSize
        {
            *case: LETTER
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *Command: CmdSelect
                        {
                            *Order: JOB_SETUP.110
                            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>FRONT_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                        }
                    }

                    *case: LANDSCAPE_CC90
                    {
                        *Command: CmdSelect
                        {
                            *Order: JOB_SETUP.110
                            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>REAR_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                        }
                    }
                }
            }

            *case: A4
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *Command: CmdSelect
                        {
                            *Order: JOB_SETUP.110
                            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>FRONT_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                        }
                    }

                    *case: LANDSCAPE_CC90
                    {
                        *Command: CmdSelect
                        {
                            *Order: JOB_SETUP.110
                            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>REAR_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                        }
                    }
                }
            }

            *default:
            {
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *Command: CmdSelect
                        {
                            *Order: JOB_SETUP.110
                            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>REAR_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                        }
                    }

                    *case: LANDSCAPE_CC90
                    {
                        *Command: CmdSelect
                        {
                            *Order: JOB_SETUP.110
                            *Cmd: "@PJL SET PROCESSINGTYPE=<22>STAPLING<22><0A>@PJL SET PROCESSINGOPTION=<22>FRONT_STAPLE<22><0A>@PJL SET PROCESSINGBOUNDARY=MOPY<0A>"
                        }
                    }
                }
            }
        }
    }
}
*%-------------------------------------------------------------------------
*% Feature: PSAlignmentFile: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  Printer Services component custom feature
*%  PSAlignmentFile
*%  This feature is used to get the name of the Printer Services component DLL
*%-------------------------------------------------------------------------
*Feature: PSAlignmentFile
{
    *Name: "PSAlignmentFile"
    *FeatureType: DOC_PROPERTY
    *Option: HPZLSlhn
    {
        *Name: "HPZLSlhn"
    }
}


*%-------------------------------------------------------------------------
*% Constraints section
*%-------------------------------------------------------------------------

*%-------------------------------------------------------------------------
*% Commands section
*%-------------------------------------------------------------------------

*Command: CmdStartJob
{
    *Order: JOB_SETUP.1
    *Cmd: "<1B>%%-12345X"
}

*Command: CmdStartDoc
{
    *Order: DOC_SETUP.1
    *Cmd: "<1B>&u600D<1B>*r0F"
}

*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: "<1B>E<1B>%%-12345X@PJL EOJ<0A><1B>%%-12345X"
}

*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
*Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
*Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<00>" }
*Command: CmdUniDirectionOff { *Cmd : "<00>" }
*Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
*Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
*Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
*Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
*Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
*Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
*Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
*Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
*Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
*Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
*Command: CmdSelectSingleByteMode { *Cmd : "<1B>&t0P" }
*Command: CmdSelectDoubleByteMode { *Cmd : "<1B>&t21P" }
*Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
*Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
*Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
*Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
*Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }

*%-------------------------------------------------------------------------
*% Render standard keywords section
*%-------------------------------------------------------------------------

*CharPosition: BASELINE     *% character positioning keyword must be present even if device font are not present
*RotateCoordinate?: TRUE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*EjectPageWithFF?: FALSE
*TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
*MemoryUsage: LIST(FONT)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 600
*YMoveUnit: 600
*OptimizeLeftBound?: TRUE
*MinGrayFill: 1
*MaxGrayFill: 100

*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*% Mono sections starts here
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*%-------------------------------------------------------------------------
*% OEM Custom Data
*%-------------------------------------------------------------------------
*Macros: OEM_Custom_Data_Tags
{
OEMDATA_DITHER_600DPI_106LPI_DATA: "[HPDither]231,219,210,24,18,7,68,168,228,216,205,22,15,5,65,167,243,255,200,35,1,1,60,176,240,252,197,32,1,1,59,173,184,191,136,128,55,47,91,108,181,189,134,127,54,44,90,106,81,72,122,140,153,147,119,99,78,70,121,138,152,145,116,97,12,3,64,165,225,214,203,20,9,1,62,161,222,213,202,19,1,1,57,171,237,249,195,29,1,1,56,169,234,246,193,26,51,41,88,104,178,188,132,130,49,38,86,102,177,186,131,129,158,150,114,96,85,76,126,144,155,148,110,94,83,74,124,142,227,215,204,21,14,4,65,166,229,218,209,23,17,6,66,167,238,251,196,31,1,1,58,172,242,254,199,33,1,1,59,174,179,189,133,127,53,43,89,105,182,190,135,127,54,46,91,107,77,69,120,137,151,144,115,96,79,71,121,139,152,146,118,98,8,1,61,159,221,212,201,18,11,2,63,163,224,213,202,20,1,1,55,169,232,245,192,25,1,1,56,170,235,248,194,28,48,37,86,101,177,185,130,128,50,40,87,103,178,187,131,129,154,148,109,92,82,73,123,141,156,149,112,95,84,75,126,143[/HPDither]"
}
EXTERN_GLOBAL: *OEMCustomData: =OEMDATA_DITHER_600DPI_106LPI_DATA

*Feature: Halftone
{
    *rcNameID: =IDS_HALFTONING_DISPLAY
    *DefaultOption: HPDitherMatrix

    *Option: HPDitherMatrix
    {
        *Name: "HPDitherMatrix"
        *HTCallbackID: 1000
        *HTNumPatterns: 1
        *HTPatternSize: PAIR(16,16)
    }
}
*%------------------------------------------------------------------
*%    Custom Feature - TTAsBitmapsSetting
*%------------------------------------------------------------------
*Feature: TTAsBitmapsSetting
{
    *rcNameID: =IDS_TTASBITMAPS             *%762
    *%HelpIndex: =IDH_UNIDRV_TRUETYPE_AS_BITMAP
    *FeatureType: DOC_PROPERTY
    *DefaultOption: TTModeOutline
    *Option: TTModeOutline
    {
        *rcNameID: =IDS_DISABLED_DISPLAY    *%191
    }
    *Option: TTModeBitmap
    {
        *rcNameID: =IDS_ENABLED_DISPLAY     *%189
    }
    
}

*switch: TTAsBitmapsSetting
{
    *case: TTModeBitmap
    {
        *FontFormat: HPPCL_RES
    }
    *case: TTModeOutline
    {
        *FontFormat: HPPCL_OUTLINE
    }
}
*Ifdef: WINNT_51
*Personality: =PERSONALITY_HPGL2


*Endif:
