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

*%-------------------------------------------------------------------------
*% Include Section
*%-------------------------------------------------------------------------
*Include: "pclxl.gpd"
*Include: "hpcsm140.gpd"
*Include: "hpc6m140.gpd"

*Include: "pjl.gpd"
*Include: "stdnames.gpd"
*Include: "hpchm140.gpd"

*%-------------------------------------------------------------------------
*% Version Section
*%-------------------------------------------------------------------------
*GPDFileName: "hpcm4016.gpd"
*GPDSpecVersion: "1.0"
*GPDFileVersion: "140.0414046"

*HelpFile: "hpcen140.chm"

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

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

    *Option: FONTRES
    {
        *Name: "pclxl.dll"          *% MS provided resource DLL
    }
}
*%------------------------------------------------------------------------
*%  DOCUI SUI
*%------------------------------------------------------------------------
*Feature: HPDocUISUI
{
    *Name: "HPDocUISUI"
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}

*%-------------------------------------------------------------------------
*% Model Name Section
*%-------------------------------------------------------------------------
*ModelName: "HP LaserJet 400 M401 PCL 6"
*MasterUnits: PAIR(1200, 1200)

*PrintRate: 33
*PrintRateUnit: PPM
*PrintRatePPM: 33

*PrinterType: PAGE
*Personality: "PCLXL"                   *%=PERSONALITY_PCLXL
*MaxCopies: 9999

*FontCartSlots: 0
*TTFSEnabled?: TRUE
*%DeviceFonts: =CourierFont
*DefaultFont: =FONT_COURIERR
*TTFS: CourierNew
{
  *TTFontName: "Courier New"
  *DevFontName: "Courier New"
}
*MinGlyphID: 1
*MaxGlyphID: 6000

*%-------------------------------------------------------------------------
*% Macros section
*%-------------------------------------------------------------------------

*Macros: PJLCommand_8
{
    PJL_BITSPERPIXEL_8:  "@PJL SET BITSPERPIXEL=8<0A>"
}
*Macros: OEMCommonCombinations
{
   OEM_COMMON_INFO:
+   "PTYP<00 00 00 04>10RJ"
+   "Q000<0000000A>Export_Q_J"
+   "W000<0000000A>Export_W_B"
+   "Y000<0000000A>Export_Y_C"
+   "U000<0000000A>Export_U_A"
+   "U001<0000000A>Export_U_B"
}

EXTERN_GLOBAL: *OEMCustomData:
+                         =OEM_COMMON_INFO

*%------------------------------------------------------------------------
*% DOC_PROP Standard features section
*%-------------------------------------------------------------------------
*%-Convert Ticket
*%-------------------------------------------------------------------------
*Feature: ESPRITSupported
{
    *Name: "ESPRITSupported"
    *DefaultOption: True
    *FeatureType: DOC_PROPERTY
    *Option: True
    {
        *Name: " "
    }
}

*%-------------------------------------------------------------------------
*%  Feature Entry for Composite USBGETSerialNumber
*%-------------------------------------------------------------------------

*Feature: HPPCompositeUSBGetSerialNumber

{

    *Name: "HPPCompositeUSBGetSerialNumber"

    *FeatureType: DOC_PROPERTY

    *DefaultOption: hppdvq01.dll_getDeviceSerialNumberW    

 

    *Option: hppdvq01.dll_getDeviceSerialNumberW

    {

        *Name: "hppdvq01.dll_getDeviceSerialNumberW"

    }

}

 

 

*%-----------------------------------------------------------------

*% Feature Entry to get the printers PPM and Duplexer Installed value 

*% with the help of hppdvq01.dll

*%-----------------------------------------------------------------

*Feature: HPPInstallTimeConfig

{

    *Name: "HPPInstallTimeConfig"

    *FeatureType: DOC_PROPERTY

    *DefaultOption: hppdvq01.dll_getDevicePPMDuplexerW

 

    *Option: hppdvq01.dll_getDevicePPMDuplexerW

    {

        *Name: "hppdvq01.dll_getDevicePPMDuplexerW"

    }

}

 

 

*Feature: HPPCompositeUSBFile

 

{

 

    *Name: "HPPCompositeUSBFile"

 

    *FeatureType: DOC_PROPERTY

 

    *Option: hppdvq01.dll_getDeviceSerialNumber_getDevicePPMDuplexer

 

    {

 

        *Name: "hppdvq01.dll_getDeviceSerialNumber_getDevicePPMDuplexer"

 

    }

 

}
*%-------------------------------------------------------------------------


*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*% DOC_PROP Standard features section
*%-------------------------------------------------------------------------
*%------------------------------------------------------------------------
*% Feature: Resolution : TVSF (TV Managed Standard Feature)
*%------------------------------------------------------------------------
*Feature: Resolution
{
    *rcNameID: =IDS_RESOLUTION_DISPLAY
    *DefaultOption: 600dpi
    *Option: 600dpi
    {
        *rcNameID: =IDS_PQ_RES_600_DPI
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *MinStripBlankPixels: 32
        EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
        *SpotDiameter: 100        

        *Command: CmdBeginRaster
        {
            *Cmd : =PCLXL_CmdBeginRaster
        }

        *Command: CmdSendBlockData
        {
            *Cmd: =PCLXL_CmdSendBlockData
        }

        *Command: CmdEndRaster
        {
            *Cmd : =EndImage
        }

             *switch: FastRes
            {
             *case: False
             {
                *Command: CmdSelect
                  {
                   *Order: JOB_SETUP.190
                   *CallbackID:  101  
                  }
             }
            *case: True
             {
                 *Command: CmdSelect
                   {
                    *Order: JOB_SETUP.190
                     *CallbackID: 102 
                   }
             }
           }

    }    

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

        *Command: CmdBeginRaster
        {
            *Cmd : =PCLXL_CmdBeginRaster
        }

        *Command: CmdSendBlockData
        {
            *Cmd : =PCLXL_CmdBeginRaster =PCLXL_CmdSendBlockData
        }

        *Command: CmdEndRaster
        {
            *Cmd : =EndImage
        }

        *Command: CmdSelect
        {
            *Order: JOB_SETUP.190
            *CallbackID: 103 
        }
    }

}

 


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

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


*%------------------------------------------------------------------------
*% Feature: Duplex : TVSF (TV Managed Standard Feature)
*%------------------------------------------------------------------------
*% The Duplex commands for PCL6 drivers were sent as PJL commands.
*% But this limited the per page duplexing capability. 
*% So from Q404 time frame onwards we are using per page duplex PDL commands.
*%------------------------------------------------------------------------

*Feature: Duplex
{
    *rcNameID: =IDS_TWO_SIDED_PRINTING_DISPLAY
    *HelpIndex: =IDH_UNIDRV_PRINT_ON_BOTH_SIDES_AUTO 
    *ConflictPriority: 4
    *DefaultOption: NONE    
    *Option: NONE
    {
        *rcNameID: =IDS_NO
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *Cmd: ""
        }
    }
 
    *Option: VERTICAL
    {
        *rcNameID: =IDS_YES_FLIP_OVER
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *CallbackID: 202
        }
    }
    *Option: HORIZONTAL
    {
        *rcNameID: =IDS_FLIP_UP
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.30
            *CallbackID: 203
        }
    }
}
*%-------------------------------------------------------------------------
*% Orientation
*%-------------------------------------------------------------------------
*Feature: Orientation
{
    *rcNameID: =IDS_ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =IDS_PORTRAIT_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.1
            *CallbackID: =CMDCB_HPROT_DOC_SETUP
        }
    }
    *Option: LANDSCAPE_CC90
    {
        *rcNameID: =IDS_LANDSCAPE_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.1
            *CallbackID: =CMDCB_HPROT_DOC_SETUP
        }
    }
}

*%------------------------------------------------------------------------
*% Feature: HPOrientRotate180 : TVCF (TV Managed Custom Feature)
*%------------------------------------------------------------------------
*Feature: HPOrientRotate180
{     
    *rcNameID: =IDS_ORIENT_ROTATE_180
    *HelpIndex: =IDH_UNIDRV_PRINT_ROTATED
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False

    *Option: False
    {
        *rcNameID: =IDS_OFF_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *CallbackID: 29
        }
    }
    *Option: True
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.30
            *CallbackID: 29
        }
    }
}




