*%******************************************************************************************
*%                                                                                         *
*%  Copyright (c) 2009 Kyocera Mita Corporation                                            *
*%  All Rights Reserved.                                                                   *
*%                                                                                         *
*%******************************************************************************************
*GPDSpecVersion: "1.1"
*GPDFileName: "KyUniL.GPD"
*GPDFileVersion: "2.0"
*Include: "StdNames.gpd"
*Include: "ttfsub.gpd"
*ModelName: "Kyocera Classic Universaldriver"
*MasterUnits: PAIR(600, 600)
*ResourceDLL: "KyURes.dll"
*PrinterType: PAGE
*PrintRate: 30
*PrintRatePPM: 30
*PrintRateUnit: PPM
*MaxCopies: 999

*%******************************************************************************************
*%                                        UI Order                                         *
*%******************************************************************************************
*% Printer Features
*Feature: GraphicsMode {}
*Feature: EcoPrint {}
*Feature: HalfSpeedMode {}
*Feature: GlossMode {}
*% Device Settings
*Feature: PaperFeeder {}
*Feature: DuplexUnit {}
*Feature: Memory {}

*%******************************************************************************************
*%                                           DLL                                           *
*%******************************************************************************************
*Feature: RESDLL
{
	*Option: KyoFonts2
	{
		*Name: "KyUFon.dll"
	}
}

*%******************************************************************************************
*%                                    Constraint Blocks                                    *
*%******************************************************************************************
*BlockMacro: EnvelopeSizes
{
    *Constraints: LIST(PaperSize.ENV_MONARCH,PaperSize.ENV_10,PaperSize.ENV_DL,
+   PaperSize.ENV_C5,PaperSize.ENV_9,PaperSize.ENV_PERSONAL,PaperSize.ENV_B5,
+   PaperSize.ENV_C4)
}
*BlockMacro: DefaultCassettePapers
{
	*InsertBlock: =EnvelopeSizes
	*Constraints: PaperSize.B6_JIS
}
*BlockMacro: OptionFeederPapers
{
	*Constraints: LIST(PaperSize.A6,PaperSize.B6_JIS)
}
*BlockMacro: DuplexPapers
{
	*InsertBlock: =EnvelopeSizes
	*Constraints: LIST(PaperSize.A6,PaperSize.B6_JIS)
}
*BlockMacro: CassetteCommonTypes
{
	*Constraints: LIST(MediaType.Transparency,MediaType.Vellum,MediaType.Labels,
+		MediaType.Envelope,MediaType.Cardstock,MediaType.Coated,MediaType.Thick)
}
*BlockMacro: DefaultCassetteTypes
{
	*InsertBlock: =CassetteCommonTypes
}
*BlockMacro: DuplexTypes
{
	*Constraints: LIST(MediaType.Transparency,MediaType.Vellum,MediaType.Labels,
+		MediaType.Envelope,MediaType.Cardstock,MediaType.Thick)
}

*%******************************************************************************************
*%                                      Orientation                                        *
*%******************************************************************************************
*Feature: Orientation
{
	*rcNameID: =ORIENTATION_DISPLAY
	*DefaultOption: PORTRAIT
	*Option: PORTRAIT
	{
		*rcNameID: =PORTRAIT_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.1
			*NoPageEject?: TRUE
			*Cmd: "<1B>&l0o1E"
		}
	}
	*Option: LANDSCAPE_CC90
	{
		*rcNameID: =LANDSCAPE_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.1
			*NoPageEject?: TRUE
			*Cmd: "<1B>&l1o1E"
		}
	}
}

*%******************************************************************************************
*%                                        Duplexing                                        *
*%******************************************************************************************
*Feature: Duplex
{
	*rcNameID: =TWO_SIDED_PRINTING_DISPLAY
	*DefaultOption: NONE
	*Option: NONE
	{
		*rcNameID: =NONE_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.2
			*Cmd: "<1B>&l0S"
		}
	}
	*Option: VERTICAL
	{
		*rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
		*InsertBlock: =DuplexPapers
		*InsertBlock: =DuplexTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.2
			*Cmd: "<1B>&l1S"
		}
	}
	*Option: HORIZONTAL
	{
		*rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
		*InsertBlock: =DuplexPapers
		*InsertBlock: =DuplexTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.2
			*Cmd: "<1B>&l2S"
		}
	}
}

*%******************************************************************************************
*%                                      Paper Source                                       *
*%******************************************************************************************
*Feature: InputBin
{
	*rcNameID: =PAPER_SOURCE_DISPLAY
	*DefaultOption: Auto
	*Option: Auto
	{
		*rcNameID: =AUTO_DISPLAY
		*OptionID: 257
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.3
			*Cmd: "!R!PSRC100;EXIT;"
		}
	}
	*Option: Cassette	*% Default Cassette
	{
		*rcNameID: 258
		*OptionID: 258
		*InsertBlock: =DefaultCassettePapers
		*InsertBlock: =DefaultCassetteTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.3
			*Cmd: "!R!PSRC1;EXIT;"
		}
	}
	*Option: Cassette2
	{
		*rcNameID: 259
		*OptionID: 259
		*InsertBlock: =OptionFeederPapers
		*InsertBlock: =CassetteCommonTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.3
			*Cmd: "!R!PSRC2;EXIT;"
		}
	}
	*Option: Cassette3
	{
		*rcNameID: 260
		*OptionID: 260
		*InsertBlock: =OptionFeederPapers
		*InsertBlock: =CassetteCommonTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.3
			*Cmd: "!R!PSRC3;EXIT;"
		}
	}
	*Option: Cassette4
	{
		*rcNameID: 261
		*OptionID: 261
		*InsertBlock: =OptionFeederPapers
		*InsertBlock: =CassetteCommonTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.3
			*Cmd: "!R!PSRC4;EXIT;"
		}
	}
	*Option: Cassette5
	{
		*rcNameID: 262
		*OptionID: 262
		*InsertBlock: =OptionFeederPapers
		*InsertBlock: =CassetteCommonTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.3
			*Cmd: "!R!PSRC5;EXIT;"
		}
	}
	*Option: Manual	*% Multi-Purpose Feeder
	{
		*rcNameID: 276
		*OptionID: 4
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.3
			*Cmd: "!R!PSRC0;EXIT;"
		}
	}
}

*%******************************************************************************************
*%                                        Media Type                                       *
*%******************************************************************************************
*Feature: MediaType
{
	*rcNameID: =MEDIA_TYPE_DISPLAY
	*DefaultOption: Unspecified
	*Option: Unspecified
	{
		*rcNameID: 518
		*OptionID: 324
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP99;EXIT;"
		}
	}
	*Option: Auto
	{
		*rcNameID: =AUTO_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP0;EXIT;"
		}
	}
	*Option: Plain
	{
		*rcNameID: 501
		*OptionID: 300
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP1;EXIT;"
		}
	}
	*Option: Transparency
	{
		*rcNameID: 502
		*OptionID: 301
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP2;EXIT;"
		}
	}
	*Option: Preprinted
	{
		*rcNameID: 503
		*OptionID: 302
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP3;EXIT;"
		}
	}
	*Option: Labels
	{
		*rcNameID: 505
		*OptionID: 303
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP4;EXIT;"
		}
	}
	*Option: Bond
	{
		*rcNameID: 504
		*OptionID: 304
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP5;EXIT;"
		}
	}
	*Option: Recycled
	{
		*rcNameID: 506
		*OptionID: 305
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP6;EXIT;"
		}
	}
	*Option: Vellum
	{
		*rcNameID: 512
		*OptionID: 306
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP7;EXIT;"
		}
	}
	*Option: Rough
	{
		*rcNameID: 507
		*OptionID: 307
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP8;EXIT;"
		}
	}
	*Option: Letterhead
	{
		*rcNameID: 508
		*OptionID: 308
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP9;EXIT;"
		}
	}
	*Option: Color
	{
		*rcNameID: 509
		*OptionID: 309
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP10;EXIT;"
		}
	}
	*Option: Prepunched
	{
		*rcNameID: 513
		*OptionID: 310
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP11;EXIT;"
		}
	}
	*Option: Envelope
	{
		*rcNameID: 510
		*OptionID: 311
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP12;EXIT;"
		}
	}
	*Option: Cardstock
	{
		*rcNameID: 511
		*OptionID: 312
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP13;EXIT;"
		}
	}
	*Option: Coated
	{
		*rcNameID: 516
		*OptionID: 313
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP14;EXIT;"
		}
	}
	*Option: Thick
	{
		*rcNameID: 514
		*OptionID: 314
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP16;EXIT;"
		}
	}
	*Option: FinePaper
	{
		*rcNameID: 515
		*OptionID: 315
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP17;EXIT;"
		}
	}
	*Option: Custom1
	{
		*rcNameID: 531
		*OptionID: 316
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP21;EXIT;"
		}
	}
	*Option: Custom2
	{
		*rcNameID: 532
		*OptionID: 317
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP22;EXIT;"
		}
	}
	*Option: Custom3
	{
		*rcNameID: 533
		*OptionID: 318
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP23;EXIT;"
		}
	}
	*Option: Custom4
	{
		*rcNameID: 534
		*OptionID: 319
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP24;EXIT;"
		}
	}
	*Option: Custom5
	{
		*rcNameID: 535
		*OptionID: 320
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP25;EXIT;"
		}
	}
	*Option: Custom6
	{
		*rcNameID: 536
		*OptionID: 321
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP26;EXIT;"
		}
	}
	*Option: Custom7
	{
		*rcNameID: 537
		*OptionID: 322
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP27;EXIT;"
		}
	}
	*Option: Custom8
	{
		*rcNameID: 538
		*OptionID: 323
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "!R!MTYP28;EXIT;"
		}
	}
}

