
*%-------------------------------------------------------------------------
*% VersionSection
*GPDFileName: "hpoj_200.gpd"
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.0"

*%-------------------------------------------------------------------------
*% IncludeSection
*Include: "msxpsinc.gpd"
*Include: "StdNames.gpd"
*Include: "hpygidMN20.gpd"

*%-------------------------------------------------------------------------
*% ModelNameSection
*ModelName: "HP XPS Raster Common PCL3 Driver"
*MasterUnits: PAIR(1200, 1200)
*ResourceDLL: "hpygidres20.dll"
*PrinterType: PAGE
*MaxCopies: 9999
*HardwareCopies: OFF
*IsXPSDriver?: TRUE
*OutputOrderReversed?: TRUE
*PrintSchemaPrivateNamespaceURI: "http://schemas.monotypeimaging.com/ptpc/2006/1"

*%-------------------------------------------------------------------------
*%                            MTI filter feature Enabling
*%-------------------------------------------------------------------------
*Ifdef: MonotypeImagingReserved
*XpsFilterConfiguration:
{
    *General:
    {
        *Features:
        {
            *PageOrderEnable: TRUE
            *DocCollateEnable: TRUE
            *JobCollateEnable: TRUE
            *JobCopyCountEnable: TRUE
            *DocCopyCountEnable: TRUE
            *PageCopyCountEnable: TRUE
            *NUpEnable: TRUE
            *WatermarksEnable: TRUE
            *MtiCoversEnable: TRUE
            *BookletEnable: TRUE
            *OverlaysEnable: TRUE
            *InterleavesEnable: TRUE
            *PosterEnable: TRUE
            *ScalingEnable: TRUE
            *ExceptionsEnable: TRUE
            *PageRangesEnable: TRUE
            *BindingShiftEnable: TRUE
            *MirrorImageEnable: TRUE
        }
        *Options:
        {
            *DefaultPaperOffsetsLeft: 300
            *DefaultPaperOffsetsTop: 300
            *DefaultPaperOffsetsRight: 300
            *DefaultPaperOffsetsBottom: 300
            *DocumentRelationSearchDistance: 7
            *CollectInsetsEnable: FALSE
            *ObeyDiscardsEnable: TRUE
            *CheckZipIntegrityEnable: TRUE
            *NUpMismatchRotateEnable: TRUE
            *NUpMismatchRotateAngle: 270
            *NUpEjectOnNewSizeEnable: FALSE
            *NUpScaleMediaEnable: FALSE
            *WmZoomEnable: TRUE
            *WmZoomClipEnable: TRUE
            *ErrorPagesEnable: FALSE
        }
		*Memory: 
		{
			*Scheme: 
			{
				*Physical: 0
				*ManagedArena: 524288
				*ResourcePool: 80
				*LanguagePool: 80
				*GenericPool: 80
				*Band: 1024
				*TexturePool: 4096
				*TextureNodes: 0
				*ColorNodes: 4096
				*Input: 4096
				*Output: 4096
			}
			*Scheme: 
			{
			   *Physical: 1572864
			   *ManagedArena: 1048576
			   *ResourcePool: 80
			   *LanguagePool: 80
			   *GenericPool: 80
			   *Band: 1024
			   *TexturePool: 4096
			   *TextureNodes: 0
			   *ColorNodes: 4096
			   *Input: 4096
			   *Output: 4096
			}
			*Scheme: 
			{
			   *Physical: 2621440
			   *ManagedArena: 2097152
			   *ResourcePool: 80
			   *LanguagePool: 80
			   *GenericPool: 80
			   *Band: 1024
			   *TexturePool: 8192
			   *TextureNodes: 0
			   *ColorNodes: 4096
			   *Input: 4096
			   *Output: 4096
			}
		}
        *Rendering:
        {
            *GlyphRip: "ufst"
        }
    }
}
*Endif: 
*Ifdef: MonotypeImagingReserved
*OversprayDefaults:
{
    *Left: 0
    *Top: 0
    *Right: 0
    *Bottom: 0
}
*Endif: 

*%*************************************************************************************
*%                            STATIC FEATURES
*%*************************************************************************************

*%-------------------------------------------------------------------------
*%                                      HP Generic Ink Driver
*%-------------------------------------------------------------------------
*Feature: HPInkDriverType
{
	*Name: "HPInkDriverType"
	*Option: HPStandardInkDriver
	{
		*Name: ""
	}
}
*%******************************************************************************************
*%     feature added so that Manual Duplex with multiple copies and collate 
*%												
*%******************************************************************************************
*Feature: ManualDuplex
{
  *Name: "ManualDuplex"
  *MergeCopies?: TRUE
  *Option: Manual
  {
    *Name: ""
  }
}

*%-------------------------------------------------------------------------
*%                                      Printer Protocol
*%-------------------------------------------------------------------------
*Feature: DeviceLanguage
{
    *Name: "DeviceLanguage"
	*PrintSchemaKeywordMap: "JobDeviceLanguage"
    *Option: PCL
    {
        *Name: ""
        *PrintSchemaKeywordMap: "PCL"
    }
}

*%---------------------------------------------------------------------------------------------------------------
*%                                      This feature has to be Uncommented if Manual Duplex is not required
*%-----------------------------------------------------------------------------------------------------------------
*%*Feature: HPManualDuplexSupport
*%{
*%   *Name: "HPManualDuplexSupport"
*%   *DefaultOption: OFF  

*%   *Option: OFF
*%    {
*%       *rcNameID: =IDS_OFF
*%    }
*%}

*%-----------------------------------------------------------------------------------------------------------------
*%                            HP DataCollection XML
*%-----------------------------------------------------------------------------------------------------------------
*Feature: HPDataCollectionXML
{
    *Name: "HPDataCollectionXML"
    *Option: hpygidDataMap.xml
    {
        *Name: ""
    }
}

*%-------------------------------------------------------------------------
*%                            HP Imaging DLL
*%-------------------------------------------------------------------------
*Feature: HPImagingDll
{
    *Name: "HPImagingDll"
    *Option: hpfime52
    {
        *Name: ""
    }
}

*%******************************************************************************
*%                            Application Tracking
*%******************************************************************************
*Feature: HPApplicationTracking
{
    *Name: "ApplicationName"
    *Option: AppTracking
    {
        *Name: ""
    }
}

*%-------------------------------------------------------------------------
*%                           Page order
*%-------------------------------------------------------------------------
*Feature: ReverseOrderPrinting
{
    *Name: "Page order"
    *OutputOrderReversed?: TRUE
    *PrintSchemaKeywordMap: "JobPageOrder"
    *DefaultOption: FrontToBack
    *Option: FrontToBack
    {
        *Name: "Front to Back"
        *PrintSchemaKeywordMap: "Reverse"
    }
    *Option: BackToFront
    {
        *Name: "Back to Front"
        *PrintSchemaKeywordMap: "Standard"
    }
}

*%-------------------------------------------------------------------------
*%                            Pages per sheet
*%-------------------------------------------------------------------------
*Feature: DocumentNUp
{
    *rcNameID: =IDS_NUP
    *PrintSchemaKeywordMap: "DocumentNUp"
    *DefaultOption: 1
    *Option: 1
    {
        *rcNameID: =IDS_1UP
    }
    *Option: 2
    {
        *rcNameID: =IDS_2UP
    }
    *Option: 4
    {
        *rcNameID: =IDS_4UP
    }
    *Option: 6
    {
        *rcNameID: =IDS_6UP
    }
    *Option: 9
    {
        *rcNameID: =IDS_9UP
    }
    *Option: 16
    {
        *rcNameID: =IDS_16UP
    }
}

