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.
1607 lines
46 KiB
1607 lines
46 KiB
*%%
|
|
*%% HP LaserJet 4000 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: "HPLJ40P6.GPD"
|
|
*ModelName: "HP LaserJet 4000 Series PCL6"
|
|
*MaxCopies: 999
|
|
*PrintRate: 17
|
|
*PrintRatePPM: 17
|
|
*PrintRateUnit: PPM
|
|
|
|
|
|
*%%% ======================
|
|
*%%% 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
|
|
*%%% ======================
|
|
|
|
*%% Orientation
|
|
*Feature: Orientation
|
|
{
|
|
*rcNameID: =ORIENTATION_DISPLAY
|
|
*DefaultOption: PORTRAIT
|
|
*Option: PORTRAIT
|
|
{
|
|
*rcNameID: =PORTRAIT_DISPLAY
|
|
}
|
|
*Option: LANDSCAPE_CC90
|
|
{
|
|
*rcNameID: =LANDSCAPE_DISPLAY
|
|
}
|
|
}
|
|
|
|
*Command: CmdStartJob
|
|
{
|
|
*Order: JOB_SETUP.1
|
|
*Cmd: =PJL_STARTJOB =PJL_COMMENT
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% 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
|
|
*%%% Collate
|
|
*Feature: Collate
|
|
{
|
|
*rcNameID: =COLLATE
|
|
|
|
*DefaultOption: OFF
|
|
*Option: ON
|
|
{
|
|
*rcNameID: =ON_DISPLAY
|
|
*switch: PrinterHardDisk
|
|
{
|
|
*case: FALSE
|
|
{
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.5
|
|
*Cmd: =PJL_COLLATE_OFF
|
|
}
|
|
}
|
|
*case: TRUE
|
|
{
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.5
|
|
*Cmd: =PJL_COLLATE_ON
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: OFF
|
|
{
|
|
*rcNameID:=OFF_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.5
|
|
*Cmd: =PJL_COLLATE_OFF
|
|
}
|
|
}
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% DOC_SETUP.5
|
|
*%%% RESOLUTION
|
|
*%%% ENTER LANGUAGE=PCLXL
|
|
*%%% PCL XL Stream Header
|
|
*%%% BeginSession
|
|
*%%% CmdEndRaster
|
|
*%%% EndImage
|
|
*%%% CmdSendBlockData
|
|
*%%% EndImage
|
|
*Feature: Resolution
|
|
{
|
|
*rcNameID: =RESOLUTION_DISPLAY
|
|
*DefaultOption: Option1
|
|
*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.7
|
|
*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.7
|
|
*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.7
|
|
*Cmd: =PJL_RESOLUTION_300 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300 =PCLXL_OpenDataSource
|
|
}
|
|
}
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% 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
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_SETUP
|
|
*%%% ======================
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_SETUP.1
|
|
*%%% BeginPage(0x43)
|
|
*%%% Orientation(40), MediaSize(37), MediaSource(38)
|
|
*%%% ubyte ubyte ubyte
|
|
|
|
*BlockMacro: PaperConstraints
|
|
{
|
|
*Constraints: LIST(InputBin.Option3, InputBin.Option4, InputBin.Option5)
|
|
}
|
|
|
|
*Feature: PaperSize
|
|
{
|
|
*rcNameID: =PAPER_SIZE_DISPLAY
|
|
*DefaultOption: LETTER
|
|
*Option: LETTER
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
|
|
*Constraints: InputBin.Option6
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(9600, 12648)
|
|
*PrintableOrigin: PAIR(300, 210)
|
|
*CursorOrigin: PAIR(300, 220)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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, 12688)
|
|
*PrintableOrigin: PAIR(200, 272)
|
|
*CursorOrigin: PAIR(200, 12960)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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
|
|
*Constraints: InputBin.Option6
|
|
*PageProtectMem: 5230
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(9600, 16380)
|
|
*PrintableOrigin: PAIR(300, 140)
|
|
*CursorOrigin: PAIR(300, 140)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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, 16260)
|
|
*PrintableOrigin: PAIR(180, 350)
|
|
*CursorOrigin: PAIR(200, 16560)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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
|
|
*Constraints: InputBin.Option6
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(8050, 12180)
|
|
*PrintableOrigin: PAIR(300, 140)
|
|
*CursorOrigin: PAIR(240, 140)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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(8220, 12120)
|
|
*PrintableOrigin: PAIR(240, 240)
|
|
*CursorOrigin: PAIR(160, 12360)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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
|
|
*Constraints: InputBin.Option6
|
|
*PageProtectMem: 4249
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(9314, 13598)
|
|
*PrintableOrigin: PAIR(280, 152)
|
|
*CursorOrigin: PAIR(240, 152)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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(9464, 13548)
|
|
*PrintableOrigin: PAIR(200, 200)
|
|
*CursorOrigin: PAIR(160, 13788)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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: A5
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
|
|
*Constraints: InputBin.Option6
|
|
*PageProtectMem: 2125
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(6396, 9494)
|
|
*PrintableOrigin: PAIR(300, 152)
|
|
*CursorOrigin: PAIR(300, 152)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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(6456, 9324)
|
|
*PrintableOrigin: PAIR(240, 300)
|
|
*CursorOrigin: PAIR(200, 9624)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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: B5
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
|
|
*PageProtectMem: 3198
|
|
*Constraints: InputBin.Option6
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(7964, 11714)
|
|
*PrintableOrigin: PAIR(340, 152)
|
|
*CursorOrigin: PAIR(200, 152)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(8104, 11624)
|
|
*PrintableOrigin: PAIR(260, 240)
|
|
*CursorOrigin: PAIR(200, 11904)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sJB5Paper =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
|
|
*InsertBlock: =PaperConstraints
|
|
*Constraints: Duplex.VERTICAL
|
|
*Constraints: Duplex.HORIZONTAL
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(4336, 10950)
|
|
*PrintableOrigin: PAIR(300, 152)
|
|
*CursorOrigin: PAIR(300, 152)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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(4416, 10800)
|
|
*PrintableOrigin: PAIR(240, 300)
|
|
*CursorOrigin: PAIR(200, 11100)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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
|
|
*InsertBlock: =PaperConstraints
|
|
*Constraints: Duplex.VERTICAL
|
|
*Constraints: Duplex.HORIZONTAL
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(4576, 9952)
|
|
*PrintableOrigin: PAIR(300, 140)
|
|
*CursorOrigin: PAIR(300, 140)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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(4676, 9792)
|
|
*PrintableOrigin: PAIR(220, 300)
|
|
*CursorOrigin: PAIR(200, 10092)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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
|
|
*InsertBlock: =PaperConstraints
|
|
*Constraints: Duplex.VERTICAL
|
|
*Constraints: Duplex.HORIZONTAL
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(7036, 10384)
|
|
*PrintableOrigin: PAIR(300, 140)
|
|
*CursorOrigin: PAIR(300, 140)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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(7116, 10224)
|
|
*PrintableOrigin: PAIR(240, 300)
|
|
*CursorOrigin: PAIR(200, 10524)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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
|
|
*InsertBlock: =PaperConstraints
|
|
*Constraints: Duplex.VERTICAL
|
|
*Constraints: Duplex.HORIZONTAL
|
|
*PageProtectMem: 4109
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(4036, 8560)
|
|
*PrintableOrigin: PAIR(300, 140)
|
|
*CursorOrigin: PAIR(300, 140)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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(4116, 8400)
|
|
*PrintableOrigin: PAIR(240, 300)
|
|
*CursorOrigin: PAIR(200, 8700)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*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: ENV_B5
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
|
|
*PageProtectMem: 4109
|
|
*InsertBlock: =PaperConstraints
|
|
*Constraints: Duplex.VERTICAL
|
|
*Constraints: Duplex.HORIZONTAL
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(7716, 11368)
|
|
*PrintableOrigin: PAIR(300, 140)
|
|
*CursorOrigin: PAIR(300, 140)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sB5Envelope =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC90
|
|
{
|
|
*PrintableArea: PAIR(7776, 11208)
|
|
*PrintableOrigin: PAIR(240, 300)
|
|
*CursorOrigin: PAIR(200, 11508)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.4
|
|
*Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
|
|
+ =ubyte_array =sB5Envelope =attr_ubyte =MediaSize =BeginPage
|
|
+ =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: CUSTOMSIZE
|
|
{
|
|
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1255
|
|
*MinSize: PAIR(4200, 6000)
|
|
*MaxSize: PAIR(10200, 16800)
|
|
*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.4
|
|
*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.4
|
|
*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: =AUTO_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
|
|
}
|
|
}
|
|
*Option: Option4
|
|
{
|
|
*rcNameID: =TRAY3_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*Cmd: =ubyte =eThirdCassette =attr_ubyte =MediaSource
|
|
}
|
|
}
|
|
*Option: Option5
|
|
{
|
|
*rcNameID: =TRAY4_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
|
|
}
|
|
}
|
|
*Option: Option6
|
|
{
|
|
*rcNameID: =ENV_FEED_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*Cmd: =ubyte =eEnvelopeTray =attr_ubyte =MediaSource
|
|
}
|
|
}
|
|
*Option: Option7
|
|
{
|
|
*rcNameID: =MANUAL_FEED_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
|
|
}
|
|
}
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_SETUP.3
|
|
*%%% BeginPage(0x43)
|
|
*%%% Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
|
|
*%%% ubyte ubyte ubyte
|
|
*%%% MediaType
|
|
*Feature: MediaType
|
|
{
|
|
*rcNameID: =MEDIA_TYPE_DISPLAY
|
|
*DefaultOption: AutoSelect
|
|
|
|
*Option: AutoSelect
|
|
{
|
|
*rcNameID: =AUTO_SELECT_DISPLAY
|
|
}
|
|
*Option: Plain
|
|
{
|
|
*rcNameID: =PLAIN_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0500>" =ePlain =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
*Option: Preprinted
|
|
{
|
|
*rcNameID: =PREPRINTED_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0a00>" =ePreprinted =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
*Option: Letterhead
|
|
{
|
|
*rcNameID: =LETTERHEAD_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0a00>" =eLetterhead =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
*Option: Transparency
|
|
{
|
|
*rcNameID: =TRANSPARENCY_DISPLAY
|
|
*Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0c00>" =eTransparency =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
*Option: Prepunched
|
|
{
|
|
*rcNameID: =PREPUNCHED_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0a00>" =ePrepunched =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
*Option: Labels
|
|
{
|
|
*rcNameID: =LABELS_DISPLAY
|
|
*Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0600>" =eLabels =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
*Option: Bond
|
|
{
|
|
*rcNameID: =BOND_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0400>" =eBond =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
*Option: Recycled
|
|
{
|
|
*rcNameID: =RECYCLED_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0800>" =eRecycled =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
*Option: Color
|
|
{
|
|
*rcNameID: =COLOR_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0500>" =eColor =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
*Option: CardStock
|
|
{
|
|
*rcNameID: =CARDSTOCK_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0a00>" =eCardstock =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
*Option: Rough
|
|
{
|
|
*rcNameID: =ROUGH_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.3
|
|
*Cmd: =ubyte_array =uint16 "<0500>" =eRough =attr_ubyte =MediaType
|
|
}
|
|
}
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_SETUP.3
|
|
*%%% DuplexPageMode(53(0x35))
|
|
*Feature: Duplex
|
|
{
|
|
*rcNameID: =TWO_SIDED_PRINTING_DISPLAY
|
|
*DefaultOption: NONE
|
|
*Option: NONE
|
|
{
|
|
*rcNameID: =NONE_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.6
|
|
*Cmd: "@PJL SET DUPLEX=OFF<0A>"
|
|
}
|
|
}
|
|
*Option: VERTICAL
|
|
{
|
|
*rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.6
|
|
*Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
|
|
}
|
|
}
|
|
*Option: HORIZONTAL
|
|
{
|
|
*rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: JOB_SETUP.6
|
|
*Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
|
|
}
|
|
}
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% PAGE_SETUP.4
|
|
*%%% SetPageOrigin
|
|
*%%% PageOrigin
|
|
*%%% SetPageScale
|
|
*Command: CmdStartPage
|
|
{
|
|
*Order: PAGE_SETUP.5
|
|
*Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
|
|
+ =ubyte "<01>" =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
|
|
}
|
|
}
|
|
|
|
|
|
*%%% ======================
|
|
*%%% Feature
|
|
*%%% Memory
|
|
*Feature: Memory
|
|
{
|
|
*rcNameID: =PRINTER_MEMORY_DISPLAY
|
|
*DefaultOption: 4MB
|
|
*% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
|
|
*% Max memory 96 (+4 on board) = 100
|
|
*MemConfigMB: PAIR(4, 3)
|
|
*MemConfigMB: PAIR(8, 7)
|
|
*MemConfigMB: PAIR(12, 10)
|
|
*MemConfigMB: PAIR(16, 13)
|
|
*MemConfigMB: PAIR(20, 17)
|
|
*MemConfigMB: PAIR(24, 21)
|
|
*MemConfigMB: PAIR(28, 24)
|
|
*MemConfigMB: PAIR(32, 28)
|
|
*MemConfigMB: PAIR(36, 31)
|
|
*MemConfigMB: PAIR(40, 35)
|
|
*MemConfigMB: PAIR(44, 39)
|
|
*MemConfigMB: PAIR(48, 42)
|
|
*MemConfigMB: PAIR(52, 46)
|
|
*MemConfigMB: PAIR(56, 49)
|
|
*MemConfigMB: PAIR(60, 52)
|
|
*MemConfigMB: PAIR(68, 59)
|
|
*MemConfigMB: PAIR(72, 64)
|
|
*MemConfigMB: PAIR(76, 67)
|
|
*MemConfigMB: PAIR(84, 75)
|
|
*MemConfigMB: PAIR(100, 89)
|
|
}
|
|
|
|
*%%% ======================
|
|
*%%% 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"
|
|
}
|
|
|
|
*%% =======================
|
|
*%% Optional Input Trays
|
|
*%% =======================
|
|
*Feature: TRAY3
|
|
{
|
|
*rcNameID: =TRAY3_DISPLAY
|
|
*FeatureType: PRINTER_PROPERTY
|
|
*DefaultOption: FALSE
|
|
*Option: FALSE
|
|
{
|
|
*rcNameID: =NOT_INSTALLED_DISPLAY
|
|
}
|
|
*Option: TRUE
|
|
{
|
|
*rcNameID: =INSTALLED_DISPLAY
|
|
}
|
|
}
|
|
*InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
|
|
|
|
*Feature: TRAY4
|
|
{
|
|
*rcNameID: =TRAY4_DISPLAY
|
|
*FeatureType: PRINTER_PROPERTY
|
|
*DefaultOption: FALSE
|
|
*Option: FALSE
|
|
{
|
|
*rcNameID: =NOT_INSTALLED_DISPLAY
|
|
}
|
|
*Option: TRUE
|
|
{
|
|
*rcNameID: =INSTALLED_DISPLAY
|
|
}
|
|
}
|
|
*InvalidCombination: LIST(TRAY4.FALSE,InputBin.Option5)
|
|
*InvalidCombination: LIST(TRAY4.TRUE,TRAY3.FALSE)
|
|
|
|
*Feature: EnvFeeder
|
|
{
|
|
*rcNameID: =ENV_FEED_DISPLAY
|
|
*FeatureType: PRINTER_PROPERTY
|
|
*DefaultOption: FALSE
|
|
*Option: FALSE
|
|
{
|
|
*rcNameID: =NOT_INSTALLED_DISPLAY
|
|
}
|
|
*Option: TRUE
|
|
{
|
|
*rcNameID: =INSTALLED_DISPLAY
|
|
}
|
|
}
|
|
*InvalidCombination: LIST(EnvFeeder.FALSE,InputBin.Option6)
|
|
|
|
*%% =======================
|
|
*%% Optional Duplex Unit
|
|
*%% =======================
|
|
*Feature: DuplexUnit
|
|
{
|
|
*FeatureType: PRINTER_PROPERTY
|
|
*rcNameID: =DUPLEX_UNIT_DISPLAY
|
|
*DefaultOption: NotInstalled
|
|
*Option: NotInstalled
|
|
{
|
|
*rcNameID: =NOT_INSTALLED_DISPLAY
|
|
*DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
|
|
*Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
|
|
}
|
|
|
|
*Option: Installed
|
|
{
|
|
*rcNameID: =INSTALLED_DISPLAY
|
|
}
|
|
}
|
|
|
|
*%% =======================
|
|
*%% Optional Hard Disk
|
|
*%% =======================
|
|
*Feature: PrinterHardDisk
|
|
{
|
|
*rcNameID: =PRINTER_HARDDISK_DISPLAY
|
|
*FeatureType: PRINTER_PROPERTY
|
|
*DefaultOption: FALSE
|
|
*Option: FALSE
|
|
{
|
|
*rcNameID: =NOT_INSTALLED_DISPLAY
|
|
*DisabledFeatures: LIST(Collate)
|
|
}
|
|
*Option: TRUE
|
|
{
|
|
*rcNameID: =INSTALLED_DISPLAY
|
|
}
|
|
}
|
|
|
|
|
|
*%%% ======================
|
|
*%%% PCL XL GPD file main
|
|
*%%% ======================
|
|
|
|
*%%% ======================
|
|
*%%% Global Entries
|
|
*%%% Attributes
|
|
*%%% ======================
|
|
*MasterUnits: PAIR(1200, 1200)
|
|
*CodePage: 1252
|
|
*ResourceDLL: "pclxl.dll"
|
|
*PrinterType: PAGE
|
|
*Personality: =PERSONALITY_PCLXL
|
|
*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)
|
|
}
|