
*%***************************************************************************************
*% Copyright (c) 2018 Xerox Corporation
*% All rights reserved.
*%***************************************************************************************

*GPDFileVersion: "1.0"
*GPDSpecVersion: "1.0"
*GPDFileName:    "c8045.gpd"

*Include:        "msxpsinc.gpd"
*Include:        "StdNames.gpd"
*Include:        "locale.gpd"
*Include:        "XeroxAltaLinkC80xx-textres.gpd"
*ModelName:      "Xerox AltaLink C8030/C8035/C8045/C8055/C8070"
*NoPunctuationCharSubstitute?: TRUE
*SuppressExtraBacksidePages?: TRUE

*MasterUnits:    PAIR(7200, 7200)
*ResourceDLL:    "unires.dll"
*PrinterType:    PAGE
*MaxCopies:      9999


*PrintRate: 45
*PrintRateUnit: PPM
*PrintRatePPM: 45

*PrintSchemaPrivateNamespaceURI: "http://xml.namespaces.xerox.com/enterprise/print/driver/native/printSchemaPrivateKeywords/2006/11"

*Macros: xrSetupOrder
{
	XRJOB_SETUP_ORDER_COPY:				JOB_SETUP.1
	XRJOB_SETUP_ORDER_COLLATE:			JOB_SETUP.2
	XRJOB_SETUP_ORDER_BANNER:			JOB_SETUP.3
	XRJOB_SETUP_ORDER_STAPLE:			JOB_SETUP.4
	XRJOB_SETUP_ORDER_OFFSET:			JOB_SETUP.5
	XRJOB_SETUP_ORDER_COLOR_MODE:		JOB_SETUP.6
	XRJOB_SETUP_ORDER_DUPLEX:			JOB_SETUP.7
	XRJOB_SETUP_ORDER_PUNCHING:			JOB_SETUP.8
	XRJOB_SETUP_ORDER_OUTPPUT_TRAY:		JOB_SETUP.9
	
	XRJOB_SETUP_ORDER_MEDIA_TYPE:		JOB_SETUP.21
	XRJOB_SETUP_ORDER_MEDIA_COLOR:		JOB_SETUP.22
	XRJOB_SETUP_ORDER_INPUT_TRAY:		JOB_SETUP.23
	XRJOB_SETUP_ORDER_MEDIA_SIZE:		JOB_SETUP.40
	
	XRPAGE_SETUP_ORDER_MEDIA_COLOR:		PAGE_SETUP.1
	XRPAGE_SETUP_ORDER_MEDIA_SIZE:		PAGE_SETUP.2
	XRPAGE_SETUP_ORDER_DUPLEX:			PAGE_SETUP.3
	XRPAGE_SETUP_ORDER_MEDIA_SOURCE:	PAGE_SETUP.4
	XRPAGE_SETUP_ORDER_MEDIA_TYPE:		PAGE_SETUP.5
	XRPAGE_SETUP_ORDER_COLOR:			PAGE_SETUP.6
	

	XRJOB_SETUP_ORDER_LAST:				JOB_SETUP.999 

	XRDOC_SETUP_ORDER_COPY:				DOC_SETUP.1
	XRDOC_SETUP_ORDER_COLLATE:			DOC_SETUP.2
	XRDOC_SETUP_ORDER_LAST:				DOC_SETUP.999 
}



*%******************************************************************************
*%								Job Setup
*%******************************************************************************

*Macros: xrPSCommandMacros
{		
	*%- ****************************************
	*%- *** special characters for GPD files ***
	*%- ****************************************
	OABK:		" <3C><3C>"		*%- " <<", Open Angled Bracket
	CABK:		"<3E><3E> "		*%- ">> ", Close Angled Bracket
	CRLF:		"<0D><0A>"		*%- 'CR' 'LF'


	*%- *****************************************
	*%- *** standard PS commands and comments ***
	*%- *****************************************
	psCmdSPD:	" setpagedevice"

	psCmdFB:		"featurebegin{"		=CRLF
	psCmtBF:		"%%%%BeginFeature:"  
	psCmtEF:		"%%%%EndFeature"	=CRLF
	psCmdFC:		"}featurecleanup"	=CRLF

}