*%------------------------------------------------------------------------
*% Feature: PaperSize : TVSF (TV Managed Standard Feature)
*%------------------------------------------------------------------------
*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(9800, 12800)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 125
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9800, 12800)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 13000)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 125
                }
            }
        }
     } 


    *Option: LEGAL                                  *% physical page (10200, 16800 - 8.5" x 14.0"))
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME 
        
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9800, 16400)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 126

                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9800, 16400)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 16600)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 126
                }
            }
        }

     }


    *Option: EXECUTIVE                              *% physical page (8700, 12600 - 7.25" x 10.5"))
    {                                               
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8300, 12200)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 127
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(8300, 12200)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 12400)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                *CallbackID: 127
                }
            }
        }
    }
 
  

    *Option: 8_5X13                                  *% physical page (10200, 15600 - 8.5" x 13.0"))
    {
        *rcNameID: =IDS_8_5X13_NOT_LOC
        *PageDimensions: PAIR(10200,15600)
        *InsertBlock: =DuplexConstraints
       *switch: Orientation
       {
            *case: PORTRAIT
            {
               *PrintableArea: PAIR(9800,15200)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                   *CallbackID: 129
                }
            }
            *case: LANDSCAPE_CC90
            {
               *PrintableArea: PAIR(9800,15200)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 15400)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                   *CallbackID: 129
                }
            }
       }
    }

    *Option: 4X6          *% physical page (4800, 7200 - 4.0" x 6.0")
    {
        *rcNameID: =IDS_PSIZE_4_X_6
        *PageDimensions: PAIR(4800, 7200)
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4400,6800)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 145        
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4400,6800)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 7000)                
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 145        
                }
            }
        }
    }
    
    *Option: 5X8                                      *% physical page (6000, 9600 - 5" x 8")
    {                                                
        *rcNameID: =IDS_PSIZE_5_X_8
        *InsertBlock: =DuplexConstraints
        *PageDimensions: PAIR(6000,9600)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(5600, 9200)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)                
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 145
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(5600, 9200)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 9400)                
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 145
                }
            }
        }
    }
    
    *Option: A4                                      *% physical page (9920, 14030 - 8.2677" x 11.693")
    {                                                
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME         
    
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9520, 13630)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                     *Order: PAGE_SETUP.30
                     *CallbackID: 130
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(9520, 13630)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 13830)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 130
                }
            }
        }
    }
        
    *Option: A5                                      *% physical page (6992, 9920 - 5.8268" x 8.2677")
    {                                                
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6592, 9520)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                  *CallbackID: 131
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(6592, 9520)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 9720)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                   *CallbackID: 131
                }
            }
        }
    }
    *Option: A6                                      *% physical page (4960, 6992 - 4.13" x 5.83")
    {                                                
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4560, 6592)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 142
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4560, 6592)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 6792)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 142
                }
            }
        }
    }
           
    *Option: B5                                      *% B5 (JIS)
    {                                                *% physical page (8598, 12140 - 7.1653" x 10.118"))
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME        
        *PageDimensions: PAIR(8598, 12140)
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8198, 11740)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                   *CallbackID: 132
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(8198, 11740)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 11940)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 132
                }
            }
        }
    }
   
       *Option: 3X5                        *% physical page (3600, 6000 - 3" x 5")
    {
	    *rcNameID: =IDS_3_X_5
	    *InsertBlock: =DuplexConstraints
	    *PageDimensions: PAIR(3600, 6000)
	    *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(3200, 5600)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 145
                }
            }
            *case: LANDSCAPE_CC90
            {
               *PrintableArea: PAIR(3200,5600)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 5800)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 145
                    
                }
            }
	    }
    }
    
    *Option: 5X7          *% physical page (6000, 8400 - 5.0" x 7.0")
    {                                                
        *rcNameID: =IDS_PSIZE_5_X_7
        *InsertBlock: =DuplexConstraints
        *PageDimensions: PAIR(6000,8400)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(5600, 8000)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 145
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(5600, 8000)        
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 8200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 145
                }
            }
        }
    }

        
    *Option: JAPANESE_POSTCARD
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME         *% physical page (4724, 6992 - 3.937" x 5.827")
        *PageDimensions: PAIR(4724, 6992)
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4324, 6592)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 240
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4324, 6592)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 6792)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 240
                }
            }
        }
    }    

      
   *Option: DBL_JAPANESE_POSTCARD_ROTATED          *% physical page (6992, 9448 - 5.8268" x 7.874")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(6992, 9448)
         *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6592,9048)
                *PrintableOrigin: PAIR(200, 200)
                
                *CursorOrigin: PAIR(200, 200)  
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                   *CallbackID: 134


                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(6592,9048)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 9248)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 134

                }
            }
        }
    }           

    *% From Q306 onwards we donot use 8k as a papersize option unless explicitly menioned in the product spec.
    *% Instead we follow the Taiwan 8K/16K naming conventions. 

    *%********************************************************************************************************

    *% The data file developer needs totake care of the fact that the option names for both the 8K and 16K papers
    *% is exactly the same as mentioned here.

    *%********************************************************************************************************
    
   
            
    *Option:16K_184_260                          
    {
       *rcNameID: =IDS_MSIZE_16k_184_MM_Q306       
       *PageDimensions: PAIR(8693,12283)
        *InsertBlock: =DuplexConstraints
       *switch: Orientation
       {
           *case: PORTRAIT
           {
               *PrintableArea: PAIR(8293,11883)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 200)
               *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 233
                }
           }
           *case: LANDSCAPE_CC90
           {
               *PrintableArea: PAIR(8293,11883)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 12083)
               *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 233
                }
           }
       }
    }
    
    *Option:16K_195_270                                  
    {
       *rcNameID: =IDS_MSIZE_16k_MM_Q306       
       *PageDimensions: PAIR(9213,12756)
        *InsertBlock: =DuplexConstraints
       *switch: Orientation
       {
           *case: PORTRAIT
           {
               *PrintableArea: PAIR(8813,12356)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 200)
               *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 234
                }
           }
           *case: LANDSCAPE_CC90
           {
               *PrintableArea: PAIR(8813,12356)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 12556)
               *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 234
                }
           }
       }
    }
   
   *Option:16K_197_273                                      *% physical page (9300, 12900 - 7.75" x 10.75")
    {
       *rcNameID: =IDS_MSIZE_16K_197X273       
       *PageDimensions: PAIR(9300,12900)
       *InsertBlock: =DuplexConstraints
       *switch: Orientation
       {
           *case: PORTRAIT
           {
               *PrintableArea: PAIR(8900,12500)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 200)
               *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 135
                }
           }
           *case: LANDSCAPE_CC90
           {
               *PrintableArea: PAIR(8900, 12500)
               *PrintableOrigin: PAIR(200, 200)
               *CursorOrigin: PAIR(200, 12700)
               *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 135
                }
           }
       }
    }        
       
    *Option: ENV_10                                 *% physical page (4948, 11400 - 4.125" x 9.5"))
    {                                               
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME 
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4548, 11000)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                   *CallbackID: 136

                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4548, 11000)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 11200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 136
                }
            }
        }
    }
      
    *Option: ENV_MONARCH                            *% physical page (4648, 9000 - 3.875" x 7.50")
    {                                               
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4248, 8600)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 137

                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4248, 8600)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 8800)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                   *CallbackID: 137

                }
            }
        }
    }
    
    *Option: ENV_B5                                 *% physical page (8314, 11810 - 6.9291" x 9.8425"))
    {                                               
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(7914, 11410)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                   *CallbackID: 140
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(7914, 11410)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 11610)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 140
                }
            }
        }
    }

    *Option: ENV_C5                                 *% physical page (7652, 10818 - 6.3779" x 9.0157"))
    {                                               
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME        *% 1027
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(7252, 10418)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 138

                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(7252, 10418)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 10618)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                   *CallbackID: 138
                }
            }
        }

    }     
      
    *Option: ENV_DL                                 *% physical page (5196, 10392 - 4.3307" x 8.6614")
    {                                               
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *InsertBlock: =DuplexConstraints
        *Constraints: HPPrintOnBothSidesManually.True
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4796, 9992)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 139

                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(4796, 9992)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 10192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 139

                }
            }
        }
    }          

    *Option: CUSTOMSIZE
    {
        *rcNameID: =IDS_USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(3600, 6000)                      
        *MaxSize: PAIR(14028, 20400)
    
        *MaxPrintableWidth: 14028 
        *MinLeftMargin: 200
        *CenterPrintable?: FALSE
		*InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *CustCursorOriginX:     %d{200}
                *CustCursorOriginY:     %d{200}
                *CustPrintableOriginX:  %d{200}
                *CustPrintableOriginY:  %d{200}
                *CustPrintableSizeX:    %d{PhysPaperWidth - 400}
                *CustPrintableSizeY:    %d{PhysPaperLength - 400}
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 145
                   
                }
            }
            *case: LANDSCAPE_CC90
            {
                
                *CustCursorOriginX:     %d{200}
                *CustCursorOriginY:     %d{PhysPaperLength + 200}
                *CustPrintableOriginX:  %d{200}
                *CustPrintableOriginY:  %d{200}
                *CustPrintableSizeX:    %d{PhysPaperWidth - 400}
                *CustPrintableSizeY:    %d{PhysPaperLength - 400}

                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 145
                   
                }
            }
        }
    }
    
    *%===========================
    *% ASLP PAPERS
    *%===========================
    
         *Option:8K_273_394                                      *% physical page (12900, 18600 - 10.75" x 15.50")
    {
        *rcNameID: =IDS_MSIZE_8K_273X394        
        *PageDimensions: PAIR(12900,18600)
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(12500, 18200)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 235                          
                }
            }

            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(12500, 18200)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 18400)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 235
                }
            }
        }
   
    }
    
    *Option:8K_270_390
    {
        *rcNameID: =IDS_MSIZE_8K_270X390_MM
        *PageDimensions: PAIR(12756,18425)
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(12356, 18025)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 237
                          
                }
            }

            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(12356, 18025)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 18225)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 237
                }
            }
        }
   
    }  
    
        *Option:8K_260_368
    {
        *rcNameID: =IDS_MSIZE_8K_260X_368_MM
        *PageDimensions: PAIR(12283,17386)
        *InsertBlock: =DuplexConstraints
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(11883, 16986)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 233
                          
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(11883, 16986)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 17186)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 233
                }
            }
        }
   
    }
    
    *Option: 11X17                                   *% physical page (13200, 20400 - 11.00" x 17.00")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
    
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(12800, 20000)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)

                 *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 125
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(12800, 20000)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 20200)

                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.30
                    *CallbackID: 125
                }
            }
        }
    }
    
    *Option: A3                                     *% physical page (14030, 19842 - 11.693" x 16.535")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
   
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(13630, 19442)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)
                *Command: CmdSelect
                {
                     *Order: PAGE_SETUP.30
                     *CallbackID: 130
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(13630, 19442)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 19642)

                *Command: CmdSelect
                {
                     *Order: PAGE_SETUP.30
                     *CallbackID: 130
                }
            }
        }
    }
    
 *Option: B4                                      *% B4 (JIS) physical page (12140, 17196 - 10.118" x 14.33")
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
    
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(11740, 16796)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 200)

                *Command: CmdSelect
                {
                     *Order: PAGE_SETUP.30
                     *CallbackID: 130
                }
            }
            *case: LANDSCAPE_CC90
            {
                *PrintableArea: PAIR(11740, 16796)
                *PrintableOrigin: PAIR(200, 200)
                *CursorOrigin: PAIR(200, 16996)

                *Command: CmdSelect
                {
                     *Order: PAGE_SETUP.30
                     *CallbackID: 130
                }
            }
        }
    }               
       
}


*%------------------------------------------------------------------------
*%  Addition of Unsupported Papers ends here
*%------------------------------------------------------------------------




*%-------------------------------------------------------------------------
*%  Extended Marign Feature
*%-------------------------------------------------------------------------

*Feature: HPDisplayDocUITab
{
    *Name: "HPDisplayDocUITab"
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: True
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}
*%------------------------------------------------------------------------
*% Feature: InputBin: TVSF (TV Managed Standard Feature)
*%------------------------------------------------------------------------

*Feature: InputBin
{
    *rcNameID: =IDS_PAPER_SOURCE
    *HelpIndex: =IDH_UNIDRV_FIRST_PAGE_SOURCE_IS
    *ConflictPriority: 3
    *DefaultOption: PrinterSelect

    *Option: PrinterSelect
    {
        *rcNameID: =IDS_PRINTER_AUTO_SELECT
        *OptionID: 257
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.1
            *CallbackID: 90
        }
    }

    *Option: ManualFeed
    {
        *rcNameID: =IDS_MANUAL_FEED_IN_TRAY1
        *OptionID: 258
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.1
            *CallbackID: 91
        }
    }
    
    *Option: Tray1
    {
        *rcNameID: =IDS_TRAY1
        *OptionID: 259
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.1
            *CallbackID: 92
        }
    }

    *Option: Tray2
    {
        *rcNameID: =IDS_TRAY2
        *OptionID: 260
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.1
            *CallbackID: 93
        }
    }
    
    *Option: 250_Tray3
    {
        *rcNameID: =IDS_TRAY3
        *OptionID: 261
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.1
            *CallbackID: 94
        }
    }
   
}

*%-------------------------------------------------------------------------
*% MediaType 
*%-------------------------------------------------------------------------
*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: PAGE_SETUP.20
          *CallbackID: 150
        }
    }
   
   
    
    *Option: Light_60_74g
    {
        *rcNameID: =IDS_MTYPE_LJ_LIGHT_60_70

        *Command: CmdSelect
        {
          *Order: PAGE_SETUP.20
          *CallbackID: 174
        }
    }
    *Option: Midweight_96_110g
    {
        *rcNameID: =IDS_MTYPE_LJ_HP_MID_WEIGHT_96_110

        *Command: CmdSelect
        {
          *Order: PAGE_SETUP.20
          *CallbackID: 175
        }
    }
    *Option: HEAVY        *% Now it is 'Heavy 111-130g'
    {
        *rcNameID: =IDS_MTYPE_HEAVY_111_130
        *InsertBlock: =DuplexConstraints
        *%Constraints: HPPrintOnBothSidesManually.True
        *Command: CmdSelect
        {
          *Order: PAGE_SETUP.20
          *CallbackID: 176
        }
    }
    *Option: EXTRA_HEAVY_131_175G    *% Now it is 'Extra Heavy 131-175g'
    {
        *rcNameID: =IDS_MTYPE_EXTRAHEAVY_131_175
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
          *Order: PAGE_SETUP.20
          *CallbackID: 177
        }
    }


  
    *Option: LABELS
    {
        *rcNameID: =IDS_LABELS_TYPE
	*Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =DuplexConstraints        
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: 155
        }
    }
    *Option: LETTERHEAD
    {
        *rcNameID: =IDS_LETTERHEAD_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
           *CallbackID: 152
        }
    }
    *Option: Envelope
    {
        *rcNameID: =IDS_MTYPE_ENVELOPE
	*Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
          *Order: PAGE_SETUP.20
          *CallbackID: 187
        }
    }
  
    *Option: PREPRINTED
    {
        *rcNameID: =IDS_PREPRINTED_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
           *CallbackID: 151
        }
    }    
    *Option: PREPUNCHED
    {
        *rcNameID: =IDS_PREPUNCHED_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
           *CallbackID: 154
        }
    } 
    *Option: COLOR
    {
        *rcNameID: =IDS_MTYPE_COLORED
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
           *CallbackID: 158
        }
    }   
    *Option: BOND
    {
        *rcNameID: =IDS_BOND_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
           *CallbackID: 156
        }
    }
    *Option: RECYCLED
    {
        *rcNameID: =IDS_RECYCLED_TYPE
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
           *CallbackID: 157
        }
    }    
    *Option: ROUGH                          *%"Rough"
    {
        *rcNameID: =IDS_ROUGH_TYPE
        *InsertBlock: =DuplexConstraints
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: 160
        }
    }
 
    *Option: COLOR_TRANSPARENCY
    {
        *rcNameID: =IDS_MTYPE_MONO_LASER_TRANSPARENCY
	*Constraints: HPPrintOnBothSidesManually.True
        *InsertBlock: =DuplexConstraints  
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: 186
        }
    } 
    
     *Option: HP_ECOSMART_LITE          *% It is 'Extra Light : HP EcoSMART Lite'
    {
        *rcNameID: =IDS_HP_ECOSMART_LITE_CSL
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: 247
        }
    }
             
*%------------------------------------------------------------------------
    *%  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: PAGE_SETUP.20
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia2
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia3
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia4
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }

    *Option: UserDefinedMedia5
    {
        *Name: " "
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.20
            *CallbackID: =CMDCB_USERDEFINED_MEDIA
        }
    }
 }

    *%  End of Addition of User Defined Media Types.


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

*%------------------------------------------------------------------------
*% Feature: Collate : SF (Standard Feature)
*%------------------------------------------------------------------------
*Feature: Collate
{
    *rcNameID: =IDS_COLLATE
    *DefaultOption: OFF

    *Option: OFF
    {
        *rcNameID: =IDS_OFF_DISPLAY
    }

    *Option: ON
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.90
            *CallbackID: 214
        }
	*Constraints: DeviceIsMopier.NotInstalled
    }
}

*%------------------------------------------------------------------------
*% Feature: DeviceIsMopier : CF (Custom Feature)
*%------------------------------------------------------------------------
*Feature: DeviceIsMopier
{
    *rcNameID:=IDS_MOPIER_MODE
    *ConcealFromUI?: TRUE
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_MOPIER_ENABLED
    *DefaultOption: NotInstalled
    
    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
        *DisabledFeatures: LIST(Collate)
    }

    
}
*%------------------------------------------------------------------------
*% Feature: HPMediaTypeTreeviewPopup : CF (Custom Feature)
*% AADZ2076: WIP:(650)New Standard Media types for Seabiscuit
*%------------------------------------------------------------------------
*Feature: HPMediaTypeTreeviewPopup
{
    *Name: "TreeviewPopUP"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}

*%-------------------------------------------------------------------------
*% ColorMode Standard features
*%-------------------------------------------------------------------------

*ChangeColorModeOnDoc?: FALSE
*Feature: ColorMode
{
    *rcNameID: =IDS_COLOR_PRINTING_MODE
    *HelpIndex: =IDH_UNIDRV_COLOR_MODE
    *DefaultOption: 24bpp

    *Option: Mono
    {
        *rcNameID: =IDS_MONOCHROME
        *DevNumOfPlanes: 0
        *DevBPP: 0
        *DrvBPP: 24
        *Color?: FALSE
        *PaletteSize: 1
        *PaletteProgrammable? : TRUE
        *IPCallbackID: 1
        *Command: CmdStartPage
        {
            *Order: PAGE_SETUP.90
            *CallbackID: 111
        }
    }

     *Option: 24bpp
     {
          *rcNameID: =IDS_TRUE_COLOR
          *DrvBPP: 24
          *PaletteProgrammable? : TRUE
          *IPCallbackID: 1
          *Command: CmdStartPage
        {
            *Order: PAGE_SETUP.90
            *CallbackID: 112
        }
     }

}

*Feature: Economode
{
    *rcNameID: =IDS_ECONOMODE
    *HelpIndex: =IDH_UNIDRV_ECONOMODE_MAY_SAVE_PRINT_CARTRIDGES
    *DefaultOption: False

    *Option: False
    {
        *rcNameID: =IDS_OFF_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.120
            *CallbackID: 262
        }
    }

    *Option: True
    {
        *rcNameID: =IDS_ON_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.120
            *CallbackID: 263
        }
    }
}

*%------------------------------------------------------------------------
*% Feature: TextAsBlack : CF (Custom Feature)
*%------------------------------------------------------------------------

*Feature: TextAsBlack
{
    *rcNameID: =IDS_PRINTALLBLACK
    *HelpIndex: =IDH_UNIDRV_PRINT_TEXT_BLACK_EC5
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*%------------------------------------------------------------------------
*% Feature: TTAsBitmapsSetting : CF (Custom Feature)
*%------------------------------------------------------------------------
*Feature: TTAsBitmapsSetting
{
    *rcNameID: =IDS_TTASBITMAPS
    *FeatureType: DOC_PROPERTY
    *HelpIndex: =IDH_UNIDRV_TRUETYPE_AS_BITMAP

    *DefaultOption: TTModeOutline

    *Option: TTModeOutline
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

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

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

    *case: TTModeOutline
    {
        *FontFormat: HPPCL_OUTLINE
    }
}



*%------------------------------------------------------------------------
*% Feature: JPEGEnable : CF (Custom Feature)
*%------------------------------------------------------------------------
*Feature: JPEGEnable
{
    *rcNameID: =IDS_RASTER_COMPRESSION
    *FeatureType: DOC_PROPERTY
    *%ConcealFromUI?: TRUE
    *HelpIndex: =IDH_RASTER_COMPRESSION_EC6
    *DefaultOption: Auto

    *Option: Auto
    {
        *rcNameID: =IDS_AUTOMATIC
    }
    *Option: Best
    {
        *rcNameID: =IDS_BEST_QUALITY
    }
    *Option: Maximum
    {
        *rcNameID: =IDS_MAXIMUM_COMPRESSION
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.16
            *CallbackID: 109
        }
    }
}
*%-------------------------------------------------------------------------------------------------

*% This feature is added to enable Grafitcompression in HBR path
*%------------------------------------------------------------------------------------------------

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

*%--------------------------------------------------------------------------------
*% This Feature is to enable inversion of scanlines for Duplex.
*%--------------------------------------------------------------------------------

*%-------------------------------------------------------------------------------------------------
*% This feature is added to Request Object Tag Dumping for HBR path (Only for prototype version).
*%------------------------------------------------------------------------------------------------
*Feature: HPRequestObjectTagDump
{
    *Name: "HPRequestObjectTagDump"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: False
    *Option: True
    {
        *Name: "True"
    }
    *Option: False
    {
        *Name: "False"
    }
}

*%-------------------------------------------------------------------------------------------------
*% This feature is added to Request to force Null Strip Commands for HBR path (for backward compatibility).
*%------------------------------------------------------------------------------------------------
*Feature: HPRequestNullStripCommand
{
    *Name: "HPRequestNullStripCommand"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: False
    *Option: True
    {
        *Name: "True"
    }

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

*Feature: HPHybridRenderSwitch
{
    *rcNameID: =IDS_PRINT_DATA_OPTIMIZATION
    *DefaultOption: HPHybridAuto
    *FeatureType: DOC_PROPERTY

    *Option: HPHybridAuto
    {
        *rcNameID: =IDS_AUTO
    }
    *Option: HPHybridRaster
    {
        *rcNameID: =IDS_OPTIMIZE_RASTER
    }
    *Option: HPHybridPDL
    {
        *rcNameID: =IDS_OPTIMIZE_TEXT_N_VECTOR
    }
} 


*%-------------------------------------------------------------------------
*% End of DOC_PROP Standard features section
*%-------------------------------------------------------------------------

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

*%------------------------------------------------------------------------
*% Feature: AutoConfiguration : CF (Custom Feature)
*%------------------------------------------------------------------------
*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: SNPEnableDisable : SNP enabled or disabled
*%------------------------------------------------------------------------

*Feature: SNPEnableDisable
{     
    *rcNameID: =IDS_PRINTER_STATUS_CSL
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_PRINTER_STATUS_NOTIFICATION_CSL
    *DefaultOption: Enable
       
    *Option: Enable
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }

    *Option: Disable
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

}



*%------------------------------------------------------------------------
*% Feature: DuplexUnit : CF (Custom Feature)
*%------------------------------------------------------------------------
*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: ManualDuplex : CF (Custom Feature)
*%------------------------------------------------------------------------
*Feature: ManualDuplex
{
    *rcNameID: =IDS_MANUALDUPLEX
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_ALLOW_MANUAL_DUPLEXING_EC6
    *DefaultOption: True

    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

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

*%------------------------------------------------------------------------
*% Feature: Memory : CF (Custom Feature)
*%------------------------------------------------------------------------
*Feature: Memory
{
    *rcNameID: =IDS_PRINTER_MEMORY
    *HelpIndex: =IDH_UNIDRV_HP5SI_MEM
    *DefaultOption: 128MB

       

    *Option: 128MB
    {
        *rcNameID: =IDS_128_MB
        *MemoryConfigMB: PAIR(128, 72)
    }

	*Option: 256MB
    {
        *rcNameID: =IDS_256_MB
        *MemoryConfigKB: PAIR(262144, 104448)
    }
    
    
    
}

*%------------------------------------------------------------------------
*% Feature: Tray3 : CF (Custom Feature)
*%------------------------------------------------------------------------
*Feature: Tray3
{
    *rcNameID: =IDS_TRAY3
    *%Name: "Tray 3"
    *FeatureType: PRINTER_PROPERTY
    *HelpIndex: =IDH_UNIDRV_HP5SI_TRAY
    *DefaultOption: NotInstalled

    *Option: NotInstalled
    {
        *rcNameID: =IDS_NOTINSTALLED
        *Constraints: InputBin.250_Tray3
    }
    *Option: Installed
    {
        *rcNameID: =IDS_INSTALLED
    }
   
}

*%------------------------------------------------------------------------
*% Feature: PrinterHardDisk : CF (Custom Feature)
*%------------------------------------------------------------------------

*%------------------------------------------------------------------------
*% Feature: JobRetention : CF (Custom Feature)
*%------------------------------------------------------------------------


*%-------------------------------------------------------------------------
*%  HPJobSeparatorPage feature
*%  This feature is used for showing the Job Separator Page Button on the Finshing tab page
*%-------------------------------------------------------------------------
*Feature: HPJobSeparatorPage
{
    *rcNameID: =IDS_JOB_SEPARATOR
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: NotInstalled
    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
        *Command: CmdSelect
        {
    *Order: JOB_SETUP.41
    *CallbackID: =CMDCB_SEPARATOR_PAGE
        }
   }
   *Option: Installed
   {
        *rcNameID: =IDS_ENABLED_DISPLAY
        *Command: CmdSelect
        {
    *Order: JOB_SETUP.41
    *CallbackID: =CMDCB_SEPARATOR_PAGE
        }
   }
}





*%-------------------------------------------------------------------------
*% End of PRN_PROP Standard features section
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*% Feature: HPInstallableTrayFeatureName : HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  EAC custom feature
*%  This feature is used to get the Feature Name of the Installable Tray. 
*%  Since all Installable Input Trays are separate GPD features,
*%  a separate custom feature is required to get all the Instalable Input Tray names
*%  This printer has 2 installable trays - EnvFeeder and Tray3
*%-------------------------------------------------------------------------
*Feature: HPInstallableTrayFeatureName
{
    *Name: "HPInstallableTrayFeatureName"
    *FeatureType: PRINTER_PROPERTY

    *Option: Tray3
    {
         *Name: ""
    }
    
}

*%-------------------------------------------------------------------------
*% Feature: HPInstallableTraySize : HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  EAC custom feature
*%  This feature is used to get the capacity of each Installable Tray so that mapping with the PML values can be done
*%-------------------------------------------------------------------------
*Feature: HPInstallableTraySize
{
     *Name: "HPInstallableTraySize"
     *FeatureType: PRINTER_PROPERTY

     *Option: Tray3-250-LOWER_CASSETTE
     {
          *Name: ""
     }

             
}

*%-------------------------------------------------------------------------
*% DOC_PROP Custom features section
*%-------------------------------------------------------------------------