*%******************************************************************************************
*%                                        EcoPrint                                         *
*%******************************************************************************************
*Feature: EcoPrint
{
	*rcNameID: 1050
	*DefaultOption: False
	*Option: False
	{
		*rcNameID: =OFF_DISPLAY
		*Command: CmdSelect
		{
			*Order: JOB_SETUP.15
			*Cmd: "@PJL SET ECOPRINT=OFF<0D0A>"
		}
	}
	*Option: True
	{
		*rcNameID: =ON_DISPLAY
		*Command: CmdSelect
		{
			*Order: JOB_SETUP.15
			*Cmd: "@PJL SET ECOPRINT=ON<0D0A>"
		}
	}
}

*%******************************************************************************************
*%                                        HalfSpeedMode                                    *
*%******************************************************************************************
*Feature: HalfSpeedMode
{
	*rcNameID: 2550
	*DefaultOption: False
	*Option: False
	{
		*rcNameID: =OFF_DISPLAY
	}
	*Option: True
	{
		*rcNameID: =ON_DISPLAY
		*Command: CmdSelect
		{
			*Order: JOB_SETUP.16
			*Cmd: "@PJL SET KHALFSPEEDMODE=ON<0D0A>"
		}
	}
}


*%******************************************************************************************
*%                       Copy Collate featured by UniDRV                                   *
*% printer supports collation only if RAMDisk or PrinterHardDisk installed                 *
*% Feature: Collate should not be shown in the UI                                          *
*%******************************************************************************************
*Feature: Collate
{
    *rcNameID: 2560 
    *DefaultOption: OFF
    
    *Option: OFF
    {
        *rcNameID: =OFF_DISPLAY
    }
    *Option: ON
    {
        *rcNameID: =ON_DISPLAY
        *Constraints: DeviceCollate.NotInstalled
    }
}


*switch: Collate
{
    *case: OFF
    {
        *Command: CmdCopies
        {
            *Order: DOC_SETUP.10
            *CallbackID: 10
        }
    }

    *case: ON
    {
        *Command: CmdCopies
        {
            *Order: JOB_SETUP.10
            *CallbackID: 1
        }
    }
}


*%******************************************************************************************
*%                                        DeviceCollate                                    *
*% Feature Workaround for collating                                                        *
*% To get the chance for toggling between Device collate and Software collate              *
*%******************************************************************************************
*Feature: DeviceCollate
{
    *rcNameID: 2560
    *FeatureType: PRINTER_PROPERTY

    *DefaultOption: Installed

    *Option: NotInstalled
    {
        *rcNameID: 2562
        *DisabledFeatures: LIST(Collate)
    }
    *Option: Installed
    {
        *rcNameID: 2561
    }
}



*%******************************************************************************************
*%                      CommandCallBack: Kyocontrol (PJL)                                *
*%******************************************************************************************
*Feature: KyoControlPJLCmdCallback
{
    *Name: "CopyPJLCmdCallback"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: KC
    *Option: KC
    {
        *Name: "KC"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.5
            *CallbackID:11
        }
    }
}


*%******************************************************************************************
*%                      CommandCallBack: Job Retention                                     *
*%******************************************************************************************
*Feature: JRCmdCallback
{
    *Name: "JRCmdCallback"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JR
    *Option: JR
    {
        *Name: "JR"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.6
            *CallbackID:2
        }
    }
}


*%******************************************************************************************
*%                      CommandCallBack: Job Account                                       *
*%******************************************************************************************
*Feature: JACmdCallback
{
    *Name: "JACmdCallback"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JA
    *Option: JA
    {
        *Name: "JA"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.7
            *CallbackID:3
        }
    }
}


*%******************************************************************************************
*%                      CommandCallBack: Finishing                                         *
*%******************************************************************************************
*Feature: FinCmdCallback
{
    *Name: "FinCmdCallback"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: Fin
    *Option: Fin
    {
        *Name: "Fin"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.8
            *CallbackID:4
        }
    }
}


*%******************************************************************************************
*%                      CommandCallBack: COLOR REPRODUCTION                                *
*%******************************************************************************************
*Feature: ColorReproductionCmdCallback
{
    *Name: "WatermarkCmdCallback"
    *ConcealFromUI?: TRUE
    *DefaultOption: ColorReproduction
    *Option: ColorReproduction
    {
        *Name: "ColorReproduction"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.9
            *CallbackID:9
        }
    }
}


*%******************************************************************************************
*%                      CommandCallBack: Finishing                                         *
*%******************************************************************************************
*Feature: DuplexCmdCallback
{
    *Name: "DuplexCmdCallback"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: DUPL
    *Option: DUPL
    {
        *Name: "DUPL"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.7
            *CallbackID:5
        }
    }
}


*%******************************************************************************************
*%                      CommandCallBack: Finishing                                         *
*%******************************************************************************************
*Feature: StapleMethodCmdCallback
{
    *Name: "StapleMethodCmdCallback"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: STPL
    *Option: STPL
    {
        *Name: "STPL"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.8
            *CallbackID:6
        }
    }
}


*%******************************************************************************************
*%                      CommandCallBack: Finishing                                         *
*%******************************************************************************************
*Feature: JogCmdCallback
{
    *Name: "JogCmdCallback"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: JOG
    *Option: JOG
    {
        *Name: "JOG"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.9
            *CallbackID:7
        }
    }
}


