*%
*GPDSpecVersion: "1.0"
*GPDFileName: "SDJRMXSN.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*Include: "pjl.gpd"
*Include: "p6disp.gpd"
*Include: "pclxl.gpd"
*Include: "SDJRMXSN_CMD.GPD"
*ModelName: "Sindoh Juniper A3 Mono Printer"
*MasterUnits: PAIR(1200, 1200)
*PrintRate: 45
*PrintRatePPM: 45
*PrintRateUnit: PPM
*PrinterType: PAGE
*FontCartSlots: 0
*Personality: =PERSONALITY_PCLXL
*MaxCopies: 999
*ResourceDLL: "SDJRMXSNRES.dll"

*Macros: PCLXLCommand
{
*%%% ---------------------------------------------------------------------------
*%%% PCL XL Stream Header
*%%% ---------------------------------------------------------------------------
PCLXL_StreamHeader: ") HP-PCL XL;3;0;"
+                   "Comment Copyright(c) 1999-2003 Microsoft Corporation<0A>"

PCLXL_OpenDataSource: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource

*%%% ---------------------------------------------------------------------------
*%%% BeginSession
*%%%     Measure(ubyte) & UnitsPerMeasure(uint16_xy) & {ErrorReport(ubyte)}
*%%% ---------------------------------------------------------------------------
PCLXL_BeginSession1200: =uint16_xy "<b004b004>" =attr_ubyte =UnitsPerMeasure =ubyte
+ =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession

PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte
+ =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession

PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte
+ =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession

Width: %m{ RasterDataWidthInBytes }
Height: %m{ RasterDataHeightInPixels }
DataSize: %l{ NumOfDataBytes }
FntHeight: %l{ FontHeight*600/TextYRes }
FntNextGlyph: %l{ NextGlyph }

*%%% ---------------------------------------------------------------------------
*%%% BeginRaster
*%%%     ColorDepth(ubyte) & ColorMapping(ubyte) & SourceWidth(uint16) &
*%%%     SourceWidth(uint16) & SourceHeight(uint16)
*%%% ---------------------------------------------------------------------------
PCLXL_CmdBeginRaster: =ubyte =e1Bit =attr_ubyte =ColorDepth
+                     =ubyte =eDirectPixel =attr_ubyte =ColorMapping
+                     =uint16 =Width =attr_ubyte =SourceWidth
+                     =uint16 =Height =attr_ubyte =SourceHeight
+                     =uint16_xy =Width =Height =attr_ubyte =DestinationSize
+                     =BeginImage
+                     =ubyte "<00>" =attr_ubyte =StartLine
+                     =uint16 =Height =attr_ubyte =BlockHeight
+                     =ubyte =eNoCompression =attr_ubyte =CompressMode
+                     =ReadImage

PCLXL_CmdSendBlockData: =dataLength =DataSize "<0000>"

DestinationX: %l{DestX}
DestinationY: %l{DestY}
DestinationXRel: %l{DestYRel}
DestinationYRel: %l{DestXRel}
NumOfCopy: %l{NumOfCopies}
PrintDir: %l{PrintDirInCCDegrees}
FntName: =ubyte_array =uint16 "<1000>" "MS PCLXLFont " %3d{CurrentFontID}
}

*%==========================================================
*% ODM Values Definitions 
*%==========================================================

*Macros: ODM_VALUES
{
	*% Media Types defines
	DM_MEDIATYPE_STANDARD:				256
	DM_MEDIATYPE_PLAIN:					257
	DM_MEDIATYPE_RECYCLED:              258
	DM_MEDIATYPE_SPECIAL:               259
	DM_MEDIATYPE_THICK:                 260
	DM_MEDIATYPE_THICK1_PLUS:           261
	DM_MEDIATYPE_THICK2:                262
	DM_MEDIATYPE_THICK3:                263
	DM_MEDIATYPE_TRANSPARENCY:			264
	DM_MEDIATYPE_COLOR:					265
	DM_MEDIATYPE_LETTERHEAD:			266
	DM_MEDIATYPE_PREPRINTED:			267
	DM_MEDIATYPE_PREPUNCHED:			268
	DM_MEDIATYPE_LABELS:				269
	DM_MEDIATYPE_BOND:					270
	DM_MEDIATYPE_CARDSTOCK:				271
	DM_MEDIATYPE_THIN:                  272
	DM_MEDIATYPE_ENVELOPE:				273
	DM_MEDIATYPE_TAP:					274
	DM_MEDIATYPE_SINGLESIDE:			275
	
	*% Paper Size defines
    DM_PAPERSIZE_B4	                    121
    DM_PAPERSIZE_B5		                122
    DM_PAPERSIZE_B6		                123
    DM_PAPERSIZE_8_13	                124
    DM_PAPERSIZE_825_13		            125
    DM_PAPERSIZE_COM10_ENV              127
    DM_PAPERSIZE_MONARCH_ENV            128
    DM_PAPERSIZE_C5_ENV	                129
    DM_PAPERSIZE_C6_ENV		            130
    DM_PAPERSIZE_DL_ENV		            131
    DM_PAPERSIZE_8K		                141
    DM_PAPERSIZE_16K	                142
    DM_PAPERSIZE_85_13	                143
    DM_PAPERSIZE_85_135	                144
    DM_PAPERSIZE_865_13	                145
	DM_PAPERSIZE_8125_135               146
    DM_PAPERSIZE_4X6	                156
    DM_PAPERSIZE_C4_ENV	                157
    DM_PAPERSIZE_Y3_ENV	                158
    DM_PAPERSIZE_Y4_ENV	                159
    DM_PAPERSIZE_L3_ENV	                160
    DM_PAPERSIZE_L4_ENV	                161
    DM_PAPERSIZE_K1_ENV	                162
    DM_PAPERSIZE_K2_ENV	                163
    DM_PAPERSIZE_K3_ENV	                164
}

*%******************************************************************************************
*%                          Installable Options for Printer Property
*%	For PinetreeS - Delete Finisher and TRAY4 in Installable options @@2021.11.29 By Kim
*%******************************************************************************************

*Feature: PrintProperty_InstallableOptions
{
	*rcNameID: 707
	*DefaultOption: TRAY2
	*FeatureType: PRINTER_PROPERTY
	*Option: TRAY2
    {
		*rcNameID: 700
    }
    *Option: TRAY3
    {
		*rcNameID: 701
    }
}

*%******************************************************************************************
*%                           Installable Options for Document Property
*%	For PinetreeS - Delete Finisher and TRAY4 in Installable options @@2021.11.29 By Kim
*%******************************************************************************************

*Feature: DocProperty_InstallableOptions
{
	*rcNameID: 707
	*DefaultOption: TRAY2
	*Option: TRAY2
    {
		*rcNameID: 700
    }
	*Option: TRAY3
    {
		*rcNameID: 701
    }
}

*%====================================================================
*%						User Authentication Feature
*%====================================================================
*Feature: UserAuthentication
{
	*rcNameID: 708
    *FeatureType: PRINTER_PROPERTY
	*DefaultOption: ON
	*Option: OFF
	{
		*rcNameID: 709
	}
	*Option: ON
	{
		*rcNameID: 710
	}
}

*%====================================================================
*%						User Authentication Type Feature
*%====================================================================
*Feature: UserAuthenticationType
{
	*rcNameID: 711
    *FeatureType: PRINTER_PROPERTY
	*DefaultOption: IDPASSWORD
	*Option: USERCODE
	{
		*rcNameID: 712
	}
	*Option: IDPASSWORD
	{
		*rcNameID: 713
	}
}

*%====================================================================
*%						Collate Feature
*%====================================================================
*Feature: Collate
{
    *rcNameID: 804
	*DefaultOption: ON
	*Option: ON
	{
		*rcNameID: =ON_DISPLAY
	}
	*Option: OFF
	{
		*rcNameID: =OFF_DISPLAY
	}
}

*%******************************************************************************************
*%                                      Duplex Type
*%******************************************************************************************
*Feature: Duplex
{
    *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
    *DefaultOption: NONE

    *Option: NONE
    {
        *rcNameID: =NONE_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
			*CallbackID: 5008 
        }
    }

    *Option: VERTICAL
    {
        *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
			*CallbackID: 5008 
        }
    }

    *Option: HORIZONTAL
    {
        *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
			*CallbackID: 5008 
        }

       *% *Command: CmdSelect
       *% {
        *%    *Order: PAGE_SETUP.3
		*%	*Cmd: =SDHShortEdge
		*%	*CallbackID: 5008
       *% }
    }
}

*%====================================================================
*% ColorMode Feature
*%====================================================================
*Feature: ColorMode
{
    *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
    *DefaultOption: MONO

    *Option: MONO
    {
        *rcNameID: =MONO_DISPLAY
        *DevNumOfPlanes: 1
        *DevBPP: 24
        *DrvBPP: 24
        *PaletteSize: 1
        *PaletteProgrammable? : TRUE
        *Color? : FALSE
        *Command: CmdDefinePaletteEntry { *Cmd: "" }
    }
}


*%******************************************************************************************
*%                                      Job Type
*%******************************************************************************************
*Feature: JobType
{
    *rcNameID: 694
    *DefaultOption: NORMAL
    *Option: NORMAL
    {
	    *rcNameID: 689
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
    *Option: SAMPLE
    {
	    *rcNameID: 690
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
	*Option: LOCKED
    {
	    *rcNameID: 691
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
	*Option: STOREDANDPRINT
    {
	    *rcNameID: 692
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
	*Option: STORED
    {
	    *rcNameID: 693
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
	*Option: IDPRINT
    {
	    *rcNameID: 857
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
	*Option: IDPRINTSTORED
    {
	    *rcNameID: 858
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
	*Option:BOXSTORED
    {
	    *rcNameID: 859
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
}


*%******************************************************************************************
*%                                      Input Bin
*%      For PinetreeS(M612) - Delete TRAY4 in Installable options @@2021.11.29 By Kim
*%******************************************************************************************
*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: FORMSOURCE	
    *Option: FORMSOURCE
    {
        *rcNameID: AUTO_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.1
            *Cmd: ""
			*CallbackID: 5002 
        }
    }	
    *Option: BYPASSTRAY
    {
		*rcNameID: 840
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.1
            *Cmd: ""
			*CallbackID: 5002 
        }
    }
    *Option: TRAY1
    {
		*rcNameID: 699
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.1
            *Cmd: ""
			*CallbackID: 5002 
        }
    }
    *Option: TRAY2
    {
		*rcNameID: 700
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.1
            *Cmd: ""
			*CallbackID: 5002 
        }
    }
    *Option: TRAY3
    {
		*rcNameID: 701
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.1
            *Cmd: ""
			*CallbackID: 5002 
        }
    }
}

*%******************************************************************************************
*%                                      Resolution
*%******************************************************************************************
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
		*rcNameID: 715
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *MinStripBlankPixels: 32
        EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
        *SpotDiameter: 100
        *Command: CmdBeginRaster
        {
            *Cmd : =PCLXL_CmdBeginRaster
        }
        *Command: CmdEndRaster { *Cmd : =EndImage }
        *Command: CmdSendBlockData
        {
            *Cmd: =PCLXL_CmdSendBlockData
        }
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.5
            *Cmd: =PCLXL_StreamHeader =PCLXL_BeginSession600 =PCLXL_OpenDataSource
        }
    }
    *Option: Option2
    {
		*rcNameID: 716
        *DPI: PAIR(1200, 1200)
        *TextDPI: PAIR(1200, 1200)
        *MinStripBlankPixels: 32
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING, ENCLOSED,TRAILING)
        *SpotDiameter: 120
        *Command: CmdBeginRaster
        {
            *Cmd : =PCLXL_CmdBeginRaster
        }
        *Command: CmdSendBlockData
        {
            *Cmd : =PCLXL_CmdBeginRaster =PCLXL_CmdSendBlockData
        }
        *Command: CmdEndBlockData { *Cmd : =EndImage}
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.5
            *Cmd: =PCLXL_StreamHeader =PCLXL_BeginSession1200 =PCLXL_OpenDataSource
        }
    }
}

*%******************************************************************************************
*%                                      Output Bin
*%******************************************************************************************
*Feature: OutputBin
{
	*rcNameID: 703
	*DefaultOption: AUTOTRAY
	*Option: AUTOTRAY
	{
		*rcNameID: 704
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.11
			*Cmd: ""
		}
	}
	*Option: INTERNALTRAY
	{
		*rcNameID: 705
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.11
			*Cmd: ""
		}
	}
	*Option: FINISHER
	{
		*rcNameID: 706
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.11
			*Cmd: ""
		}
	}
}

*%******************************************************************************************
*%                                     Staple
*%******************************************************************************************
*Feature: Staple
{
	*rcNameID: 714
	*DefaultOption: FALSE
	*Option: FALSE
	{
		*rcNameID: 696
	}
	*Option: TRUE
	{
		*rcNameID: 697
	}
}

*%******************************************************************************************
*%                                      Scale to fit
*%******************************************************************************************
*Feature: ScaleToFit
{
    *rcNameID: 729
    *DefaultOption: ON
    *Option: OFF
    {
        *rcNameID: 718
    }
	*Option: ON
    {
        *rcNameID: 719
    }
}

*%******************************************************************************************
*%                                    Print On Center
*%******************************************************************************************
*Feature: PrintOnCenter
{
    *rcNameID: 730
    *DefaultOption: ON
    *Option: OFF
    {
        *rcNameID: 718
    }
	*Option: ON
    {
        *rcNameID: 719
    }
}

*%******************************************************************************************
*%                                    Zoom
*%******************************************************************************************
*Feature: Zoom
{
    *rcNameID: 731
    *DefaultOption: ZoomValue
    *Option: ZoomValue
    {
	    *rcNameID: 732
    }
}

*%******************************************************************************************
*%                                    Center zoom
*%******************************************************************************************
*Feature: CenterZoom
{
    *rcNameID: 730
    *DefaultOption: ON
    *Option: OFF
    {
        *rcNameID: 718
    }
	*Option: ON
    {
        *rcNameID: 719
    }
}

*%******************************************************************************************
*%                                    Margins
*%******************************************************************************************
*Feature: Margins
{
    *rcNameID: 733
    *DefaultOption: PRINTER_MARGINS
    *Option: PRINTER_MARGINS
    {
	    *rcNameID: 734
    }
	*Option: CUSTOM_MARGINS
    {
	    *rcNameID: 735
    }
}

*%******************************************************************************************
*%                                    Simplex Binding Edge
*%******************************************************************************************
*Feature: SimplexBindingEdge
{
    *rcNameID: 736
    *DefaultOption: LONGEDGE
    *Option: LONGEDGE
    {
	    *rcNameID: 737
    }
	*Option: SHORTEDGE
    {
	    *rcNameID: 738
    }
}

*%******************************************************************************************
*%                                   Overlay
*%******************************************************************************************
*Feature: OverlayFunctions
{
    *rcNameID: 739
    *DefaultOption: NOOVERLAY
    *Option: NOOVERLAY
    {
	    *rcNameID: 740
    }
	*Option: CREATENEWOVERLAY
    {
	    *rcNameID: 741
    }
	*Option: ONEOVERLAY
    {
	    *rcNameID: 742
    }
	*Option: TWOOVERLAYS
    {
	    *rcNameID: 743
    }
}

*%******************************************************************************************
*%                                     Gray Correction
*%******************************************************************************************
*Feature: GrayCorrection
{
    *rcNameID: 773
	*DefaultOption: OFF
	*Option: OFF
	{
	    *rcNameID: 718
	}
	*Option: MANUAL
	{
	    *rcNameID: 774
	}
}

*%******************************************************************************************
*%                                      Brightness
*%******************************************************************************************
*Feature: Brightness
{
    *rcNameID: 775
	*DefaultOption: BRIGHTNESSVALUE
	*Option: BRIGHTNESSVALUE
	{
	    *rcNameID: 775
	}
}

*%******************************************************************************************
*%                                      Contrast
*%******************************************************************************************
*Feature: Contrast
{
    *rcNameID: 776
	*DefaultOption: CONTRASTVALUE
	*Option: CONTRASTVALUE
	{
	    *rcNameID: 776
	}
}


*%******************************************************************************************
*%                                      Toner Save
*%******************************************************************************************
*Feature: TonerSave
{
    *rcNameID: 779
	*DefaultOption: OFF
	*Option: OFF
	{
	    *rcNameID: 718
	}
	*Option: ON
	{
	    *rcNameID: 719
	}
}

*%******************************************************************************************
*%                                     Print text as black
*%******************************************************************************************
*Feature: PrintTextasBlack
{
	*rcNameID: 717
	*DefaultOption: OFF
	*Option: OFF
	{
		*rcNameID: 718
	}
	*Option: ON
	{
		*rcNameID: 719
	}
}


*%******************************************************************************************
*%                                      Paper Size
*%******************************************************************************************
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: LETTER
    *Option: A4               *% 8.27 × 11.69 inches
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(9920, 14030)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9536, 13646)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHA4_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(9536, 13646)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 13838)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHA4_Land
                }
            }
        }
    }
	
    *Option: A5               *% 5.83 × 8.27 inches.
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(6992, 9920)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6608, 9536)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHA5_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(6608, 9536)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 9728)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHA5_Land
                }
            }
        }
    }
	
	*Option: A6
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(4956, 6996)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4572, 6612)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHA6_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(4572, 6612)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 6804)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHA6_Land
                }
            }
        }
    }
	
     *Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(8592, 12120)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8208, 11736)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHB5_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(8208, 11736)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 11928)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHB5_Land
                }
            }
        }
    }
	
    *Option: B6_JIS               
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(6046, 8598)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(5662, 8214)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHJISB6_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(5662, 8214)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 8406)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHJISB6_Land
                }
            }
        }
    }
	
    *Option: LEGAL          *% 8.5x14
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(10200, 16800)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9816, 16416)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHLegal_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(9816, 16416)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 16608)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHLegal_Land
                }
            }
        }
    }
	
    *Option: LETTER         *% 8.5x11
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(10200, 13200)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
				*PrintableArea: PAIR(9816, 12816)
				*PrintableOrigin: PAIR(192, 192)
				*CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHLetter_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(9816, 12816)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 13008)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHLetter_Land
                }
            }
        }
    }
	
    *Option: STATEMENT         
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(6600, 10200)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(6216, 9816)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHStatement_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(6216, 9816)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 10008)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHStatement_Land
                }
            }
        }
    }
	
    *Option:EXECUTIVE          *% 7.25x10.5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(8700, 12600)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(8316, 12216)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHExecutive_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(8316, 12216)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 12408)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHExecutive_Land
                }
            }
        }
    }
	
    *Option:8_5x13          *% 8.5 x 13
    {
		*rcNameID: 722
		*OptionID: =DM_PAPERSIZE_85_13
		*PageDimensions: PAIR(10200, 15600)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(9816, 15216)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDH8_5X13_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(9816, 15216)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 15408)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDH8_5X13_Land
                }
            }
        }
    }

	*Option: ENV_10          
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(4950, 11400)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4566, 11016)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHENV_10_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(4566, 11016)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 11208)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHENV_10_Land
                }
            }
        }
    }	
	*Option: ENV_MONARCH          
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(4650, 9000)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4266, 8616)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHENV_MONARCH_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(4266, 8616)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 8808)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHENV_MONARCH_Land
                }
            }
        }
    }	

	*Option: ENV_C5          *% 8.5x11
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(7655, 10820)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(7271, 10436)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHENV_C5_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(7271, 10436)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 10628)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHENV_C5_Land
                }
            }
        }
    }
	
	*Option: ENV_C6          *% 8.5x11
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(5385, 7653)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(5001, 7269)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHENV_C6_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(5001, 7269)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 7461)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHENV_C6_Land
                }
            }
        }
    }
	*Option: ENV_DL          *% 8.5x11
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
		*PageDimensions: PAIR(5196, 10392)
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *PrintableArea: PAIR(4812, 10008)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 192)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHENV_DL_Port
                }
             }

             *case: LANDSCAPE_CC90
             {
                *PrintableArea: PAIR(4812, 10008)
                *PrintableOrigin: PAIR(192, 192)
                *CursorOrigin: PAIR(192, 10200)
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHENV_DL_Land
                }
            }
        }
    }

    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(4248,6600)
        *MaxSize: PAIR(14028,20400)
        *MaxPrintableWidth: 13644	
        *MinLeftMargin: 192
        *CenterPrintable?: FALSE
        
        *switch: Orientation
        {
            *case: PORTRAIT
            {
                *CustCursorOriginX:  %d{192 }
                *CustCursorOriginY:   %d{192 }
                *CustPrintableOriginX:  %d{192}
                *CustPrintableOriginY:  %d{192}
                *CustPrintableSizeX:   %d{ PhysPaperWidth - 384 }
                *CustPrintableSizeY:  %d{ PhysPaperLength - 384 }
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHCUS_PORT
                }
            }
        
            *case: LANDSCAPE_CC90
            {
                *CustCursorOriginX:  %d{192}
                *CustCursorOriginY:   %d{PhysPaperLength - 192}
                *CustPrintableOriginX:  %d{192}
                *CustPrintableOriginY:  %d{192}
                *CustPrintableSizeX:   %d{ PhysPaperWidth - 384}
                *CustPrintableSizeY:  %d{ PhysPaperLength - 384}
                *Command: CmdSelect
                {
                    *Order: PAGE_SETUP.5
                    *Cmd: =SDHCUS_LAND
                }
            }
        }
    }
}

*Feature: MediaType
{
    *rcNameID: =MEDIA_TYPE_DISPLAY
    *DefaultOption: STANDARD

	*Option: STANDARD
    {
		*OptionID: =DM_MEDIATYPE_STANDARD
	    *rcNameID: 704
		*Command: CmdSelect		
		{
			*Order: PAGE_SETUP.4
			*Cmd: ""
			*CallbackID: 5003 
		}
    }
    *Option: PLAIN
    {
		*OptionID: =DM_MEDIATYPE_PLAIN
	    *rcNameID: 780
		*Command: CmdSelect		
		{
			*Order: PAGE_SETUP.4
			*Cmd: ""
			*CallbackID: 5003 
		}
    }
	*Option: RECYCLED
    {
		*OptionID: =DM_MEDIATYPE_RECYCLED
	    *rcNameID: 781
		*Command: CmdSelect		
		{
			*Order: PAGE_SETUP.4
			*Cmd: ""
			*CallbackID: 5003 
		}
	}
    *Option: THICK
    {
		*OptionID: =DM_MEDIATYPE_THICK
	    *rcNameID: 783
		*Command: CmdSelect		
		{
			*Order: PAGE_SETUP.4
			*Cmd: ""
			*CallbackID: 5003 
		}		
    }
	*Option: TRANSPARENCY
    {
		*OptionID: =DM_MEDIATYPE_TRANSPARENCY
	    *rcNameID: 787
		*Command: CmdSelect		
		{
			*Order: PAGE_SETUP.4
			*Cmd: ""
			*CallbackID: 5003 
		}		
    }
	*Option: LABELS
    {
		*OptionID: =DM_MEDIATYPE_LABELS
	    *rcNameID: 792
		*Command: CmdSelect		
		{
			*Order: PAGE_SETUP.4
			*Cmd: ""
			*CallbackID: 5003 
		}		
    }
	*Option: CARDSTOCK
    {
		*OptionID: =DM_MEDIATYPE_CARDSTOCK
	    *rcNameID: 794
		*Command: CmdSelect		
		{
			*Order: PAGE_SETUP.4
			*Cmd: ""
			*CallbackID: 5003 
		}		
    }
	*Option: THIN
    {
		*OptionID: =DM_MEDIATYPE_THIN
	    *rcNameID: 795
		*Command: CmdSelect		
		{
			*Order: PAGE_SETUP.4
			*Cmd: ""
			*CallbackID: 5003 
		}		
    }
	*Option: ENVELOPE
    {
		*OptionID: =DM_MEDIATYPE_ENVELOPE
	    *rcNameID: 796
		*Command: CmdSelect		
		{
			*Order: PAGE_SETUP.4
			*Cmd: ""
			*CallbackID: 5003 
		}		
    }
	*Option: LETTERHEAD
    {
		*OptionID: =DM_MEDIATYPE_LETTERHEAD
	    *rcNameID: 789
		*Command: CmdSelect		
		{
			*Order: PAGE_SETUP.4
			*Cmd: ""
			*CallbackID: 5003 
		}
    }
}

*%******************************************************************************************
*%                                      Orientation
*%******************************************************************************************
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY		
		*switch: Rotate180
		{
            *case: FALSE
            {
				*Command: CmdSelect		
				{
					*Order: PAGE_SETUP.2
					*Cmd: =SDHPortrait
				}
			}
            *case: TRUE
            {
				*Command: CmdSelect		
				{
					*Order: PAGE_SETUP.2
					*Cmd: =SDHReversePortrait
				}
			}
		}		
    }
    *Option: LANDSCAPE_CC90
    {
        *rcNameID: =LANDSCAPE_DISPLAY
		*switch: Rotate180
		{
            *case: FALSE
            {
				*Command: CmdSelect		
				{
					*Order: PAGE_SETUP.2
					*Cmd: =SDHLandscape
				}
			}
            *case: TRUE
            {
				*Command: CmdSelect		
				{
					*Order: PAGE_SETUP.2
					*Cmd: =SDHReverseLandscape
				}
			}
		}		
    }
}

*%******************************************************************************************
*%                                      Rotate 180
*%******************************************************************************************
*Feature: Rotate180
{
	*rcNameID: 695
	*DefaultOption: FALSE
	*Option: FALSE
	{
		*rcNameID: 696
		*Command: CmdSelect
        {
			*Order: DOC_SETUP.14
			*Cmd: ""
		}
	}
	*Option: TRUE
	{
		*rcNameID: 697
		*Command: CmdSelect
        {
			*Order: DOC_SETUP.14
            *Cmd: ""
		}
	}
}

*%******************************************************************************************
*%                                      Poster print
*%******************************************************************************************
*Feature: PosterPrint
{
    *rcNameID: 744
    *DefaultOption: OFF
    *Option: OFF
    {
        *rcNameID: 718
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
    *Option: POSTER22
    {
	    *rcNameID: 745
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
	*Option: POSTER33
    {
	    *rcNameID: 746
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
	*Option: POSTER44
    {
	    *rcNameID: 747
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.14
            *Cmd: ""
			
        }
    }
	*Option: POSTER55
    {
	    *rcNameID: 748
    }
	
}

*%******************************************************************************************
*%                                      Pages per sheet
*%******************************************************************************************
*Feature: PagesPerSheet
{
    *rcNameID: 750
	*DefaultOption: 1PAGE
	*Option: 1PAGE
	{
	    *rcNameID: 751
	}
	*Option: 2PAGEBOOKLET
	{
	    *rcNameID: 752
	}
	*Option: 2PAGE
	{
		*rcNameID: 753
	}
	*Option: 4PAGE
	{
		*rcNameID: 754
	}
	*Option: 6PAGE
	{
	    *rcNameID: 755
	}
	*Option: 8PAGE
	{
	    *rcNameID: 756
	}
	*Option: 9PAGE
	{
	    *rcNameID: 757
	}
	*Option: 16PAGE
	{
	    *rcNameID: 758
	}
}

*%******************************************************************************************
*%                                     Page Borders
*%******************************************************************************************
*Feature: PageBorders
{
    *rcNameID: 759
	*DefaultOption: OFF
	*Option: OFF
	{
	    *rcNameID: 709
	}
	*Option: ON
	{
	    *rcNameID: 710
	}
}

*%******************************************************************************************
*%                                      First page
*%******************************************************************************************
*Feature: FirstPage
{
    *rcNameID: 760
	*DefaultOption: LEFT_TOP
	*Option: LEFT_TOP
	{
	    *rcNameID: 761
	}
	*Option: RIGHT_BOTTOM
	{
	    *rcNameID: 762
	}
}


*%******************************************************************************************
*%                                      First page- Layout
*%******************************************************************************************
*Feature: FirstPageLayout
{
    *rcNameID: 763
	*DefaultOption: UL_R
	*Option: UL_R
	{
	    *rcNameID: 764
	}
	*Option: LL_R
	{
	    *rcNameID: 765
	}
	*Option: UR_R
	{
	    *rcNameID: 766
	}
	*Option: LR_R
	{
	    *rcNameID: 767
	}
	*Option: UL_C
	{
	    *rcNameID: 768
	}
	*Option: LL_C
	{
	    *rcNameID: 769
	}
	*Option: UR_C
	{
	    *rcNameID: 770
	}
	*Option: LR_C
	{
	    *rcNameID: 771
	}
}

*%******************************************************************************************
*%                                      Rotation Sort
*%******************************************************************************************
*Feature: RotationSort
{
    *rcNameID: 772
	*DefaultOption: OFF
	*Option: OFF
	{
		*rcNameID: 709
	}
	*Option: ON
	{
	    *rcNameID: 710
	}
}

*%******************************************************************************************
*%                                      True Type Format
*%******************************************************************************************
*Feature: TrueTypeFormat
{
    *rcNameID: =TRUETYPE_FORMAT
    *DefaultOption: BITMAP
    *Option: OUTLINE
    {
        *rcNameID: =TRUETYPE_OUTLINE
    }
    *Option: BITMAP
    {
        *rcNameID: =TRUETYPE_BITMAP
    }
    *Option: GRAPHICS
    {
        *rcNameID: =TRUETYPE_GRAPHICS
    }
}

*switch: TrueTypeFormat
{
    *case: OUTLINE
    {
        *FontFormat: HPPCL_OUTLINE
    }
    *case: BITMAP
    {
        *FontFormat: HPPCL_RES
    }
    *case: GRAPHICS
    {
    }
}

*Command: CmdStartJob
{
    *Order: JOB_SETUP.1
*%% *Cmd: =PJL_STARTJOB =PJL_COMMENT
	*CallbackID: 5000 
 }

*Command: CmdStartDoc
{
	 *Order: DOC_SETUP.1
	 *CallbackID: 5006
}

*Command: CmdStartPage
{
    *Order: PAGE_SETUP.7
	*CallbackID: 5004 
}

*Command: CmdEndPage
{
    *Order: PAGE_FINISH.1
*%%    *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
	*CallbackID: 5005 
}

*Command: CmdEndDoc
{
    *Order: DOC_FINISH.1
    *CallbackID: 5007
}

*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
*%% *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
	*CallbackID: 5001 
}

*RotateCoordinate?: TRUE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
*MemoryUsage: LIST(FONT)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 1200
*YMoveUnit: 1200
*MinGrayFill: 1
*MaxGrayFill: 100

*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE

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

*Command: CmdSetAnyRotation
{
    *Cmd: ""
    *Params: LIST(PrintDirInCCDegrees)
}
*Command: CmdSetSimpleRotation
{
    *Cmd: ""
    *Params: LIST(PrintDirInCCDegrees)
}

*Command: CmdEnableDRC{ *Cmd: ""}
*Command: CmdEnableTIFF4 { *Cmd : "" }
*Command: CmdDisableCompression { *Cmd : "" }

*%******************************************************************************************
*%                                      Font Descriptions and Commands
*%******************************************************************************************
*Macros: DeviceFontIDs
{
    RC_FONT_ALGIERS_EXTRABOLD:    1
    RC_FONT_ALGIERS_MEDIUM:    2
    RC_FONT_ANTIQUEOLIVE_BOLD:    3
    RC_FONT_ANTIQUEOLIVE_ITALIC:    4
    RC_FONT_ANTIQUEOLIVE_REGULAR:    5
    RC_FONT_GARAMOND_ANTIQUA:     6
    RC_FONT_GARAMOND_HALBFETT:     7
    RC_FONT_GARAMOND_KURSIV:     8
    RC_FONT_GARAMOND_KURSIVHALBFETT:     9
    RC_FONT_LETTERGOTHIC_BOLD:  10  
    RC_FONT_LETTERGOTHIC_BOLDITALIC:  11  
    RC_FONT_LETTERGOTHIC_ITALIC:  12  
    RC_FONT_LETTERGOTHIC_REGULAR:  13  
    RC_FONT_MAURITIUS_REGULAR:  14  
    RC_FONT_NIMBUSMONO_BOLD:  15  
    RC_FONT_NIMBUSMONO_BOLDITALIC:  16  
    RC_FONT_NIMBUSMONO_ITALIC:  17  
    RC_FONT_NIMBUSMONO_REGULAR:  18  
    RC_FONT_NIMBUSROMANNO4_BOLD:  19  
    RC_FONT_NIMBUSROMANNO4_BOLDITALIC:  20  
    RC_FONT_NIMBUSROMANNO4_ITALIC:  21  
    RC_FONT_NIMBUSROMANNO4_REGULAR:  22  
    RC_FONT_NIMBUSROMANNO9_BOLD:  23  
    RC_FONT_NIMBUSROMANNO9_BOLDITALIC:  24  
    RC_FONT_NIMBUSROMANNO9_ITALIC:  25  
    RC_FONT_NIMBUSROMANNO9_REGULAR:  26  
    RC_FONT_NIMBUSSANSNO2_BOLD:  27  
    RC_FONT_NIMBUSSANSNO2_BOLDITALIC:  28  
    RC_FONT_NIMBUSSANSNO2_ITALIC:  29  
    RC_FONT_NIMBUSSANSNO2_REGULAR:    30
    RC_FONT_SYMBOLS:  31  
    RC_FONT_URWCLARENDONCONDENSED_BOLD:  32  
    RC_FONT_URWCLASSICO_BOLD:  33  
    RC_FONT_URWCLASSICO_BOLDITALIC:  34  
    RC_FONT_URWCLASSICO_ITALIC:  35  
    RC_FONT_URWCLASSICO_REGULAR:  36  
    RC_FONT_URWCLASSICSANS_BOLD:  37  
    RC_FONT_URWCLASSICSANS_BOLDITALIC:  38  
    RC_FONT_URWCLASSICSANSCOND_BDITALIC:  39  
    RC_FONT_URWCLASSICSANSCOND_BOLD:  40  
    RC_FONT_URWCLASSICSANSCOND_ITALIC:  41  
    RC_FONT_URWCLASSICSANSCOND_REGULAR:  42  
    RC_FONT_URWCLASSICSANS_REGULAR:  43  
    RC_FONT_URWCLASSICSANS_REGULARIT:  44  
    RC_FONT_URWCORONET_REGULAR:  45 
    RC_FONT_WDINGBAT:  60  
    RC_FONT_WINGDINGS: 61 	
}

*Macros: DeviceFontSet
{
	AlbertusFont: LIST(=RC_FONT_ALGIERS_EXTRABOLD, =RC_FONT_ALGIERS_MEDIUM)
	AntiqueOliveFont: LIST(=RC_FONT_ANTIQUEOLIVE_BOLD, =ANTIQUEOLIVE_ITALIC, =ANTIQUEOLIVE_REGULAR)
	ArialFont: LIST(=RC_FONT_NIMBUSSANSNO2_BOLD, =RC_FONT_NIMBUSSANSNO2_BOLDITALIC, =RC_FONT_NIMBUSSANSNO2_ITALIC, =RC_FONT_NIMBUSSANSNO2_REGULAR)
	CGTimesFont: LIST(=RC_FONT_NIMBUSROMANNO4_BOLD, =RC_FONT_NIMBUSROMANNO4_BOLDITALIC, =RC_FONT_NIMBUSROMANNO4_ITALIC, =RC_FONT_NIMBUSROMANNO4_REGULAR)
	ClaredonFont: LIST(=RC_FONT_URWCLARENDONCONDENSED_BOLD)
	CornetFont: LIST(=RC_FONT_URWCORONET_REGULAR)
	CourierFont: LIST(=RC_FONT_NIMBUSMONO_BOLD, =RC_FONT_NIMBUSMONO_BOLDITALIC, =RC_FONT_NIMBUSMONO_ITALIC, =RC_FONT_NIMBUSMONO_REGULAR)
	GaramondFont: LIST(=RC_FONT_GARAMOND_ANTIQUA, =RC_FONT_GARAMOND_HALBFETT, =RC_FONT_GARAMOND_KURSIV, =RC_FONT_GARAMOND_KURSIVHALBFETT)
	LetterGothicFont: LIST(=RC_FONT_LETTERGOTHIC_BOLD, =RC_FONT_LETTERGOTHIC_BOLDITALIC, =RC_FONT_LETTERGOTHIC_ITALIC, =RC_FONT_LETTERGOTHIC_REGULAR)
	MarigoldFont: LIST(=RC_FONT_MAURITIUS_REGULAR)
	OptimaFont: LIST(=RC_FONT_URWCLASSICO_BOLD, =RC_FONT_URWCLASSICO_BOLDITALIC, =RC_FONT_URWCLASSICO_ITALIC, =RC_FONT_URWCLASSICO_REGULAR)
	SymbolFont: LIST(=RC_FONT_SYMBOLS)
	TimesNewRomanFont: LIST(=RC_FONT_NIMBUSROMANNO9_BOLD, =RC_FONT_NIMBUSROMANNO9_BOLDITALIC, =RC_FONT_NIMBUSROMANNO9_ITALIC, =RC_FONT_NIMBUSROMANNO9_REGULAR)
	UniversCondensedFont: LIST(=RC_FONT_URWCLASSICSANSCOND_BDITALIC, =RC_FONT_URWCLASSICSANSCOND_BOLD, =RC_FONT_URWCLASSICSANSCOND_ITALIC, =RC_FONT_URWCLASSICSANSCOND_REGULAR)
	UniverseFont: LIST(=RC_FONT_URWCLASSICSANS_BOLD, =RC_FONT_URWCLASSICSANS_BOLDITALIC, =RC_FONT_URWCLASSICSANS_REGULAR, =RC_FONT_URWCLASSICSANS_REGULARIT)
	WDingbatsFont: LIST(=RC_FONT_WDINGBAT)
	WingDingsFont: LIST(=RC_FONT_WINGDINGS)
}

*DeviceFonts: LIST(
+   =RC_FONT_ALGIERS_EXTRABOLD,   
+   =RC_FONT_ALGIERS_MEDIUM,   
+   =RC_FONT_ANTIQUEOLIVE_BOLD,   
+   =RC_FONT_ANTIQUEOLIVE_ITALIC,   
+   =RC_FONT_ANTIQUEOLIVE_REGULAR,   
+   =RC_FONT_GARAMOND_ANTIQUA,    
+   =RC_FONT_GARAMOND_HALBFETT,    
+   =RC_FONT_GARAMOND_KURSIV,    
+   =RC_FONT_GARAMOND_KURSIVHALBFETT,    
+   =RC_FONT_LETTERGOTHIC_BOLD,  
+   =RC_FONT_LETTERGOTHIC_BOLDITALIC,  
+   =RC_FONT_LETTERGOTHIC_ITALIC,  
+   =RC_FONT_LETTERGOTHIC_REGULAR,  
+   =RC_FONT_MAURITIUS_REGULAR,  
+   =RC_FONT_NIMBUSMONO_BOLD,  
+   =RC_FONT_NIMBUSMONO_BOLDITALIC,  
+   =RC_FONT_NIMBUSMONO_ITALIC,  
+   =RC_FONT_NIMBUSMONO_REGULAR,    
+   =RC_FONT_NIMBUSROMANNO4_BOLD,  
+   =RC_FONT_NIMBUSROMANNO4_BOLDITALIC,  
+   =RC_FONT_NIMBUSROMANNO4_ITALIC,  
+   =RC_FONT_NIMBUSROMANNO4_REGULAR,  
+   =RC_FONT_NIMBUSROMANNO9_BOLD,  
+   =RC_FONT_NIMBUSROMANNO9_BOLDITALIC,  
+   =RC_FONT_NIMBUSROMANNO9_ITALIC,  
+   =RC_FONT_NIMBUSROMANNO9_REGULAR,  
+   =RC_FONT_NIMBUSSANSNO2_BOLD,  
+   =RC_FONT_NIMBUSSANSNO2_BOLDITALIC,  
+   =RC_FONT_NIMBUSSANSNO2_ITALIC,  
+   =RC_FONT_NIMBUSSANSNO2_REGULAR,  
+   =RC_FONT_SYMBOLS,  
+   =RC_FONT_URWCLARENDONCONDENSED_BOLD,  
+   =RC_FONT_URWCLASSICO_BOLD,  
+   =RC_FONT_URWCLASSICO_BOLDITALIC,  
+   =RC_FONT_URWCLASSICO_ITALIC,  
+   =RC_FONT_URWCLASSICO_REGULAR,  
+   =RC_FONT_URWCLASSICSANS_BOLD,  
+   =RC_FONT_URWCLASSICSANS_BOLDITALIC,  
+   =RC_FONT_URWCLASSICSANSCOND_BDITALIC,  
+   =RC_FONT_URWCLASSICSANSCOND_BOLD,  
+   =RC_FONT_URWCLASSICSANSCOND_ITALIC,  
+   =RC_FONT_URWCLASSICSANSCOND_REGULAR,  
+   =RC_FONT_URWCLASSICSANS_REGULAR,  
+   =RC_FONT_URWCLASSICSANS_REGULARIT,  
+   =RC_FONT_URWCORONET_REGULAR,  
+   =RC_FONT_WDINGBAT,  
+   =RC_FONT_WINGDINGS)

*TTFS: AlbertusMedium
{
  *TTFontName: "Algiers Medium"
  *DevFontName: "Algiers Medium"
}
*TTFS: AlbertusExtraBold
{
  *TTFontName: "Algiers Extra Bold"
  *DevFontName: "Algiers Extra Bold"
}
*TTFS: AntiqueOlive
{
  *TTFontName: "Antique Olive"
  *DevFontName: "Antique Olive"
}
*TTFS: CGTimes
{
  *TTFontName: "Nimbus Roman No4"
  *DevFontName: "Nimbus Roman No4"
}
*TTFS: Arial
{
	*TTFontName: "NimbusSansNo2"
	*DevFontName: "NimbusSansNo2"
}
*TTFS: ClarendonCD
{
  *TTFontName: "URW Clarendon Condensed Bold"
  *DevFontName: "URW Clarendon Condensed Bold"
}
*TTFS: Coronet
{
  *TTFontName: "URW Coronet"
  *DevFontName: "URW Coronet"
}
*TTFS: LetterGothic
{
  *TTFontName: "Letter Gothic"
  *DevFontName: "Letter Gothic"
}
*TTFS: Univers
{
  *TTFontName: "URW Classic Sans"
  *DevFontName: "URW Classic Sans"
}
*TTFS: UniversRegularCD
{
  *TTFontName: "URW Classic Sans Cond"
  *DevFontName: "URW Classic Sans Cond"
}
*TTFS: Courier
{
  *TTFontName: "Nimbus Mono"
  *DevFontName: "Nimbus Mono"
}
*TTFS: TimesNewRoman
{
  *TTFontName: "Nimbus Roman No9"
  *DevFontName: "Nimbus Roman No9"
}
*TTFS: Wingdings
{
	*TTFontName: "Wingdings"
	*DevFontName: "Wingdings"
}
*TTFS: Symbol
{
	*TTFontName: "Symbols"
	*DevFontName: "Symbols"
}
*TTFS: Marigold
{
	*TTFontName: "Mauritius"
	*DevFontName: "Mauritius"
}
*TTFS: GaramondAntiqua
{
	*TTFontName: "Garamond Antiqua"
	*DevFontName: "Garamond Antiqua"
}
*TTFS: Optima
{
	*TTFontName: "URW Classico"
	*DevFontName: "URW Classico"
}

*EjectPageWithFF?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultFont: =RC_FONT_COURIERR
*DefaultCTT: 0
*CharPosition: BASELINE
*TTFSEnabled?: TRUE
*FontFormat: OEM_CALLBACK
*MinFontID: 1
*MaxFontID: 65535
*MinGlyphID: 1
*MaxGlyphID: 1000

*%******************************************************************************************
*%                                       Printer Font
*%******************************************************************************************
*Feature: PrinterFont
{
    *rcNameID: 803
	*DefaultOption: Courier
	*Option: AlbertusMedium
	{
	  *Name: "Albertus Medium"
	}
	*Option: AlbertusExtraBold
	{
	  *Name: "Albertus Extra Bold"
	}
	*Option: AntiqueOlive
	{
	  *Name: "Antique Olive"
	}
	*Option: Arial
	{
	  *Name: "Arial"
	}	
	*Option: CGTimes
	{
	  *Name: "CG Times"
	}
	*Option: ClarendonCD
	{
	  *Name: "Clarendon Condensed Bold"
	}
	*Option: Coronet
	{
	  *Name: "Coronet"
	}
	*Option: Courier
	{
		*Name: "Courier"
	}		
	*Option: GaramondAntiqua
	{
		*Name: "Garamond Antiqua"
	}	
	*Option: LetterGothic
	{
		*Name: "Letter Gothic"
	}
	*Option: Marigold
	{
		*Name: "Marigold"
	}	
	*Option: Optima
	{
		*Name: "Optima"
	}
	*Option: TimesNewRoman
	{
		*Name: "Times New Roman"
	}	
	*Option: Symbol
	{
		*Name: "Symbol"
	}	
	*Option: Univers
	{
		*Name: "Univers"
	}	
	*Option: UniversRegularCD
	{
		*Name: "Univers Condensed"
	}		
	*Option: Wingdings
	{
		*Name: "Wingdings"
	}		
}

*Command: CmdSetFontID { *Cmd : "" }
*Command: CmdSelectFontID
{
    *Cmd: ""
    *Params: LIST(FontHeight, CurrentFontID, TextYRes)
}
*Command: CmdSetCharCode { *Cmd : "" }

*%******************************************************************************************
*%                                   Printer Fonts for Printer Property
*%******************************************************************************************
*Feature: PrintProperty_PrinterFont
{
    *rcNameID: 803
	*DefaultOption: Courier
	*FeatureType: PRINTER_PROPERTY
	*Option: AlbertusMedium
	{
	  *Name: "Albertus Medium"
	}
	*Option: AlbertusExtraBold
	{
	  *Name: "Albertus Extra Bold"
	}
	*Option: AntiqueOlive
	{
	  *Name: "Antique Olive"
	}
	*Option: Arial
	{
	  *Name: "Arial"
	}	
	*Option: CGTimes
	{
	  *Name: "CG Times"
	}
	*Option: ClarendonCD
	{
	  *Name: "Clarendon Condensed Bold"
	}
	*Option: Coronet
	{
	  *Name: "Coronet"
	}
	*Option: Courier
	{
		*Name: "Courier"
	}		
	*Option: GaramondAntiqua
	{
		*Name: "Garamond Antiqua"
	}	
	*Option: LetterGothic
	{
		*Name: "Letter Gothic"
	}
	*Option: Marigold
	{
		*Name: "Marigold"
	}	
	*Option: Optima
	{
		*Name: "Optima"
	}
	*Option: TimesNewRoman
	{
		*Name: "Times New Roman"
	}	
	*Option: Symbol
	{
		*Name: "Symbol"
	}	
	*Option: Univers
	{
		*Name: "Univers"
	}	
	*Option: UniversRegularCD
	{
		*Name: "Univers Condensed"
	}		
	*Option: Wingdings
	{
		*Name: "Wingdings"
	}	
}