*%******************************************************************************************
*%                                                                                         *
*%  (c) 2014 KYOCERA Corporation, KYOCERA Document Solutions Inc.                          *
*%  All Rights Reserved.                                                                   *
*%                                                                                         *
*%******************************************************************************************
*GPDSpecVersion: "1.1"
*GPDFileName: "KyUniL.GPD"
*GPDFileVersion: "2.93"
*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

*Ifdef: WINNT_60
*PrintSchemaPrivateNamespaceURI: "http://schemas.kyocera.com/printer/MiniDriver/v_1_0_"
*BidiQueryFile: "KyUniQ.GDL"
*Endif: WINNT_60

*%******************************************************************************************
*%                                        UI Order                                         *
*%******************************************************************************************
*% Printer Features
*Feature: GraphicsMode {}
*Ifdef: WINNT_60
*Feature: DuplexOptions {}
*Endif: WINNT_60
*Feature: RotatedOrientation {}
*Feature: EcoPrint {}
*Feature: HalfSpeedMode {}
*Feature: GlossMode {}
*Feature: KyoHalftoneMatrix {}
*% Device Settings
*Feature: CassetteTwo {}
*Feature: CassetteThree {}
*Feature: CassetteFour {}
*Feature: CassetteFive {}
*Feature: CassetteSix {}
*Feature: CassetteSeven {}
*Feature: DuplexUnit {}
*Feature: DeviceCollate {}
*Feature: UseNupHalftoneMatrix {}
*Feature: CharSetPD {}
*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)
}

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

*Feature: RotatedOrientation
{
  *rcNameID: 610
  *DefaultOption: Standard
  *Option: Standard
  {
    *rcNameID: 611
  }
	*Option: Portrait_CC180
	{
		*rcNameID: 612
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.2
			*NoPageEject?: TRUE
			*Cmd: "<1B>&l2o1E"
		}
	}
	*Option: Landscape_CC270
	{
		*rcNameID: 613
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.2
			*NoPageEject?: TRUE
			*Cmd: "<1B>&l3o1E"
		}
	}
}

*%******************************************************************************************
*%                                        Duplexing                                        *
*%******************************************************************************************
*Feature: Duplex
{
	*rcNameID: =TWO_SIDED_PRINTING_DISPLAY
	*DefaultOption: NONE
	*Option: NONE
	{
		*rcNameID: =NONE_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.3
			*Cmd: "<1B>&l0S"
		}
	}
	*Option: VERTICAL
	{
		*rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
		*InsertBlock: =DuplexPapers
		*InsertBlock: =DuplexTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.3
			*Cmd: "<1B>&l1S"
		}
	}
	*Option: HORIZONTAL
	{
		*rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
		*InsertBlock: =DuplexPapers
		*InsertBlock: =DuplexTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.3
			*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.4
			*Cmd: "<1B>&l7H"
		}
	}
	*Option: Cassette	*% Default Cassette
	{
		*rcNameID: 258
		*OptionID: 258
		*InsertBlock: =DefaultCassettePapers
		*InsertBlock: =DefaultCassetteTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "<1B>&l101H"
		}
	}
	*Option: Cassette2
	{
		*rcNameID: 259
		*OptionID: 259
		*InsertBlock: =OptionFeederPapers
		*InsertBlock: =CassetteCommonTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "<1B>&l102H"
		}
	}
	*Option: Cassette3
	{
		*rcNameID: 260
		*OptionID: 260
		*InsertBlock: =OptionFeederPapers
		*InsertBlock: =CassetteCommonTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "<1B>&l103H"
		}
	}
	*Option: Cassette4
	{
		*rcNameID: 261
		*OptionID: 261
		*InsertBlock: =OptionFeederPapers
		*InsertBlock: =CassetteCommonTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "<1B>&l104H"
		}
	}
	*Option: Cassette5
	{
		*rcNameID: 262
		*OptionID: 262
		*InsertBlock: =OptionFeederPapers
		*InsertBlock: =CassetteCommonTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "<1B>&l105H"
		}
	}
	*Option: Cassette6
	{
		*rcNameID: 263
		*OptionID: 263
		*InsertBlock: =OptionFeederPapers
		*InsertBlock: =CassetteCommonTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "<1B>&l106H"
		}
	}
	*Option: Cassette7
	{
		*rcNameID: 264
		*OptionID: 264
		*InsertBlock: =OptionFeederPapers
		*InsertBlock: =CassetteCommonTypes
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "<1B>&l107H"
		}
	}
	*Option: Manual	*% Multi-Purpose Feeder
	{
		*rcNameID: 276
		*OptionID: 4
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.4
			*Cmd: "<1B>&l100H"
		}
	}
}