*%-------------------------------------------------------------------------
*%                            Pages per sheet Layout
*%-------------------------------------------------------------------------
*Feature: PresentationDirection
{
    *rcNameID: =IDS_PAGESPERSHEET_LAYOUT
	*DefaultOption: RightBottom
	*Option: RightBottom
       {
        *rcNameID: =IDS_RIGHT_DOWN
       }
	*Option: BottomRight
       {
        *rcNameID: =IDS_DOWN_RIGHT 
       }
	*Option: LeftBottom
       {
        *rcNameID: =IDS_LEFT_DOWN
       }
	*Option: BottomLeft
       {
        *rcNameID: =IDS_DOWN_LEFT   
       }
}

*%-------------------------------------------------------------------------
*%                              Max DPI
*%-------------------------------------------------------------------------
*Feature: HPMaxDpi
{
    *rcNameID: =IDS_MAX_DPI
    *DefaultOption: 0_disabled
    *Option: 0_disabled
    {
        *rcNameID: =IDS_NO
    }
    *Option: 2_1200x1200
    {
        *rcNameID: =IDS_YES
    }
}

*%-------------------------------------------------------------------------
*%                             HP Real Life technologies
*%-------------------------------------------------------------------------
*Feature: HPRlt
{
    *rcNameID: =IDS_HPRLT
    *DefaultOption: 1
    *Option: 0
    {
        *rcNameID: =IDS_HPRLT_OFF
    }
    *Option: 1
    {
        *rcNameID: =IDS_HPRLT_ON
    }
}

*%-------------------------------------------------------------------------
*%                            Booklet
*%-------------------------------------------------------------------------
*Feature: DocumentBinding
{
    *rcNameID: =IDS_HPBOOKLET
    *PrintSchemaKeywordMap: "DocumentBinding"
    *DefaultOption: None

    *Option: None
    {
        *rcNameID: =IDS_HPBOOKLET_NONE
	    *PrintSchemaKeywordMap: "None"
    }

    *Option: Booklet
    {
        *rcNameID: =IDS_HPBOOKLET_LEFTBIND
	    *PrintSchemaKeywordMap: "Booklet"
		*Constraints: DocumentPageRanges.OddPages
		*Constraints: DocumentPageRanges.EvenPages
    }

    *Option: JapaneseBooklet
    {
	    *rcNameID: =IDS_HPBOOKLET_RIGHTBIND
		*Constraints: DocumentPageRanges.OddPages
		*Constraints: DocumentPageRanges.EvenPages
    }
}

*%-------------------------------------------------------------------------
*%                Gutter Value for booklet (calculated as shown below:-
*%         Gutter value = (Top margin for Gemstone platform in inches * 2) in microns
*%                 = .116667*2 *25400 = 5926.66667 microns
*%-------------------------------------------------------------------------
*Feature: HPBookletGutter
{
    *Name: "HPBookletGutter"
    *Option: 5927
     {
     *Name: "" 
     }
}

*%-------------------------------------------------------------------------
*%                             PageOrientation
*%-------------------------------------------------------------------------
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =LANDSCAPE_DISPLAY
    }
}

*%-------------------------------------------------------------------------
*%                            Speed Mech
*%-------------------------------------------------------------------------
*Feature: HPSpeedMech
{
    *Name: "HPSpeedMech"
    *DefaultOption: 2
    *Option: 2
    {
        *Name: "2"
    }
}

*%-------------------------------------------------------------------------
*%                            Pages to print
*%-------------------------------------------------------------------------
*Feature: DocumentPageRanges
{
    *rcNameID: =IDS_PAGES_TO_PRINT
    *DefaultOption: AllPages
    *Option: AllPages
    {
        *rcNameID: =IDS_PRINT_ALL_PAGES
    }
    *Option: OddPages
    {
        *rcNameID: =IDS_PRINT_ODD_PAGES_ONLY
    }
    *Option: EvenPages
    {
        *rcNameID: =IDS_PRINT_EVEN_PAGES_ONLY
    }
}

*%-------------------------------------------------------------------------
*%                              Resolution
*%-------------------------------------------------------------------------
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: 600x600    
    *Option: 600x600
    {
        *Name: "600 x 600 " =DOTS_PER_INCH
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *SpotDiameter: 100
        *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
        *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
        *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
    }
    *Option: 300x300
    {
        *Name: "300 x 300 " =DOTS_PER_INCH
        *DPI: PAIR(300, 300)
        *TextDPI: PAIR(300, 300)
        *SpotDiameter: 100
        *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
        *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
        *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
    }
}

*%-------------------------------------------------------------------------
*%                              Borderless Printing
*%-------------------------------------------------------------------------
*Feature: BorderlessPrint
{
    *rcNameID: =IDS_BORDERLESSPRINTING
    *DefaultOption: NO
    *PrintSchemaKeywordMap: "PageBorderless"
    *Option: NO
    {
        *rcNameID: =IDS_OFF
        *PrintSchemaKeywordMap: "None"
    }
    *Option: BorderlessOverspray
    {
        *rcNameID: =IDS_ON
		*PrintSchemaKeywordMap: "Borderless"
        *Constraints: DrawBorders.On
        *Constraints: LIST(DocumentNUp.2, DocumentNUp.4, DocumentNUp.6, DocumentNUp.9, DocumentNUp.16)
        *Constraints: LIST(DocumentBinding.JapaneseBooklet, DocumentBinding.Booklet)
    }
}

*%-------------------------------------------------------------------------
*%                              Collate
*%-------------------------------------------------------------------------
*Feature: Collate
{
    *Name: "Collate"
    *DefaultOption: ON
    *PrintSchemaKeywordMap: "DocumentCollate"

    *Option: ON
    {
        *Name: "ON"
        *PrintSchemaKeywordMap: "Collated"
    }
    *Option: OFF
    {
        *Name: "OFF"
        *PrintSchemaKeywordMap: "Uncollated"
    }
}