*%-------------------------------------------------------------------------
*% Feature: PrintQualityGroup : TVCF (TV Managed Custom Feature)
*%-------------------------------------------------------------------------
*%  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_2    
    
    
    *Option: PQGroup_1         *%600 dpi
    {
        *rcNameID: =IDS_PQ_RES_600_DPI
        *%Constraints: HPPrintInGrayScale.False
    }
    *Option: PQGroup_2         *%FastRes 1200 
    {
        *rcNameID: =IDS_FAST_RES
    }
    
    *Option: PQGroup_3         *%ProRes 1200 (180 lpi)
    {
        *rcNameID: =IDS_PRO_RES_180LPI
    }
     *Option: PQGroup_4                *% ProRes 1200 (132 lpi)
    {
        *rcNameID: =IDS_PRO_RES_132_LPI
    }
}

*%-------------------------------------------------------------------------
*% HPDocPropResourceData
*%-------------------------------------------------------------------------
*% 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: hpchl140.cab 

    *Option: hpchl140.cab   *%name of the cab file in hpchlyyq.cab format
    {
        *Name: "hpchl140.cab" 
    }
    *Option: hpc_en_140.chm   *%name of the English help file with the token separator "_"
    {
        *Name: "hpc_en_140.chm"
    }

    *Option: hpc_en_140.hlp   *%name of the English help file with the token separator "_"
    {
        *Name: "hpc_en_140.hlp"
    }
}
*%-------------------------------------------------------------------------
*% Feature: HPColorSmart : TVCF (TV Managed Custom Feature)
*%-------------------------------------------------------------------------
*%  specifies Automatic and Manual options
*%-------------------------------------------------------------------------

*%-------------------------------------------------------------------------
*% HPColorSmart Sub Features: TVCF (TV Managed Custom Feature)
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*%  Associated features under HPColorSmart(new)
*%  The help index, and strings are taken from specified pseudo-options and 
*%  displayed on the Color tab ColorSmart treeview dialog
*%  The actual options are also specified and commands are sent through them
*%  Verify the actual options, commands, help and strings from the spec
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*%  HPColorSmart_ColorOptions_EdgeControl
*%-------------------------------------------------------------------------




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

*Feature: HPColorMode
{
    *Name: "HPColorMode"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: MONOCHROME_MODE

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

*%  This feature is used for specifying the PDL of the driver. 
*%  Possible values are PDL_PCL3, PDL_PCL5, PDL_PCL6, PDL_PS
*%  Using this, additional specific processing and switching can also be done in the HP UI and render plug-in modules

*Feature: HPPDLType
{
    *Name: "HPPDLType"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: PDL_PCL6

    *Option: PDL_PCL6
    {
        *Name: "PCL 6"
    }
}

*% 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_GROUPNAME
    {
        *Name: "HPJOBACCT_JOBACNT_GROUPNAME"
        *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
        }
    }
}

*%-------------------------------------------------------------------------
*% Feature: HPJobByJobOverride: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*% 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
        }
    }
}

*%-------------------------------------------------------------------------
*% Feature: HPXMLFileUsed: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*% 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: hpcm4016.xml

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

*Feature: HPLpiSelection
{
    *Name: "HPLpiSelection"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: None

    *Option: None
    {
        *Name: "None"
    }

       
    *Option: 180lpi
    {
        *Name: "180lpi"
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.40
            *CallbackID: 226      
        }
    }
	*Option: 132lpi
    {
        *Name: "132lpi"
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.40
            *CallbackID: 225 
        }
    }
		*Option: 156lpi
    {
        *Name: "156lpi"
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.40
            *CallbackID: 226 
        }
    }
}

*%-----------------------------------------------------------------------------------------------------------------
*% Feature:HPEnableObjectTagging
*% If HPEnableObjectTagging is True , search for the selected HpLpiSelection.
*% For PQ values Pro res 1200 180Lpi and 156Lpi(FastRes 1200)the halftone frequency must be High.
*% For Default option(None) and Pro res 132lpi callback value 213 is called which gives halftome frequency as Low. 
*%-----------------------------------------------------------------------------------------------------------------
*Feature: HPEnableObjectTagging
{
    *Name: "HPEnableObjectTagging"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: True

    *Option: True
    {
        *switch: HPLpiSelection
		{	
           *case: 180lpi 
		   {
			*Name: "True"
		   }
		   *case: 156lpi
		   {
		     *Name: "True"
		   }
		   *case: None
		   {
			    *Name: "True"
				*Command: CmdSelect
			   {
				 *Order: PAGE_SETUP.53
				 *CallbackID: 213 
			   }	
		   }
		   *case: 132lpi
           {
				*Name: "True"
				*Command: CmdSelect
			   {
				 *Order: PAGE_SETUP.53
				 *CallbackID: 213 
			   }
		   }
        }
	}	

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

*Feature: HPReverseScanLinesForDuplex
{
    *Name: "HPReverseScanLinesForDuplex"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: FALSE
    *DefaultOption: FALSE
    *Option: FALSE
    {
        *Name: "FALSE"
    }
 
}

*%-------------------------------------------------------------
*% Feature
*%-------------------------------------------------------------
*Feature: HPEnablePageTimer
{
    *Name: "HPEnablePageTimer"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: False

    *Option: True
    {
        *Name: "True"
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.52
        }
    }

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




*%  This feature is used only in [HBR Laser Products] for enabling Null Strips Functionality in the driver
*%  Single option. Possible values are True.
*%  Add this feature if you want to support the Null Strips feature.

*Feature: HPEnableNullStrips
{
    *Name: "HPEnableNullStrips"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: True

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



*%  This feature is used only in [HBR Laser Products] for enabling Efficient Mono Functionality in the driver
*%  Single option. Possible values are True.
*%  Add this feature if you want to support the Efficient Mono feature.

*Feature: HPEnableEfficientMono
{
    *Name: "HPEnableEfficientMono"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: FALSE

    *Option: FALSE
    {
        *Name: "FALSE"
    }
}

*%  This feature is used only in [HBR Laser Products] for switch dynamically across either ImageProcessing or NextBand Paths.
*%  Single option. Possible values are True.
*Feature: HPEnableImageProcessingPath
{
    *Name: "HPEnableImageProcessingPath"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: FALSE

    *Option: FALSE
    {
        *Name: "FALSE"
    }
}


*Feature: HPMonochromePrinter
{
    *Name: "HPMonochromePrinter"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: TRUE

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

*Feature: HPCallToWritePrinterRequired
{
    *Name: "HPCallToWritePrinterRequired"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: TRUE

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


*Feature: HPMemoryManager
{
    *rcNameID: =IDS_MEMORY_MANAGER
    *HelpIndex: 15738
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: True
    *Option: False
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }
    *Option: True
    {
        *rcNameID: =IDS_ENABLED_DISPLAY
    }
}

*%  This feature is used only in [HBR Laser Products] for reading the Compression ratio for DeltaRow and JPEG in the driver
*%  Single option. this is for testing purposes feature for finding the better compression thru data driven

*Feature: HPGetCompressionRatioValue
{
    *Name: "HPGetCompressionRatioValue"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: 17

    *Option: 17
    {
        *Name: ""
    }
}

*Feature: MaxStripHeight
{
    *Name: "MaxStripHeight"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: 64
    *Option: 64
    {
        *Name:"64"
    }
    *Option: 128
    {
        *Name:"128"
    }
}

*Feature: HPGetByteAlignedValueForWidth
{
    *Name: "HPGetByteAlignedValueForWidth"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: 256
    *Option: 32
    {
        *Name:"32"
    }
    *Option: 256
    {
        *Name:"256"
    }

}

*%  This feature is used only in [HBR Laser Products] for reading the HalfTone value for DeltaRow in the driver
*%  This has to be same in both S/W and F/W.
*%  Single option. This is for testing purposes feature for performance.

*Feature: HPGetDeltaRowHalfToneValue
{
    *Name: "HPGetDeltaRowHalfToneValue"
    *FeatureType: DOC_PROPERTY
    *ConcealFromUI?: TRUE
    *DefaultOption: 1

    *Option: 1
    {
        *Name: ""
    }
}

*%  This feature is used for showing the Custom Paper Button on the PQ tab page
*%  Single option. Possible values are True and False.

*%-------------------------------------------------------------------------
*% Feature: HPManualDuplexDialogItems: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  Manual Duplex custom feature
*%  Specifies the bitmaps and strings for the manual duplex pop-up dialog that comes at print time
*%-------------------------------------------------------------------------

*%  Manual Duplex custom feature
*%  Specifies the bitmaps and strings for the manual duplex pop-up dialog that comes at print time

*Feature: HPManualDuplexDialogItems
{
    *Name: "HPManualDuplexDialogItems"
    *DefaultOption: InstructionID_01_FACEDOWN-NOROTATE
    
    *Option: InstructionID_01_FACEDOWN-NOROTATE
    {
        *Name:"BitmapID_518_StringID_3313"        
    }    
    
    *Option: InstructionID_02_FACEDOWN-NOROTATE
    {
        *Name:"BitmapID_505_StringID_3070"
    }

    *Option: InstructionID_03_FACEDOWN-NOROTATE
    {
        *Name:"BitmapID_231_StringID_3065"        
    }    
}
*%-------------------------------------------------------------------------
*% Feature: HPPaperSizeDuplexConstraints custom : HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  HPPaperSizeDuplexConstraints custom feature
*%  This feature contains the list of paper sizes that have constraints with Auto Duplex
*%  Used in the render module to switch the setting to Manual Duplex when the paper size is selected from the app
*%  All the paper size option names listed here must be identical (spelling, case etc) 
*%  to the paper sizes option names in the PaperSize feature
*%-------------------------------------------------------------------------
*Feature: HPPaperSizeDuplexConstraints
{
    *Name: "HPPaperSizeDuplexConstraints"    
    
    *Option: EXECUTIVE
    {
        *Name: "EXECUTIVE"
    }
    *Option: 8_5X13
    {
        *Name: "8_5X13"
    }
	*Option: A5
    {
        *Name: "A5"
    }
    *Option: A6
    {
        *Name: "A6"
    }
    *Option: B5
    {
        *Name: "B5"
    }
    *Option: 16K_195_270
    {
        *Name: "16K_195_270"
    }
    *Option: 16K_184_260
    {
        *Name: "16K_184_260"
    }
    *Option: 16K_197_273
    {
        *Name: "16K_197_273"
    }
    *Option: JAPANESE_POSTCARD
    {
        *Name: "JAPANESE_POSTCARD"
    }
    *Option: DBL_JAPANESE_POSTCARD_ROTATED
    {
        *Name: "DBL_JAPANESE_POSTCARD_ROTATED"
    }
    *Option: 8K_270_390
    {
        *Name: "8K_270_390"
    }
    *Option: 8K_260_368
    {
        *Name: "8K_260_368"
    }
    *Option: 8K_273_394
    {
        *Name: "8K_273_394"
    } 
	*Option: CUSTOMSIZE
    {
        *Name: "CUSTOMSIZE"
    }     
}
*%-------------------------------------------------------------------------
*% Feature: HPMediaTypeDuplexConstraints custom : HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  HPMediaTypeDuplexConstraints custom feature
*%  This feature contains the list of paper sizes that have constraints with MediaType
*%  Used in the render module to switch the setting to Manual Duplex when the paper size is selected from the app
*%  All the media type option names listed here must be identical (spelling, case etc) 
*%  to the media type option names in the MediaType feature
*%-------------------------------------------------------------------------

*%-------------------------------------------------------------------------
*% Feature: HPPCL6PassThrough: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*% This feature is used for specifying whether PCL5 pass through support is present in the printer.
*% This feature would only be present in PCL6 drivers since only they support PCL5 passthrough.
*% Only Protcol version 3 and higher printers support PCL5 passthrough
*%-------------------------------------------------------------------------
*Feature: HPPCL6PassThrough
{
    *Name: "HPPCL6PassThrough"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True

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

*%-------------------------------------------------------------------------
*% Feature: HPSmartDuplexSinglePageJob: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------

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

*%-------------------------------------------------------------------------
*% Feature: HPSmartDuplexOddPageJob: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*% This feature is used for enabling smart duplexing on odd page job and improving duplex performance for the same
*% Option is printer model dependent. False if model does not support this and True otherwise
*%-------------------------------------------------------------------------
*Feature: HPSmartDuplexOddPageJob
{
    *Name: "HPSmartDuplexOddPageJob"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: True

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

*%-------------------------------------------------------------------------
*% Feature: HPManualFeedOrientation: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------

*%  Manual Duplex custom feature
*%  Specifies the ManualFeed Tray Paper Orientation of the printer model
*%  Possible values are FACEDOWN, FACEUP

*Feature: HPManualFeedOrientation
{
    *Name: "HPManualFeedOrientation"
    *DefaultOption: FACEDOWN

    *Option: FACEDOWN
    {
        *Name:"FACEDOWN"
    }
}
*%--------------------------------------------------------------------------------------------
*% Feature: HPOutputBinOrientation: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  Manual Duplex custom feature
*% HPOutputBinOrientation - should have orientations of all supported output bins
*% If the printer has no selectable outputbins, this feature has only 1 option - FACEUP/FACEDOWN
*% If the printer has selectable outputbins, this feature should have 1 option each for each 
*% of the selectable output bins eg Option1-FACEDOWN, Option2-FACEUP
*%--------------------------------------------------------------------------------------------
*Feature: HPOutputBinOrientation
{
    *Name: "HPOutputBinOrientation"
    *DefaultOption: FACEDOWN

    *Option: FACEDOWN
    {
        *Name:"FACEDOWN"
    }
}

*%-------------------------------------------------------------------------
*% Feature: HPManualDuplexDialogModel: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  Manual Duplex custom feature
*%  Specifies whether the Manual Duplex pop-up dialog must be modal (used mainly for Inkjets) or modeless (used for LJ)
*%  Possible values are Modeless, Modal

*Feature: HPManualDuplexDialogModel
{
    *Name: "HPManualDuplexDialogModel"
    *DefaultOption: Modeless

    *Option: Modeless
    {
        *Name:"Modeless"
    }
}

*%  Manual Duplex custom feature
*%  ManualDuplex Page Order
*%  Possible values are EvenPagesFirst, OddPagesFirst

*Feature: HPManualDuplexPageOrder
{
    *Name: "HPManualDuplexPageOrder"
    *DefaultOption: EvenPagesFirst

    *Option: EvenPagesFirst
    {
        *Name:"EvenPagesFirst"
    }
}
*%-------------------------------------------------------------------------
*% Feature: HPMapManualFeedToTray1: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------

*%  Manual Duplex custom feature
*%  ManualDuplex Mapping of Manual Feed Tray to Tray 1
*%  Possible values are True, False
*%  Value should be True only if the Manual Duplex PJL is sent

*Feature: HPMapManualFeedToTray1
{
    *Name: "HPMapManualFeedToTray1"
    *DefaultOption: True

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

*%-------------------------------------------------------------------------
*% Feature: HPManualDuplexPageRotate: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  Manual Duplex custom feature
*%  Capability of rotation
*%  Possible values are UserRotate, DriverRotate
*%      UserRotate - If the user has to rotate the paper stack (driver rotation not supported for manual duplex)
*%      DriverRotate - If the driver/firmware will rotate the paper stack
*%-------------------------------------------------------------------------
*Feature: HPManualDuplexPageRotate
{
    *Name: "HPManualDuplexPageRotate"
    *DefaultOption: DriverRotate
    *Option: DriverRotate
    {
        *Name: "DriverRotate"
    }
}

*%-------------------------------------------------------------------------
*% Feature: HPPrintOnBothSidesManually: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*Feature: HPPrintOnBothSidesManually
{
    *rcNameID: =IDS_MANUALDUPLEX
    *HelpIndex: =IDH_UNIDRV_PRINT_ON_BOTH_SIDES_MANUAL_EC6
    *FeatureType: DOC_PROPERTY
    *DefaultOption: False
    *ConflictPriority: 5

    *Option: False
    {
       *rcNameID: =IDS_OFF_DISPLAY
       *Command: CmdSelect
       {
           *Order: JOB_SETUP.70
           *CallbackID: =CMDCB_MANUALDUPLEX           
       }
    }
    *Option: True
    {
       *rcNameID: =IDS_ON_DISPLAY
       *Command: CmdSelect
       {
           *Order: JOB_SETUP.70
           *CallbackID: =CMDCB_MANUALDUPLEX
       }
    }
}


*Feature: HPNUseDiffFirstPageChoice
{
    *Name: "HPNUseDiffFirstPageChoice"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: TRUE

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

*Feature: HPPageExceptionsFile
{
    *Name: "HPPageExceptionsFile"
    *FeatureType: DOC_PROPERTY
    *Option: HPCPE140
    {
        *Name: "HPCPE140"
    }
}

*Feature: HPPageExceptionsLowEnd
{
    *Name: "HPPageExceptionsLowEnd"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: HPPageExceptionsLowEndVer

    *Option: HPPageExceptionsLowEndVer
    {
        *Name: "HPPageExceptionsLowEndVer"
    }
}
*%-------------------------------------------------------------------------
*% Feature: HPPageExceptionsInterface: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  Page Exceptions Interface component custom feature
*%  HPPageExceptionsInterface
*%  This feature is used to get the name of the Page Exceptions dll's main 
*%    interface(exported function)
*%-------------------------------------------------------------------------
*Feature: HPPageExceptionsInterface
{
    *Name: "HPPageExceptionsInterface"
    *FeatureType: DOC_PROPERTY
    *Option: ShowPageExceptions
    {
        *Name: "ShowPageExceptions"
    }
}
*%-------------------------------------------------------------------------
*% Feature: HPPageExceptions: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*Feature: HPPageExceptions
{
    *rcNameID: =IDS_PAGE_EXCEPTIONS    
    *HelpIndex: =IDH_PAGE_EXCEPTION
    *HelpIndex: 15666
    *FeatureType: DOC_PROPERTY
    *DefaultOption: CoverInsertion

    *Option: CoverInsertion        *% Covers
    {
        *rcNameID: =IDS_COVER
    }         

    *Option: PrintedInsertion    *% Print pages on different paper
    {
        *rcNameID: =IDS_PRINT_PAGES_ON_DIFFERENT_PAPER
    }         
}
*%-------------------------------------------------------------------------
*% Feature: HPPrintInGrayScale: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  (a) False and True options - grayscale checkbox without any radio buttons is shown
*%  (b) False and other options - grayscale checkbox with corresponding radio buttons is shown
*%    The options HighQuality and Blackonly are used by BIJs. 
*%    It is used by Laserjets as well, with False and On Options.
*%-------------------------------------------------------------------------



*Feature: HPNUseDiffFirstPageChoice
{
    *Name: "HPNUseDiffFirstPageChoice"
    *FeatureType: DOC_PROPERTY
    *DefaultOption: TRUE

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


*%------------------------------------------------------------------------
*% Feature: PNG Compression : CF (Custom Feature)
*%------------------------------------------------------------------------
*Feature: HPPngPassthrough
{
    *Name: " PNG Pass-through Enabled"
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}
*%-------------------------------------------------------------------------
*%-Convert Ticket
*%-------------------------------------------------------------------------
*Feature: ESPRITSupported
{
    *Name: "ESPRITSupported"
    *DefaultOption: True
    *FeatureType: DOC_PROPERTY
    *Option: True
    {
        *Name: " "
    }
}
*%-------------------------------------------------------------------------------
*%-------------------OHT Interleave-----------------------------------------------
*%--------------------------------------------------------------------------
*% Custom Feature -- Services Tab
*%--------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*% 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: HPCLS140
    {
        *Name: "HPCLS140"
    }
}

*%-------------------------------------------------------------------------
*% Feature: HPSmartHub Control Features: HPCF (HP Custom Feature);
*% #AADZ2119: limiting Access to web based self helpsupport services
*%-------------------------------------------------------------------------

*Feature: HPSmartHub_Onlinediagnostictools
{
  *Name: "Online diagnostic tools"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_264_BID_276_HID_266
    }
 
  *Option: TRUE
    {
       *Name: "On"
    }
}

*Feature: HPSmartHub_Supportandtroubleshooting
{
  *Name: "Support and troubleshooting"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_251_BID_514_HID_267
    }

  *Option: TRUE
    {
       *Name: "On"
    }
}
*Feature: HPSmartHub_Productmanuals
{
  *Name: "Product manuals"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_252_BID_514_HID_268
    }
 
  *Option: TRUE
    {
       *Name: "On"
    }
}
*Feature: HPSmartHub_Checkfordriverupdates
{
  *Name: "Check for driver updates"
  *FeatureType: DOC_PROPERTY
  *DefaultOption: TRUE
  *Option: FALSE
    {
       *Name: "Off"
       *Constraints: HPSmartHub.Inet_SID_253_BID_514_HID_269
    }
 
  *Option: TRUE
    {
       *Name: "On"
    }
}


*%---------------------------------------------------------------
*%    *% Feature: PSServices Control Features: HPCF (HP Custom Feature);
*%  #AADZ2119: limiting Access to web based self helpsupport services
*%    PSServicesOption_Devicesettings
*%  And PSServices_Printcolorusagejoblog 
*%---------------------------------------------------------------

*%-------------------------------------------------------------------------
*%  Printer Services component custom feature: HPCF (HP Custom Feature)
*%  PSServicesOption
*%-------------------------------------------------------------------------
*%  This feature is used to for configuring the Services tab. Each option here represents a control on the Services tab
*%  There might be associated features for a sepcific option as well
*%  Currently supported options
*%      - Clean 
*%          - For cleaning of Print cartridges. 
*%          - *Name is of the form StringID_# where # is the string RC ID
*%          - Has an associated feature HPCleaningFilesData
*%      - Align (For manual alignment of pens i.e. Calibration of device. *Name can be ADF or PSC)
*%          - For manual alignment of pens i.e. Calibration of device
*%          - *Name can be ADF or PSC
*%      - SemiAlign
*%          - For Semi Automatic alignment of pens.
*%          - *Name is  NULL
*%      - AutomaticAlign
*%          - For Automatic alignment of pens.
*%          - *Name is  NULL
*%      - HLPWithLights
*%          - For support for Printer Lights (Control Panel Simulator)
*%          - *Name is  NULL
*%      - EmbeddedServer
*%          - For support of EWS launch
*%          - *Name is  NULL
*%      - ConfigurationPage
*%          - For support of printing configuration page
*%          - *Name is  NULL
*%      - CalibrateColor
*%          - For support of color calibration
*%          - *Name is  NULL
*%      - SupportWebsite
*%          - For support of launching an external URL
*%          - *Name is a quoted string with the full URL
*%      - SupportWebsite
*%          - For support of launching an external URL
*%          - *Name is a quoted string with the full URL
*%      - PrnStat_SID_236_BID_497_HID_15515
*%          - For signifying the Printer Status feature
*%          - Option name is of the format PrnStat_SID_#_BID_#_HID_# where the # is the String, Bitmap and Help RC IDs
*%          - The full URL is of the form http://<printerIP>/<page>. *Name is a quoted string that contains the <page> part of the URL
*%      - CkMedia_SID_237_BID_498_HID_15516
*%          - For signifying the Check Media Available feature
*%          - Option name is of the format PrnStat_SID_#_BID_#_HID_# where the # is the String, Bitmap and Help RC IDs
*%          - The full URL is of the form http://<printerIP>/<page>. *Name is a quoted string that contains the <page> part of the URL
*%      - ManageQ_SID_238_BID_499_HID_15517
*%          - For signifying the Manage Printer Queue Available feature
*%          - Option name is of the format PrnStat_SID_#_BID_#_HID_# where the # is the String, Bitmap and Help RC IDs
*%          - *Name is NULL
*%      - UserHlp_SID_239_BID_500_HID_15518
*%          - For signifying the User Documentation feature
*%          - Option name is of the format PrnStat_SID_#_BID_#_HID_# where the # is the String, Bitmap and Help RC IDs
*%          - The full URL is of the form http://<printerIP>/<page>. *Name is a quoted string that contains the <page> part of the URL
*%      - Trouble_SID_240_BID_501_HID_15519
*%          - For signifying the Troublesooting Device Maintenance feature
*%          - Option name is of the format PrnStat_SID_#_BID_#_HID_# where the # is the String, Bitmap and Help RC IDs
*%          - The full URL is of the form http://<printerIP>/<page>. *Name is a quoted string that contains the <page> part of the URL
*%-------------------------------------------------------------------------


*%-------------------------------------------------------------------------
*% 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_276_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"
  {

     *Name: ""
  }

  *Option: Inet_SID_252_BID_514_HID_268                 *%"Product Documentation" changed to "Product Manuals"
  {
     *Name: ""
  }

  *Option: Inet_SID_253_BID_514_HID_269                 *%"Check for Driver Updates"        
  {

     *Name: ""

  }
    *Option: HPSmartHubEnd        *%Dummy option 
  {

     *Name: ""

  }

}
*%-------------------------------------------------------------------------
*% Feature: HPConsumerCustomPaper: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*%  This feature is used for showing the Custom Paper Button on the PQ tab page
*%  Single option. Possible values are True and False.
*%-------------------------------------------------------------------------
*Feature: HPConsumerCustomPaper
{
    *Name: "HPConsumerCustomPaper"
    *Option: True
    {
        *Name: "True"
    }
}

*%-------------------------------------------------------------------------
*% End of DOC_PROP Custom features section
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*% PRN_PROP Custom features section
*%-------------------------------------------------------------------------

*%-------------------------------------------------------------------------
*% 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: hpchl140.cab

    *Option: hpchl140.cab   *%name of the cab file in hpchlyyq.cab format
    {
        *Name: "hpchl140.cab" 
    }
    *Option: hpc_en_140.chm   *%name of the English help file with the token separator "_"
    {
        *Name: "hpc_en_140.chm"
    }
    *Option: hpc_en_140.hlp   *%name of the English help file with the token separator "_"
    {
        *Name: "hpc_en_140.hlp"
    }
}

*%-------------------------------------------------------------------------
*% Feature: ScaleFromLargePaper: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*% 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
    *HelpIndex: =IDH_UNIDRV_LARGER_PAPER
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: Installed

    *Option: NotInstalled
    {
        *rcNameID: =IDS_DISABLED_DISPLAY
    }

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

*%-------------------------------------------------------------------------
*% Feature: ActualCustomRange: HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*% 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 where 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: 215900_355600

    *Option: 215900_355600
    {
        *Name: "215900_355600"
    }
}

*%-------------------------------------------------------------------------
*% Feature: CombineMediaTypesAndInputBins: HPCF (HP Custom 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: HPFontInstaller : HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*% 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: ""
    }
}

