|
|
*GPDSpecVersion: "1.0" *Include: "StdNames.gpd" *ModelName: "OEM CUSTOM SAMPLE SYNC DATA IN UI" *MasterUnits: PAIR(1200, 1200) *ResourceDLL: "unires.dll" *PrinterType: PAGE *MaxCopies: 99
*PrintRate: 8 *PrintRateUnit: PPM *PrintRatePPM: 8
*Feature: Orientation { *rcNameID: =ORIENTATION_DISPLAY *DefaultOption: PORTRAIT *Option: PORTRAIT { *rcNameID: =PORTRAIT_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.6 *Cmd: "<1B>&l0O" } } *Option: LANDSCAPE_CC90 { *rcNameID: =LANDSCAPE_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.6 *Cmd: "<1B>&l1O" } } } *Feature: InputBin { *rcNameID: =PAPER_SOURCE_DISPLAY *DefaultOption: UPPER *Option: UPPER { *rcNameID: =UPPER_TRAY_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.9 *Cmd: "<1B>&l1H" } } } *Feature: Resolution { *rcNameID: =RESOLUTION_DISPLAY *DefaultOption: Option1 *Option: Option1 { *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 : "<1B>*v7S<1B>*r1A" } *Command: CmdEndRaster { *Cmd : "<1B>*rC" } *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" } *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>%%-12345X" + "@PJL COMMENT HP Color LaserJet 5/5M " + "Version 0.56<0A>" + "@PJL SET RESOLUTION=300<0A>" + "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R" } } *Option: Option2 { *Name: "150 x 150 " =DOTS_PER_INCH *DPI: PAIR(150, 150) *TextDPI: PAIR(300, 300) *MinStripBlankPixels: 32 EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING) *SpotDiameter: 100 *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" } *Command: CmdEndRaster { *Cmd : "<1B>*rC" } *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" } *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>%%-12345X" + "@PJL COMMENT HP Color LaserJet 5/5M " + "Version 0.56<0A>" + "@PJL SET RESOLUTION=150<0A>" + "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R" } } }
*Feature: PaperSize { *rcNameID: =PAPER_SIZE_DISPLAY *DefaultOption: LETTER *Option: LETTER { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *%(9600, 12648) *% *PrintableArea: PAIR(9600, 12648) *PrintableArea: PAIR(9564, 12600) *% *PrintableArea: PAIR(5000,5000) *PrintableOrigin: PAIR(300, 300) *% *PrintableOrigin: PAIR(300, 500) *switch: Resolution { *case: Option2 { *% Warning: the following printable width is adjusted (9600->9592) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (12648->12640) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(9592, 12640) *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(304, 304) } } *CursorOrigin: PAIR(300, 180) *Command: CmdSelect { *%5760 -- 7560 *Order: DOC_SETUP.10 *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7604Y" } } *case: LANDSCAPE_CC90 { *%(9720, 12648) *PrintableArea: PAIR(9760, 12688) *PrintableOrigin: PAIR(200, 272) *CursorOrigin: PAIR(200, 12960) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y" } } } } *Option: LEGAL { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(9540, 16248) *PrintableOrigin: PAIR(300, 300) *switch: Resolution { *case: Option2 { *% Warning: the following printable width is adjusted (9600->9592) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (16248->16240) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(9592, 16240) *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(304, 304) } } *CursorOrigin: PAIR(300, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(9760, 16288) *PrintableOrigin: PAIR(200, 272) *CursorOrigin: PAIR(200, 16560) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y" } } } } *Option: EXECUTIVE { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(8100, 12000) *PrintableOrigin: PAIR(300, 300) *switch: Resolution { *case: Option2 { *% Warning: the following printable width is adjusted (8100->8096) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (12000->11992) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(8096, 11992) *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(304, 304) } } *CursorOrigin: PAIR(300, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(8200, 12080) *PrintableOrigin: PAIR(240, 280) *CursorOrigin: PAIR(200, 12360) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y" } } } } *Option: A4 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(9324, 13476) *PrintableOrigin: PAIR(300, 300) *switch: Resolution { *case: Option2 { *% Warning: the following printable width is adjusted (9324->9320) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (13476->13472) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(9320, 13472) *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(304, 304) } } *CursorOrigin: PAIR(300, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(9464, 13516) *PrintableOrigin: PAIR(220, 272) *switch: Resolution { *case: Option2 { *% Warning: the following printable width is adjusted (9464->9456) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (13516->13512) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(9456, 13512) *% Warning: the following printable origin X is adjusted (220->224) so it is divisible by the resolution X scale. *PrintableOrigin: PAIR(224, 272) } } *CursorOrigin: PAIR(200, 13788) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y" } } } } *Option: A3 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(13428, 19308) *PrintableOrigin: PAIR(300, 300) *switch: Resolution { *case: Option2 { *% Warning: the following printable width is adjusted (13428->13424) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (19308->19304) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(13424, 19304) *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(304, 304) } } *CursorOrigin: PAIR(300, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8057x11693Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(13588, 19368) *PrintableOrigin: PAIR(200, 240) *switch: Resolution { *case: Option2 { *% Warning: the following printable width is adjusted (13588->13584) so it is divisible by the resolution X scale. *PrintableArea: PAIR(13584, 19368) } } *CursorOrigin: PAIR(200, 19608) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y" } } } } *Option: TABLOID { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *% *PrintableArea: PAIR(12600, 19800) *PrintableArea: PAIR(12540, 19740) *PrintableOrigin: PAIR(300, 300) *switch: Resolution { *case: Option2 { *% Warning: the following printable width is adjusted (12600->12592) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (19800->19792) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(12592, 19792) *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(304, 304) } } *CursorOrigin: PAIR(300, 200) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(12600, 19800) *PrintableOrigin: PAIR(300, 300) *switch: Resolution { *case: Option2 { *% Warning: the following printable width is adjusted (12600->12592) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (19800->19792) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(12592, 19792) *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(304, 304) } } *CursorOrigin: PAIR(200, 20100) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11880x7680Y" } } } } } *Feature: MediaType { *rcNameID: =MEDIA_TYPE_DISPLAY *DefaultOption: STANDARD *Option: STANDARD { *rcNameID: =PLAIN_PAPER_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.14 *Cmd: "<1B>&l0M" } } *Option: TRANSPARENCY { *rcNameID: =TRANSPARENCY_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.14 *Cmd: "<1B>&l4M" } } } *Feature: ColorMode { *rcNameID: =COLOR_PRINTING_MODE_DISPLAY *HelpIndex: 12004 *DefaultOption: 24bpp *Option: 24bpp { *rcNameID: =24BPP_DISPLAY *DevNumOfPlanes: 1 *DevBPP: 24 *DrvBPP: 24 *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" } *PaletteSize: 256 *PaletteProgrammable? : TRUE *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram} + "I" } *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" } *Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" } *Command: CmdSelect { *Order: PAGE_SETUP.16 *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<0003080808081B>*v0a0b0c7i255a255b255c0I<1B>*" + "o3W<060400>" } } } *Feature: Halftone { *rcNameID: =HALFTONING_DISPLAY *HelpIndex: 12005 *DefaultOption: HT_PATSIZE_AUTO *Option: HT_PATSIZE_AUTO { *rcNameID: =HT_AUTO_SELECT_DISPLAY } *Option: HT_PATSIZE_SUPERCELL_M { *rcNameID: =HT_SUPERCELL_DISPLAY } *Option: HT_PATSIZE_6x6_M { *rcNameID: =HT_DITHER6X6_DISPLAY } *Option: HT_PATSIZE_8x8_M { *rcNameID: =HT_DITHER8X8_DISPLAY } }
*%------------------------------------------------------------------------- *% Duplex *%------------------------------------------------------------------------- *Feature: Duplex { *rcNameID: =TWO_SIDED_PRINTING_DISPLAY *DefaultOption: NONE *Option: NONE { *rcNameID: =NONE_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.9 *Cmd: "<1B>&l0S" } } *Option: VERTICAL { *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l1S"
} } *Option: HORIZONTAL { *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l2S" } } }
*%------------------------------------------------------------------------- *% Installable Option - Duplex Unit *% IMPORTANT NOTE: The OEM extension assumes that this feature's keyname is *% "DuplexUnit" and the options are "TRUE" and "FALSE" *%------------------------------------------------------------------------- *Feature: DuplexUnit { *Name: "Optional Duplex Unit" *% Duplex Unit *HelpIndex: 12004 *FeatureType: PRINTER_PROPERTY *DefaultOption: FALSE *Option: FALSE { *Name: "Not Installed" *DisabledFeatures: LIST(Duplex) } *Option: TRUE { *Name: "Installed" } }
*%------------------------------------------------------------------------- *% Installable Option - Envelope Feeder *% IMPORTANT NOTE: The OEM extension assumes that this feature's keyname is *% "EnvFeeder" and the options are "TRUE" and "FALSE" *%------------------------------------------------------------------------- *Feature: EnvFeeder { *Name: "Envelope Feeder" *HelpIndex: 12000 *FeatureType: PRINTER_PROPERTY *DefaultOption: FALSE *Option: FALSE { *Name: "Not Installed" } *Option: TRUE { *Name: "Installed" } }
*%------------------------------------------------------------------------- *% Installable Option - PrinterHardDisk *% IMPORTANT NOTE: The OEM extension assumes that this feature's keyname is *% "PrinterHardDisk" and the options are "TRUE" and "FALSE" *%------------------------------------------------------------------------- *Feature: PrinterHardDisk { *Name: "Printer Hard-Disk" *% Printer Hard-Disk *HelpIndex: 12002 *FeatureType: PRINTER_PROPERTY *DefaultOption: FALSE *Option: FALSE { *Name: "Not Installed" *%*Constraints: LIST(JobRetention.Option2, JobRetention.Option4) } *Option: TRUE { *Name: "Installed" } }
*Command: CmdStartDoc { *Order: DOC_SETUP.5 *Cmd: "<1B>&u300D<1B>*r0F" } *Command: CmdStartPage { *Order: PAGE_SETUP.1 *Cmd: "<1B>*b0M<0D>" } *Command: CmdEndJob { *Order: JOB_FINISH.1 *Cmd: "<1B>E<1B>%%-12345X" } *Command: CmdCopies { *Order: DOC_SETUP.11 *Cmd: "<1B>&l" %d{NumOfCopies}"X" } *RotateCoordinate?: TRUE *RotateRaster?: TRUE *RotateFont?: TRUE *TextCaps: LIST(TC_CR_90,TC_UA_ABLE) *MemoryUsage: LIST(FONT) *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE) *XMoveThreshold: 0 *YMoveThreshold: 0 *XMoveUnit: 300 *YMoveUnit: 300 *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 4) }"X" } *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 4) )}"X" } *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 4) )}"X" } *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 4) }"Y" } *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,12600]{max_repeat((DestYRel / 4) )}"Y" } *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,12600]{max_repeat((DestYRel / 4) )}"Y" } *Command: CmdCR { *Cmd : "<0D>" } *Command: CmdLF { *Cmd : "<0A>" } *Command: CmdFF { *Cmd : "<0C>" } *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram} + "I" } *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" } *Command: CmdBackSpace { *Cmd : "<08>" } *Command: CmdUniDirectionOn { *Cmd : "<00>" } *Command: CmdUniDirectionOff { *Cmd : "<00>" } *Command: CmdPushCursor { *Cmd : "<1B>&f0S" } *Command: CmdPopCursor { *Cmd : "<1B>&f1S" } *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" } *EjectPageWithFF?: TRUE *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" } *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" } *OutputDataFormat: H_BYTE *OptimizeLeftBound?: TRUE *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN *CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultFont: 136 *DefaultCTT: 0 *CharPosition: BASELINE *TTFSEnabled?: TRUE *DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153,154, + 155,156,157,164,165,166,196,197,198,199,200,201,202,203,209,210, + 211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226, + 227,228,229,230)
*MinFontID: 16534 *MaxFontID: 32768 *FontFormat: HPPCL_OUTLINE *% When the %f format is implemented we can remove the /100 part of *% CmdSelectFontHeight and CmdSelectFontWidth *% NOTE: MasterUnits.x is hardcoded here! *% NOTE: THIS dividing by 200 because I want to /100 and then /2 for now. *% The number 60000 may look strange, but it's 1200/2 * 100. *Command: CmdSelectFontHeight { *Cmd : "<1B>(s" %d{FontHeight}"V" } *Command: CmdSelectFontWidth { *Cmd : "<1B>(s" %f{1200 / FontWidth}"H" } *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" } *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" } *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" } *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" } *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" } *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" } *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" } *MinGrayFill: 1 *MaxGrayFill: 100 *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 4) }"A" } *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 4) }"B" } *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" } *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" } *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
|