You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1484 lines
41 KiB
1484 lines
41 KiB
*%%
|
|
*%% HP LaserJet 2100 Series PCL
|
|
*%%
|
|
*%% Copyright 1998 - 1999, Microsoft Corp.
|
|
*%% All Rights Reserved.
|
|
*%%
|
|
|
|
*%%
|
|
*%% Global Entries
|
|
*%%
|
|
*GPDSpecVersion: "1.0"
|
|
*GPDFileVersion: "1.0"
|
|
|
|
*%%% ======================
|
|
*%%% Include standard GPD files
|
|
*%%% =====================
|
|
*Include: "StdNames.gpd"
|
|
*Include: "ttfsub.gpd"
|
|
|
|
*%%
|
|
*%% Model Specific Global Entries
|
|
*%%
|
|
*GPDFileName: "HPLJ21P6.GPD"
|
|
*ModelName: "HP LaserJet 2100 PCL6"
|
|
*MaxCopies: 32767
|
|
*PrintRate: 10
|
|
*PrintRatePPM: 10
|
|
*PrintRateUnit: PPM
|
|
|
|
*MasterUnits: PAIR(1200, 1200)
|
|
*CodePage: 1252
|
|
*ResourceDLL: "pclxl.dll"
|
|
*PrinterType: PAGE
|
|
*Personality: =PERSONALITY_PCLXL
|
|
|
|
*%%% ======================
|
|
*%%% Macros
|
|
*%%% ======================
|
|
*Include: "pjl.gpd"
|
|
*Include: "p6font.gpd"
|
|
*Include: "p6disp.gpd"
|
|
|
|
*%%% ======================
|
|
*%%% Main
|
|
*%%% ======================
|
|
*Include: "pclxl.gpd"
|
|
|
|
*%%% ======================
|
|
*%%% DOC_SETUP, PAGE_FINISH
|
|
*%%% , JOB_FINISH
|
|
*%%% ======================
|
|
|
|
*Macros: PCLXLCommand
|
|
{
|
|
*%%% ---------------------------------------------------------------------------
|
|
*%%% PCL XL Stream Header
|
|
*%%% ---------------------------------------------------------------------------
|
|
PCLXL_StreamHeader: ") HP-PCL XL;2;0;"
|
|
+ "Comment Copyright(c) 1999 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 =eNoCompression =attr_ubyte =CompressMode
|
|
+ =ubyte "<00>" =attr_ubyte =StartLine
|
|
+ =uint16 =Height =attr_ubyte =BlockHeight
|
|
+ =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}
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% Features and Options
|
|
*%%% ======================
|
|
|
|
*%% Optional Tray 3
|
|
*Feature: TRAY3
|
|
{
|
|
*rcNameID: =TRAY3_DISPLAY
|
|
*FeatureType: PRINTER_PROPERTY
|
|
*DefaultOption: FALSE
|
|
*Option: FALSE
|
|
{
|
|
*rcNameID: =NOT_INSTALLED_DISPLAY
|
|
*Constraints: LIST(InputBin.Option5)
|
|
}
|
|
*Option: TRUE
|
|
{
|
|
*rcNameID: =INSTALLED_DISPLAY
|
|
}
|
|
}
|
|
|
|
*Command: CmdStartJob
|
|
{
|
|
*Order: JOB_SETUP.1
|
|
*Cmd: =PJL_STARTJOB =PJL_COMMENT
|
|
}
|
|
|
|
*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 { "" }
|
|
}
|
|
}
|
|
*%%% ======================
|
|
*%%% DOC_SETUP
|
|
*%%% ======================
|
|
|
|
*%%% ======================
|
|
*%%% DOC_SETUP.1
|
|
*%%% START PLJ JOB
|
|
*%%% PAGEPROTECT
|
|
*%%% TIMEOUT
|
|
*Feature: PageProtect
|
|
{
|
|
*rcNameID: =PAGE_PROTECTION_DISPLAY
|
|
*DefaultOption: OFF
|
|
*Option: ON
|
|
{
|
|
*rcNameID: =ON_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.2
|
|
*Cmd: =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
|
|
}
|
|
}
|
|
*Option: OFF
|
|
{
|
|
*rcNameID: =OFF_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.2
|
|
*Cmd: =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
|
|
}
|
|
}
|
|
}
|
|
*%%% ======================
|
|
*%%% DOC_SETUP.2
|
|
*%%% ECONOMODE
|
|
*Feature: Economode
|
|
{
|
|
*rcNameID: =ECONOMODE_DISPLAY
|
|
*DefaultOption: Option1
|
|
*Option: Option1
|
|
{
|
|
*rcNameID: =ECONOMODE_DEFAULT_DISPLAY
|
|
}
|
|
*Option: Option2
|
|
{
|
|
*rcNameID: =ECONOMODE_OFF_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.3
|
|
*Cmd: =PJL_ECONOMODE_OFF
|
|
}
|
|
}
|
|
*Option: Option3
|
|
{
|
|
*rcNameID: =ECONOMODE_ON_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.3
|
|
*Cmd: =PJL_ECONOMODE_ON
|
|
}
|
|
}
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% DOC_SETUP.3
|
|
*%%% RET
|
|
*Feature: RET
|
|
{
|
|
*rcNameID: =PRINT_QUALITY
|
|
*DefaultOption: Option1
|
|
*Option: Option1
|
|
{
|
|
*rcNameID: =PRINT_QUALITY_DEFAULT
|
|
}
|
|
*Option: Option2
|
|
{
|
|
*rcNameID: =PRINT_QUALITY_LIGHT
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.4
|
|
*Cmd: =PJL_RET_LIGHT
|
|
}
|
|
}
|
|
*Option: Option3
|
|
{
|
|
*rcNameID: =PRINT_QUALITY_MEDIUM
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.4
|
|
*Cmd: =PJL_RET_MEDIUM
|
|
}
|
|
}
|
|
*Option: Option4
|
|
{
|
|
*rcNameID: =PRINT_QUALITY_DARK
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.4
|
|
*Cmd: =PJL_RET_DARK
|
|
}
|
|
}
|
|
*Option: Option5
|
|
{
|
|
*rcNameID: =PRINT_QUALITY_OFF
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.4
|
|
*Cmd: =PJL_RET_OFF
|
|
}
|
|
}
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% DOC_SETUP.4
|
|
*%%% RESOLUTION
|
|
*%%% ENTER LANGUAGE=PCLXL
|
|
*%%% PCL XL Stream Header
|
|
*%%% BeginSession
|
|
*%%% CmdEndRaster
|
|
*%%% EndImage
|
|
*%%% CmdSendBlockData
|
|
*%%% EndImage
|
|
*Feature: Resolution
|
|
{
|
|
*rcNameID: =RESOLUTION_DISPLAY
|
|
*DefaultOption: Option2
|
|
*Option: Option1
|
|
{
|
|
*Name: "1200 x 1200 " =DOTS_PER_INCH
|
|
*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
|
|
}
|
|
|
|
*% EndImage(0xb2)
|
|
*%
|
|
*Command: CmdEndBlockData { *Cmd : =EndImage}
|
|
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.5
|
|
*Cmd: =PJL_RESOLUTION_1200 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession1200 =PCLXL_OpenDataSource
|
|
}
|
|
}
|
|
*Option: Option2
|
|
{
|
|
*Name: "600 x 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 : =PCLXL_CmdBeginRaster
|
|
}
|
|
|
|
*Command: CmdEndRaster { *Cmd : =EndImage }
|
|
*Command: CmdSendBlockData
|
|
{
|
|
*Cmd: =PCLXL_CmdSendBlockData
|
|
}
|
|
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.5
|
|
*Cmd: =PJL_RESOLUTION_600 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600 =PCLXL_OpenDataSource
|
|
}
|
|
}
|
|
*Option: Option3
|
|
{
|
|
*Name: "300 x 300 " =DOTS_PER_INCH
|
|
*DPI: PAIR(300, 300)
|
|
*TextDPI: PAIR(300, 300)
|
|
*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: =PJL_RESOLUTION_300 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300 =PCLXL_OpenDataSource
|
|
}
|
|
}
|
|
}
|
|
|
|
*Feature: Orientation
|
|
{
|
|
*rcNameID: =ORIENTATION_DISPLAY
|
|
*DefaultOption: PORTRAIT
|
|
*Option: PORTRAIT
|
|
{
|
|
*rcNameID: =PORTRAIT_DISPLAY
|
|
}
|
|
*Option: LANDSCAPE_CC90
|
|
{
|
|
*rcNameID: =LANDSCAPE_DISPLAY
|
|
}
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_SETUP
|
|
*%%% ======================
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_SETUP.1
|
|
*%%% BeginPage(0x43)
|
|
*%%% Orientation(40), MediaSize(37), MediaSource(38)
|
|
*%%% ubyte ubyte ubyte
|
|
*Feature: PaperSize
|
|
{
|
|
*rcNameID: =PAPER_SIZE_DISPLAY
|
|
*DefaultOption: LETTER
|
|
*Option: A5
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
|
|
*PageProtectMem: 2125
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(6396, 9372)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*CursorOrigin: PAIR(300, 160)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(6396, 9324)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*CursorOrigin: PAIR(260, 9624)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: LETTER
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(9600, 12600)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*CursorOrigin: PAIR(300, 160)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(9760, 12600)
|
|
*PrintableOrigin: PAIR(200, 300)
|
|
*CursorOrigin: PAIR(200, 12900)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: LEGAL
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
|
|
*PageProtectMem: 5230
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(9600, 16200)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*CursorOrigin: PAIR(300, 160)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(9760, 16200)
|
|
*PrintableOrigin: PAIR(200, 300)
|
|
*CursorOrigin: PAIR(200, 16500)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: EXECUTIVE
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(8100, 12000)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*CursorOrigin: PAIR(300, 160)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(8180, 12000)
|
|
*PrintableOrigin: PAIR(220, 300)
|
|
*CursorOrigin: PAIR(200, 12300)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: A4
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1008
|
|
*PageProtectMem: 4249
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(9352, 13400)
|
|
*PrintableOrigin: PAIR(260, 300)
|
|
*CursorOrigin: PAIR(260, 160)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(9424, 13428)
|
|
*PrintableOrigin: PAIR(200, 300)
|
|
*CursorOrigin: PAIR(200, 13728)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: ENV_10
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1019
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(4346, 10800)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option2
|
|
{
|
|
*PrintableArea: PAIR(4344, 10800)
|
|
}
|
|
}
|
|
*CursorOrigin: PAIR(300, 180)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(4476, 10800)
|
|
*PrintableOrigin: PAIR(200, 300)
|
|
*CursorOrigin: PAIR(200, 11100)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: ENV_DL
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1026
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(4576, 9792)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*CursorOrigin: PAIR(300, 180)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(4796, 9792)
|
|
*PrintableOrigin: PAIR(200, 300)
|
|
*CursorOrigin: PAIR(200, 10092)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: ENV_C5
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1027
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(7036, 10214)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option3
|
|
{
|
|
*PrintableArea: PAIR(7036, 10212)
|
|
}
|
|
}
|
|
*CursorOrigin: PAIR(300, 180)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(7056, 10224)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*CursorOrigin: PAIR(200, 10524)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: ENV_MONARCH
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1036
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(4046, 8400)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option3
|
|
{
|
|
*PrintableArea: PAIR(4044, 8400)
|
|
}
|
|
}
|
|
*CursorOrigin: PAIR(300, 180)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(4076, 8400)
|
|
*PrintableOrigin: PAIR(300, 300)
|
|
*CursorOrigin: PAIR(200, 8700)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: CUSTOMSIZE
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1255
|
|
*MinSize: PAIR(3600, 6000)
|
|
*MaxSize: PAIR(10200, 32767)
|
|
*MaxPrintableWidth: 10200
|
|
*MinLeftMargin: 100
|
|
*CenterPrintable?: FALSE
|
|
*PageProtectMem: 1692
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*CustCursorOriginX: %d{((PhysPaperWidth - 10200) / 2) + 300 }
|
|
*CustCursorOriginY: %d{140 }
|
|
*CustPrintableOriginX: %d{300 }
|
|
*CustPrintableOriginY: %d{300}
|
|
*CustPrintableSizeX: %d{ PhysPaperWidth - 600 }
|
|
*CustPrintableSizeY: %d{ PhysPaperLength - 600 }
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
|
|
+ =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
|
|
+ =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*CustCursorOriginX: %d{((PhysPaperWidth - 10200) / 2) + 200 }
|
|
*CustCursorOriginY: %d{16560 }
|
|
*CustPrintableOriginX: %d{200 }
|
|
*CustPrintableOriginY: %d{240}
|
|
*CustPrintableSizeX: %d{ PhysPaperWidth - 400 }
|
|
*CustPrintableSizeY: %d{ PhysPaperLength - 480 }
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
|
|
+ =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
|
|
+ =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_SETUP.2
|
|
*%%% BeginPage(0x43)
|
|
*%%% Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
|
|
*%%% ubyte ubyte ubyte
|
|
*%%% MediaSource
|
|
*Feature: InputBin
|
|
{
|
|
*rcNameID: =PAPER_SOURCE_DISPLAY
|
|
*DefaultOption: Option1
|
|
*Option: Option1
|
|
{
|
|
*rcNameID: =FIRST_AVAILABLE_TRAY_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
|
|
}
|
|
}
|
|
*Option: Option2
|
|
{
|
|
*rcNameID: =TRAY1_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*Cmd: =ubyte =eMultiPurposeTray =attr_ubyte =MediaSource
|
|
}
|
|
}
|
|
*Option: Option3
|
|
{
|
|
*rcNameID: =TRAY2_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
|
|
}
|
|
*Constraints: LIST(PaperSize.A5,PaperSize.ENV_10,PaperSize.ENV_DL,PaperSize.ENV_C5,
|
|
+ PaperSize.ENV_MONARCH,PaperSize.CUSTOMSIZE)
|
|
}
|
|
*Option: Option4
|
|
{
|
|
*rcNameID: =MANUAL_FEED_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*Cmd: =ubyte =eEnvelopeTray =attr_ubyte =MediaSource
|
|
}
|
|
}
|
|
*Option: Option5
|
|
{
|
|
*rcNameID: =TRAY3_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
|
|
}
|
|
*Constraints: LIST(PaperSize.A5,PaperSize.ENV_10,PaperSize.ENV_DL,PaperSize.ENV_C5,
|
|
+ PaperSize.ENV_MONARCH,PaperSize.CUSTOMSIZE)
|
|
}
|
|
}
|
|
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_SETUP.4
|
|
*%%% SetPageOrigin
|
|
*%%% PageOrigin
|
|
*%%% SetPageScale
|
|
*Command: CmdStartPage
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
|
|
+ =ubyte eRGB =attr_ubyte =ColorSpace =SetColorSpace
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_SETUP.5
|
|
*%%% Feature
|
|
*%%% Dither
|
|
*Feature: Dither
|
|
{
|
|
*rcNameID: =DITHER_QUALITY_DISPLAY
|
|
*DefaultOption: HIQUALITY
|
|
*Option: HIQUALITY
|
|
{
|
|
*rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.5
|
|
*Cmd:
|
|
+ =ubyte "<00>" =attr_ubyte =DitherMatrixDataType
|
|
+ =uint16_xy "<10001000>" =attr_ubyte =DitherMatrixSize
|
|
+ =ubyte "<02>" =attr_ubyte =DitherMatrixDepth
|
|
+ =SetHalftoneMethod
|
|
+ =dataLength "<00010000>"
|
|
+ "<42786A3C2B1B1E2E4175673A2A1A1D2D>"
|
|
+ "<88FDE8531703042484F8E35116030424>"
|
|
+ "<99FFD45E1302072195FFCE5B12010721>"
|
|
+ "<4ABFAB36280B0F3248BAA735270A0E31>"
|
|
+ "<28171B2B3D6C5F3729191C2C3F716439>"
|
|
+ "<130203227AEBD64B1502032380F3DE4E>"
|
|
+ "<0F01051F8AFFC2551101062090FFC958>"
|
|
+ "<2525080B2F43AE9B3226090D3046B5A234>"
|
|
+ "<4073653A29191D2D4276693B2A1A1E2E>"
|
|
+ "<82F5E1501502042386FAE65216030424>"
|
|
+ "<92FFCC5A1101062097FFD15D12020721>"
|
|
+ "<47B8A435260A0D3049BDA936270A0E31>"
|
|
+ "<29181C2C3E6F623828181C2B3D6E6138>"
|
|
+ "<140203237EF0DB4D140203227CEED94C>"
|
|
+ "<1001051F8EFFC7571001051F8CFFC456>"
|
|
+ "<26090C2F45B3A0342525080C2F44B09D33>"
|
|
}
|
|
}
|
|
*Option: LOQUALITY
|
|
{
|
|
*rcNameID: =DITHER_QUALITY_LOW_DISPLAY
|
|
}
|
|
}
|
|
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_FINISH
|
|
*%%% ======================
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_FINISH.3
|
|
*Command: CmdEndPage
|
|
{
|
|
*Order: PAGE_FINISH.1
|
|
*Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% JOB_FINISH.1
|
|
*%%% CmdEndJob
|
|
*Command: CmdEndJob
|
|
{
|
|
*Order: JOB_FINISH.1
|
|
*Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
|
|
}
|
|
|
|
|
|
*%%% ======================
|
|
*%%% Feature
|
|
*%%% Memory
|
|
|
|
*Feature: Memory
|
|
{
|
|
*rcNameID: =PRINTER_MEMORY_DISPLAY
|
|
*DefaultOption: 4096KB
|
|
*Option: 2048KB
|
|
{
|
|
*Name: "2MB"
|
|
*MemoryConfigKB: PAIR(2048, 1350)
|
|
}
|
|
*Option: 3072KB
|
|
{
|
|
*Name: "3MB"
|
|
*MemoryConfigKB: PAIR(3072, 2250)
|
|
}
|
|
*Option: 4096KB
|
|
{
|
|
*Name: "4MB"
|
|
*MemoryConfigKB: PAIR(4096, 3150)
|
|
}
|
|
*Option: 5120KB
|
|
{
|
|
*Name: "5MB"
|
|
*MemoryConfigKB: PAIR(5120, 4050)
|
|
}
|
|
*Option: 6144KB
|
|
{
|
|
*Name: "6MB"
|
|
*MemoryConfigKB: PAIR(6144, 4950)
|
|
}
|
|
*Option: 7168KB
|
|
{
|
|
*Name: "7MB"
|
|
*MemoryConfigKB: PAIR(7168, 5850)
|
|
}
|
|
*Option: 8192KB
|
|
{
|
|
*Name: "8MB"
|
|
*MemoryConfigKB: PAIR(8192, 6750)
|
|
}
|
|
*Option: 9216KB
|
|
{
|
|
*Name: "9MB"
|
|
*MemoryConfigKB: PAIR(9216, 7650)
|
|
}
|
|
*Option: 10240KB
|
|
{
|
|
*Name: "10MB"
|
|
*MemoryConfigKB: PAIR(10240, 8550)
|
|
}
|
|
*Option: 11264KB
|
|
{
|
|
*Name: "11MB"
|
|
*MemoryConfigKB: PAIR(11264, 9450)
|
|
}
|
|
*Option: 12288KB
|
|
{
|
|
*Name: "12MB"
|
|
*MemoryConfigKB: PAIR(12288, 10350)
|
|
}
|
|
*Option: 13312KB
|
|
{
|
|
*Name: "13MB"
|
|
*MemoryConfigKB: PAIR(13312, 11250)
|
|
}
|
|
*Option: 14336KB
|
|
{
|
|
*Name: "14MB"
|
|
*MemoryConfigKB: PAIR(14336, 12150)
|
|
}
|
|
*Option: 15360KB
|
|
{
|
|
*Name: "15MB"
|
|
*MemoryConfigKB: PAIR(15360, 13050)
|
|
}
|
|
*Option: 16384KB
|
|
{
|
|
*Name: "16MB"
|
|
*MemoryConfigKB: PAIR(16384, 13950)
|
|
}
|
|
*Option: 17408KB
|
|
{
|
|
*Name: "17MB"
|
|
*MemoryConfigKB: PAIR(17408, 14850)
|
|
}
|
|
*Option: 18432KB
|
|
{
|
|
*Name: "18MB"
|
|
*MemoryConfigKB: PAIR(18432, 15750)
|
|
}
|
|
*Option: 19456KB
|
|
{
|
|
*Name: "19MB"
|
|
*MemoryConfigKB: PAIR(19456, 16650)
|
|
}
|
|
*Option: 20480KB
|
|
{
|
|
*Name: "20MB"
|
|
*MemoryConfigKB: PAIR(20480, 17550)
|
|
}
|
|
*Option: 21504KB
|
|
{
|
|
*Name: "21MB"
|
|
*MemoryConfigKB: PAIR(21504, 18450)
|
|
}
|
|
*Option: 22528KB
|
|
{
|
|
*Name: "22MB"
|
|
*MemoryConfigKB: PAIR(22528, 19350)
|
|
}
|
|
*Option: 23552KB
|
|
{
|
|
*Name: "23MB"
|
|
*MemoryConfigKB: PAIR(23552, 20250)
|
|
}
|
|
*Option: 24576KB
|
|
{
|
|
*Name: "24MB"
|
|
*MemoryConfigKB: PAIR(24576, 21150)
|
|
}
|
|
*Option: 25600KB
|
|
{
|
|
*Name: "25MB"
|
|
*MemoryConfigKB: PAIR(25600, 22050)
|
|
}
|
|
*Option: 26624KB
|
|
{
|
|
*Name: "26MB"
|
|
*MemoryConfigKB: PAIR(26624, 22950)
|
|
}
|
|
*Option: 27648KB
|
|
{
|
|
*Name: "27MB"
|
|
*MemoryConfigKB: PAIR(27648, 23850)
|
|
}
|
|
*Option: 28672KB
|
|
{
|
|
*Name: "28MB"
|
|
*MemoryConfigKB: PAIR(28672, 24750)
|
|
}
|
|
*Option: 29696KB
|
|
{
|
|
*Name: "29MB"
|
|
*MemoryConfigKB: PAIR(29696, 25650)
|
|
}
|
|
*Option: 30720KB
|
|
{
|
|
*Name: "30MB"
|
|
*MemoryConfigKB: PAIR(30720, 26550)
|
|
}
|
|
*Option: 31744KB
|
|
{
|
|
*Name: "31MB"
|
|
*MemoryConfigKB: PAIR(31744, 27450)
|
|
}
|
|
*Option: 32768KB
|
|
{
|
|
*Name: "32MB"
|
|
*MemoryConfigKB: PAIR(32768, 28350)
|
|
}
|
|
*Option: 33792KB
|
|
{
|
|
*Name: "33MB"
|
|
*MemoryConfigKB: PAIR(33792, 29250)
|
|
}
|
|
*Option: 34816KB
|
|
{
|
|
*Name: "34MB"
|
|
*MemoryConfigKB: PAIR(34816, 30420)
|
|
}
|
|
*Option: 35840KB
|
|
{
|
|
*Name: "35MB"
|
|
*MemoryConfigKB: PAIR(35840, 31050)
|
|
}
|
|
*Option: 36864KB
|
|
{
|
|
*Name: "36MB"
|
|
*MemoryConfigKB: PAIR(36864, 31950)
|
|
}
|
|
*Option: 37888KB
|
|
{
|
|
*Name: "37MB"
|
|
*MemoryConfigKB: PAIR(37888, 32850)
|
|
}
|
|
*Option: 38912KB
|
|
{
|
|
*Name: "38MB"
|
|
*MemoryConfigKB: PAIR(38912, 33750)
|
|
}
|
|
*Option: 39936KB
|
|
{
|
|
*Name: "39MB"
|
|
*MemoryConfigKB: PAIR(39936, 34650)
|
|
}
|
|
*Option: 40960KB
|
|
{
|
|
*Name: "40MB"
|
|
*MemoryConfigKB: PAIR(40960, 35550)
|
|
}
|
|
*Option: 41984KB
|
|
{
|
|
*Name: "41MB"
|
|
*MemoryConfigKB: PAIR(41984, 36450)
|
|
}
|
|
*Option: 43008KB
|
|
{
|
|
*Name: "42MB"
|
|
*MemoryConfigKB: PAIR(43008, 37350)
|
|
}
|
|
*Option: 44032KB
|
|
{
|
|
*Name: "43MB"
|
|
*MemoryConfigKB: PAIR(44032, 38250)
|
|
}
|
|
*Option: 45056KB
|
|
{
|
|
*Name: "44MB"
|
|
*MemoryConfigKB: PAIR(45056, 39150)
|
|
}
|
|
*Option: 46080KB
|
|
{
|
|
*Name: "45MB"
|
|
*MemoryConfigKB: PAIR(46080, 40050)
|
|
}
|
|
*Option: 47104KB
|
|
{
|
|
*Name: "46MB"
|
|
*MemoryConfigKB: PAIR(47104, 40950)
|
|
}
|
|
*Option: 48128KB
|
|
{
|
|
*Name: "47MB"
|
|
*MemoryConfigKB: PAIR(48128, 41850)
|
|
}
|
|
*Option: 49152KB
|
|
{
|
|
*Name: "48MB"
|
|
*MemoryConfigKB: PAIR(49152, 42750)
|
|
}
|
|
*Option: 50176KB
|
|
{
|
|
*Name: "49MB"
|
|
*MemoryConfigKB: PAIR(50176, 43650)
|
|
}
|
|
*Option: 51200KB
|
|
{
|
|
*Name: "50MB"
|
|
*MemoryConfigKB: PAIR(51200, 44550)
|
|
}
|
|
}
|
|
*%%% ======================
|
|
*%%% Device fonts
|
|
*%%% ======================
|
|
|
|
*DefaultFont: =RC_FONT_COURIERR
|
|
*DefaultCTT: 0
|
|
|
|
*DeviceFonts: LIST(
|
|
+ =RC_FONT_ALBERTR,
|
|
+ =RC_FONT_ALBERTX,
|
|
+ =RC_FONT_AOLIVEB,
|
|
+ =RC_FONT_AOLIVEI,
|
|
+ =RC_FONT_AOLIVER,
|
|
+ =RC_FONT_ARIALB,
|
|
+ =RC_FONT_ARIALI,
|
|
+ =RC_FONT_ARIALJ,
|
|
+ =RC_FONT_ARIALR,
|
|
+ =RC_FONT_CGOMEGAB,
|
|
+ =RC_FONT_CGOMEGAI,
|
|
+ =RC_FONT_CGOMEGAJ,
|
|
+ =RC_FONT_CGOMEGAR,
|
|
+ =RC_FONT_CGTIMESB,
|
|
+ =RC_FONT_CGTIMESI,
|
|
+ =RC_FONT_CGTIMESJ,
|
|
+ =RC_FONT_CGTIMESR,
|
|
+ =RC_FONT_CLARCD,
|
|
+ =RC_FONT_CORONETR,
|
|
+ =RC_FONT_COURIERB,
|
|
+ =RC_FONT_COURIERI,
|
|
+ =RC_FONT_COURIERJ,
|
|
+ =RC_FONT_COURIERR,
|
|
+ =RC_FONT_GARMONDB,
|
|
+ =RC_FONT_GARMONDI,
|
|
+ =RC_FONT_GARMONDJ,
|
|
+ =RC_FONT_GARMONDR,
|
|
+ =RC_FONT_LETGOTHB,
|
|
+ =RC_FONT_LETGOTHI,
|
|
+ =RC_FONT_LETGOTHR,
|
|
+ =RC_FONT_MARGOLDR,
|
|
+ =RC_FONT_TIMESNRB,
|
|
+ =RC_FONT_TIMESNRI,
|
|
+ =RC_FONT_TIMESNRJ,
|
|
+ =RC_FONT_TIMESNRR,
|
|
+ =RC_FONT_UNIVERCB,
|
|
+ =RC_FONT_UNIVERCI,
|
|
+ =RC_FONT_UNIVERCJ,
|
|
+ =RC_FONT_UNIVERCR,
|
|
+ =RC_FONT_UNIVERSA,
|
|
+ =RC_FONT_UNIVERSB,
|
|
+ =RC_FONT_UNIVERSC,
|
|
+ =RC_FONT_UNIVERSD,
|
|
+ =RC_FONT_UNIVERSE,
|
|
+ =RC_FONT_UNIVERSI,
|
|
+ =RC_FONT_UNIVERSJ,
|
|
+ =RC_FONT_UNIVERSR,
|
|
+ =RC_FONT_WINGDINGS,
|
|
+ =RC_FONT_SYMBOL)
|
|
|
|
*% TT font Substituition table for our device fonts
|
|
*% Arial and TNR are substituted in ttfsub.gpd
|
|
*TTFS: AlbertusM
|
|
{
|
|
*TTFontName: "Albertus Medium"
|
|
*DevFontName: "Albertus Medium"
|
|
}
|
|
*TTFS: AlbertusX
|
|
{
|
|
*TTFontName: "Albertus Extra Bold"
|
|
*DevFontName: "Albertus Extra Bold"
|
|
}
|
|
*TTFS: AntiqueOlive
|
|
{
|
|
*TTFontName: "Antique Olive"
|
|
*DevFontName: "Antique Olive"
|
|
}
|
|
*TTFS: CGOmega
|
|
{
|
|
*TTFontName: "CG Omega"
|
|
*DevFontName: "CG Omega"
|
|
}
|
|
*TTFS: CGTimes
|
|
{
|
|
*TTFontName: "CG Times"
|
|
*DevFontName: "CG Times"
|
|
}
|
|
*TTFS: ClarendonCD
|
|
{
|
|
*TTFontName: "Clarendon Condensed Bold"
|
|
*DevFontName: "Clarendon Condensed"
|
|
}
|
|
*TTFS: Coronet
|
|
{
|
|
*TTFontName: "Coronet"
|
|
*DevFontName: "Coronet"
|
|
}
|
|
*TTFS: Garamond
|
|
{
|
|
*TTFontName: "Garamond"
|
|
*DevFontName: "Garamond"
|
|
}
|
|
*TTFS: LetterGothic
|
|
{
|
|
*TTFontName: "Letter Gothic"
|
|
*DevFontName: "Letter Gothic"
|
|
}
|
|
*TTFS: Marigold
|
|
{
|
|
*TTFontName: "Marigold"
|
|
*DevFontName: "Marigold"
|
|
}
|
|
*TTFS: Univers
|
|
{
|
|
*TTFontName: "Univers Medium"
|
|
*DevFontName: "Univers"
|
|
}
|
|
*TTFS: UniversCD
|
|
{
|
|
*TTFontName: "Univers Condensed Medium"
|
|
*DevFontName: "Univers Condensed"
|
|
}
|
|
*TTFS: CourierNew
|
|
{
|
|
*TTFontName: "Courier New"
|
|
*DevFontName: "Courier New"
|
|
}
|
|
*% These 4 fonts need to be substituted to match the name that applications use to select the font. For
|
|
*% some reason the names are different.
|
|
*TTFS: ClarendonCD1
|
|
{
|
|
*TTFontName: "Clarendon Condensed"
|
|
*DevFontName: "Clarendon Condensed"
|
|
}
|
|
*TTFS: Univers1
|
|
{
|
|
*TTFontName: "Univers"
|
|
*DevFontName: "Univers"
|
|
}
|
|
*TTFS: UniversCD1
|
|
{
|
|
*TTFontName: "Univers Condensed"
|
|
*DevFontName: "Univers Condensed"
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% Global Entries
|
|
*%%% Attributes
|
|
*%%% ======================
|
|
*%%%rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
|
|
*%%% *rcPrinterIconID:
|
|
*%%% *HelpFile:
|
|
|
|
*%%% ======================
|
|
*%%% Printing attributes
|
|
*%%% ======================
|
|
*RotateCoordinate?: TRUE
|
|
*RotateRaster?: TRUE
|
|
*RotateFont?: TRUE
|
|
*EjectPageWithFF?: FALSE
|
|
|
|
*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
|
|
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
|
|
*CursorYAfterSendBlockData: AUTO_INCREMENT
|
|
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
|
|
*XMoveThreshold: 0
|
|
*YMoveThreshold: 0
|
|
*XMoveUnit: 1200
|
|
*YMoveUnit: 1200
|
|
|
|
*%%% *MinGrayFill: 1
|
|
*%%% *MaxGrayFill: 100
|
|
|
|
*%%% *OutputDataFormat: H_BYTE
|
|
*%%% *OptimizeLeftBound?: TRUE
|
|
|
|
*%%% ======================
|
|
*%%% TrueType fonts
|
|
*%%% ======================
|
|
*Feature: TrueTypeFormat
|
|
{
|
|
*rcNameID: =TRUETYPE_FORMAT
|
|
*DefaultOption: OUTLINE
|
|
*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
|
|
}
|
|
*case: GRAPHICS
|
|
{
|
|
}
|
|
}
|
|
|
|
*CharPosition: BASELINE
|
|
*TTFSEnabled?: TRUE
|
|
*MinFontID: 1
|
|
*MaxFontID: 65535
|
|
*MinGlyphID: 1
|
|
*MaxGlyphID: 1000
|
|
|
|
*%%% ======================
|
|
*%%% Cursor commands
|
|
*%%% ======================
|
|
|
|
*Command: CmdCR { *Cmd: "" }
|
|
*Command: CmdLF { *Cmd: "" }
|
|
*Command: CmdFF { *Cmd: "" }
|
|
|
|
*%%% SetCursor(0x6b)
|
|
*%%% Point(76(0x40c)) uint_16
|
|
*%%% SetCursorRel(0x6c)
|
|
*%%% Point(76(0x40c)) uint_16
|
|
*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: CmdPushCursor
|
|
*%%% *Command: CmdPopCursor
|
|
|
|
*%%% =======================
|
|
*%%% Font commands
|
|
*%%% =======================
|
|
|
|
*Command: CmdSetFontID { *Cmd : "" }
|
|
*Command: CmdSelectFontID
|
|
{
|
|
*Cmd: ""
|
|
*Params: LIST(FontHeight, CurrentFontID, TextYRes)
|
|
}
|
|
|
|
*Command: CmdSetCharCode
|
|
{
|
|
*Cmd : ""
|
|
}
|
|
|
|
*Command: CmdBoldOn
|
|
{
|
|
*Cmd : ""
|
|
}
|
|
*Command: CmdBoldOff
|
|
{
|
|
*Cmd : ""
|
|
}
|
|
*%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
|
|
*%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
|
|
*%%% *Command: CmdWhiteTextOn:
|
|
*%%% *Command: CmdWhiteTextOff:
|
|
*%%% *Command: CmdSelectSingleByteMode:
|
|
*%%% *Command: CmdSelectDoubleByteMode:
|
|
*Command: CmdSetAnyRotation
|
|
{
|
|
*Cmd: ""
|
|
*Params: LIST(PrintDirInCCDegrees)
|
|
}
|
|
*Command: CmdSetSimpleRotation
|
|
{
|
|
*Cmd: ""
|
|
*Params: LIST(PrintDirInCCDegrees)
|
|
}
|