*Macros: AttributeEnum { *%% MediaSource eByPassFeeder: "<02>" eLargeCapacity: "<07>" ePedestalUpper: "<08>" ePedestalLower: "<09>" eExternalLargeCapacity: "<0a>" *%% MediaType eThick1: "Thick 1" eThick1b: "Thick 1b" eThick2: "Thick 2" eThick2b: "Thick 2b" eThick3: "Thick 3" eThick3b: "Thick 3b" eThick4: "Thick 4" eThick4b: "Thick 4b" eSpecial1: "Waterproof 1" eSpecial1b: "Waterproof 1b" eSpecial2: "Waterproof 2" eSpecial2b: "Waterproof 2b" eRecycled: "Recycled" eTransparency: "Transeparency" } *%% *%% Macro definition for standard PCLXL commands *%% *%% Attribute tags *Macros: AttributeTag { PaletteDepth: "<02>" ColorSpace: "<03>" NullBrush: "<04>" NullPen: "<05>" PaleteData: "<06>" PatternSelectID: "<08>" GrayLevel: "<09>" RGBColor: "<0b>" PatternOrigin: "<0c>" NewDestinationSize: "<0d>" DeviceMatrix: "<21>" DitherMatrixDataType: "<22>" DitherOrigin: "<23>" MediaDestination: "<24>" MediaSize: "<2525>" MediaSource: "<26>" MediaType: "<27>" Orientation: "<28>" PageAngle: "<29>" PageOrigin: "<2a>" PageScale: "<2b>" ROP3: "<2c>" TxMode: "<2d>" CustomMediaSize: "<2f>" CustomMediaSizeUnits: "<30>" PageCopies: "<31>" DitherMatrixSize: "<32>" DitherMatrixDepth: "<33>" SimplexPageMode: "<34>" DuplexPageMode: "<35>" DuplexPageSize: "<36>" ArgDirection: "<41>" BoundingBox: "<42>" DashOffset: "<43>" EllipseDimension: "<44>" EndPoint: "<45>" FillMode: "<46>" LineCapStyle: "<47>" LineJointStyle: "<48>" MiterLength: "<49>" PenDashStyle: "<4a>" PenWidth: "<4b>" Point: "<4c>" NumberOfPoints: "<4d>" SolidLine: "<4e>" StartPoint: "<4f>" PointType: "<50>" ControlPoint1: "<51>" ControlPoint2: "<52>" ClipRegion: "<53>" ClipMode: "<54>" ColorDepth: "<62>" BlockHeight: "<63>" ColorMapping: "<64>" CompressMode: "<65>" DestinationBox: "<66>" DestinationSize: "<67>" PatternPersistence: "<68>" PatternDefineID: "<69>" SourceHeight: "<6b>" SourceWidth: "<6c>" StartLine: "<6d>" XPairType: "<6e>" NumberOfXPairs: "<6f>" XStart: "<70>" XEnd: "<71>" NumberOfScanLines: "<72>" CommentData: "<81>" DataOrg: "<82>" Measure: "<86>" SourceType: "<88>" UnitsPerMeasure: "<89>" StreamName: "<8b>" StreamDataLength: "<8c>" ErrorReport: "<8f>" CharAngle: "" CharCode: "" CharDataSize: "" CharScale: "" CharShear: "" CharSize: "" FontHeaderLength: "" FontName: "" FontFormat: "" SymbolSet: "" TextData: "" CharSubModeArray: "" XSpacingData: "" YSpacingData: "" CharBoldValue: "" } *%% Attribute Enumeration *Macros: AttributeEnum { *%% ArcDirection eClockWise: "<00>" eCounterClockWise: "<01>" *%% CharSubModeArray eNoSubstitution: "<00>" eVerticalSubstitution: "<01>" *%% ClipMode *%% see FillMode Enumeration *%% ClipRegion eInterior: "<00>" eExterior: "<01>" *%% ColorDepth e1Bit: "<00>" e4Bit: "<01>" e8Bit: "<02>" *%% ColorimetricColorSpace eCRGB: 5 *%% ColorMapping eDirectPixel: "<00>" eIndexedPixel: "<01>" *%% ColorSpace eGray: "<01>" eRGB: "<02>" eSRGB: "<06>" *%% CompressMode eNoCompression: "<00>" eRLECompression: "<01>" eJPEGCompression: "<02>" *%% DataOrg eBinaryHighByteFirst: "<00>" eBinaryLowByteFirst: "<01>" *%% DataSource eDefault: "<00>" *%% DataType eUByte: "<00>" eSByte: "<01>" eUint16: "<02>" eSint16: "<03>" *%% DitherMatrix eDeviceBest: "<00>" *%% DuplexPageMode eDuplexHorizontalBinding: "<00>" eDuplexVerticalBinding: "<01>" *%% DuplexPageSide eFrontMediaSide: "<00>" eBackMediaSide: "<01>" *%% ErrorReport eBackChannel: "<01>" eErrorPage: "<02>" eBackChAndErrPage: "<03>" eNWBackChannel: "<04>" eNWErrorPage: "<05>" eNWBackChAndErrPage: "<06>" *%% FillMode eNonZeroWinding: "<00>" eEvenOdd: "<01>" *%% LineCap eButtCap: "<00>" eRoundCap: "<01>" eSquareCap: "<02>" eTriangleCap: "<03>" *%% LineJoin eMiterJoin: "<00>" eRoundJoin: "<01>" eBevelJoin: "<02>" eNoJoin: "<03>" *%% Measure eInch: "<00>" eMillimeter: "<01>" eTenthsOfAMillimeter: "<02>" *%% MediaSize Enumerations*% Delete *%% MediaSource eDefaultSource: "<00>" eAutoSelect: "<01>" eManualFeed: "<02>" eMultiPurposeTray: "<03>" eUpperCassette: "<04>" eLowerCassette: "<05>" eEnvelopeTray: "<06>" eThirdCassette: "<07>" *%% MediaType ePlain: "Plain" ePreprinted: "Preprinted" eLetterhead: "Letterhead" eTransparency: "Transparency" ePrepunched: "Prepunched" eLabels: "Labels" eBond: "Bond" eRecycled: "Recycled" eColor: "Color" eCardstock: "Card Stock" eRough: "Rough" eVellum: "Vellum" *%% External Trays *%% 1-248 8-255 *%% MediaDestination eDefaultDestination: "<00>" eFaceDownBin: "<01>" eFaceUpBin: "<02>" eJobOffsetBin: "<03>" *%% External Bins 1-251 5-255 *%% Orientation ePortraitOrientation: "<00>" eLandscapeOrientation: "<01>" eReversePortrait: "<02>" eReverseLandscape: "<03>" *%% PatternPersistence eTempPattern: "<00>" ePagePattern: "<01>" eSessionPattern: "<02>" *%% SymbolSet *%% *%% SimplexPageMode eSimplexFrontSide: "<00>" *%% TxMode eOpaque: "<00>" eTransparent: "<01>" *%% WritingMode eHorizontal: "<00>" eVertical: "<01>" } *%% Data Tags *Macros: DataTag { ubyte: "" uint16: "" uint32: "" sint16: "" sint32: "" real32: "" ubyte_array: "" uint16_array: "" uint32_array: "" sint16_array: "" sint32_array: "" real32_array: "" ubyte_xy: "" uint16_xy: "" uint32_xy: "" sint16_xy: "" sint32_xy: "" real32_xy: "" ubyte_box: "" uint16_box: "" uint32_box: "" sint16_box: "" sint32_box: "" real32_box: "" attr_ubyte: "" attr_uint16: "" dataLength: "" dataLengthByte: "" } *%% Operator Tag *Macros: OperatorTag { HT: "<09>" LF: "<0a>" VT: "<0b>" FF: "<0c>" CR: "<0d>" BeginSession: "<41>" EndSession: "<42>" BeginPage: "<43>" EndPage: "<44>" Comment: "<47>" OpenDataSource: "<48>" CloseDataSource: "<49>" BeginFontHeader: "<4f>" ReadFontHeader: "<50>" EndFontHeader: "<51>" BeginChar: "<52>" ReadChar: "<53>" EndChar: "<54>" RemoveFont: "<55>" BeginStream: "<5b>" ReadStream: "<5c>" EndStream: "<5d>" ExecStream: "<5e>" PopGS: "<60>" PushGS: "<61>" SetClipReplace: "<62>" SetBrushSource: "<63>" SetCharAngle: "<64>" SetCharScale: "<65>" SetCharShear: "<66>" SetClipIntersect: "<67>" SetClipRectangle: "<68>" SetClipToPage: "<69>" SetColorSpace: "<6a>" SetCursor: "<6b>" SetCursorRel: "<6c>" SetHalftoneMethod: "<6d>" SetFillMode: "<6e>" SetFont: "<6f>" SetLineDash: "<70>" SetLineCap: "<71>" SetLineJoin: "<72>" SetMiterLimit: "<73>" SetPageDefaultCTM: "<74>" SetPageOrigin: "<75>" SetPageRotation: "<76>" SetPageScale: "<77>" SetPatternTxMode: "<78>" SetPenSource: "<79>" SetPenWidth: "<7a>" SetROP: "<7b>" SetSourceTxMode: "<7c>" SetCharBoldValue: "<7d>" SetClipMode: "<7f>" SetPathToClip: "<80>" SetCharSubMode: "<81>" CloseSubPath: "<84>" NewPath: "<85>" PaintPath: "<86>" ArcPath: "<91>" BezierPath: "<93>" BezierRelPath: "<95>" Chord: "<96>" ChordPath: "<97>" Ellipse: "<98>" EllipsePath: "<99>" LinePath: "<9b>" LineRelPath: "<9d>" Pie: "<9e>" PiePath: "<9f>" Rectangle: "" RectanglePath: "" RoundRectangle: "" RoundRectanglePath: "" Text: "" TextPath: "" BeginImage: "" ReadImage: "" EndImage: "" BeginRestPattern: "" ReadRastPattern: "" EndRastPattern: "" BeginScan: "" EndScan: "" ScanLineRel: "" } *Macros: MediaSizeStrings { sLetterPaper: =ubyte "<06>" "LETTER" sLegalPaper: =ubyte "<05>" "LEGAL" sA4Paper: =ubyte "<02>" "A4" sExecPaper: =ubyte "<04>" "EXEC" sLedgerPaper: =ubyte "<06>" "LEDGER" sA3Paper: =ubyte "<02>" "A3" sCOM10Envelope: =ubyte "<05>" "COM10" sMonarchEnvelope: =ubyte "<07>" "MONARCH" sC5Envelope: =ubyte "<02>" "C5" sDLEnvelope: =ubyte "<02>" "DL" sJB4Paper: =ubyte "<06>" "JIS B4" sJB5Paper: =ubyte "<06>" "JIS B5" sB5Envelope: =ubyte "<06>" "B5 ENV" sJPostcard: =ubyte "<05>" "JPOST" sJDoublePostcard: =ubyte "<06>" "JPOSTD" sA5Paper: =ubyte "<02>" "A5" sA6Paper: =ubyte "<02>" "A6" sJB6Paper: =ubyte "<02>" "JIS B6" sStatementPaper: =ubyte "<09>" "STATEMENT" sComputerPaper: =ubyte "<08>" "COMPUTER" sLegal13Paper: =ubyte "<07>" "LEGAL13" s85SQPaper: =ubyte "<06>" "8.5 SQ" sFolioPaper: =ubyte "<05>" "FOLIO" sRoc16KPaper: =ubyte "<06>" "ROC16K" sRoc8KPaper: =ubyte "<05>" "ROC8K" sA3widePaper: =ubyte "<06>" "A3WIDE" sLdwidePaper: =ubyte "<06>" "LDWIDE" sSRA3Paper: =ubyte "<09>" "320x450mm" s320x460Paper: =ubyte "<09>" "320x460mm" s13x19Paper: =ubyte "<09>" "320x460mm" } *%From pjl.gpd *Macros: PJLCommand { PJL_STARTJOB: "<1B>%%-12345X@PJL JOB<0A>" PJL_COMMENT: "@PJL COMMENT MS PCLXL NT Driver<0A>" PJL_PAGEPROTECT_ON: "@PJL SET PAGEPROTECT=ON<0A>" PJL_PAGEPROTECT_OFF: "@PJL SET PAGEPROTECT=OFF<0A>" PJL_TIMEOUT_90: "@PJL SET TIMEOUT=90<0A>" PJL_COLLATE_ON: "@PJL SET QTY=" %d{NumOfCopies}"<0A>" PJL_COLLATE_OFF: "@PJL SET QTY=1<0A>" PJL_ECONOMODE_ON: "@PJL SET ECONOMODE=ON<0A>" PJL_ECONOMODE_OFF: "@PJL SET ECONOMODE=OFF<0A>" PJL_RET_LIGHT: "@PJL SET RET=LIGHT<0A>" PJL_RET_MEDIUM: "@PJL SET RET=MEDIUM<0A>" PJL_RET_DARK: "@PJL SET RET=DARK<0A>" PJL_RET_OFF: "@PJL SET RET=OFF<0A>" PJL_RESOLUTION_300: "@PJL SET RESOLUTION=300<0A>" PJL_RESOLUTION_1200: "@PJL SET RESOLUTION=1200<0A>" PJL_BITSPERPIXEL_1: "@PJL SET BITSPERPIXEL=1<0A>" PJL_BITSPERPIXEL_2: "@PJL SET BITSPERPIXEL=2<0A>" PJL_ENTER_PCLXL: "@PJL ENTER LANGUAGE=PCLXL<0D><0A>" PJL_ENDJOB: "<1B>%%-12345X@PJL EOJ<0A><1B>%%-12345X" }