*%******************************************************************************************
*%                      CommandCallBack: Copy 'UNCollate' (PCL)                            *
*%******************************************************************************************
*%*Feature: CopyPCLCmdCallback
*%{
*%    *Name: "CopyPCLCmdCallback"
*%    *ConcealFromUI?: TRUE
*%    *FeatureType: DOC_PROPERTY
*%    *DefaultOption: CC
*%    *Option: CC
*%    {
*%        *Name: "CC"
*%        *Command: CmdSelect
*%        {
*%            *Order: DOC_SETUP.10
*%            *CallbackID:10
*%        }
*%    }
*%}


*%******************************************************************************************
*%                      CommandCallBack: Watermark                                         *
*%******************************************************************************************
*Feature: WatermarkCmdCallback
{
    *Name: "WatermarkCmdCallback"
    *ConcealFromUI?: TRUE
    *DefaultOption: Watermark
    *Option: Watermark
    {
        *Name: "Watermark"
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *CallbackID:8
        }
    }
}



*%******************************************************************************************
*%                                      Graphic Mode                                       *
*%******************************************************************************************
*Ifdef: WINNT_51
*Personality: =PERSONALITY_HPGL2
*Feature: GraphicsMode
{
	*rcNameID: =GRAPHICSMODE_DISPLAY
	*FeatureType: DOC_PROPERTY
	*DefaultOption: RASTERMODE
	*Option: HPGL2MODE
	{
		*rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
	}
	*Option: RASTERMODE
	{
		*rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
	}
}
*Endif:

*%******************************************************************************************
*%                                       Resolution                                        *
*%******************************************************************************************
*Feature: Resolution
{
	*rcNameID: =RESOLUTION_DISPLAY
	*DefaultOption: 600dpi
	*Option: 600dpi
	{
		*Name: "600 "=DOTS_PER_INCH
		*DPI: PAIR(600, 600)
		*TextDPI: PAIR(600, 600)
		*MinStripBlankPixels: 32
		EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
		*SpotDiameter: 100
		*Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
		*Command: CmdEndRaster { *Cmd : "<1B>*rC" }
		*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
		*Command: CmdSelect
		{
			*Order: JOB_SETUP.30
			*Cmd: "@PJL SET RESOLUTION=600<0D0A>@PJL ENTER LANGUAGE = PCL<0D0A1B>E<1B>*t600R<1B>&u"
+ "600D<1B>*r0F<0D><0A>"
		}
	}
}

*%******************************************************************************************
*%                                      Paper Size                                         *
*%******************************************************************************************
*Feature: PaperSize
{
	*rcNameID: =PAPER_SIZE_DISPLAY
	*DefaultOption: LETTER
	*Option: ENV_MONARCH
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2028, 4200)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz1;stm0;exit;<1B>*p0x0Y<1B>*c0t2450x5150Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2028, 4200)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 4381)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz1;stm0;exit;<1B>*p0x0Y<1B>*c0t5150x2496Y"
				}
			}
		}
	}
	*Option: ENV_10	*% Business
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2175, 5400)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz2;stm0;exit;<1B>*p0x0Y<1B>*c0t2614x6605Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2175, 5400)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 5581)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz2;stm0;exit;<1B>*p0x0Y<1B>*c0t6144x2496Y"
				}
			}
		}
	}
	*Option: ENV_DL
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2298, 4896)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz3;stm0;exit;<1B>*p0x0Y<1B>*c0t2774x5986Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2298, 4896)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 5077)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz3;stm0;exit;<1B>*p0x0Y<1B>*c0t5986x2820Y"
				}
			}
		}
	}
	*Option: ENV_C5
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(3528, 5112)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz4;stm0;exit;<1B>*p0x0Y<1B>*c0t4250x6245Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(3528, 5112)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 5293)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz4;stm0;exit;<1B>*p0x0Y<1B>*c0t6245x4296Y"
				}
			}
		}
	}
  *Option: ENV_C4
  {
    *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
    *PageProtectMem: 2054
    *switch: Orientation
    {
      *case: PORTRAIT
      {
				*PrintableArea: PAIR(5172, 7418)
				*PrintableOrigin: PAIR(118, 118)
				*CursorOrigin: PAIR(118, 118)
        *Command: CmdSelect
        {
           *Order: DOC_SETUP.5
           *Cmd: "!R!spsz30;stm0;exit;<1B>*p0x0Y<1B>*c0t6216.00x8906.40Y"
        }
      }
      *case: LANDSCAPE_CC90
      {
				*PrintableArea: PAIR(5174, 7418)
				*PrintableOrigin: PAIR(118, 120)
				*CursorOrigin: PAIR(118, 7538)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.5
          *Cmd: "!R!spsz30;stm0;exit;<1B>*p0x0Y<1B>*c0t8907.60x6214.80Y"
        }
      }
    }
  }
	*Option: EXECUTIVE
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4050, 6050)
				*PrintableOrigin: PAIR(150, 100)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz5;stm0;exit;<1B>*p0x0Y<1B>*c0t4876x7310Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4050, 6000)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 6181)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz5;stm0;exit;<1B>*p0x0Y<1B>*c0t7310x4922Y"
				}
			}
		}
	}
	*Option: LETTER
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4800, 6350)
				*PrintableOrigin: PAIR(150, 100)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz6;stm0;exit;<1B>*p0x0Y<1B>*c0t5776x7670Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4800, 6300)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 6481)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz6;stm0;exit;<1B>*p0x0Y<1B>*c0t7670x5822Y"
				}
			}
		}
	}
	*Option: LEGAL
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 5230
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4800, 8150)
				*PrintableOrigin: PAIR(150, 100)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz7;stm0;exit;<1B>*p0x0Y<1B>*c0t5776x9830Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4800, 8100)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 8281)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz7;stm0;exit;<1B>*p0x0Y<1B>*c0t9830x5822Y"
				}
			}
		}
	}
  *Option: Ledger
  {
    *rcNameID: 414
    *PageDimensions: PAIR(6600, 10200)
    *PageProtectMem: 6054
    *switch: Orientation
    {
      *case: PORTRAIT
      {
        *PrintableArea: PAIR(6296, 9996)
        *PrintableOrigin: PAIR(152, 102)
        *CursorOrigin: PAIR(152, 102)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.5
          *Cmd: "!R!spsz12;stm0;exit;<1B>*p0x0Y<1B>*c0t7560x12000Y"
        }
      }
      *case: LANDSCAPE_CC90
      {
        *PrintableArea: PAIR(6396, 9956)
        *PrintableOrigin: PAIR(102, 122)
        *CursorOrigin: PAIR(102, 10078)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.5
          *Cmd: "!R!spsz12;stm0;exit;<1B>*p0x0Y<1B>*c0t11952x7678Y"
        }
      }
    }
  }
  *Option: A3
  {
    *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
    *PageProtectMem: 9667
    *switch: Orientation
    {
      *case: PORTRAIT
      {
        *PrintableArea: PAIR(6728, 9720)
        *PrintableOrigin: PAIR(140, 100)
        *CursorOrigin: PAIR(140, 100)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.5
          *Cmd: "!R!spsz10;stm0;exit;<1B>*p0x0Y<1B>*c0t8098x11669Y"
        }
      }
      *case: LANDSCAPE_CC90
      {
        *PrintableArea: PAIR(6816, 9680)
        *PrintableOrigin: PAIR(98, 124)
        *CursorOrigin: PAIR(98, 9804)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.5
          *Cmd: "!R!spsz10;stm0;exit;<1B>*p0x0Y<1B>*c0t11621x8186Y"
        }
      }
    }
  }
	*Option: A4
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4249
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4662, 6764)
				*PrintableOrigin: PAIR(150, 100)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz8;stm0;exit;<1B>*p0x0Y<1B>*c0t5611x8167Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4662, 6714)
				*PrintableOrigin: PAIR(125, 155)
				*CursorOrigin: PAIR(110, 6895)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz8;stm0;exit;<1B>*p0x0Y<1B>*c0t8167x5657Y"
				}
			}
		}
	}
  *Option: B4
  {
    *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
    *PageProtectMem: 6391
    *switch: Orientation
    {
      *case: PORTRAIT
      {
        *PrintableArea: PAIR(5782, 8392)
        *PrintableOrigin: PAIR(144, 102)
        *CursorOrigin: PAIR(144, 102)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.5
          *Cmd: "!R!spsz11;stm0;exit;<1B>*p0x0Y<1B>*c0t7026x10079Y"
        }
      }
      *case: LANDSCAPE_CC90
      {
        *PrintableArea: PAIR(5864, 8362)
        *PrintableOrigin: PAIR(102, 118)
        *CursorOrigin: PAIR(102, 8480)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.5
          *Cmd: "!R!spsz11;stm0;exit;<1B>*p0x0Y<1B>*c0t10039x7051Y"
        }
      }
    }
  }
	*Option: B5
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 3198
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4002, 5772)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz9;stm0;exit;<1B>*p0x0Y<1B>*c0t4802x7070Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4002, 5772)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 5953)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz9;stm0;exit;<1B>*p0x0Y<1B>*c0t6998x4922Y"
				}
			}
		}
	}
	*Option: A5
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 2125
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(3198, 4662)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz13;stm0;exit;<1B>*p0x0Y<1B>*c0t3838x5762Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(3198, 4662)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 4843)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz13;stm0;exit;<1B>*p0x0Y<1B>*c0t5594x3958Y"
				}
			}
		}
	}
	*Option: A6
	{
		*rcNameID: 401
		*PageDimensions: PAIR(2480, 3498)
		*PageProtectMem: 2125
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2180, 3198)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz14;stm0;exit;<1B>*p0x0Y<1B>*c0t2632x3948Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2180, 3198)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 3379)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz14;stm0;exit;<1B>*p0x0Y<1B>*c0t3948x2678Y"
				}
			}
		}
	}
	*Option: B6_JIS
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 3198
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2724, 4002)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz15;stm0;exit;<1B>*p0x0Y<1B>*c0t3285x4913Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2724, 4002)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 4183)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz15;stm0;exit;<1B>*p0x0Y<1B>*c0t4913x3331Y"
				}
			}
		}
	}
	*Option: ENV_9
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2028, 5028)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz16;stm0;exit;<1B>*p0x0Y<1B>*c0t2450x6144Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2028, 5028)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 5209)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz16;stm0;exit;<1B>*p0x0Y<1B>*c0t6144x2496Y"
				}
			}
		}
	}
	*Option: ENV_PERSONAL	*% Envelope #6
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(1878, 3600)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz17;stm0;exit;<1B>*p0x0Y<1B>*c0t2270x4430Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(1878, 3600)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 3781)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz17;stm0;exit;<1B>*p0x0Y<1B>*c0t4430x2316Y"
				}
			}
		}
	}
	*Option: ENV_B5       *% B5ISO
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 3198
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(3850, 5650)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz18;stm0;exit;<1B>*p0x0Y<1B>*c0t4644x6836Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(3850, 5600)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 5800)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz18;stm0;exit;<1B>*p0x0Y<1B>*c0t6836x4690Y"
				}
			}
		}
	}
	*Option: OficioII
	{
		*rcNameID: 404
		*PageDimensions: PAIR(5100, 7800)
		*PageProtectMem: 5230
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4800, 7500)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(143, 95)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz33;stm0;exit;<1B>*p0x0Y<1B>*c0t5777x9110Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4800, 7500)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(95, 7681)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz33;stm0;exit;<1B>*p0x0Y<1B>*c0t9110x5822Y"
				}
			}
		}
	}
  *Option: 8K
  {
     *rcNameID: 405
    *OptionID: 260
    *PageDimensions: PAIR(6450, 9300)
    *PageProtectMem: 9350
    *switch: Orientation
    {
      *case: PORTRAIT
      {
        *PrintableArea: PAIR(6138, 8908)
        *PrintableOrigin: PAIR(150, 250)
        *CursorOrigin: PAIR(150, 90)
        *Command: CmdSelect
        {
           *Order: DOC_SETUP.5
           *Cmd: "!R!spsz39;stm0;exit;<1B>*p0x0Y"
         }
      }
      *case: LANDSCAPE_CC90
      {
        *PrintableArea: PAIR(6150, 8930)
        *PrintableOrigin: PAIR(150, 250)
        *CursorOrigin: PAIR(100, 9180)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.5
          *Cmd: "!R!spsz39;stm0;exit;<1B>*p0x0Y<1B>*c0t10880x7498Y"
        }
      }
    }
  }
	*Option: 16K	*% 16K  197 x 273mm
	{
		*rcNameID: 406
		*PageDimensions: PAIR(4650, 6450)
		*PageProtectMem: 9350
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4350, 6150)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(150, 100)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz40;stm0;exit;<1B>*p0x0Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4350, 6150)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(100, 6300)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz40;stm0;exit;<1B>*p0x0Y"
				}
			}
		}
	}
	*Option: STATEMENT
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 2054
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2990, 4800)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(150, 90)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz50;stm0;exit;<1B>*p0x0Y<1B>*c0t3600x5904Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(3080, 4860)
				*PrintableOrigin: PAIR(100, 120)
				*CursorOrigin: PAIR(100, 4980)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz50;stm0;exit;<1B>*p0x0Y<1B>*c0t5832x3720Y"
				}
			}
		}
	}
	*Option: FOLIO	*% Folio
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 2054
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4650, 7495)
				*PrintableOrigin: PAIR(150, 150)
				*CursorOrigin: PAIR(150, 90)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz51;stm0;exit;<1B>*p0x0Y<1B>*c0t5592x9138Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4740, 7555)
				*PrintableOrigin: PAIR(100, 120)
				*CursorOrigin: PAIR(100, 7675)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!spsz51;stm0;exit;<1B>*p0x0Y<1B>*c0t9066x5712Y"
				}
			}
		}
	}
	*Option: CUSTOMSIZE
	{
		*rcNameID: =USER_DEFINED_SIZE_DISPLAY
		*MinSize: PAIR(2480, 3498) *% A6
		*MaxSize: PAIR(5100, 8400) *% LEGAL
		*MaxPrintableWidth: 5100
		*MinLeftMargin: 50
		*CenterPrintable?: FALSE
		*PageProtectMem: 1692
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*CustPrintableSizeX:%d{PhysPaperWidth-300}
				*CustPrintableSizeY:%d{PhysPaperLength-300}
				*CustPrintableOriginX:%d{150}
				*CustPrintableOriginY:%d{150}
				*CustCursorOriginX:%d{150}
				*CustCursorOriginY:%d{150}
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!SCSZ"%f{PhysPaperWidth/6}","%f{PhysPaperLength/6}
+ ",I;EXIT;!R!PSRC100;SPSZ19;STM0;EXIT;<1B>*p0x0Y<1B>*c0t" %d{((PhysPaperWidth)*6/5)}"x"
+ %d{((PhysPaperLength)*6/5)}"Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*CustPrintableSizeX:%d{PhysPaperWidth-300}
				*CustPrintableSizeY:%d{PhysPaperLength-300}
				*CustPrintableOriginX:%d{150}
				*CustPrintableOriginY:%d{150}
				*CustCursorOriginX:%d{100}
				*CustCursorOriginY:%d{PhysPaperLength-100}
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.5
					*Cmd: "!R!SCSZ"%f{PhysPaperWidth/6}","%f{PhysPaperLength/6}
+ ",I;EXIT;!R!PSRC100;SPSZ19;STM0;EXIT;<1B>*p0x0Y<1B>*c0t" %d{((PhysPaperWidth)*6/5)}"x"
+ %d{((PhysPaperLength)*6/5)}"Y"
				}
			}
		}
	}
}