*%-----------------------------------------------------------
*% Image Enhancement Feature
*%-----------------------------------------------------------
*%-------------------------------------------------------------------------
*% Feature: HPDigitalImaging : HPCF (HP Custom Feature)
*%-------------------------------------------------------------------------
*IgnoreBlock
{
*Feature: HPDigitalImaging
{
    *Name: "HPDigitalImaging"
    *DefaultOption: HPBusinessPrinting
    *HelpIndex: 15550 
    *Option: HPHomePrinting
    {
       *Name: "HPHomePrinting"
    }

    *Option: HPBusinessPrinting
    {
       *Name: "HPBusinessPrinting"
    }
}
}


*IgnoreBlock
{
*Feature: HPJPEGReduction
{
 *Name: "HPJPEGReduction"
 *FeatureType: DOC_PROPERTY
    *DefaultOption: TRUE
    *Option: TRUE
    {
        *Name: "TRUE"
    }
 *Option: FALSE
    {
        *Name: "FALSE"
    }
}
}

*IgnoreBlock
{
*Feature: HPBestGloss
{
 *Name: "HPBestGloss"
 *FeatureType: DOC_PROPERTY
    *DefaultOption: Default
    
 *Option: DEFAULT
    {
        *Name: "Default"
  *Command: CmdSelect
        {
            *Order: JOB_SETUP.150
            *Cmd: "@PJL SET KEEPGLOSSMODE=0<0A>"
        }
    }
 *Option: BEST
    {
        *Name: "Best"
  *Command: CmdSelect
        {
            *Order: JOB_SETUP.150
            *Cmd: "@PJL SET KEEPGLOSSMODE=1<0A>"
        }
    }
 *Option: STANDARD
    {
        *Name: "Standard"
  *Command: CmdSelect
        {
            *Order: JOB_SETUP.150
            *Cmd: "@PJL SET KEEPGLOSSMODE=2<0A>"
        }
    } 
}


*Feature: HPSmartFocus
{
    *Name: "233_235"
    *HelpIndex: 15440
    *DefaultOption: Off
    *Option: Off
    {
        *Name: "Off"
    }
    *Option: On
    {
        *Name: "On"
    }
}
*Feature: HPContrast
{
    *Name: "265_260_262_258"
    *HelpIndex: 15438
    *DefaultOption: On
    *Option: Off
    {
        *Name: "Auto"
    }
    *Option: On
    {
        *Name: "Off"
    }
    *Option: Low
    {
        *Name: "Low"
    }
    *Option: Medium
    {
        *Name: "Medium"
    }
    *Option: High
    {
        *Name: "High"
    }
}

*Feature: HPSmoothing
{
    *Name: "215_218_220_222"
    *HelpIndex: 15442
    *DefaultOption: On
    *Option: Off
    {
        *Name: "Auto"
    }
    *Option: On
    {
        *Name: "Off"
    }
    *Option: Low
    {
        *Name: "Low"
    }
    *Option: Medium
    {
        *Name: "Medium"
    }
    *Option: High
    {
        *Name: "High"
    }
}
}