*Command: CmdStartDoc
{ 	
	*Order: =XRDOC_SETUP_ORDER_COPY  
	*Cmd:   =psCmdFB
+			"%%%%BeginNonPPDFeature: *NumCopies " %d{NumOfCopies} =CRLF
+			%d{NumOfCopies} "  /languagelevel where {pop languagelevel}{1} ifelse "
+			"2 ge { 1 dict dup /NumCopies 4 -1 roll put setpagedevice } "
+			"{ userdict /#copies 3 -1 roll put } ifelse" =CRLF
+			"%%%%EndNonPPDFeature"  =CRLF
+			=psCmdFC
}


*%******************************************************************************
*%                            PageMediaSize - Paper Size
*%******************************************************************************
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *%DefaultOption: LETTER
	*switch: Locale
	{
	    *case: English_United_States
	    {
	        *DefaultOption: LETTER
	    }
		*case: English_Canadian
		{
	        *DefaultOption: LETTER
		}
	    *default:
	    {
	        *DefaultOption: A4
	    }
	} *% End of switch

	*Option: EXECUTIVE
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(52200, 75600)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(49896, 73296)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: FOLIO
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(61200, 93600)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(58896, 91296)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: STATEMENT
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(39600, 61200)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(37296, 58896)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: A3
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(84186, 119052)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(81882, 116748)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: A4
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(59526, 84186)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(57222, 81882)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: OtherMetricOversizedA4
	{
		*rcNameID: =IDS_MEDIA_SIZE_A4_OVRSIZED
		*PageDimensions: PAIR(63210, 84186)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(63210, 84186)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(60906, 81882)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: A5
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(41952, 59526)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(39648, 57222)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: A6
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(29760, 41952)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(27456, 39648)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ISO_B4
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(70866, 100062)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(68562, 97758)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ISOB5
	{
		*rcNameID: =IDS_MEDIA_SIZE_B5
		*PageDimensions: PAIR(49884, 70866)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(49884, 70866)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(47580, 68562)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ISOB6
	{
		*rcNameID: =IDS_MEDIA_SIZE_B6
		*PageDimensions: PAIR(35430, 49884)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(35430, 49884)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(33126, 47580)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ENV_C4
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(64908, 91842)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(62604, 89538)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ENV_C5
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(45918, 64908)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(43614, 62604)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ENV_C6
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(32310, 45918)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(30006, 43614)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ENV_DL
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(31176, 62358)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(28872, 60054)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: B4
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(72846, 103176)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(70542, 100872)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: B5
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(51588, 72846)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(49284, 70542)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: B6_JIS
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(36282, 51588)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(33978, 49284)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: TABLOID
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(79200, 122400)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(76896, 120096)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: OtherMetric215x315
	{
		*rcNameID: =IDS_MEDIA_SIZE_215X315
		*PageDimensions: PAIR(60942, 89286)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(60942, 89286)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(58638, 86982)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: NorthAmericaOversizedTabloid
	{
		*rcNameID: =IDS_MEDIA_SIZE_TABLOID_EXTRA
		*PageDimensions: PAIR(86400, 129600)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(86400, 129600)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(84096, 127296)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: NorthAmerica12x19
	{
		*rcNameID: =IDS_MEDIA_SIZE_12X19
		*PageDimensions: PAIR(86400, 136800)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(86400, 136800)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(84096, 134496)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: NorthAmerica3.5x5.5Postcard
	{
		*rcNameID: =IDS_MEDIA_SIZE_POSTCARD_3_5X5_5
		*PageDimensions: PAIR(25200, 39600)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(25200, 39600)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(22896, 37296)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ENV_MONARCH
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(27900, 54000)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(25596, 51696)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: NorthAmerica4x6Postcard
	{
		*rcNameID: =IDS_MEDIA_SIZE_POSTCARD_4X6
		*PageDimensions: PAIR(28800, 43200)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(28800, 43200)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(26496, 40896)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: NorthAmerica5x7
	{
		*rcNameID: =IDS_MEDIA_SIZE_5X7
		*PageDimensions: PAIR(36000, 50400)
		*PrintSchemaKeywordMap: "NorthAmerica5x7"
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(36000, 50400)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(33696, 48096)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: NorthAmerica6x9Envelope
	{
		*rcNameID: =IDS_MEDIA_SIZE_ENV_6X9
		*PageDimensions: PAIR(43200, 64800)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(43200, 64800)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(40896, 62496)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: NorthAmerica216x340
	{
		*rcNameID: =IDS_MEDIA_SIZE_8_5X13_4
		*PageDimensions: PAIR(61200, 96480)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(61200, 96480)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(58896, 94176)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: NorthAmerica8x10
	{
		*rcNameID: =IDS_MEDIA_SIZE_8X10
		*PageDimensions: PAIR(57600, 72000)
		*PrintSchemaKeywordMap: "NorthAmerica8x10"
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(57600, 72000)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(55296, 69696)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: NorthAmerica9x12Envelope
	{
		*rcNameID: =IDS_MEDIA_SIZE_ENV_9X12
		*PageDimensions: PAIR(64800, 86400)
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(64800, 86400)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(62496, 84096)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: LEGAL
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(61200, 100800)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(58896, 98496)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: LETTER
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(61200, 79200)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(58896, 76896)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: 9X11
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(64800, 79200)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(62496, 76896)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ENV_10
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(29700, 68400)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(27396, 66096)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ENV_9
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(27900, 63900)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(25596, 61596)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: ISOSRA3
	{
		*rcNameID: =IDS_MEDIA_SIZE_SRA3
		*PageDimensions: PAIR(90708, 127554)
		*PrintSchemaKeywordMap: "ISOSRA3"
		*switch: PageBorderless
		{
			*case: Borderless
			{
					*PrintableArea: PAIR(90708, 127554)
		            *PrintableOrigin: PAIR(0,0)
				
			}
			*default:
			{
				
					*PrintableArea: PAIR(88404, 125250)
		            *PrintableOrigin: PAIR(1152, 1152)
				
			}
		}
			
	}
	
	*Option: CUSTOMSIZE
	{
		*rcNameID: =USER_DEFINED_SIZE_DISPLAY
		*MinSize: PAIR(24945, 27780)
		*MaxSize: PAIR(90709, 136800)
		*MaxPrintableWidth: 90309
		*MinLeftMargin: 200
		*CenterPrintable?: FALSE

		*CustCursorOriginX:  %d{200}
		*CustCursorOriginY:  %d{200}
		*CustPrintableOriginX:  %d{200}
		*CustPrintableOriginY:  %d{200}
		*CustPrintableSizeX:   %d{PhysPaperWidth-200*2}
		*CustPrintableSizeY:  %d{PhysPaperLength-200*2}
	}
}


*%******************************************************************************
*%                             PageOrientation
*%******************************************************************************
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT

    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
    }

    *Option: LANDSCAPE_CC90
    {
        *rcNameID: =LANDSCAPE_DISPLAY
    }
}

*%******************************************************************************
*%                            PageOutputColor
*%******************************************************************************
*Feature: ColorMode
{
    *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
    *DefaultOption: Color

    *Option: Color
    {
        *PrintSchemaKeywordMap: "Color"
        *rcNameID: =24BPP_DISPLAY
        *Color?: TRUE
        *DevNumOfPlanes: 1
        *DevBPP: 24
        *DrvBPP: 24
        *PaletteSize: 1
    }

    *Option: Mono
    {
        *PrintSchemaKeywordMap: "Monochrome"
	    *rcNameID: =MONO_DISPLAY
	    *Color? : FALSE
		*DevNumOfPlanes: 1
		*DevBPP: 1
    }
}


*ChangeColorModeOnDoc?: FALSE


*%******************************************************************************
*%                              Resolution
*%******************************************************************************
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Res_600x600
	
	
	*Option: Res_600x600
    {
		*Name: "600 x 600"
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *SpotDiameter: 100
		*Command: CmdSendBlockData { *Cmd : "" }
		*Command: CmdSelect
		{
			*Order: =XRJOB_SETUP_ORDER_LAST
			*Cmd: =XRPJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600x600 =PCLXL_OpenDataSource
		}
	}

	*Option: Res_1200x1200
    {
		*Name: "1200 x 1200"
        *DPI: PAIR(1200, 1200)
        *TextDPI: PAIR(1200, 1200)
        *SpotDiameter: 100
		*Command: CmdSendBlockData { *Cmd : "" }
	}

}
	
	



*%******************************************************************************
*%                             Duplex
*%******************************************************************************
*Feature: Duplex
{
    *%PrintSchemaKeywordMap: "JobDuplexAllDocumentsContiguously"
	*rcNameID: =TWO_SIDED_PRINTING_DISPLAY
	*DefaultOption: VERTICAL

	*Option: NONE
	{
		*PrintSchemaKeywordMap: "OneSided"
		*rcNameID: =NONE_DISPLAY
	}
	*Option: VERTICAL
	{
		*PrintSchemaKeywordMap: "TwoSidedLongEdge"
		*rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
	}
	*Option: HORIZONTAL
	{
		*PrintSchemaKeywordMap: "TwoSidedShortEdge"
		*rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
	}
}	
*InvalidCombination: LIST(InstallableDuplexUnitActual.NotInstalled,Duplex.VERTICAL)
*InvalidCombination: LIST(InstallableDuplexUnitActual.NotInstalled,Duplex.HORIZONTAL)
*InvalidCombination: LIST(InstallablePhaserModuleActual.N,Duplex.VERTICAL)
*InvalidCombination: LIST(InstallablePhaserModuleActual.N,Duplex.HORIZONTAL)



*%******************************************************************************
*%                            JobNUpAllDocumentsContiguously
*%******************************************************************************
*Feature: JobNUpAllDocumentsContiguously
{
    *rcNameID: =IDS_GPD_PAGES_PER_SHEET
    *DefaultOption: 1
    *PrintSchemaKeywordMap: "JobNUpAllDocumentsContiguously"

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

    *Option: 2
    {
        *Name: "2"
    }

    *Option: 4
    {
        *Name: "4"
    }

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

    *Option: 9
    {
        *Name: "9"
    }

    *Option: 16
    {
        *Name: "16"
    }
}



*%******************************************************************************************
*%                                      Media Type
*%******************************************************************************************
*Feature: MediaType
{
	*%PrintSchemaKeywordMap: "PageMediaType"
    *rcNameID: =MEDIA_TYPE_DISPLAY
    *DefaultOption: system-default
	
	*Option: bond
    {
        *rcNameID: =IDS_MEDIA_TYPE_BOND
		*PrintSchemaKeywordMap: "Bond"
	}
	
	*Option: cardstock
    {
        *rcNameID: =IDS_MEDIA_TYPE_CARDSTOCK
		*PrintSchemaKeywordMap: "CardStock"
	}
	
	*Option: cardstock-glossy
    {
        *rcNameID: =IDS_MEDIA_TYPE_CARDSTOCK_GLOSSY
	}
	
	*Option: cardstock-glossy-reloaded
    {
        *rcNameID: =IDS_MEDIA_TYPE_CARDSTOCK_GLOSSY_RELOADED
	}
	
	*Option: cardstock-heavyweight
    {
        *rcNameID: =IDS_MEDIA_TYPE_CARDSTOCK_HEAVYWEIGHT
	}
	
	*Option: cardstock-heavyweight-glossy
    {
        *rcNameID: =IDS_MEDIA_TYPE_CARDSTOCK_HW_GLOSSY
	}
	
	*Option: cardstock-heavyweight-glossy-reloaded
    {
        *rcNameID: =IDS_MEDIA_TYPE_CARDSTOCK_HW_GLOSSY_RELOADED
	}
	
	*Option: cardstock-heavyweight-reloaded
    {
        *rcNameID: =IDS_MEDIA_TYPE_CARDSTOCK_HEAVYWEIGHT_RELOADED
	}
	
	*Option: cardstock-lightweight
    {
        *rcNameID: =IDS_MEDIA_TYPE_LIGHTWEIGHT_CARDSTOCK
	}
	
	*Option: cardstock-lightweight-glossy
    {
        *rcNameID: =IDS_MEDIA_TYPE_CARDSTOCK_LW_GLOSSY
	}
	
	*Option: cardstock-reloaded
    {
        *rcNameID: =IDS_MEDIA_TYPE_CARDSTOCK_RELOADED
	}
	
	*Option: custom1
    {
        *rcNameID: =IDS_MEDIA_TYPE_CUSTOM_1
	}
	
	*Option: custom2
    {
        *rcNameID: =IDS_MEDIA_TYPE_CUSTOM_2
	}
	
	*Option: custom3
    {
        *rcNameID: =IDS_MEDIA_TYPE_CUSTOM_3
	}
	
	*Option: custom4
    {
        *rcNameID: =IDS_MEDIA_TYPE_CUSTOM_4
	}
	
	*Option: custom5
    {
        *rcNameID: =IDS_MEDIA_TYPE_CUSTOM_5
	}
	
	*Option: custom6
    {
        *rcNameID: =IDS_MEDIA_TYPE_CUSTOM_6
	}
	
	*Option: custom7
    {
        *rcNameID: =IDS_MEDIA_TYPE_CUSTOM_7
	}
	
	*Option: envelope
    {
        *rcNameID: =IDS_MEDIA_TYPE_ENVELOPE
		*PrintSchemaKeywordMap: "EnvelopePlain"
	}
	
	*Option: labels
    {
        *rcNameID: =IDS_MEDIA_TYPE_LABELS
		*PrintSchemaKeywordMap: "Label"
	}
	
	*Option: stationery
    {
        *rcNameID: =IDS_MEDIA_TYPE_PLAIN
		*PrintSchemaKeywordMap: "Plain"
	}
	
	*Option: stationery-letterhead
    {
        *rcNameID: =IDS_MEDIA_TYPE_LETTERHEAD
	}
	
	*Option: stationery-lightweight
    {
        *rcNameID: =IDS_MEDIA_TYPE_LIGHT_PLAIN
	}
	
	*Option: stationery-pre-printed
    {
        *rcNameID: =IDS_MEDIA_TYPE_PREPRINTED_WITH_HYPHEN
	}
	
	*Option: stationery-pre-punched
    {
        *rcNameID: =IDS_MEDIA_TYPE_HOLE_PUNCHED
	}
	
	*Option: stationery-recycled
    {
        *rcNameID: =IDS_MEDIA_TYPE_RECYCLED
	}
	
	*Option: system-default
    {
        *rcNameID: =IDS_MEDIA_TYPE_PRINTER_DEFAULT
	}
	
	*Option: transparency
    {
        *rcNameID: =IDS_MEDIA_TYPE_TRANSPARENCY
		*PrintSchemaKeywordMap: "Transparency"
	}
	
	*Option: use-ready
    {
        *rcNameID: =IDS_AUTOSELECT
	}
}


*%******************************************************************************************
*%                                      Media Color
*%******************************************************************************************
*Feature: MediaColor
{
	*PrintSchemaKeywordMap: "PageMediaColor"
    *rcNameID: =IDS_MEDIA_COLOR
    *DefaultOption: white
	
	*Option: blue
    {
        *rcNameID: =IDS_MEDIA_COLOR_BLUE
		*PrintSchemaKeywordMap: "Blue"
	}
	
	*Option: buff
    {
        *rcNameID: =IDS_MEDIA_COLOR_BUFF
	}
	
	*Option: custom1
    {
        *rcNameID: =IDS_MEDIA_COLOR_CUSTOM1
	}
	
	*Option: custom2
    {
        *rcNameID: =IDS_MEDIA_COLOR_CUSTOM2
	}
	
	*Option: custom3
    {
        *rcNameID: =IDS_MEDIA_COLOR_CUSTOM3
	}
	
	*Option: custom4
    {
        *rcNameID: =IDS_MEDIA_COLOR_CUSTOM4
	}
	
	*Option: custom5
    {
        *rcNameID: =IDS_MEDIA_COLOR_CUSTOM5
	}
	
	*Option: custom6
    {
        *rcNameID: =IDS_MEDIA_COLOR_CUSTOM6
	}
	
	*Option: custom7
    {
        *rcNameID: =IDS_MEDIA_COLOR_CUSTOM7
	}
	
	*Option: goldenrod
    {
        *rcNameID: =IDS_MEDIA_COLOR_GOLDENROD
		*PrintSchemaKeywordMap: "GoldenRod"
	}
	
	*Option: gray
    {
        *rcNameID: =IDS_MEDIA_COLOR_GRAY
		*PrintSchemaKeywordMap: "Gray"
	}
	
	*Option: green
    {
        *rcNameID: =IDS_MEDIA_COLOR_GREEN
		*PrintSchemaKeywordMap: "Green"
	}
	
	*Option: ivory
    {
        *rcNameID: =IDS_MEDIA_COLOR_IVORY
		*PrintSchemaKeywordMap: "Ivory"
	}
	
	*Option: no-color
    {
        *rcNameID: =IDS_MEDIA_COLOR_CLEAR
		*PrintSchemaKeywordMap: "NoColor"
	}
	
	*Option: orange
    {
        *rcNameID: =IDS_MEDIA_COLOR_ORANGE
		*PrintSchemaKeywordMap: "Orange"
	}
	
	*Option: other
    {
        *rcNameID: =IDS_MEDIA_COLOR_OTHER
	}
	
	*Option: pink
    {
        *rcNameID: =IDS_MEDIA_COLOR_PINK
		*PrintSchemaKeywordMap: "Pink"
	}
	
	*Option: red
    {
        *rcNameID: =IDS_MEDIA_COLOR_RED
		*PrintSchemaKeywordMap: "Red"
	}
	
	*Option: system-default
    {
        *rcNameID: =IDS_MEDIA_COLOR_PRINTER_DEFAULT
	}
	
	*Option: use-ready
    {
        *rcNameID: =IDS_AUTOSELECT
	}
	
	*Option: white
    {
        *rcNameID: =IDS_MEDIA_COLOR_WHITE
		*PrintSchemaKeywordMap: "White"
	}
	
	*Option: yellow
    {
        *rcNameID: =IDS_MEDIA_COLOR_YELLOW
		*PrintSchemaKeywordMap: "Yellow"
	}
}







*%******************************************************************************************
*%                                      Input Trays
*%******************************************************************************************
*Feature: InputBin
{
	*PrintSchemaKeywordMap: "PageInputBin"
	*rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: automatic
	
	
	*Option: automatic
    {
        *rcNameID: =IDS_AUTOSELECT
		*OptionID: 7165
	}
	
	*Option: tray-1
    {
        *rcNameID: =IDS_INPUT_TRAY_1
		*OptionID: 7153
	}
	
	*Option: tray-2
    {
        *rcNameID: =IDS_INPUT_TRAY_2
		*OptionID: 7154
	}
	
	*Option: tray-3
    {
        *rcNameID: =IDS_INPUT_TRAY_3
		*OptionID: 7155
	}
	
	*Option: tray-4
    {
        *rcNameID: =IDS_INPUT_TRAY_4
		*OptionID: 7156
	}
	
	*Option: tray-5
    {
        *rcNameID: =IDS_INPUT_TRAY_5_BYPASS
		*OptionID: 7157
	}
	
	*Option: tray-6
    {
        *rcNameID: =IDS_INPUT_TRAY_6
		*OptionID: 7158
		*Constraints: LIST(InstallableInputPaperTraysActual.5TraysHighCapacityTandemTray, InstallableInputPaperTraysActual.5Trays)
	}
}






*%******************************************************************************
*%                            DocumentCollate
*%******************************************************************************
*Feature: Collate
{
    *rcNameID: =IDS_GPD_COLLATE
    *DefaultOption: ON
    *Option: OFF
    {
        *rcNameID: =OFF_DISPLAY
        *Command: CmdSelect
        {
			*Order: =XRDOC_SETUP_ORDER_COLLATE
			*Cmd:   =psCmdFB
+					=psCmtBF " *Collate false" =CRLF
+					"    1 dict dup/Collate false put setpagedevice" =CRLF
+					=psCmtEF 
+					=psCmdFC
		}
    }
    *Option: ON
    {
        *rcNameID: =ON_DISPLAY
        *Command: CmdSelect
        {
			*Order: =XRDOC_SETUP_ORDER_COLLATE
			*Cmd:   =psCmdFB
+					=psCmtBF " *Collate true" =CRLF
+					"    1 dict dup/Collate true put setpagedevice" =CRLF
+					=psCmtEF 
+					=psCmdFC
		}
    }
}

	
*%******************************************************************************
*%                            Staples
*%******************************************************************************
*Feature: Stapling
{
	*PrintSchemaKeywordMap: "JobStapleAllDocuments"
	*rcNameID: =IDS_GPD_STAPLING
	*DefaultOption: None
		
	*Option: None
    {		
		*PrintSchemaKeywordMap: "None"		
        *rcNameID: =IDS_GPD_NO_STAPLES
	}
	*Option: StapleTopLeft
    {		
		*PrintSchemaKeywordMap: "StapleTopLeft"		
        *rcNameID: =IDS_STAPLING_ONE_STAPLE
		*Constraints: LIST(InstallableOutputDeliveryUnitActual.MainTray, InstallableOutputDeliveryUnitActual.SctMailbox, InstallableOutputDeliveryUnitActual.OffsetCatchTray, InstallableOutputDeliveryUnitActual.NotInstalled, InstallableOutputDeliveryUnitActual.OutputBin500Sheet, InstallableOutputDeliveryUnitActual.SimpleCatchTray)
	}
	*Option: StapleDualLeft
    {		
		*PrintSchemaKeywordMap: "StapleDualLeft"		
        *rcNameID: =IDS_STAPLING_TWO_STAPLES
		*Constraints: LIST(InstallableOutputDeliveryUnitActual.MainTray, InstallableOutputDeliveryUnitActual.SctMailbox, InstallableOutputDeliveryUnitActual.OffsetCatchTray, InstallableOutputDeliveryUnitActual.BasicOfficeFinisher, InstallableOutputDeliveryUnitActual.ATypeFinisher, InstallableOutputDeliveryUnitActual.NotInstalled, InstallableOutputDeliveryUnitActual.OutputBin500Sheet, InstallableOutputDeliveryUnitActual.SimpleCatchTray)
	}
	*Option: FourStaples
    {		
        *rcNameID: =IDS_STAPLING_FOUR_STAPLES
		*Constraints: LIST(InstallableOutputDeliveryUnitActual.MainTray, InstallableOutputDeliveryUnitActual.SctMailbox, InstallableOutputDeliveryUnitActual.AdvancedOfficeFinisher, InstallableOutputDeliveryUnitActual.BasicOfficeFinisher, InstallableOutputDeliveryUnitActual.OfficeFinisher, InstallableOutputDeliveryUnitActual.BTypeFinisher, InstallableOutputDeliveryUnitActual.TypeSB, InstallableOutputDeliveryUnitActual.TypeSBBookletMaker, InstallableOutputDeliveryUnitActual.Css, InstallableOutputDeliveryUnitActual.OffsetCatchTray, InstallableOutputDeliveryUnitActual.ATypeFinisher, InstallableOutputDeliveryUnitActual.NotInstalled, InstallableOutputDeliveryUnitActual.OutputBin500Sheet, InstallableOutputDeliveryUnitActual.SimpleCatchTray)
	}
}



*%******************************************************************************
*%                            SecurePrint
*%******************************************************************************
*Feature: SecurePrint
{
    *rcNameID: =IDS_GPD_SECURE_PRINT
    *DefaultOption: OFF
	*ConcealFromUI?: TRUE

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

*InvalidCombination: LIST(HardDisk.False,SecurePrint.ON)


*JobPasscodeMinLength:4
*JobPasscodeMaxLength:10

*%******************************************************************************
*%                        JobPasscode
*%******************************************************************************
*Feature: JobPasscode
{ 
    *% this is a hidden feature
    *Name: "Job Passcode"
    *DefaultOption: OFF 
    *ConcealFromUI?: TRUE
    *PrintSchemaKeywordMap: "JobPasscode"
	
    *Option: OFF
    { 
	*rcNameID: =OFF_DISPLAY
	*PrintSchemaKeywordMap: "Off"
    } 
	
    *Option: ON
    {
	*rcNameID: =ON_DISPLAY
	*PrintSchemaKeywordMap: "On"
    }
}

*%******************************************************************************
*%                 JobPasscode Constraint
*%******************************************************************************
*Feature: WindowsPinPrinting
{
    *FeatureType: PRINTER_PROPERTY
    *rcNameID: =IDS_WIN_PIN_PRINTING
    *DefaultOption: ON

    *Option: ON
    {
        *rcNameID: =IDS_WIN_PIN_ENABLE
    }

    *Option: OFF
    {
		*rcNameID: =IDS_WIN_PIN_DISABLE
		*DisabledFeatures: LIST(JobPasscode)
    }
}



*%******************************************************************************
*%                        PageBorderless
*%******************************************************************************
*Feature: PageBorderless
{ 
  *% this is a hidden feature
  *rcNameID: =IDS_BORDERLESS
  *ConflictPriority: 70
    *DefaultOption: None
  *ConcealFromUI?: TRUE
  

  *Option: None
  {
    *rcNameID: =OFF_DISPLAY
    
  }

  *Option: Borderless
  {
    *rcNameID: =ON_DISPLAY
    
  }
}
*%******************************************************************************
*%                            Job Identification
*%******************************************************************************
*Feature: JobIdentification
{
    *rcNameID: =IDS_JOB_ID
    *DefaultOption: JobIdBannerOn
    
	*Option: JobIdOff
    {
        *rcNameID: =IDS_JOB_ID_DISABLE
    }
    *Option: JobIdBannerOn
    {
        *rcNameID: =IDS_JOB_ID_PRINT_ON_BANNER_PAGE
    }
    *Option: JobIdPrintFirstPage
    {
        *rcNameID: =IDS_JOB_ID_PRINT_MARGINS_FIRST_PAGE
    }
    *Option: JobIdPrintAllPages
    {
        *rcNameID: =IDS_JOB_ID_PRINT_MARGINS_ALL_PAGES
    }
}


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

*Include: "c8045-conf.gpd"