*%******************************************************************************************
*%                                       Color Mode                                        *
*%******************************************************************************************
*ChangeColorModeOnDoc?: FALSE
*Feature: ColorMode
{
	*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
	*DefaultOption: 24bpp
	*Option: Mono
	{
		*rcNameID: =MONO_DISPLAY
		*DevNumOfPlanes: 1
		*DevBPP: 1
		*Color?: FALSE
	}

	*Option: 24bpp
	{
		*rcNameID: =24BPP_DISPLAY
		*DevNumOfPlanes: 1
		*DevBPP: 24
		*DrvBPP: 24
		*PaletteSize: 256
		*PaletteProgrammable? : TRUE
		*Command: CmdDefinePaletteEntry
		{
			*Cmd : "<1B>*v" %d{RedValue}"a"
+							%d{GreenValue}"b"
+							%d{BlueValue}"c"
+							%d{PaletteIndexToProgram}"I"
		}
		*Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
		*Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" }
		*Command: CmdSelect
		{
			*Order: JOB_SETUP.38
			*Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<0003080808081B>*v0a0b0c7i255a255b255c0I<1B>*"
+ "o3W<060400>"
		}
	}
}



*%******************************************************************************************
*%                                        Gloss Mode                                       *
*%******************************************************************************************
*Feature: GlossMode
{
	*rcNameID: 1725
	*DefaultOption: Off
	*Option: Off
	{
		*rcNameID: =OFF_DISPLAY
		*Command: CmdSelect
		{
			*Order: JOB_SETUP.14
			*Cmd: "@PJL SET KGLOSS=LOW<0D0A>"
		}
	}
	*Option: On
	{
		*rcNameID: =ON_DISPLAY
		*Command: CmdSelect
		{
			*Order: JOB_SETUP.14
			*Cmd: "@PJL SET KGLOSS=HIGH<0D0A>"
		}
	}
}




*%******************************************************************************************
*%                                     Paper Feeder                                        *
*%******************************************************************************************
*Feature: PaperFeeder
{
	*FeatureType: PRINTER_PROPERTY
	*rcNameID: 2200
	*DefaultOption: None
	*Option: None
	{
		*rcNameID: 602
		*Constraints: LIST(InputBin.Cassette2,InputBin.Cassette3,InputBin.Cassette4,InputBin.Cassette5)
	}
	*Option: One
	{
		*rcNameID: 2217
		*Constraints: LIST(InputBin.Cassette3,InputBin.Cassette4,InputBin.Cassette5)
	}
	*Option: Two
	{
		*rcNameID: 2218
		*Constraints: LIST(InputBin.Cassette4,InputBin.Cassette5)
	}
	*Option: Three
	{
		*rcNameID: 2219
		*Constraints: InputBin.Cassette5
	}
	*Option: Four
	{
		*rcNameID: 2220
	}
}

*%******************************************************************************************
*%                                     Duplex Unit                                        *
*%******************************************************************************************
*Feature: DuplexUnit
{
	*FeatureType: PRINTER_PROPERTY
	*rcNameID: 2456
	*DefaultOption: NotInstalled
	*Option: NotInstalled
	{
		*rcNameID: 600
		*DisabledFeatures: LIST(Duplex)
	}
	*Option: Installed
	{
		*rcNameID: 601
	}
}


*%******************************************************************************************
*%                                        Halftone                                         *
*%******************************************************************************************
*Feature: Halftone
{
	*rcNameID: =HALFTONING_DISPLAY
	*DefaultOption: HT_PATSIZE_AUTO
	*Option: HT_PATSIZE_AUTO
	{
		*rcNameID: =HT_AUTO_SELECT_DISPLAY
	}
	*Option: HT_PATSIZE_6x6_M
	{
		*rcNameID: =HT_DITHER6X6_DISPLAY
	}
	*Option: HT_PATSIZE_8x8_M
	{
		*rcNameID: =HT_DITHER8X8_DISPLAY
	}
}

*%******************************************************************************************
*%                                     Printer Memory                                      *
*%******************************************************************************************
*Feature: Memory
{
	*rcNameID: =PRINTER_MEMORY_DISPLAY
	*DefaultOption: 256MB 
	*MemConfigMB: PAIR(256, 228)
	*MemConfigMB: PAIR(384, 344)
	*MemConfigMB: PAIR(512, 456)
	*MemConfigMB: PAIR(768, 672)
	*MemConfigMB: PAIR(1024, 912)
	*MemConfigMB: PAIR(1280, 1139)
  *MemConfigMB: PAIR(2048, 1920)
}