*%------------------------------------------------------------------------
*% Matter Horn DLL
*%------------------------------------------------------------------------
*Feature: =HPMH_DLLNAME
{
    *Name: "Img"
    *Option: =HPMH_DLLNAME_DEFAULT
    {
        *Name: ""
    }
}

*%-------------------------------------------------------------------------
*% Pre-Analysis
*%-------------------------------------------------------------------------
*% This indicates that the print processor pre-analysis code path should
*% be enabled in the plug-in
*%-------------------------------------------------------------------------
*Feature: HPPreAnalysis
{
    *Name: "HP Print Processor Pre-Analysis Enabled"
    *DefaultOption: True
    *Option: True
    {
        *Name: "True"
    }
}

*%-------------------------------------------------------------------------
*% Constraints section
*%-------------------------------------------------------------------------
*% Constraints for paper size and input trays
*%--------------------------------------------------------------------------
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.3X5)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.4X6)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.5X7)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.5X8)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.16K_184_260)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.16K_195_270)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.16K_197_273)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.JAPANESE_POSTCARD)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_10)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_MONARCH)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_B5)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_C5)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_DL)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.CUSTOMSIZE)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.8K_273_394)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.8K_270_390)
*InvalidCombination: LIST(InputBin.Tray2, PaperSize.8K_260_368)


*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.3X5)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.4X6)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.5X7)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.5X8)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.16K_184_260)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.16K_195_270)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.16K_197_273)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.JAPANESE_POSTCARD)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.ENV_10)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.ENV_MONARCH)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.ENV_B5)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.ENV_C5)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.ENV_DL)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.CUSTOMSIZE)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.8K_273_394)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.8K_270_390)
*InvalidCombination: LIST(InputBin.250_Tray3, PaperSize.8K_260_368)


*%--------------------------------------------------------------------------
*% Constraints for Media Type and input trays
*%--------------------------------------------------------------------------

*%-------------------------------------------------------------------------
*InvalidCombination: LIST(MediaType.EXTRA_HEAVY_131_175G,InputBin.Tray2)
*InvalidCombination: LIST(MediaType.LABELS,InputBin.Tray2)
*InvalidCombination: LIST(MediaType.Envelope,InputBin.Tray2)

*InvalidCombination: LIST(MediaType.EXTRA_HEAVY_131_175G,InputBin.Tray3)
*InvalidCombination: LIST(MediaType.LABELS,InputBin.250_Tray3)
*InvalidCombination: LIST(MediaType.Envelope,InputBin.250_Tray3)
*%-----------------------------------------------------------------------------------------------
*% 3way constraints b/w PrinterHardDisk, DeviceIsMopier & Memory
*%-----------------------------------------------------------------------------------------------
*%InvalidCombination: LIST (DeviceIsMopier.Installed, Memory.96MB)


*%-----------------------------------------------------------------------------------------------
*% 3way constraints b/w PrinterHardDisk, JobRetention & Memory
*%-----------------------------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*% Added for the feature ColorRet to send cmd for edge control
*%-------------------------------------------------------------------------
*% for this feature both PDL and PJL commands need to be sent
*% (To fix LSG00089852) CmdCopies is kept as CmdSelect is not allowed within a switch.
*%-------------------------------------------------------------------------



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

*%-------------------------------------------------------------------------
*RotateCoordinate?: TRUE
*%RotateRaster?: TRUE
*RotateFont?: TRUE
*CharPosition: BASELINE     *% character positioning keyword must be present even if device font are not present
*EjectPageWithFF?: FALSE

*TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
*MemoryUsage: LIST(FONT, RASTER, VECTOR)
*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
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*% Commands section
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*%  Job and page commands
*%-------------------------------------------------------------------------


*Command: CmdStartJob
{
    *Order: JOB_SETUP.1
    *CallbackID: 200
}

*Command: CmdStartPage
{
    *Order: PAGE_SETUP.50
    *CallbackID: 111
}

*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *CallbackID: 201
}

*Command: CmdEndPage
{
    *Order: PAGE_FINISH.1
    *CallbackID: 110
}

*%Uncommenting this section & adding CmdEnableDRC as this was the root cause of the defect LSG00141506
*Command: CmdEnableDRC: ""
*%-------------------------------------------------------------------------
*% Cursor commands
*%-------------------------------------------------------------------------
*Command: CmdCR { *Cmd: "" }
*Command: CmdLF { *Cmd: "" }
*Command: CmdFF { *Cmd: "" }
*Command: CmdBackSpace { *CallbackID: 211}
*Command: CmdUniDirectionOn {*CallbackID: 212}
*Command: CmdUniDirectionOff {*CallbackID: 212}


*Command: CmdXMoveAbsolute
{
    *Cmd: ""
}
*Command: CmdXMoveRelRight
{
    *Cmd: ""
    *Params: LIST(DestXRel, TextXRes)
}
*Command: CmdXMoveRelLeft
{
    *Cmd: ""
    *Params: LIST(DestXRel, TextXRes)
}
*Command: CmdYMoveAbsolute
{
    *Cmd: ""
    *Params: LIST(DestY, TextYRes)
}
*Command: CmdYMoveRelDown
{
    *Cmd: ""
    *Params: LIST(DestYRel, TextYRes)
}
*Command: CmdYMoveRelUp
{
    *Cmd: ""
    *Params: LIST(DestYRel, TextYRes)
}

*%-------------------------------------------------------------------------
*% Font commands
*%-------------------------------------------------------------------------
*Command: CmdSetFontID { *Cmd : "" }
*Command: CmdSelectFontID
{
    *Cmd: ""
    *Params: LIST(FontHeight, CurrentFontID, TextYRes)
}

*Command: CmdSetCharCode
{
    *Cmd : ""
}

*Command: CmdBoldOn
{
    *Cmd : ""
}
*Command: CmdBoldOff
{
    *Cmd : ""
}
*Command: CmdSetAnyRotation
{
    *Cmd: ""
    *Params: LIST(PrintDirInCCDegrees)
}
*Command: CmdSetSimpleRotation
{
    *Cmd: ""
    *Params: LIST(PrintDirInCCDegrees)
}
*%-------------------------------------------------------------------------
*% End of Commands section
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
*%-------------------------------------------------------------------------