*%******************************************************************************
*%                             PageColorManagement
*%******************************************************************************
*Feature: PageColorManagement
{
    *Name: "Page Color Management"
    *DefaultOption: None
    *PrintSchemaKeywordMap: "PageColorManagement"

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

*%-------------------------------------------------------------------------
*%                             Draw borders
*%-------------------------------------------------------------------------
*Feature: DrawBorders
{
    *rcNameID: =IDS_PAGEBORDERS
    *DefaultOption: Off
    *Option: Off
    {
        *rcNameID: =IDS_OFF
    }
    *Option: On
    {
        *rcNameID: =IDS_ON
    }
}

*%*************************************************************************************
*%                            END OF STATIC FEATURES
*%*************************************************************************************

*%*************************************************************************************
*%                            STATIC OPTIONAL FEATURES
*%*************************************************************************************

*%-------------------------------------------------------------------------
*%                            Grayscale printing
*%-------------------------------------------------------------------------
*Feature: ColorMode
{
    *rcNameID: =IDS_GRAYSCALE
    *%PrintSchemaKeywordMap: "PageOutputColor"
    *DefaultOption: Off
    *Option: Off
    {
        *rcNameID: =IDS_GRAYSCALE_OFF
        *PrintSchemaKeywordMap: "Color"
        *Color?: TRUE
    }
    *Option: GrayScale
    {
        *rcNameID: =IDS_GRAYSCALE_HIGH_QUALITY
        *PrintSchemaKeywordMap: "Grayscale"
        *Color?: TRUE
    }
    *Option: Monochrome
    {
        *rcNameID: =IDS_GRAYSCALE_BLACK_INK_ONLY
        *PrintSchemaKeywordMap: "Monochrome"
		*Color?: FALSE
    }
}

*%-------------------------------------------------------------------------
*%                            Print Quality
*%-------------------------------------------------------------------------
*Feature: PageOutputQuality
{
    *rcNameID: =IDS_OUTPUTQUALITY
    *PrintSchemaKeywordMap: "PageOutputQuality"
    *DefaultOption: Normal
	*Option: Draft
    {
        *rcNameID: =IDS_OUTPUTQUALITY_DRAFT
        *PrintSchemaKeywordMap: "Draft"
    }
    *Option: Normal
    {
        *rcNameID: =IDS_OUTPUTQUALITY_NORMAL
        *PrintSchemaKeywordMap: "Normal"
    }
	*Option: Best
    {
        *rcNameID: =IDS_OUTPUTQUALITY_BEST
        *PrintSchemaKeywordMap: "High"
    }
}

*%-------------------------------------------------------------------------
*%                            Duplex
*%-------------------------------------------------------------------------
*Feature: Duplex
{
    *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
	*ConflictPriority: 10
    *DefaultOption: NONE
    *Option: NONE
    {
        *rcNameID: =IDS_HPBOOKLET_NONE
    }
    *Option: VERTICAL
    {
        *rcNameID: =IDS_PS_FLIP_LONGEDGE
		*Constraints: DocumentPageRanges.OddPages
		*Constraints: DocumentPageRanges.EvenPages
    }
    *Option: HORIZONTAL
    {
        *rcNameID: =IDS_PS_FLIP_SHORTEDGE
		*Constraints: DocumentPageRanges.OddPages
		*Constraints: DocumentPageRanges.EvenPages
    }
}


*%-------------------------------------------------------------------------
*%                            Duplex unit
*%-------------------------------------------------------------------------
*Feature: DuplexUnit
{
    *FeatureType: PRINTER_PROPERTY
    *rcNameID: =IDS_AUTODUPLEXUNIT
    *DefaultOption: FALSE
    *Option: TRUE
    {
        *rcNameID: =IDS_AUTODUPLEXUNIT_INSTALLED
    }
	*Option: FALSE
    {
        *rcNameID: =IDS_AUTODUPLEXUNIT_NOT_INSTALLED
    }
}

*%******************************************************************************
*%                            Manual Duplex
*%******************************************************************************
*Feature: HPPrintOnBothSidesManually 
{
   *rcNameID: =IDS_DUPLEX_MANUAL_ADV
   *ConflictPriority: 1
    *DefaultOption: OFF
    *Option: OFF
    {
        *rcNameID: =IDS_OFF
    }
    *Option: ON
    {
        *rcNameID: =IDS_ON
    }   
}

*%*************************************************************************************
*%                            END OF STATIC OPTIONAL FEATURES
*%*************************************************************************************

*%*************************************************************************************
*%                            DEVICE DEPENDENT FEATURES
*%*************************************************************************************

*%-------------------------------------------------------------------------
*%                            HP FeedType
*%-------------------------------------------------------------------------

*Feature: HPFeedType
{
    *Name: "HPFeedType"
    *Option: HPStraightFeed
    {
        *Name: ""
    }
}

*%*************************************************************************************
*%                            END OF DEVICE DEPENDENT FEATURES
*%*************************************************************************************

*%-------------------------------------------------------------------------
*%                            PageMediaSize - Paper Size
*%-------------------------------------------------------------------------
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
	*ConflictPriority: 5
    *DefaultOption: LETTER

	
	*Option: HP_2L_MM
    {
        *rcNameID: =IDS_MSIZE_2L_127x178_MM
        *PageDimensions: PAIR(6000, 8400)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_2L_MM)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_2L_MM)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_2L_MM,BorderlessPrint.BorderlessOverspray)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_2L_MM,BorderlessPrint.BorderlessOverspray)		
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*switch: BorderlessPrint
        {
            *case: NO
            {
				*PrintableArea: PAIR(5720, 8120)
				*PrintableOrigin: PAIR(140, 140)
				*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(5860, 140)
					}
				}
			}
			*case: BorderlessOverspray
            {
                *PrintableArea: PAIR(6000, 8400)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *CursorOrigin: PAIR(0, 0)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *CursorOrigin: PAIR(6000, 0)
                    }
                }
            }
		}				
    }
	
	*Option: HP_3X5_IN
    {
        *rcNameID: =IDS_MSIZE_3X5_IN
        *PageDimensions: PAIR(3600, 6000)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_3X5_IN)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_3X5_IN)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_3X5_IN,BorderlessPrint.BorderlessOverspray)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_3X5_IN,BorderlessPrint.BorderlessOverspray)
       	*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		
		*switch: BorderlessPrint
        {
        	*case: NO
            {
				*PrintableArea: PAIR(3320, 5720)
				*PrintableOrigin: PAIR(140, 140)
				*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(3460, 140)
					}
				}
			}
			*case: BorderlessOverspray
            {
             	*PrintableArea: PAIR(3600, 6000)
               	*PrintableOrigin: PAIR(0, 0)
	           	*switch: Orientation
               	{
                	*case: PORTRAIT
                    {
                     	*CursorOrigin: PAIR(0, 0)
                    }
                  	*case: LANDSCAPE_CC270
                    {
                     	*CursorOrigin: PAIR(3600, 0)
                    }
                }
            }
		}
	} 
		*Option: HP_4X6_IN_10X15_CM
    {
        *rcNameID: =IDS_MSIZE_4X6_IN_10X15_CM
        *PageDimensions: PAIR(4800, 7200)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_4X6_IN_10X15_CM)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_4X6_IN_10X15_CM)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_4X6_IN_10X15_CM,BorderlessPrint.BorderlessOverspray)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_4X6_IN_10X15_CM,BorderlessPrint.BorderlessOverspray)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*switch: BorderlessPrint
        {
            *case: NO
            {
				*PrintableArea: PAIR(4520, 6920)
				*PrintableOrigin: PAIR(140, 140)
				*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(4660, 140)
					}
				}
			}
			*case: BorderlessOverspray
            {
                *PrintableArea: PAIR(4800, 7200)
                *PrintableOrigin: PAIR(0, 0)
	            *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *CursorOrigin: PAIR(0, 0)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *CursorOrigin: PAIR(4800, 0)
                    }
                }
            }
		}				
    }
	*Option: HP_5X7_IN_13X18_CM
    {
        *rcNameID: =IDS_MSIZE_5X7_IN_13X18_CM
        *PageDimensions: PAIR(6000, 8400)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_5X7_IN_13X18_CM)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_5X7_IN_13X18_CM)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_5X7_IN_13X18_CM,BorderlessPrint.BorderlessOverspray)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_5X7_IN_13X18_CM,BorderlessPrint.BorderlessOverspray)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*switch: BorderlessPrint
        {
            *case: NO
            {
				*PrintableArea: PAIR(5720, 8120)
				*PrintableOrigin: PAIR(140, 140)
				*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(5860, 140)
					}
				}
			}
			*case: BorderlessOverspray
            {
                *PrintableArea: PAIR(6000, 8400)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *CursorOrigin: PAIR(0, 0)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *CursorOrigin: PAIR(6000, 0)
                    }
                }
            }
		}				
    }
	
	*Option: ENV_PERSONAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(4348, 7800)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.ENV_PERSONAL)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.ENV_PERSONAL)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
		*PrintableArea: PAIR(4068, 7520)
		*PrintableOrigin: PAIR(140, 140)
		*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(4208, 140)
					}
				}
	}
	
	*Option: HP_8_5X13_IN
    {
        *rcNameID: =IDS_MSIZE_8_5X13_IN
        *PageDimensions: PAIR(10200, 15600)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_8_5X13_IN)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_8_5X13_IN)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
		*PrintableArea: PAIR(9920, 15320)
		*PrintableOrigin: PAIR(140, 140)
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(10060, 140)
			}
		}
	}	
	
	*Option: HP_8X10_IN
    {
        *rcNameID: =IDS_MSIZE_8X10_IN
        *PageDimensions: PAIR(9600, 12000)
		*PrintableArea: PAIR(9320, 11720)
		*PrintableOrigin: PAIR(140, 140)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_8X10_IN)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_8X10_IN)
       	*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(9460, 140)
			}
		}
						
    }
	
	*Option: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(9921, 14028)
		*PrintableArea: PAIR(9641, 13748)
		*PrintableOrigin: PAIR(140, 140)
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(9781, 140)
			}
		}
						
    } 
	
	*Option: A5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(6992, 9921)
		*PrintableArea: PAIR(6712, 9641)
    	*PrintableOrigin: PAIR(140, 140)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.A5)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.A5)
        *Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
				*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(6852, 140)
			}
		}
						
    }
	
	*Option: A6
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(4960, 6992)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.A6)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.A6)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.A6,BorderlessPrint.BorderlessOverspray)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.A6,BorderlessPrint.BorderlessOverspray)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*switch: BorderlessPrint
        {
            *case: NO
            {
				*PrintableArea: PAIR(4680, 6712)
				*PrintableOrigin: PAIR(140, 140)
				*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(4820, 140)
					}
				}
			}
			*case: BorderlessOverspray
            {
                *PrintableArea: PAIR(4960, 6992)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *CursorOrigin: PAIR(0, 0)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *CursorOrigin: PAIR(4960, 0)
                    }
                }
            }
		}				
    }
	
	*Option: HP_B5_ISO_176X250_MM
    {
        *rcNameID: =IDS_MSIZE_B5_ISO_176X250_MM_1
        *PageDimensions: PAIR(8315, 11811)
		*PrintableArea: PAIR(8035, 11531)
		*PrintableOrigin: PAIR(140, 140)
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
        {
            *case: PORTRAIT
            {
                *CursorOrigin: PAIR(140, 140)
            }
            *case: LANDSCAPE_CC270
            {
                *CursorOrigin: PAIR(8175, 140)
            }
        }
    }

	*Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(8598, 12141)
		*PrintableArea: PAIR(8318, 11861)
		*PrintableOrigin: PAIR(140, 140)
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
        {
            *case: PORTRAIT
            {
                *CursorOrigin: PAIR(140, 140)
            }
            *case: LANDSCAPE_CC270
            {
                *CursorOrigin: PAIR(8458, 140)
            }
        }
		
    }  
	
	*Option: ENV_10
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(4920, 11400)
		*PrintableArea: PAIR(4640, 11120)
  		*PrintableOrigin: PAIR(140, 140)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.ENV_10)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.ENV_10)	
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(4780, 140)
			}
		}
	}
	
	*Option: HP_ENV_A2
    {
        *rcNameID: =IDS_MSIZE_ENV_A2_111X146_MM
        *PageDimensions: PAIR(5244, 6897)
		*PrintableArea: PAIR(4964, 6617)
  		*PrintableOrigin: PAIR(140, 140)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_ENV_A2)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_ENV_A2)		
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(5104, 140)
			}
		}
	}
	
	*Option: ENV_C5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(7653, 10818)
		*PrintableArea: PAIR(7373, 10538)
  		*PrintableOrigin: PAIR(140, 140)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.ENV_C5)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.ENV_C5)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
        *Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(7513, 140)
			}
		}
	}
	
	*Option: ENV_C6
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(5385, 7653)
		*PrintableArea: PAIR(5105, 7373)
  		*PrintableOrigin: PAIR(140, 140)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.ENV_C6)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.ENV_C6)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
        *Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(5245, 140)
			}
		}
	}
	
	*Option: ENV_DL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(5196, 10393)
		*PrintableArea: PAIR(4936, 10113)
  		*PrintableOrigin: PAIR(140, 140)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.ENV_DL)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.ENV_DL)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(5066, 140)
			}
		}
	}
	
	*Option: ENV_MONARCH
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(4656, 9000)
		*PrintableArea: PAIR(4376, 8720)
  		*PrintableOrigin: PAIR(140, 140)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.ENV_MONARCH)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.ENV_MONARCH)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(4516, 140)
			}
		}
	}
	
	*Option: EXECUTIVE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(8700, 12600)
		*PrintableArea: PAIR(8420, 12320)
		*PrintableOrigin: PAIR(140, 140)
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(8560, 140)
			}
		}
    }
	
	*Option: HP_INDEX_CARD_3X5_IN
    {
		*rcNameID: =IDS_MSIZE_INDEX_CARD_3X5_IN
        *PageDimensions: PAIR(3600, 6000)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_INDEX_CARD_3X5_IN)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_INDEX_CARD_3X5_IN)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_INDEX_CARD_3X5_IN,BorderlessPrint.BorderlessOverspray)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_INDEX_CARD_3X5_IN,BorderlessPrint.BorderlessOverspray)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*switch: BorderlessPrint
        {
          	*case: NO
            {
				*PrintableArea: PAIR(3320, 5720)
				*PrintableOrigin: PAIR(140, 140)
				*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(3460, 140)
					}
				}
			}
			*case: BorderlessOverspray
            {
             	*PrintableArea: PAIR(3600, 6000)
                *PrintableOrigin: PAIR(0, 0)
	            *switch: Orientation
                {
                 	*case: PORTRAIT
                   	{
                      	*CursorOrigin: PAIR(0, 0)
                    }
                    *case: LANDSCAPE_CC270
                    {
                     	*CursorOrigin: PAIR(3600, 0)
                    }
                }
            }
		}
	}
	
	*Option: HP_INDEX_CARD_4X6_IN
    {
       	*rcNameID: =IDS_MSIZE_INDEX_CARD_4X6_IN
       	*PageDimensions: PAIR(4800, 7200)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_INDEX_CARD_4X6_IN)
       	*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_INDEX_CARD_4X6_IN)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_INDEX_CARD_4X6_IN,BorderlessPrint.BorderlessOverspray)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_INDEX_CARD_4X6_IN,BorderlessPrint.BorderlessOverspray)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*switch: BorderlessPrint
        {
          	*case: NO
            {
				*PrintableArea: PAIR(4520, 6920)
				*PrintableOrigin: PAIR(140, 140)
				*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(4660, 140)
					}
				}
			}
			*case: BorderlessOverspray
            {
             	*PrintableArea: PAIR(4800, 7200)
                *PrintableOrigin: PAIR(0, 0)
	            *switch: Orientation
                {
                 	*case: PORTRAIT
                   	{
                      	*CursorOrigin: PAIR(0, 0)
                    }
                    *case: LANDSCAPE_CC270
                    {
                     	*CursorOrigin: PAIR(4800, 0)
                    }
                }
            }
		}
	}
	
	*Option: HP_INDEX_CARD_5X8_IN
    {
        *rcNameID: =IDS_MSIZE_INDEX_CARD_5X8_IN
        *PageDimensions: PAIR(6000, 9600)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_INDEX_CARD_5X8_IN)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_INDEX_CARD_5X8_IN)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_INDEX_CARD_5X8_IN,BorderlessPrint.BorderlessOverspray)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_INDEX_CARD_5X8_IN,BorderlessPrint.BorderlessOverspray)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*switch: BorderlessPrint
        {
          	*case: NO
            {
				*PrintableArea: PAIR(5720, 9320)
				*PrintableOrigin: PAIR(140, 140)
				*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(5860, 140)
					}
				}
			}
			*case: BorderlessOverspray
            {
             	*PrintableArea: PAIR(6000, 9600)
                *PrintableOrigin: PAIR(0, 0)
	            *switch: Orientation
                {
                 	*case: PORTRAIT
                   	{
                      	*CursorOrigin: PAIR(0, 0)
                    }
                    *case: LANDSCAPE_CC270
                    {
                     	*CursorOrigin: PAIR(6000, 0)
                    }
                }
            }
		}
	} 

	*Option: HP_INDEX_CARD_LETTER
	{
		*rcNameID: =IDS_MSIZE_INDX_CARD_LETTER_8_5x11
        *PageDimensions: PAIR(10200, 13200)
		*PrintableArea: PAIR(9920, 12920)
		*PrintableOrigin: PAIR(140, 140)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_INDEX_CARD_LETTER)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_INDEX_CARD_LETTER)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(10060, 140)
			}
		}
		
	} 
	
	
	*Option: HP_INDEX_CARD_A4
	{
		*rcNameID: =IDS_MSIZE_INDX_CARD_A4_8_27x11
        *PageDimensions: PAIR(9921, 14031)
		*PrintableArea: PAIR(9641, 13751)
		*PrintableOrigin: PAIR(140, 140)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.HP_INDEX_CARD_A4)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.HP_INDEX_CARD_A4)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
				*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(9781, 140)
			}
		}
		
	}	
	
	*Option: JENV_CHOU3
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(5669, 11102)
		*PrintableArea: PAIR(5389, 10822)
  		*PrintableOrigin: PAIR(140, 140)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,PaperSize.JENV_CHOU3)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,PaperSize.JENV_CHOU3)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
        *Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(5529, 140)
			}
		}
	}
	
	*Option: JENV_CHOU4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(4252, 9685)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.JENV_CHOU4)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.JENV_CHOU4)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
		*PrintableArea: PAIR(3972, 9405)
		*PrintableOrigin: PAIR(140, 140)
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(4112, 140)
			}
		}
	}	
	
	*Option: JAPANESE_POSTCARD
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(4728, 6992)
		*switch: BorderlessPrint
        {
            *case: NO
            {
				*PrintableArea: PAIR(4448, 6712)
				*PrintableOrigin: PAIR(140, 140)
				*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(4588, 140)
					}
				}
			}
			*case: BorderlessOverspray
            {
                *PrintableArea: PAIR(4728, 6992)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *CursorOrigin: PAIR(0, 0)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *CursorOrigin: PAIR(4728, 0)
                    }
                }
            }
		}				
    }
	
	*Option: HP_3_5X5_IN_L_MM
    {
        *rcNameID: =IDS_MSIZE_3_5X5_IN_L_89X127_MM
        *PageDimensions: PAIR(4204, 6000)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_3_5X5_IN_L_MM)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_3_5X5_IN_L_MM)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_3_5X5_IN_L_MM,BorderlessPrint.BorderlessOverspray)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_3_5X5_IN_L_MM,BorderlessPrint.BorderlessOverspray)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*switch: BorderlessPrint
        {
            *case: NO
            {
				*PrintableArea: PAIR(3924, 5720)
				*PrintableOrigin: PAIR(140, 140)
				*switch: Orientation
				{
					*case: PORTRAIT
					{
						*CursorOrigin: PAIR(140, 140)
					}
					*case: LANDSCAPE_CC270
					{
						*CursorOrigin: PAIR(4064, 140)
					}
				}
			}
			*case: BorderlessOverspray
            {
                *PrintableArea: PAIR(4204, 6000)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Orientation
                {
                    *case: PORTRAIT
                    {
                        *CursorOrigin: PAIR(0, 0)
                    }
                    *case: LANDSCAPE_CC270
                    {
                        *CursorOrigin: PAIR(4204, 0)
                    }
                }
            }
		}				
    } 
	
	*Option: LEGAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(10200, 16800)
		*PrintableArea: PAIR(9920,  16520)
		*PrintableOrigin: PAIR(140, 140)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.LEGAL)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.LEGAL)
		*Constraints: BorderlessPrint.BorderlessOverspray
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(10060, 140)
			}
		}
	}
	
	*Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(10200, 13200)
		*PrintableArea: PAIR(9920, 12920)
		*PrintableOrigin: PAIR(140, 140)
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(10060, 140)
			}
		}
						
    }
	
	*Option: HP_OFUKU_HAGAKI_200X148_MM
    {
        *rcNameID: =IDS_MSIZE_OFUKU_HAGAKI_200X148_MM_1
        *PageDimensions: PAIR(9448, 6992)
		*PrintableArea: PAIR(9168, 6712)
		*PrintableOrigin: PAIR(140, 140)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.HP_OFUKU_HAGAKI_200X148_MM)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.HP_OFUKU_HAGAKI_200X148_MM)
		*Constraints: BorderlessPrint.BorderlessOverspray
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
				*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(9308, 140)
			}
		}
	 }
	
	*Option: STATEMENT
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PageDimensions: PAIR(6600, 10200)
		*PrintableArea: PAIR(6320, 9920)
  		*PrintableOrigin: PAIR(140, 140)
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.VERTICAL,PaperSize.STATEMENT)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON, Duplex.HORIZONTAL,PaperSize.STATEMENT)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CursorOrigin: PAIR(140, 140)
			}
			*case: LANDSCAPE_CC270
			{
				*CursorOrigin: PAIR(6460, 140)
			}
		}
	} 
	
	*Option: CUSTOMSIZE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *MinSize: PAIR(3600, 4800)
        *MaxSize: PAIR(10200, 16800)
        *MaxPrintableWidth: 10200
        *CenterPrintable?: TRUE
		*CustPrintableOriginX: %d{140}
        *CustPrintableOriginY: %d{140}
        *CustPrintableSizeX: %d{PhysPaperWidth-280}
        *CustPrintableSizeY: %d{PhysPaperLength-280}
		*Constraints: BorderlessPrint.BorderlessOverspray
		*switch: Orientation
        		{
        			*case: PORTRAIT
					{
                		*CustCursorOriginX: %d{140}
                		*CustCursorOriginY: %d{140}
					}
				*case: LANDSCAPE_CC270
					{
                		*CustCursorOriginX: %d{PhysPaperWidth-140}
                		*CustCursorOriginY: %d{140}
					}
        		}
        
    }
}

*%******************************************************************************************
*%                             Print Quality Previous
*%  Used in photo user Experiance(In Windows Photo Gallery App) Feature for Getting the 
*%  Previous Selected PQ value from the WPG App
*%******************************************************************************************

*Feature: OutputQualityPrev
{
    *Name: ""

    *DefaultOption: Normal

	*Option: Draft
    {
        *Name: ""
    }
    	*Option: Normal
    {
        *Name: ""
    }
	*Option: High
    {
        *Name: ""
    }
}

*%-------------------------------------------------------------------------
*%                             Media Type
*%-------------------------------------------------------------------------

*Feature: MediaType
{
    *rcNameID: =MEDIA_TYPE_DISPLAY
    *DefaultOption: 0.1004.0000_0_600x600
    *Option: 0.1004.0000_0_600x600
    {
        *rcNameID: =IDS_MTYPE_PLAIN_PAPER
		*Constraints: BorderlessPrint.BorderlessOverspray
    }
	*Option: 5.1069.0000_0_600x600
    {
        *rcNameID: =IDS_MTYPE_HP_PHOTO_PAPERS
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,MediaType.5.1069.0000_0_600x600)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,MediaType.5.1069.0000_0_600x600)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: ColorMode.Monochrome
    } 
	*Option: 2.1077.0000_0_600x600
    {
        *rcNameID: =IDS_MTYPE_HP_MATTE_BROCHURE_OR_PROF_PPR
    }
    *Option: 2.1005.0000_0_600x600
    {
        *rcNameID: =IDS_MTYPE_MATTE_PRESENTATION_PAPER
    }
    *Option: 8.1076.0000_0_600x600
    {
        *rcNameID: =IDS_MTYPE_HP_GLOSSY_BROCHURE_OR_PROF_PPR
		
    }
	*Option: 5.1045.0000_0_600x600
    {
        *rcNameID: =IDS_MTYPE_OTHER_PHOTO_INK_JET_PAPERS
		*InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.VERTICAL,MediaType.5.1045.0000_0_600x600)
        *InvalidCombination: LIST(HPPrintOnBothSidesManually.ON,Duplex.HORIZONTAL,MediaType.5.1045.0000_0_600x600)
		*Constraints: DocumentBinding.Booklet
		*Constraints: DocumentBinding.JapaneseBooklet
		*Constraints: ColorMode.Monochrome
    }
	*Option: 2.1077.0000_0_600x600.1
    {
        *rcNameID: =IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS
    }
	*Option: 8.1054.0000_0_600x600
    {
        *rcNameID: =IDS_MTYPE_OTHER_GLOSSY_INK_JET_PAPERS
    }
	*Option: 1.1121.0000_0_600x600
    {
        *rcNameID: =IDS_MTYPE_LIGHT_WEIGHT_PLAIN_RECYCLED
		*Constraints: BorderlessPrint.BorderlessOverspray
    }
}

*%******************************************************************************************
*%                                  Snapping-TouchByUser
*%  To Keep Track of User changes in Snapping and Photo User Experiance features
*%******************************************************************************************

*Feature: TouchByUser
{
    *Name: ""
    *DefaultOption: Off
    *Option: Off
    {
        *Name: ""
    }
    *Option: On
    {
        *Name: ""
    }
}

*%******************************************************************************************
*%                                  Media Type Previous
*%  Used in photo user Experiance(In Windows Photo Gallery App) Feature for Getting the 
*%  Previous Selected mediaType from the WPG App
*%******************************************************************************************

*Feature: MediaTypePrev
{
    *Name: ""

    *DefaultOption: 0.1004.0000_0_600x600
	*Option: 0.1004.0000_0_600x600
    {
        *Name: ""
    }
	*Option: 5.1069.0000_0_600x600
    {
        *Name: ""
    }
	*Option: 2.1077.0000_0_600x600
    {
        *Name: ""
    }
	*Option: 2.1005.0000_0_600x600
    {
        *Name: ""
    }
	*Option: 8.1076.0000_0_600x600
    {
        *Name: ""
    }
	*Option: 5.1045.0000_0_600x600
    {
        *Name: ""
    }
	*Option: 2.1077.0000_0_600x600.1
    {
        *Name: ""
    }
	*Option: 8.1054.0000_0_600x600
    {
        *Name: ""
    }
	*Option: 1.1121.0000_0_600x600
    {
        *Name: ""
    }
	
}

*%-------------------------------------------------------------------------
*%                            InputBin
*%-------------------------------------------------------------------------

*Feature: InputBin
{
    *rcNameID: =IDS_INPUTBIN
    *DefaultOption: 1
    *Option: 1
    {
        *rcNameID: =IDS_INPUTBIN_MAINTRAY
    }
}

*%-------------------------------------------------------------------------************
*%                                     Mech Offset
*%-------------------------------------------------------------------------************

*Feature: HPMechOffset
{
    *Name: "HPMechOffset"
    *Option: 140
     {
     *Name: "" 
     }
}

*%-------------------------------------------------------------------------
*%                                     Printing Shortcut
*%-------------------------------------------------------------------------

*Feature: PrintingShortcut
{
    *rcNameID: =IDS_PS_FEATURE
    *DefaultOption: PS_General
	*Option: PS_General
    {
        *rcNameID: =IDS_PS_GENERAL_EVERYDAY
    }	
	*Option: PS_Duplex
    {
        *rcNameID: =IDS_PS_DUPLEX
    }
	*Option: PS_PhotoBorderless
    {
        *rcNameID: =IDS_PS_PHOTO_BORDERLESS
    }
	*Option: PS_WhiteBorder
    {
        *rcNameID: =IDS_PS_PHOTO_WHITEBORDER
    }
    *Option: PS_FastEconomic
    {
        *rcNameID: =IDS_PS_FAST_ECONOMIC
    }
    *Option: PS_FactoryDefault
    {
        *rcNameID: =IDS_PS_FACTORY_DEFAULTS
    }	
}

*%******************************************************************************
*%                             Printshortcut Bitmap
*%******************************************************************************

*Feature: ShortcutBitmaps
{
    *Name: "Printing shortcut"
    *DefaultOption: PS_General

	*Option: PS_General
    {
        *Name: "IDB_GEN_EVERY_DAY"
    }

	*Option: PS_Duplex
    {
        *Name: "IDB_DUPLEX"
    }

	*Option: PS_PhotoBorderless
    {
        *Name: "IDB_PHOTO_BORDERLESS"
    }

	*Option: PS_WhiteBorder
    {
        *Name: "IDB_PHOTO_WITH_BORDER"
    }
	
    *Option: PS_FastEconomic
    {
        *Name: "IDB_FAST_ECON"
    }

    *Option: PS_FactoryDefault
    {
        *Name: "IDB_FACT_DEFAULT"
    }	
}

*%******************************************************************************
*%                            General Everyday Printing settings
*%******************************************************************************

*Feature: PS_General
{
    *Name: "General Everyday Printing"
    *DefaultOption: MediaType:27
    *Option: MediaType:27					*%*****   FeatureName:StaticText ResourceID ********
    {
        *Name: "IDS_MTYPE_PLAIN_PAPER;IDS_MTYPE_PLAIN_PAPER;IDS_MTYPE_HP_PHOTO_PAPERS;IDS_MTYPE_HP_MATTE_BROCHURE_OR_PROF_PPR;IDS_MTYPE_MATTE_PRESENTATION_PAPER;IDS_MTYPE_HP_GLOSSY_BROCHURE_OR_PROF_PPR;IDS_MTYPE_OTHER_PHOTO_INK_JET_PAPERS;IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS;IDS_MTYPE_OTHER_GLOSSY_INK_JET_PAPERS;IDS_MTYPE_LIGHT_WEIGHT_PLAIN_RECYCLED"
    }
    *Option: PageOutputQuality:29
    {
        *Name: "IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_DRAFT;IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_BEST"
    }
	*Option: DocumentNUp:26
    {
        *Name: "IDS_1UP;IDS_1UP;IDS_2UP;IDS_4UP;IDS_6UP;IDS_9UP;IDS_16UP"
    }
    *Option: BorderlessPrint:28
    {
        *Name: "IDS_OFF;IDS_OFF;IDS_ON"
    }
    *Option: Duplex:21
    {
        *Name: "IDS_HPBOOKLET_NONE;IDS_HPBOOKLET_NONE;IDS_PS_FLIP_LONGEDGE;IDS_PS_FLIP_SHORTEDGE"
    }
}

*%******************************************************************************
*%                            Photo Printing – Borderless settings
*%******************************************************************************

*Feature: PS_PhotoBorderless
{
    *Name: "Photo Printing-Borderless"
    *DefaultOption: MediaType:27
    *Option: MediaType:27				*%*****   FeatureName:StaticText ResourceID ********
    {
        *Name: "IDS_MTYPE_HP_PHOTO_PAPERS;IDS_MTYPE_HP_PHOTO_PAPERS;IDS_MTYPE_OTHER_PHOTO_INK_JET_PAPERS"
    }
    *Option: PageOutputQuality:29
    {
        *Name: "IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_BEST"
    }
    *Option: PaperSize:52
    {
       *Name: "IDS_MSIZE_4X6_IN_10X15_CM;IDS_MSIZE_2L_127x178_MM;IDS_MSIZE_3_5X5_IN_L_89X127_MM;IDS_MSIZE_3X5_IN;IDS_MSIZE_4X6_IN_10X15_CM;IDS_MSIZE_5X7_IN_13X18_CM;IDS_MSIZE_A6;IDS_MSIZE_INDEX_CARD_3X5_IN;IDS_MSIZE_INDEX_CARD_4X6_IN;IDS_MSIZE_INDEX_CARD_5X8_IN;IDS_MSIZE_JAPANESE_POSTCARD"
    }
    *Option: BorderlessPrint:28
    {
        *Name: "IDS_ON;IDS_ON"
    }
    *Option: Duplex:21
    {
        *Name: "IDS_HPBOOKLET_NONE;IDS_HPBOOKLET_NONE"
    }
}

*%******************************************************************************
*%                            Photo Printing with White Borders settings
*%******************************************************************************

*Feature: PS_WhiteBorder
{
    *Name: "Photo Printing-with white borders"
    *DefaultOption: MediaType:27
    *Option: MediaType:27				*%*****   FeatureName:StaticText ResourceID ********
    {
        *Name: "IDS_MTYPE_HP_PHOTO_PAPERS;IDS_MTYPE_HP_PHOTO_PAPERS;IDS_MTYPE_OTHER_PHOTO_INK_JET_PAPERS"
    }
    *Option: PageOutputQuality:29
    {
        *Name: "IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_BEST"
    }
    *Option: PaperSize:52
    {
        *Name: "IDS_MSIZE_4X6_IN_10X15_CM;IDS_MSIZE_2L_127x178_MM;IDS_MSIZE_3_5X5_IN_L_89X127_MM;IDS_MSIZE_3X5_IN;IDS_MSIZE_4X6_IN_10X15_CM;IDS_MSIZE_5X7_IN_13X18_CM;IDS_MSIZE_A6;IDS_MSIZE_INDEX_CARD_3X5_IN;IDS_MSIZE_INDEX_CARD_4X6_IN;IDS_MSIZE_INDEX_CARD_5X8_IN;IDS_MSIZE_JAPANESE_POSTCARD"
    }
    *Option: BorderlessPrint:28
    {
        *Name: "IDS_OFF;IDS_OFF"
    }
    *Option: Duplex:21
    {
        *Name: "IDS_HPBOOKLET_NONE;IDS_HPBOOKLET_NONE"
    }
}

*%******************************************************************************
*%                            Two-sided(Duplex) Printing settings
*%******************************************************************************

*Feature: PS_Duplex
{
    *Name: "Two-sided (Duplex) Printing"
    *DefaultOption: MediaType:27
    *Option: MediaType:27				*%*****   FeatureName:StaticText ResourceID ********
    {
        *Name: "IDS_MTYPE_PLAIN_PAPER;IDS_MTYPE_PLAIN_PAPER;IDS_MTYPE_HP_MATTE_BROCHURE_OR_PROF_PPR;IDS_MTYPE_MATTE_PRESENTATION_PAPER;IDS_MTYPE_HP_GLOSSY_BROCHURE_OR_PROF_PPR;IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS;IDS_MTYPE_OTHER_GLOSSY_INK_JET_PAPERS;IDS_MTYPE_LIGHT_WEIGHT_PLAIN_RECYCLED"
    }
    *Option: PageOutputQuality:29
    {
        *Name: "IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_DRAFT;IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_BEST"
    }
    *Option: DocumentNUp:26
    {
        *Name: "IDS_1UP;IDS_1UP;IDS_2UP;IDS_4UP;IDS_6UP;IDS_9UP;IDS_16UP"
    }
    *Option: BorderlessPrint:28
    {
        *Name: "IDS_OFF;IDS_OFF;IDS_ON"
    }
    *Option: Duplex:21
    {
        *Name: "IDS_PS_FLIP_LONGEDGE;IDS_HPBOOKLET_NONE;IDS_PS_FLIP_LONGEDGE;IDS_PS_FLIP_SHORTEDGE"
    }
}


*%******************************************************************************
*%                            Fast/Economic printing
*%******************************************************************************

*Feature: PS_FastEconomic
{
    *Name: "Fast/Economical Printing"
    *DefaultOption: MediaType:27
    *Option: MediaType:27			*%*****   FeatureName:StaticText ResourceID ********
    {
        *Name: "IDS_MTYPE_PLAIN_PAPER;IDS_MTYPE_PLAIN_PAPER"
    }
    *Option: PageOutputQuality:29
    {
        *Name: "IDS_OUTPUTQUALITY_DRAFT;IDS_OUTPUTQUALITY_DRAFT"
    }
    *Option: DocumentNUp:26
    {
        *Name: "IDS_1UP;IDS_1UP;IDS_2UP;IDS_4UP;IDS_6UP;IDS_9UP;IDS_16UP"
    }
    *Option: BorderlessPrint:28
    {
        *Name: "IDS_OFF;IDS_OFF;IDS_ON"
    }
	*Option: Duplex:21
    {
        *Name: "IDS_PS_FLIP_LONGEDGE;IDS_HPBOOKLET_NONE;IDS_PS_FLIP_LONGEDGE;IDS_PS_FLIP_SHORTEDGE"
    }
}

*%******************************************************************************
*%                            Factory default settings
*%******************************************************************************

*Feature: PS_FactoryDefault
{
    *Name: "Factory Defaults"
    *DefaultOption: MediaType:27
    *Option: MediaType:27			*%*****   FeatureName:StaticText ResourceID ********
    {
        *Name: "IDS_MTYPE_PLAIN_PAPER;IDS_MTYPE_PLAIN_PAPER"
    }
    *Option: PageOutputQuality:29
    {
        *Name: "IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_NORMAL"
    }
    *Option: DocumentNUp:26
    {
        *Name: "IDS_1UP;IDS_1UP"
    }
    *Option: BorderlessPrint:28
    {
        *Name: "IDS_OFF;IDS_OFF"
    }
    *Option: Duplex:21
    {
        *Name: "IDS_HPBOOKLET_NONE;IDS_HPBOOKLET_NONE"
    }

}

*%******************************************************************************
*%                            default settings
*%******************************************************************************

*Feature: AllSettingsfor_PS
{
    *Name: "Complete Settings"
    *DefaultOption: MediaType:27
    *Option: MediaType:27				*%*****   FeatureName:StaticText ResourceID ********
    {
        *Name: "IDS_MTYPE_PLAIN_PAPER;IDS_MTYPE_PLAIN_PAPER;IDS_MTYPE_HP_PHOTO_PAPERS;IDS_MTYPE_HP_MATTE_BROCHURE_OR_PROF_PPR;IDS_MTYPE_MATTE_PRESENTATION_PAPER;IDS_MTYPE_HP_GLOSSY_BROCHURE_OR_PROF_PPR;IDS_MTYPE_OTHER_PHOTO_INK_JET_PAPERS;IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS;IDS_MTYPE_OTHER_GLOSSY_INK_JET_PAPERS;IDS_MTYPE_LIGHT_WEIGHT_PLAIN_RECYCLED"
    }
    *Option: PageOutputQuality:29
    {
        *Name: "IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_DRAFT;IDS_OUTPUTQUALITY_NORMAL;IDS_OUTPUTQUALITY_BEST"
    }
	*Option: DocumentNUp:26
    {
        *Name: "IDS_1UP;IDS_1UP;IDS_2UP;IDS_4UP;IDS_6UP;IDS_9UP;IDS_16UP"
    }
	*Option: BorderlessPrint:28
    {
        *Name: "IDS_OFF;IDS_OFF;IDS_ON"
    }
	 *Option: Duplex:21
    {
        *Name: "IDS_HPBOOKLET_NONE;IDS_HPBOOKLET_NONE;IDS_PS_FLIP_LONGEDGE;IDS_PS_FLIP_SHORTEDGE"
    }
	*Option: PaperSize:52
    {
         *Name: "IDS_MSIZE_4X6_IN_10X15_CM;IDS_MSIZE_2L_127x178_MM;IDS_MSIZE_3X5_IN;IDS_MSIZE_4X6_IN_10X15_CM;IDS_MSIZE_5X7_IN_13X18_CM;IDS_MSIZE_ENVELOPE_6_3_4;IDS_MSIZE_8_5X13_IN;IDS_MSIZE_8X10_IN;IDS_MSIZE_A4;IDS_MSIZE_A5;IDS_MSIZE_A6;IDS_MSIZE_B5_ISO_176X250_MM_1;IDS_MSIZE_B5_JIS_182X257_MM;IDS_MSIZE_ENV_10;IDS_MSIZE_ENV_A2_111X146_MM;IDS_MSIZE_ENV_C5;IDS_MSIZE_ENVELOPE_C6;IDS_MSIZE_ENV_DL;IDS_MSIZE_ENVELOPE_MONARCH;IDS_MSIZE_EXECUTIVE;IDS_MSIZE_INDEX_CARD_3X5_IN;IDS_MSIZE_INDEX_CARD_4X6_IN;IDS_MSIZE_INDEX_CARD_5X8_IN;IDS_MSIZE_INDX_CARD_LETTER_8_5x11;IDS_MSIZE_INDX_CARD_A4_8_27x11;IDS_MSIZE_JENV_CHOU3;IDS_MSIZE_JENV_CHOU4;IDS_MSIZE_JAPANESE_POSTCARD;IDS_MSIZE_3_5X5_IN_L_89X127_MM;IDS_MSIZE_LEGAL_1;IDS_MSIZE_LETTER;IDS_MSIZE_OFUKU_HAGAKI_200X148_MM_1;IDS_MSIZE_STATEMENT"
    }
	*Option: InputBin:400
    {
        *Name: "IDS_INPUTBIN_MAINTRAY;IDS_INPUTBIN_MAINTRAY"
    }
}