*%******************************************************************************************
*%                                    Start/End Commands                                   *
*%******************************************************************************************
*Command: CmdStartJob
{
	*Order: JOB_SETUP.1
	*Cmd: "!R!SEM6;EXIT;<1B>%%-12345X@PJL JOB<0D0A>@PJL COMMENT Version 2.0<0D0A>"
}
*Command: CmdStartPage
{
	*Order: PAGE_SETUP.1
	*Cmd: "<1B>*b0M<0D>"
}
*Command: CmdEndJob
{
	*Order: JOB_FINISH.1
	*Cmd: "<1B>E<1B>%%-12345X@PJL EOJ<0D0A><1B>%%-12345X"
}

*%******************************************************************************************
*%                                       Attributes                                        *
*%******************************************************************************************
*RotateCoordinate?: TRUE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
*MemoryUsage: LIST(FONT, RASTER, VECTOR)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 600
*YMoveUnit: 600
*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,4800]{max_repeat(DestXRel )}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{max_repeat(DestXRel )}"X" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
*Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
*Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<00>" }
*Command: CmdUniDirectionOff { *Cmd : "<00>" }
*Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
*Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
*Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultFont: RESDLL.KyoFonts2.56
*DefaultCTT: 0
*CharPosition: BASELINE
*TTFSEnabled?: TRUE
*DeviceFonts: LIST(RESDLL.KyoFonts2.1,RESDLL.KyoFonts2.2,RESDLL.KyoFonts2.3,RESDLL.KyoFonts2.4,
+			RESDLL.KyoFonts2.5,RESDLL.KyoFonts2.6,RESDLL.KyoFonts2.7,RESDLL.KyoFonts2.8,
+			RESDLL.KyoFonts2.9,RESDLL.KyoFonts2.10,RESDLL.KyoFonts2.11,RESDLL.KyoFonts2.12,
+			RESDLL.KyoFonts2.13,RESDLL.KyoFonts2.14,RESDLL.KyoFonts2.15,RESDLL.KyoFonts2.16,
+			RESDLL.KyoFonts2.17,RESDLL.KyoFonts2.18,RESDLL.KyoFonts2.19,RESDLL.KyoFonts2.20,
+			RESDLL.KyoFonts2.21,RESDLL.KyoFonts2.22,RESDLL.KyoFonts2.23,RESDLL.KyoFonts2.24,
+			RESDLL.KyoFonts2.25,RESDLL.KyoFonts2.26,RESDLL.KyoFonts2.27,RESDLL.KyoFonts2.28,
+			RESDLL.KyoFonts2.29,RESDLL.KyoFonts2.30,RESDLL.KyoFonts2.31,RESDLL.KyoFonts2.32,
+			RESDLL.KyoFonts2.33,RESDLL.KyoFonts2.34,RESDLL.KyoFonts2.35,RESDLL.KyoFonts2.36,
+			RESDLL.KyoFonts2.37,RESDLL.KyoFonts2.38,RESDLL.KyoFonts2.39,RESDLL.KyoFonts2.40,
+			RESDLL.KyoFonts2.41,RESDLL.KyoFonts2.42,RESDLL.KyoFonts2.43,RESDLL.KyoFonts2.44,
+			RESDLL.KyoFonts2.45,RESDLL.KyoFonts2.46,RESDLL.KyoFonts2.47,RESDLL.KyoFonts2.48,
+			RESDLL.KyoFonts2.49,RESDLL.KyoFonts2.50,RESDLL.KyoFonts2.51,RESDLL.KyoFonts2.52,
+			RESDLL.KyoFonts2.53,RESDLL.KyoFonts2.54,RESDLL.KyoFonts2.55,RESDLL.KyoFonts2.56,
+			RESDLL.KyoFonts2.57,RESDLL.KyoFonts2.58,RESDLL.KyoFonts2.59,RESDLL.KyoFonts2.60,
+			RESDLL.KyoFonts2.61,RESDLL.KyoFonts2.62,RESDLL.KyoFonts2.63,RESDLL.KyoFonts2.64,
+			RESDLL.KyoFonts2.65,RESDLL.KyoFonts2.66,RESDLL.KyoFonts2.67,RESDLL.KyoFonts2.68,
+			RESDLL.KyoFonts2.69,RESDLL.KyoFonts2.70,RESDLL.KyoFonts2.71,RESDLL.KyoFonts2.72,
+			RESDLL.KyoFonts2.73,RESDLL.KyoFonts2.74,RESDLL.KyoFonts2.75,RESDLL.KyoFonts2.76,
+			RESDLL.KyoFonts2.77,RESDLL.KyoFonts2.78,RESDLL.KyoFonts2.79,RESDLL.KyoFonts2.80,
+			RESDLL.KyoFonts2.81,RESDLL.KyoFonts2.82)
*MinFontID: 16534
*MaxFontID: 32768
*MinGlyphID: 34

*FontFormat: HPPCL_RES
*Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
*Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
*Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
*Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
*Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
*Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
*Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
*MinGrayFill: 1
*MaxGrayFill: 100
*Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
*Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
*Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
*Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
