*%****************************************************************************************** *% *% OKI V4 PCL6 Class Driver : GPD file *% *% Copyright (C) 2011 Oki Data Corporation *% *%****************************************************************************************** *GPDSpecVersion: "1.0" *GPDFileName: "OKV4PCL6.GPD" *GPDFileVersion: "1.0" *Include: "StdNames.gpd" *Include: "pjl.gpd" *Include: "p6disp.gpd" *Include: "pclxl.gpd" *Include: "msxpsinc.gpd" *ModelName: "OKI PCL6 Class Driver" *MasterUnits: PAIR(1200, 1200) *ResourceDLL: "pclxl.dll" *PrinterType: PAGE *Personality: =PERSONALITY_PCLXL *MaxCopies: 999 *PrintSchemaPrivateNamespaceURI: "http://schemas.okidata.co.jp/print/2011/01/v4_pcl6" *% ============================================================================ *% GDL file name for Auto Configuration *% ============================================================================ *Ifdef: WINNT_60 *BidiQueryFile: "OKV4CL00.GDL" *Endif: WINNT_60 *% ============================================================================ *% Macros *% ============================================================================ *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 "" =attr_ubyte =UnitsPerMeasure =ubyte + =eInch =attr_ubyte =Measure =ubyte =eBackChannel =attr_ubyte =ErrorReport =BeginSession PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte + =eInch =attr_ubyte =Measure =ubyte =eBackChannel =attr_ubyte =ErrorReport =BeginSession PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte + =eInch =attr_ubyte =Measure =ubyte =eBackChannel =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} *%% OKI MediaSource eOkiTray4: "<0A>" eOkiTray5: "<0B>" } *% ============================================================================ *% ---------------------------------------------------------------------------- *% Orientation *% ---------------------------------------------------------------------------- *Feature: Orientation { *rcNameID: =ORIENTATION_DISPLAY *DefaultOption: PORTRAIT *Option: PORTRAIT { *rcNameID: =PORTRAIT_DISPLAY } *Option: LANDSCAPE_CC90 { *rcNameID: =LANDSCAPE_DISPLAY } } *% ---------------------------------------------------------------------------- *% InputBin *% ---------------------------------------------------------------------------- *Feature: InputBin { *rcNameID: =PAPER_SOURCE_DISPLAY *DefaultOption: AUTO *Option: AUTO { *rcNameID: =AUTO_DISPLAY *Command: CmdSelect { *Order: PAGE_SETUP.1 *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource } } *Option: TRAY1 { *rcNameID: =TRAY1_DISPLAY *Command: CmdSelect { *Order: PAGE_SETUP.1 *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource } } *Option: TRAY2 { *rcNameID: =TRAY2_DISPLAY *Command: CmdSelect { *Order: PAGE_SETUP.1 *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource } } *Option: TRAY3 { *rcNameID: =TRAY3_DISPLAY *Command: CmdSelect { *Order: PAGE_SETUP.1 *Cmd: =ubyte =eThirdCassette =attr_ubyte =MediaSource } } *Option: TRAY4 { *rcNameID: =TRAY4_DISPLAY *Command: CmdSelect { *Order: PAGE_SETUP.1 *Cmd: =ubyte =eOkiTray4 =attr_ubyte =MediaSource } } *Option: TRAY5 { *rcNameID: =TRAY5_DISPLAY *Command: CmdSelect { *Order: PAGE_SETUP.1 *Cmd: =ubyte =eOkiTray5 =attr_ubyte =MediaSource } } *Option: MANUAL { *rcNameID: =MANUAL_FEED_DISPLAY *Command: CmdSelect { *Order: PAGE_SETUP.1 *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource } } *Option: MPT { *% *rcNameID: =TRAY1_DISPLAY *Name: "Multipurpose Tray" *Command: CmdSelect { *Order: PAGE_SETUP.1 *Cmd: =ubyte =eMultiPurposeTray =attr_ubyte =MediaSource } } } *% ---------------------------------------------------------------------------- *% Resolution *% ---------------------------------------------------------------------------- *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 } *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_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_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300 =PCLXL_OpenDataSource } } } *% ---------------------------------------------------------------------------- *% PaperSize *% ---------------------------------------------------------------------------- *Feature: PaperSize { *rcNameID: =PAPER_SIZE_DISPLAY *DefaultOption: A4 *Option: A3 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(13628, 19440) *PageProtectMem: 8498 *switch: Orientation { *case: PORTRAIT { *PrintableOrigin: PAIR(200, 200) *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sA3Paper =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *PrintableOrigin: PAIR(200, 202) *CursorOrigin: PAIR(200, 13828) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sA3Paper =attr_ubyte =MediaSize =BeginPage } } } } *Option: A4 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(9520, 13628) *PageProtectMem: 4249 *switch: Orientation { *case: PORTRAIT { *PrintableOrigin: PAIR(200, 200) *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *PrintableOrigin: PAIR(200, 204) *CursorOrigin: PAIR(200, 13828) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage } } } } *Option: A5 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(6592, 9520) *PageProtectMem: 2125 *switch: Orientation { *case: PORTRAIT { *PrintableOrigin: PAIR(200, 200) *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *PrintableOrigin: PAIR(200, 202) *CursorOrigin: PAIR(200, 9720) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage } } } } *Option: B4 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(11740, 16796) *PageProtectMem: 5184 *switch: Orientation { *case: PORTRAIT { *PrintableOrigin: PAIR(200, 200) *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sJB4Paper =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *PrintableOrigin: PAIR(200, 200) *CursorOrigin: PAIR(200, 16996) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sJB4Paper =attr_ubyte =MediaSize =BeginPage } } } } *Option: B5 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(8196, 11740) *PageProtectMem: 2592 *switch: Orientation { *case: PORTRAIT { *PrintableOrigin: PAIR(200, 200) *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *PrintableOrigin: PAIR(200, 202) *CursorOrigin: PAIR(200, 11940) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage } } } } *Option: LETTER { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(9800, 12800) *PrintableOrigin: PAIR(200, 200) *PageProtectMem: 4109 *switch: Orientation { *case: PORTRAIT { *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(200, 13000) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage } } } } *Option: LEGAL { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(9800, 16400) *PrintableOrigin: PAIR(200, 200) *PageProtectMem: 5230 *switch: Orientation { *case: PORTRAIT { *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(200, 16600) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage } } } } *Option: EXECUTIVE { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(8300, 12200) *PrintableOrigin: PAIR(200, 200) *PageProtectMem: 4109 *switch: Orientation { *case: PORTRAIT { *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(200, 12400) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage } } } } *Option: ENV_10 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(4548, 11000) *PrintableOrigin: PAIR(200, 200) *PageProtectMem: 4109 *switch: Orientation { *case: PORTRAIT { *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(200, 11200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage } } } } *Option: ENV_DL { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(4796, 9992) *PageProtectMem: 4109 *switch: Orientation { *case: PORTRAIT { *PrintableOrigin: PAIR(200, 200) *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *PrintableOrigin: PAIR(200, 200) *CursorOrigin: PAIR(200, 10192) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage } } } } *Option: ENV_C5 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(7252, 10416) *PageProtectMem: 4109 *switch: Orientation { *case: PORTRAIT { *PrintableOrigin: PAIR(200, 200) *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *PrintableOrigin: PAIR(200, 202) *CursorOrigin: PAIR(200, 10616) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage } } } } *Option: ENV_MONARCH { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(4248, 8600) *PrintableOrigin: PAIR(200, 200) *PageProtectMem: 4109 *switch: Orientation { *case: PORTRAIT { *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(200, 8800) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage } } } } *Option: JAPANESE_POSTCARD { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(4324, 6592) *PrintableOrigin: PAIR(200, 200) *PageProtectMem: 4109 *switch: Orientation { *case: PORTRAIT { *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sJPostcard =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(200, 6792) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sJPostcard =attr_ubyte =MediaSize =BeginPage } } } } *Option: DBL_JAPANESE_POSTCARD_ROTATED { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *PrintableArea: PAIR(6592, 9048) *PrintableOrigin: PAIR(200, 200) *PageProtectMem: 4109 *switch: Orientation { *case: PORTRAIT { *CursorOrigin: PAIR(200, 200) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =ubyte_array =sJDoublePostcard =attr_ubyte =MediaSize =BeginPage } } *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(200, 9248) *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =ubyte_array =sJDoublePostcard =attr_ubyte =MediaSize =BeginPage } } } } *Option: CUSTOMSIZE { *rcNameID: =USER_DEFINED_SIZE_DISPLAY *MinSize: PAIR(3600, 6000) *MaxSize: PAIR(14028, 42520) *MaxPrintableWidth: 13628 *MinLeftMargin: 200 *CenterPrintable?: FALSE *PageProtectMem: 4109 *switch: Orientation { *case: PORTRAIT { *CustCursorOriginX: %d{((PhysPaperWidth - 14028) / 2) + 200 } *CustCursorOriginY: %d{ 200 } *CustPrintableOriginX: %d{ 200 } *CustPrintableOriginY: %d{ 200 } *CustPrintableSizeX: %d{ PhysPaperWidth - 400 } *CustPrintableSizeY: %d{ PhysPaperLength - 400 } *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation + =uint16_xy %l{(((PhysPaperWidth*254)/120)+9)/10}%l{(((PhysPaperLength*254)/120)+9)/10} =attr_ubyte =CustomMediaSize + =ubyte =eTenthsOfAMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage } } *case: LANDSCAPE_CC90 { *CustCursorOriginX: %d{((PhysPaperWidth - 14028) / 2) + 200 } *CustCursorOriginY: %d{ PhysPaperLength - 200 } *CustPrintableOriginX: %d{ 200 } *CustPrintableOriginY: %d{ 200 } *CustPrintableSizeX: %d{ PhysPaperWidth - 400 } *CustPrintableSizeY: %d{ PhysPaperLength - 400 } *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation + =uint16_xy %l{(((PhysPaperWidth*254)/120)+9)/10}%l{(((PhysPaperLength*254)/120)+9)/10} =attr_ubyte =CustomMediaSize + =ubyte =eTenthsOfAMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage } } } } } *% ---------------------------------------------------------------------------- *% Duplex *% ---------------------------------------------------------------------------- *Feature: Duplex { *rcNameID: =TWO_SIDED_PRINTING_DISPLAY *DefaultOption: NONE *Option: NONE { *rcNameID: =NONE_DISPLAY *Command: CmdSelect { *Order: JOB_SETUP.2 *Cmd: "@PJL SET DUPLEX=OFF<0A>" } } *Option: VERTICAL { *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY *Command: CmdSelect { *Order: JOB_SETUP.2 *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>" } } *Option: HORIZONTAL { *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY *Command: CmdSelect { *Order: JOB_SETUP.2 *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>" } } } *% ---------------------------------------------------------------------------- *% Collate *% ---------------------------------------------------------------------------- *Feature: Collate { *Name: "Collate" *DefaultOption: ON *Option: ON { *rcNameID: =ON_DISPLAY *Command: CmdSelect { *Order: JOB_SETUP.3 *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>" } } *Option: OFF { *rcNameID: =OFF_DISPLAY *Command: CmdSelect { *Order: JOB_SETUP.3 *Cmd: "@PJL SET COPIES=" %d{NumOfCopies}"<0A>" } } } *% ---------------------------------------------------------------------------- *% TrueType Format *% ---------------------------------------------------------------------------- *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 { } } *% ---------------------------------------------------------------------------- *% Color Mode *% ---------------------------------------------------------------------------- *ChangeColorModeOnDoc?: FALSE *Feature: ColorMode { *rcNameID: =COLOR_PRINTING_MODE_DISPLAY *DefaultOption: 24bpp *Option: Mono { *rcNameID: =MONO_DISPLAY *DevNumOfPlanes: 1 *DevBPP: 24 *DrvBPP: 24 *Color? : FALSE *PaletteSize: 1 *PaletteProgrammable? : TRUE *Command: CmdDefinePaletteEntry { *Cmd: "" } } *Option: 24bpp { *rcNameID: =24BPP_DISPLAY *DevNumOfPlanes: 1 *DevBPP: 24 *DrvBPP: 24 *Color?: TRUE *PaletteSize: 256 *PaletteProgrammable? : TRUE *Command: CmdDefinePaletteEntry { *Cmd: "" } } } *switch: ColorMode { *case: Mono { *Command: CmdStartPage { *Order: PAGE_SETUP.4 *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale + =ubyte =eGray =attr_ubyte =ColorSpace =SetColorSpace } } *case: 24bpp { *Command: CmdStartPage { *Order: PAGE_SETUP.4 *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale + =ubyte =eRGB =attr_ubyte =ColorSpace =SetColorSpace } } } *% ---------------------------------------------------------------------------- *% N-up (DocumentNUp) *% ---------------------------------------------------------------------------- *Feature: DocumentNUp { *Name: "N-up" *DefaultOption: 1 *PrintSchemaKeywordMap: "DocumentNUp" *Option: 1 { *Name: "1" } *Option: 2 { *Name: "2" } *Option: 4 { *Name: "4" } *Option: 6 { *Name: "6" } *Option: 8 { *Name: "8" } *Option: 9 { *Name: "9" } *Option: 16 { *Name: "16" } } *% ============================================================================ *% Device Options *% ============================================================================ *% ---------------------------------------------------------------------------- *% Option Tray (Device Option) *% ---------------------------------------------------------------------------- *Feature: OKOptionTray2 { *rcNameID: =TRAY2_DISPLAY *FeatureType: PRINTER_PROPERTY *DefaultOption: False *Option: False { *rcNameID: =NOT_INSTALLED_DISPLAY *Constraints: LIST(InputBin.TRAY2) *Constraints: LIST(OKOptionTray3.True) } *Option: True { *rcNameID: =INSTALLED_DISPLAY } } *Feature: OKOptionTray3 { *rcNameID: =TRAY3_DISPLAY *FeatureType: PRINTER_PROPERTY *DefaultOption: False *Option: False { *rcNameID: =NOT_INSTALLED_DISPLAY *Constraints: LIST(InputBin.TRAY3) *Constraints: LIST(OKOptionTray4.True) } *Option: True { *rcNameID: =INSTALLED_DISPLAY } } *Feature: OKOptionTray4 { *rcNameID: =TRAY4_DISPLAY *FeatureType: PRINTER_PROPERTY *DefaultOption: False *Option: False { *rcNameID: =NOT_INSTALLED_DISPLAY *Constraints: LIST(InputBin.TRAY4) *Constraints: LIST(OKOptionTray5.True) } *Option: True { *rcNameID: =INSTALLED_DISPLAY } } *Feature: OKOptionTray5 { *rcNameID: =TRAY5_DISPLAY *FeatureType: PRINTER_PROPERTY *DefaultOption: False *Option: False { *rcNameID: =NOT_INSTALLED_DISPLAY *Constraints: LIST(InputBin.TRAY5) } *Option: True { *rcNameID: =INSTALLED_DISPLAY } } *% ---------------------------------------------------------------------------- *% Duplex Unit (Device Option) *% ---------------------------------------------------------------------------- *Feature: OKOptionDuplex { *rcNameID: =DUPLEX_UNIT_DISPLAY *FeatureType: PRINTER_PROPERTY *DefaultOption: False *Option: False { *rcNameID: =NOT_INSTALLED_DISPLAY *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL) *DisabledFeatures: LIST(Duplex) } *Option: True { *rcNameID: =INSTALLED_DISPLAY } } *Command: CmdStartJob { *Order: JOB_SETUP.1 *Cmd: =PJL_STARTJOB } *Command: CmdEndPage { *Order: PAGE_FINISH.1 *Cmd: =EndPage } *Command: CmdEndJob { *Order: JOB_FINISH.1 *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB } *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 *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 : =CR } *Command: CmdLF { *Cmd : =LF } *Command: CmdFF { *Cmd : =FF } *Command: CmdSetAnyRotation { *Cmd: "" *Params: LIST(PrintDirInCCDegrees) } *Command: CmdSetSimpleRotation { *Cmd: "" *Params: LIST(PrintDirInCCDegrees) } *EjectPageWithFF?: FALSE *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN *CursorYAfterSendBlockData: AUTO_INCREMENT *%DefaultFont: =RC_FONT_COURIERR *DefaultCTT: -1 *CharPosition: BASELINE *TTFSEnabled?: FALSE *FontFormat: OEM_CALLBACK *MinFontID: 1 *MaxFontID: 65535 *MinGlyphID: 1 *MaxGlyphID: 1000 *Command: CmdSetFontID { *Cmd : "" } *Command: CmdSelectFontID { *Cmd: "" *Params: LIST(FontHeight, CurrentFontID, TextYRes) } *Command: CmdSetCharCode { *Cmd : "" }