*%******************************************************************************************
*%                                        Media Type                                       *
*%******************************************************************************************
*Feature: MediaType
{
	*rcNameID: =MEDIA_TYPE_DISPLAY
	*DefaultOption: Unspecified
	*Option: Unspecified
	{
		*rcNameID: 518
		*OptionID: 324
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: ""
		}
	}
	*Option: Auto
	{
		*rcNameID: =AUTO_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n8WdDefault"
		}
	}
	*Option: Plain
	{
		*rcNameID: 501
		*OptionID: 300
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n6WdPlain"
		}
	}
	*Option: Transparency
	{
		*rcNameID: 502
		*OptionID: 301
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n13WdTransparency"
		}
	}
	*Option: Preprinted
	{
		*rcNameID: 503
		*OptionID: 302
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n11WdPreprinted"
		}
	}
	*Option: Labels
	{
		*rcNameID: 505
		*OptionID: 303
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n7WdLabels"
		}
	}
	*Option: Bond
	{
		*rcNameID: 504
		*OptionID: 304
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n5WdBond"
		}
	}
	*Option: Recycled
	{
		*rcNameID: 506
		*OptionID: 305
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n9WdRecycled"
		}
	}
	*Option: Vellum
	{
		*rcNameID: 512
		*OptionID: 306
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n7WdVellum"
		}
	}
	*Option: Rough
	{
		*rcNameID: 507
		*OptionID: 307
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n6WdRough"
		}
	}
	*Option: Letterhead
	{
		*rcNameID: 508
		*OptionID: 308
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n11WdLetterhead"
		}
	}
	*Option: Color
	{
		*rcNameID: 509
		*OptionID: 309
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n6WdColor"
		}
	}
	*Option: Prepunched
	{
		*rcNameID: 513
		*OptionID: 310
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n11WdPrepunched"
		}
	}
	*Option: Envelope
	{
		*rcNameID: 510
		*OptionID: 311
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n9WdEnvelope"
		}
	}
	*Option: Cardstock
	{
		*rcNameID: 511
		*OptionID: 312
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n10WdCardstock"
		}
	}
	*Option: Coated
	{
		*rcNameID: 516
		*OptionID: 313
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n7WdCoated"
		}
	}
	*Option: Thick
	{
		*rcNameID: 514
		*OptionID: 314
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n6WdThick"
		}
	}
	*Option: Custom1
	{
		*rcNameID: 531
		*OptionID: 316
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n8wdCustom1"
		}
	}
	*Option: Custom2
	{
		*rcNameID: 532
		*OptionID: 317
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n8wdCustom2"
		}
	}
	*Option: Custom3
	{
		*rcNameID: 533
		*OptionID: 318
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n8wdCustom3"
		}
	}
	*Option: Custom4
	{
		*rcNameID: 534
		*OptionID: 319
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n8wdCustom4"
		}
	}
	*Option: Custom5
	{
		*rcNameID: 535
		*OptionID: 320
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n8wdCustom5"
		}
	}
	*Option: Custom6
	{
		*rcNameID: 536
		*OptionID: 321
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n8wdCustom6"
		}
	}
	*Option: Custom7
	{
		*rcNameID: 537
		*OptionID: 322
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n8wdCustom7"
		}
	}
	*Option: Custom8
	{
		*rcNameID: 538
		*OptionID: 323
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B>&n8wdCustom8"
		}
	}
}


*%******************************************************************************************
*%                                        DuplexOptions                                    *
*%******************************************************************************************
*Ifdef: WINNT_60

*Feature: DuplexOptions
{
    *rcNameID: 2570 
    *DefaultOption: OFF
    
    *Option: OFF
    {
        *rcNameID: =OFF_DISPLAY
    }
    *Option: ONE
    {
        *rcNameID: 2572
    }
    *Option: TWO
    {
        *rcNameID: 2573
    }
    *Option: THREE
    {
        *rcNameID: 2574
    }
}

*switch: DuplexOptions
{
    *case: OFF
    {
        *PrintProcDuplexOptions: 0
    }
    *case: ONE
    {
        *PrintProcDuplexOptions: 1
    }
    *case: TWO
    {
        *PrintProcDuplexOptions: 2
    }
    *case: THREE
    {
        *PrintProcDuplexOptions: 3
    }
}

*Endif: WINNT_60


*%******************************************************************************************
*%                                        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.11
      *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: NotInstalled
  *Option: NotInstalled
  {
    *rcNameID: 2562
    *DisabledFeatures: LIST(Collate)
  }
  *Option: Installed
  {
    *rcNameID: 2561
  }
}



*%******************************************************************************************
*%                                        UseNupHalftoneMatrix                             *
*%******************************************************************************************
*Feature: UseNupHalftoneMatrix
{
	*rcNameID: 3000
  *FeatureType: PRINTER_PROPERTY
	*DefaultOption: False
	*Option: False
	{
		*rcNameID: 3001
	}
	*Option: True
	{
		*rcNameID: 3002
	}
}



*%******************************************************************************************
*%                                        Kyo CharSet of Printer Display                   *
*%******************************************************************************************
*Feature: CharSetPD
{
    *rcNameID: 3010
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: FALSE
    *Option: FALSE
    {
        *rcNameID: =OFF_DISPLAY
    }
    *Option: USASCII
    {
        *Name: "US-ASCII"
    }
    *Option: UTF8
    {
        *Name: "UTF-8"
    }
}



*%******************************************************************************************
*%                      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: User Log-In                                       *
*%******************************************************************************************
*Feature: ULCmdCallback
{
    *Name: "ULCmdCallback"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: UL
    *Option: UL
    {
        *Name: "UL"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.8
            *CallbackID:12
        }
    }
}


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


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


*%******************************************************************************************
*%                      CommandCallBack: Finishing (Duplex) - DOC-SETUP                    *
*%******************************************************************************************
*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 (Staple) - DOC-SETUP                    *
*%******************************************************************************************
*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 (RotateCollate)                         *
*%******************************************************************************************
*Feature: RotateCollateCmdCallback
{
    *Name: "RotateCollateCmdCallback"
    *ConcealFromUI?: TRUE
    *FeatureType: DOC_PROPERTY
    *DefaultOption: RotCol
    *Option: RotCol
    {
        *Name: "RotateCollate"
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.13
            *CallbackID:13
        }
    }
}


*%******************************************************************************************
*%                      CommandCallBack: Finishing (Jog) - DOC-SETUP                       *
*%******************************************************************************************
*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
        }
    }
}



*%******************************************************************************************
*%                      CommandCallBack: CoverPage                                         *
*%******************************************************************************************
*Feature: CoverPageCmdCallback
{
    *Name: "CoverPageCmdCallback"
    *ConcealFromUI?: TRUE
    *DefaultOption: CoverPage
    *Option: CoverPage
    {
        *Name: "CoverPage"
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.1
            *CallbackID:15
        }
    }
}



*%******************************************************************************************
*%                                      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(2024, 4300)
				*PrintableOrigin: PAIR(152, 100)
				*CursorOrigin: PAIR(152, 100)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2124, 4260)
				*PrintableOrigin: PAIR(102, 120)
				*CursorOrigin: PAIR(102, 4380)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5117x2554Y"
				}
			}
		}
	}
	*Option: ENV_10	*% Business
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2174, 5500)
				*PrintableOrigin: PAIR(152, 100)
				*CursorOrigin: PAIR(152, 100)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6605Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2274, 5460)
				*PrintableOrigin: PAIR(102, 120)
				*CursorOrigin: PAIR(102, 5580)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6557x2734Y"
				}
			}
		}
	}
	*Option: ENV_DL
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2314, 4996)
				*PrintableOrigin: PAIR(142, 100)
				*CursorOrigin: PAIR(142, 100)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2782x6000Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2398, 4960)
				*PrintableOrigin: PAIR(100, 118)
				*CursorOrigin: PAIR(100, 5078)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y"
				}
			}
		}
	}
	*Option: ENV_C5
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(3542, 5208)
				*PrintableOrigin: PAIR(142, 101)
				*CursorOrigin: PAIR(142, 101)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4250x6252Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(3626, 5172)
				*PrintableOrigin: PAIR(100, 119)
				*CursorOrigin: PAIR(100, 5290)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6211x4356Y"
				}
			}
		}
	}
  *Option: ENV_C4
  {
    *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
    *PageProtectMem: 2054
    *switch: Orientation
    {
      *case: PORTRAIT
      {
				*PrintableArea: PAIR(5174, 7418)
				*PrintableOrigin: PAIR(118, 118)
				*CursorOrigin: PAIR(118, 118)
        *Command: CmdSelect
        {
           *Order: DOC_SETUP.6
           *Cmd: "!R!spsz30;stm0;exit;<1B>*p0x0Y<1B>*c0t6216.00x8906.40Y"
        }
      }
      *case: LANDSCAPE_CC90
      {
				*PrintableArea: PAIR(5174, 7418)
				*PrintableOrigin: PAIR(118, 118)
				*CursorOrigin: PAIR(118, 7535)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.6
          *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, 6100)
				*PrintableOrigin: PAIR(150, 100)
				*CursorOrigin: PAIR(150, 100)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz5;stm0;exit;<1B>*p0x0Y<1B>*c0t4865x7325Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4150, 6060)
				*PrintableOrigin: PAIR(100, 120)
				*CursorOrigin: PAIR(100, 6180)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz5;stm0;exit;<1B>*p0x0Y<1B>*c0t7277x4980Y"
				}
			}
		}
	}
	*Option: LETTER
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4800, 6400)
				*PrintableOrigin: PAIR(150, 100)
				*CursorOrigin: PAIR(150, 100)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5765x7680Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4900, 6360)
				*PrintableOrigin: PAIR(100, 120)
				*CursorOrigin: PAIR(100, 6480)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
				}
			}
		}
	}
	*Option: LEGAL
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 5230
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4800, 8200)
				*PrintableOrigin: PAIR(150, 100)
				*CursorOrigin: PAIR(150, 100)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5765x9840Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4900, 8160)
				*PrintableOrigin: PAIR(100, 120)
				*CursorOrigin: PAIR(100, 8280)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
				}
			}
		}
	}
  *Option: Ledger
  {
    *rcNameID: 414
    *PageDimensions: PAIR(6600, 10200)
    *PageProtectMem: 6054
    *switch: Orientation
    {
      *case: PORTRAIT
      {
        *PrintableArea: PAIR(6300, 10000)
        *PrintableOrigin: PAIR(150, 100)
        *CursorOrigin: PAIR(150, 100)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.6
          *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
        }
      }
      *case: LANDSCAPE_CC90
      {
        *PrintableArea: PAIR(6400, 9960)
        *PrintableOrigin: PAIR(100, 120)
        *CursorOrigin: PAIR(100, 10080)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.6
          *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11952x7678Y"
        }
      }
    }
  }
  *Option: A3
  {
    *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
    *PageProtectMem: 9667
    *switch: Orientation
    {
      *case: PORTRAIT
      {
        *PrintableArea: PAIR(6730, 9720)
        *PrintableOrigin: PAIR(143, 101)
        *CursorOrigin: PAIR(143, 101)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.6
          *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8098x11669Y"
        }
      }
      *case: LANDSCAPE_CC90
      {
        *PrintableArea: PAIR(6814, 9680)
        *PrintableOrigin: PAIR(101, 119)
        *CursorOrigin: PAIR(101, 9802)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.6
          *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8186Y"
        }
      }
    }
  }
	*Option: A4
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4249
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4676, 6814)
				*PrintableOrigin: PAIR(142, 101)
				*CursorOrigin: PAIR(142, 101)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5616x8182Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4760, 6770)
				*PrintableOrigin: PAIR(100, 119)
				*CursorOrigin: PAIR(100, 6896)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8138x5717Y"
				}
			}
		}
	}
  *Option: B4
  {
    *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
    *PageProtectMem: 6391
    *switch: Orientation
    {
      *case: PORTRAIT
      {
        *PrintableArea: PAIR(5786, 8398)
        *PrintableOrigin: PAIR(142, 100)
        *CursorOrigin: PAIR(142, 100)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.6
          *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t7026x10079Y"
        }
      }
      *case: LANDSCAPE_CC90
      {
        *PrintableArea: PAIR(5872, 8362)
        *PrintableOrigin: PAIR(99, 118)
        *CursorOrigin: PAIR(99, 8480)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.6
          *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10039x7051Y"
        }
      }
    }
  }
	*Option: B5
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 3198
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4014, 5872)
				*PrintableOrigin: PAIR(143, 99)
				*CursorOrigin: PAIR(143, 99)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4892x7040Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4102, 5834)
				*PrintableOrigin: PAIR(99, 118)
				*CursorOrigin: PAIR(99, 5952)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t7030x4930Y"
				}
			}
		}
	}
	*Option: A5
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 2125
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(3232, 4760)
				*PrintableOrigin: PAIR(142, 100)
				*CursorOrigin: PAIR(142, 100)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t3854x5712Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(3296, 4724)
				*PrintableOrigin: PAIR(100, 118)
				*CursorOrigin: PAIR(100, 4842)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5664x3955Y"
				}
			}
		}
	}
	*Option: A6
	{
		*rcNameID: 401
		*PageDimensions: PAIR(2480, 3498)
		*PageProtectMem: 2125
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2244, 3260)
				*PrintableOrigin: PAIR(118, 118)
				*CursorOrigin: PAIR(135, 135)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz14;stm0;exit;<1B>*p0x0Y<1B>*c0t2616x3979Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2244, 3260)
				*PrintableOrigin: PAIR(118, 118)
				*CursorOrigin: PAIR(135, 3361)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz14;stm0;exit;<1B>*p0x0Y<1B>*c0t3907x2736Y"
				}
			}
		}
	}
	*Option: B6_JIS
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 3198
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2787, 4063)
				*PrintableOrigin: PAIR(118, 118)
				*CursorOrigin: PAIR(118, 118)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz15;stm0;exit;<1B>*p0x0Y<1B>*c0t3353x4885Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2787, 4063)
				*PrintableOrigin: PAIR(118, 118)
				*CursorOrigin: PAIR(118, 4181)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz15;stm0;exit;<1B>*p0x0Y<1B>*c0t4896x3353Y"
				}
			}
		}
	}
	*Option: ENV_9
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(2092, 5092)
				*PrintableOrigin: PAIR(118, 118)
				*CursorOrigin: PAIR(118, 118)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz16;stm0;exit;<1B>*p0x0Y<1B>*c0t2510.40x6110.40Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(2092, 5092)
				*PrintableOrigin: PAIR(118, 118)
				*CursorOrigin: PAIR(118, 5210)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz16;stm0;exit;<1B>*p0x0Y<1B>*c0t6110.40x2510.40Y"
				}
			}
		}
	}
	*Option: ENV_PERSONAL	*% Envelope #6
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 4109
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(1942, 3666)
				*PrintableOrigin: PAIR(118, 117)
				*CursorOrigin: PAIR(118, 117)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz17;stm0;exit;<1B>*p0x0Y<1B>*c0t2335x4404Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(1942, 3666)
				*PrintableOrigin: PAIR(118, 117)
				*CursorOrigin: PAIR(118, 3783)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz17;stm0;exit;<1B>*p0x0Y<1B>*c0t4404x2335Y"
				}
			}
		}
	}
	*Option: ENV_B5       *% B5ISO
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 3198
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(3872, 5704)
				*PrintableOrigin: PAIR(143, 101)
				*CursorOrigin: PAIR(143, 101)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz18;stm0;exit;<1B>*p0x0Y<1B>*c0t4651.20x6844.80Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(3956, 5668)
				*PrintableOrigin: PAIR(101, 119)
				*CursorOrigin: PAIR(101, 5786)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz18;stm0;exit;<1B>*p0x0Y<1B>*c0t6847.20x4746.40Y"
				}
			}
		}
	}
	*Option: OficioII
	{
		*rcNameID: 404
		*PageDimensions: PAIR(5100, 7800)
		*PageProtectMem: 5230
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4866, 7566)
				*PrintableOrigin: PAIR(117, 117)
				*CursorOrigin: PAIR(117, 117)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz33;stm0;exit;<1B>*p0x0Y<1B>*c0t5836x9076Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4866, 7566)
				*PrintableOrigin: PAIR(117, 117)
				*CursorOrigin: PAIR(117, 7683)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz33;stm0;exit;<1B>*p0x0Y<1B>*c0t9076x5836Y"
				}
			}
		}
	}
  *Option: 8K
  {
    *rcNameID: 405
    *PageDimensions: PAIR(6450, 9300)
    *PageProtectMem: 9350
    *switch: Orientation
    {
      *case: PORTRAIT
      {
        *PrintableArea: PAIR(6212, 9071)
        *PrintableOrigin: PAIR(119, 115)
        *CursorOrigin: PAIR(119, 115)
        *Command: CmdSelect
        {
           *Order: DOC_SETUP.6
           *Cmd: "!R!spsz39;stm0;exit;<1B>*p0x0Y"
         }
      }
      *case: LANDSCAPE_CC90
      {
        *PrintableArea: PAIR(6212, 9071)
        *PrintableOrigin: PAIR(119, 115)
        *CursorOrigin: PAIR(119, 9185)
        *Command: CmdSelect
        {
          *Order: DOC_SETUP.6
          *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(4417, 6212)
				*PrintableOrigin: PAIR(117, 119)
				*CursorOrigin: PAIR(117, 119)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz40;stm0;exit;<1B>*p0x0Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4417, 6212)
				*PrintableOrigin: PAIR(117, 119)
				*CursorOrigin: PAIR(117, 6331)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz40;stm0;exit;<1B>*p0x0Y"
				}
			}
		}
	}
	*Option: STATEMENT
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 2054
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(3066, 4866)
				*PrintableOrigin: PAIR(117, 117)
				*CursorOrigin: PAIR(117, 117)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz50;stm0;exit;<1B>*p0x0Y<1B>*c0t3676x5832Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(3066, 4866)
				*PrintableOrigin: PAIR(117, 117)
				*CursorOrigin: PAIR(117, 4983)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz50;stm0;exit;<1B>*p0x0Y<1B>*c0t5852x3674Y"
				}
			}
		}
	}
	*Option: FOLIO	*% Folio
	{
		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageProtectMem: 2054
		*switch: Orientation
		{
			*case: PORTRAIT
			{
				*PrintableArea: PAIR(4726, 7560)
				*PrintableOrigin: PAIR(187, 120)
				*CursorOrigin: PAIR(187, 120)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz51;stm0;exit;<1B>*p0x0Y<1B>*c0t5668x9072Y"
				}
			}
			*case: LANDSCAPE_CC90
			{
				*PrintableArea: PAIR(4726, 7560)
				*PrintableOrigin: PAIR(187, 120)
				*CursorOrigin: PAIR(187, 7680)
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.6
					*Cmd: "!R!spsz51;stm0;exit;<1B>*p0x0Y<1B>*c0t9072x5668Y"
				}
			}
		}
	}
	*Option: CUSTOMSIZE
	{
		*rcNameID: =USER_DEFINED_SIZE_DISPLAY
		*MinSize: PAIR(2480, 3498) *% A6
		*MaxSize: PAIR(5100, 10200) *% Ledger
		*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.6
					*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.6
					*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>"
		}
	}
}



*%******************************************************************************************
*%                                        KyoHalftoneMatrix                                *
*%******************************************************************************************
*Feature: KyoHalftoneMatrix
{
	*rcNameID: 3000
	*DefaultOption: Off
	*Option: Off
	{
		*rcNameID: 3003
	}
	*Option: On
	{
		*rcNameID: 3004
		*Command: CmdSelect
		{
			*Order: JOB_SETUP.17
			*Cmd: "@PJL SET KSECURITYWATERMARK=ON<0D0A>"
		}
	}
}



*%******************************************************************************************
*%                                     Paper Feeder                                        *
*%******************************************************************************************
*Feature: CassetteTwo
{
	*FeatureType: PRINTER_PROPERTY
	*rcNameID: 2502
	*DefaultOption: False
	*Option: False
	{
		*rcNameID: 600
		*Constraints: InputBin.Cassette2
	}
	*Option: True
	{
		*rcNameID: 601
	}
}
*Feature: CassetteThree
{
	*FeatureType: PRINTER_PROPERTY
	*rcNameID: 2503
	*DefaultOption: False
	*Option: False
	{
		*rcNameID: 600
		*Constraints: InputBin.Cassette3
	}
	*Option: True
	{
		*rcNameID: 601
	}
}
*Feature: CassetteFour
{
	*FeatureType: PRINTER_PROPERTY
	*rcNameID: 2504
	*DefaultOption: False
	*Option: False
	{
		*rcNameID: 600
		*Constraints: InputBin.Cassette4
	}
	*Option: True
	{
		*rcNameID: 601
	}
}
*Feature: CassetteFive
{
	*FeatureType: PRINTER_PROPERTY
	*rcNameID: 2505
	*DefaultOption: False
	*Option: False
	{
		*rcNameID: 600
		*Constraints: InputBin.Cassette5
	}
	*Option: True
	{
		*rcNameID: 601
	}
}
*Feature: CassetteSix
{
	*FeatureType: PRINTER_PROPERTY
	*rcNameID: 2506
	*DefaultOption: False
	*Option: False
	{
		*rcNameID: 600
		*Constraints: InputBin.Cassette6
	}
	*Option: True
	{
		*rcNameID: 601
	}
}
*Feature: CassetteSeven
{
	*FeatureType: PRINTER_PROPERTY
	*rcNameID: 2507
	*DefaultOption: False
	*Option: False
	{
		*rcNameID: 600
		*Constraints: InputBin.Cassette7
	}
	*Option: True
	{
		*rcNameID: 601
	}
}


*%******************************************************************************************
*%                                     Duplex Unit                                        *
*%******************************************************************************************
*Feature: DuplexUnit
{
	*FeatureType: PRINTER_PROPERTY
	*rcNameID: 2456
	*DefaultOption: Installed
	*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: 128MB 
	*MemConfigMB: PAIR(64, 56)
	*MemConfigMB: PAIR(128, 114)
	*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: "<1B>%%-12345X@PJL JOB<0D0A>@PJL COMMENT Version 2.93<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" }