*%******************************************************************************
*%  								Feature: PS_Schema
*%******************************************************************************

*Feature: PS_Schema
{
	 *Name: "PS_Schema"
    *DefaultOption: MediaType_1031_1
    *Option: MediaType_1031_1
    {
        *Name: "MediaType;1031"
    }
    *Option: Borderless_1033_1
    {
        *Name: "Borderless;1033"
    }
	*Option: PagesPerSheet_1035_1
    {
        *Name: "PagesPerSheet;1035"
    }
    *Option: PrintQuality_1029_1
    {
        *Name: "PrintQuality;1029"
    }
	*Option: Duplex_1037_1
    {
        *Name: "Duplex;1037"
    }
	*Option: Save_1080_2
    {
        *Name: "Duplex;1037"
    }
	*Option: Delete_1081_2
    {
        *Name: "Duplex;1037"
    }
	*Option: ListView_1020_3
	{
        *Name: "Duplex;1037"
    }
}

*%******************************************************************************
*%                            Features which are to be hidden for Mono devices
*%******************************************************************************

*Feature: MonoConfig
{
    *Name: "MonoConfig"
    *DefaultOption: ColorMode

    *Option: ColorMode
    {
        *Name: "HIDE"
    }
    *Option: HPRlt 
    {
        *Name: "HIDE"
    }
    *Option: MediaType 
    {
    		*%***** Specified Below the SUPPORTED LIST of Media types for Mono Devices. As this Feature is in printing Shortcuts as well, **** 							
		*%*****	we need to specify them in the order given in Feature "AllSettingsfor_PS" by excluding unsupported Media Types  *****
					
        *Name: "IDS_MTYPE_PLAIN_PAPER;IDS_MTYPE_HP_MATTE_BROCHURE_OR_PROF_PPR;IDS_MTYPE_MATTE_PRESENTATION_PAPER;IDS_MTYPE_HP_GLOSSY_BROCHURE_OR_PROF_PPR;IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS;IDS_MTYPE_OTHER_GLOSSY_INK_JET_PAPERS;IDS_MTYPE_LIGHT_WEIGHT_PLAIN_RECYCLED"
    }
}

*%******************************************************************************************
*%                                  SnappingData
*% Snap Data Information used for Photo User Exp and Snapping Features
*%******************************************************************************************

*Feature: SnappingData
{
    *Name: ""
    *ConcealFromUI?: TRUE
	*Option: HP_4X6_IN_10X15_CM:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
    *Option: HP_5X7_IN_13X18_CM:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
	*Option: HP_2L_MM:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
	*Option: HP_3X5_IN:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
	*Option: ENV_PERSONAL:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: HP_8_5X13_IN:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: HP_8X10_IN:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:0
    {
        *Name: ""
    }
	*Option: A4:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: A5:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: A6:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
    *Option: HP_B5_ISO_176X250_MM:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: B5:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: CUSTOMSIZE:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: ENV_10:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
    *Option: HP_ENV_A2:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: ENV_C5:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
    *Option: ENV_C6:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: ENV_DL:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: ENV_MONARCH:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: EXECUTIVE:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
    *Option: HP_INDEX_CARD_3X5_IN:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:0
    {
        *Name: ""
    }
    *Option: HP_INDEX_CARD_4X6_IN:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:0
    {
        *Name: ""
    }
    *Option: HP_INDEX_CARD_5X8_IN:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:0
    {
        *Name: ""
    }
	*Option: HP_INDEX_CARD_A4:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:0
    {
        *Name: ""
    }
	*Option: HP_INDEX_CARD_LETTER:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:0
    {
        *Name: ""
    }
    *Option: JENV_CHOU3:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: JENV_CHOU4:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: JAPANESE_POSTCARD:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:0
    {
        *Name: ""
    }
	*Option: HP_3_5X5_IN_L_MM:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
	*Option: LEGAL:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: LETTER:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: HP_OFUKU_HAGAKI_200X148_MM:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:0
    {
        *Name: ""
    }
	*Option: STATEMENT:0.1004.0000_0_600x600:1:1:IDS_MTYPE_PLAIN_PAPER:0
    {
        *Name: ""
    }
	*Option: BORDERLESS_HP_4X6_IN_10X15_CM:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
	*Option: BORDERLESS_HP_5X7_IN_13X18_CM:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
	*Option: BORDERLESS_HP_2L_MM:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
	*Option: BORDERLESS_HP_3X5_IN:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
	*Option: BORDERLESS_A6:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
	*Option: BORDERLESS_HP_INDEX_CARD_3X5_IN:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:1
    {
        *Name: ""
    }
	*Option: BORDERLESS_HP_INDEX_CARD_4X6_IN:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:1
    {
        *Name: ""
    }
	*Option: BORDERLESS_HP_INDEX_CARD_5X8_IN:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:1
    {
        *Name: ""
    }
	*Option: BORDERLESS_JAPANESE_POSTCARD:2.1077.0000_0_600x600.1:1:1:IDS_MTYPE_OTHER_MATTE_INK_JET_PAPERS:1
    {
        *Name: ""
    }
	*Option: BORDERLESS_HP_3_5X5_IN_L_MM:5.1069.0000_0_600x600:1:1:IDS_MTYPE_HP_PHOTO_PAPERS:1
    {
        *Name: ""
    }
}


*%******************************************************************************************
*%                                  HagakiPaperSizeData
*% HagakiPaperSize Information 
*%******************************************************************************************

*Feature: HagakiPaperSizeData
{
    *Name: ""
    *ConcealFromUI?: TRUE
    *Option: JAPANESE_POSTCARD
    {
        *Name: ""
    }
}


*%******************************************************************************************
*%                                  BidiDefaults 
*%******************************************************************************************

*Feature: BidiDefaults
{
    *Name: "BiDiDefault"
    *ConcealFromUI?: TRUE
    *Option: DUPLEXUNIT:0
    {
        *Name: "DUPLEXUNIT:0"
    }
}

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

*%-------------------------------------------------------------------------
*%                         Cursor Commands
*%-------------------------------------------------------------------------
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }