*% *% Copyright (c) 1997 - 1999 Microsoft Corporation *% All Rights Reserved. *% *GPDSpecVersion: "1.0" *GPDFileName: "T8204P.GPD" *GPDFileVersion: "1.0" *Include: "StdNames.gpd" *Include: "ttfsub.gpd" *ModelName: "Tally T8204 Plus PCL" *MasterUnits: PAIR(1200, 1200) *ResourceDLL: "pcl5eres.dll" *PrinterType: PAGE *MaxCopies: 999 *PrintRate: 16 *PrintRatePPM: 16 *PrintRateUnit: PPM *Feature: RESDLL { *Name: "resource dll files" *ConcealFromUI?: TRUE *Option: TLY5CResDLL { *Name: "tly5cres.dll" } } *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.1 *Cmd: "<1B>&l1H" } } *Option: Option2 *%Multipurpose { *rcNameID: RESDLL.TLY5CResDLL.291 *Command: CmdSelect { *Order: DOC_SETUP.1 *Cmd: "<1B>&l2H" } } *Option: Option3 *%Optional1 { *rcNameID: RESDLL.TLY5CResDLL.292 *Command: CmdSelect { *Order: DOC_SETUP.1 *Cmd: "<1B>&l5H" } } } *Feature: Resolution { *rcNameID: =RESOLUTION_DISPLAY *DefaultOption: Option1 *Option: Option1 { *Name: "600 x 600 " =DOTS_PER_INCH *DPI: PAIR(600, 600) *TextDPI: PAIR(600, 600) *MinStripBlankPixels: 32 EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING) *SpotDiameter: 120 *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 SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R" } } *Option: Option2 { *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 SET RESOLUTION=300<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 { *PrintableArea: PAIR(9548, 12548) *PrintableOrigin: PAIR(266, 250) *CursorOrigin: PAIR(266, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(9548, 12548) *PrintableOrigin: PAIR(266, 266) *CursorOrigin: PAIR(266, 12948) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7704x5760Y" } } } } *Option: LEGAL { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(9548, 16148) *PrintableOrigin: PAIR(266, 300) *CursorOrigin: PAIR(266, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(9548, 16148) *PrintableOrigin: PAIR(266, 266) *CursorOrigin: PAIR(266, 16414) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9864x5760Y" } } } } *Option: EXECUTIVE { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(8048, 11948) *PrintableOrigin: PAIR(266, 250) *CursorOrigin: PAIR(266, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(8048, 11948) *PrintableOrigin: PAIR(266, 266) *CursorOrigin: PAIR(266, 12360) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7344x4860Y" } } } } *Option: 11X17 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(12600, 19860) *PrintableOrigin: PAIR(300, 300) *CursorOrigin: PAIR(300, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x11916Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(12760, 19920) *PrintableOrigin: PAIR(200, 240) *CursorOrigin: PAIR(200, 20160) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11916x7560Y" } } } } *Option: A3 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(13428, 19308) *PrintableOrigin: PAIR(300, 300) *CursorOrigin: PAIR(300, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8056x11584Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(13588, 19368) *PrintableOrigin: PAIR(200, 240) *CursorOrigin: PAIR(200, 19608) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8152x11620Y" } } } } *Option: A4 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(9306, 13416) *PrintableOrigin: PAIR(266, 248) *CursorOrigin: PAIR(266, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5649x8201Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(9306, 13415) *PrintableOrigin: PAIR(266, 266) *CursorOrigin: PAIR(200, 13788) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8201x5649Y" } } } } *Option: B4 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(11544, 16656) *PrintableOrigin: PAIR(300, 300) *CursorOrigin: PAIR(300, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6926x9994Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(11704, 16716) *PrintableOrigin: PAIR(200, 240) *CursorOrigin: PAIR(200, 16956) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t9994x6926Y" } } } } *Option: ENV_B5 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(7716, 11368) *PrintableOrigin: PAIR(300, 140) *CursorOrigin: PAIR(300, 140) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4629x6820Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(7776, 11208) *PrintableOrigin: PAIR(240, 300) *CursorOrigin: PAIR(200, 11508) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6724x4665Y" } } } } *Option: ENV_MONARCH { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(4032, 8480) *PrintableOrigin: PAIR(300, 200) *CursorOrigin: PAIR(300, 200) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2419x5088Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(4224, 8512) *PrintableOrigin: PAIR(200, 240) *CursorOrigin: PAIR(200, 8760) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5107x2534Y" } } } } *Option: ENV_10 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(4298, 10748) *PrintableOrigin: PAIR(266, 250) *CursorOrigin: PAIR(266, 250) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2592x6528Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(4298, 10748) *PrintableOrigin: PAIR(266, 266) *CursorOrigin: PAIR(200, 11014) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6547x2726Y" } } } } *Option: ENV_DL { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(4608, 9888) *PrintableOrigin: PAIR(300, 200) *CursorOrigin: PAIR(300, 200) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2765x5933Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(4768, 9920) *PrintableOrigin: PAIR(200, 200) *CursorOrigin: PAIR(200, 10152) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2861Y" } } } } *Option: ENV_C5 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(7072, 10304) *PrintableOrigin: PAIR(300, 200) *CursorOrigin: PAIR(300, 200) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4243x6182Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(7232, 10336) *PrintableOrigin: PAIR(200, 240) *CursorOrigin: PAIR(200, 10576) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6202x4339Y" } } } } *Option: DBL_JAPANESE_POSTCARD_ROTATED { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: Orientation { *case: PORTRAIT { *PrintableArea: PAIR(6376,8856) *PrintableOrigin: PAIR(300, 300) *CursorOrigin: PAIR(300, 180) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l71a8c1E<1B>*p0x0Y<1B>*c0t3825x5313Y" } } *case: LANDSCAPE_CC90 { *PrintableArea: PAIR(6396, 8856) *PrintableOrigin: PAIR(300, 300) *CursorOrigin: PAIR(200, 9156) *Command: CmdSelect { *Order: DOC_SETUP.10 *Cmd: "<1B>&l71a8c1E<1B>*p0x0Y<1B>*c0t3837x5313Y" } } } } } *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: PrintQuality { *rcNameID: =TEXT_QUALITY_DISPLAY *DefaultOption: Option1 *Option: Option1 { *rcNameID: 317 *Command: CmdSelect { *Order: DOC_SETUP.13 *Cmd: "<1B>*o0Q" } } *Option: Option2 { *rcNameID: 318 *Command: CmdSelect { *Order: DOC_SETUP.13 *Cmd: "<1B>*o-1Q" } } *Option: Option3 { *rcNameID: 319 *Command: CmdSelect { *Order: DOC_SETUP.13 *Cmd: "<1B>*o1Q" } } } *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 *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: DOC_SETUP.16 *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<0003080808081B>*v0a0b0c7i255a255b255c0I<1B>*" + "o3W<060400>" } } } *Feature: Halftone { *rcNameID: =HALFTONING_DISPLAY *DefaultOption: HT_PATSIZE_AUTO *Option: HT_PATSIZE_AUTO { *rcNameID: =HT_AUTO_SELECT_DISPLAY } *Ifdef: WINNT_50 *Option: HT_PATSIZE_SUPERCELL_M { *rcNameID: =HT_SUPERCELL_DISPLAY } *Endif: *Option: HT_PATSIZE_6x6_M { *rcNameID: =HT_DITHER6X6_DISPLAY } *Option: HT_PATSIZE_8x8_M { *rcNameID: =HT_DITHER8X8_DISPLAY } } *Feature: Memory { *rcNameID: =PRINTER_MEMORY_DISPLAY *DefaultOption: 196608KB *MemConfigKB: PAIR(196608, 186250) *MemConfigKB: PAIR(245760, 220750) *MemConfigKB: PAIR(319488, 309250) *MemConfigKB: PAIR(393216, 353550) } *%% ======================= *%% Optional Input Trays *%% ======================= *Feature: TRAY2 { *rcNameID: RESDLL.TLY5CResDLL.295 *%High Capacity Feeder *FeatureType: PRINTER_PROPERTY *DefaultOption: FALSE *Option: FALSE { *rcNameID: 444 } *Option: TRUE { *rcNameID: 443 } *InvalidCombination: LIST(TRAY2.FALSE,InputBin.Option3) } *%%% CmdStartDoc *switch: Resolution { *case: Option1 { *Command: CmdStartDoc { *Order: DOC_SETUP.5 *Cmd: "<1B>&u600D<1B>*r0F" } } *case: Option2 { *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[1,999]{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: 600 *YMoveUnit: 600 *switch: Resolution { *case: Option1 { *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" } *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" } *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" } *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" } *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,12600]{max_repeat((DestYRel / 2) )}"Y" } *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,12600]{max_repeat((DestYRel / 2) )}"Y" } *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" } *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" } } *case: Option2 { *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: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 4) }"A" } *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 4) }"B" } } } *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,225,230) *MinFontID: 16534 *MaxFontID: 32768 *FontFormat: HPPCL_OUTLINE *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: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" } *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" } *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }