|
|
*% *% Copyright (c) 1997 - 1999 Microsoft Corporation *% All Rights Reserved. *% *GPDSpecVersion: "1.0" *Include: "StdNames.gpd" *GPDFileVersion: "1.0" *GPDFileName: "ty21309.GPD" *ModelName: "Tally T2130 9 Pin" *MasterUnits: PAIR(720, 720) *ResourceDLL: "ty2x3res.dll" *PrinterType: SERIAL *Feature: Orientation { *rcNameID: =ORIENTATION_DISPLAY *DefaultOption: PORTRAIT *Option: PORTRAIT { *rcNameID: =PORTRAIT_DISPLAY } *Option: LANDSCAPE_CC270 { *rcNameID: =LANDSCAPE_DISPLAY } } *Feature: InputBin { *rcNameID: =PAPER_SOURCE_DISPLAY *DefaultOption: Option1 *Option: Option1 { *rcNameID: 261 *OptionID: 261 *Command: CmdSelect { *Order: DOC_SETUP.7 *Cmd: "<1B>[5;;0{" } } *Option: Option2 { *rcNameID: 262 *OptionID: 262 *Command: CmdSelect { *Order: DOC_SETUP.7 *Cmd: "<1B>[6;;0{" } } *Option: MANUAL { *rcNameID: =MANUAL_FEED_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.7 *Cmd: "<1B>[0;;0{" } } *Option: Option4 { *rcNameID: 263 *OptionID: 263 *Command: CmdSelect { *Order: DOC_SETUP.7 *Cmd: "<1B>[21;;0{" } } } *Feature: Resolution { *rcNameID: =RESOLUTION_DISPLAY *DefaultOption: Option1 *Option: Option1 { *Name: "240 x 144 " =DOTS_PER_INCH *DPI: PAIR(240, 144) *TextDPI: PAIR(240, 144) *PinsPerLogPass: 16 *PinsPerPhysPass: 8 *MinStripBlankPixels: 240 EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING) *SpotDiameter: 170 *Command: CmdSendBlockData { *Cmd : "<1B>Z" %l{NumOfDataBytes} } } *Option: Option2 { *Name: "120 x 144 " =DOTS_PER_INCH *DPI: PAIR(120, 144) *TextDPI: PAIR(120, 144) *PinsPerLogPass: 16 *PinsPerPhysPass: 8 *MinStripBlankPixels: 120 EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING) *SpotDiameter: 140 *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} } } *Option: Option3 { *Name: "120 x 72 " =DOTS_PER_INCH *DPI: PAIR(120, 72) *TextDPI: PAIR(120, 72) *PinsPerLogPass: 8 *PinsPerPhysPass: 8 *MinStripBlankPixels: 120 EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING) *SpotDiameter: 100 *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} } } } *Feature: PaperSize { *rcNameID: =PAPER_SIZE_DISPLAY *DefaultOption: Option1 *Option: Option1 { *rcNameID: 258 *OptionID: 258 *PageDimensions: PAIR(6120, 8640) *Command: CmdSelect { *Order: DOC_SETUP.8 *Cmd: "<1B>C<000C>" } *switch: InputBin { *case: Option1 { *PrintableArea: PAIR(6120, 8280) *PrintableOrigin: PAIR(0, 180) } *case: Option2 { *PrintableArea: PAIR(6120, 8280) *PrintableOrigin: PAIR(0, 180) } *case: MANUAL { *PrintableArea: PAIR(6120, 8140) *PrintableOrigin: PAIR(0, 180) } *case: Option4 { *PrintableArea: PAIR(6120, 8550) *PrintableOrigin: PAIR(0, 90) } } } *Option: A4 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.8 *Cmd: "<1B>2<1B>[8418t" } *switch: InputBin { *case: Option1 { *PrintableArea: PAIR(5860, 8057) *PrintableOrigin: PAIR(0, 180) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(5860, 8057) } *case: Option2 { *PrintableArea: PAIR(5860, 8055) } *case: Option3 { *PrintableArea: PAIR(5860, 8050) } } } *case: Option2 { *PrintableArea: PAIR(5860, 8057) *PrintableOrigin: PAIR(0, 180) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(5860, 8055) } *case: Option2 { *PrintableArea: PAIR(5860, 8055) } *case: Option3 { *PrintableArea: PAIR(5860, 8050) } } } *case: MANUAL { *PrintableArea: PAIR(5860, 7950) *PrintableOrigin: PAIR(0, 180) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(5860, 7950) } *case: Option2 { *PrintableArea: PAIR(5860, 7950) } *case: Option3 { *PrintableArea: PAIR(5860, 7950) } } } *case: Option4 { *PrintableArea: PAIR(5860, 8100) *PrintableOrigin: PAIR(0, 90) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(5860, 8100) } *case: Option2 { *PrintableArea: PAIR(5860, 8100) } *case: Option3 { *PrintableArea: PAIR(5860, 8100) } } } } } *Option: A5 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.8 *Cmd: "<1B>2<1B>[5952t" } *switch: InputBin { *case: Option1 { *PrintableArea: PAIR(4100, 5590) *PrintableOrigin: PAIR(0, 180) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(4100, 5590) } *case: Option2 { *PrintableArea: PAIR(4100, 5590) } *case: Option3 { *PrintableArea: PAIR(4100, 5590) } } } *case: Option2 { *PrintableArea: PAIR(4100, 5590) *PrintableOrigin: PAIR(0, 180) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(4100, 5590) } *case: Option2 { *PrintableArea: PAIR(4100, 5590) } *case: Option3 { *PrintableArea: PAIR(4100, 5590) } } } *case: MANUAL { *PrintableArea: PAIR(4100, 5454) *PrintableOrigin: PAIR(0, 100) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(4100, 5450) } *case: Option2 { *PrintableArea: PAIR(4100, 5450) } *case: Option3 { *PrintableArea: PAIR(4100, 5450) } } } *case: Option4 { *PrintableArea: PAIR(4100, 5680) *PrintableOrigin: PAIR(0, 90) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(4100, 5680) } *case: Option2 { *PrintableArea: PAIR(4100, 5680) } *case: Option3 { *PrintableArea: PAIR(4100, 5680) } } } } } *Option: A3 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.8 *Cmd: "<1B>2<1B>[11960t" } *switch: InputBin { *case: Option1 { *PrintableArea: PAIR(8320, 11549) *PrintableOrigin: PAIR(0, 100) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(8320, 11545) } *case: Option2 { *PrintableArea: PAIR(8320, 11545) } *case: Option3 { *PrintableArea: PAIR(8320, 11540) } } } *case: Option2 { *PrintableArea: PAIR(8320, 11549) *PrintableOrigin: PAIR(0, 100) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(8320, 11545) } *case: Option2 { *PrintableArea: PAIR(8320, 11545) } *case: Option3 { *PrintableArea: PAIR(8320, 11540) } } } *case: MANUAL { *PrintableArea: PAIR(8320, 11409) *PrintableOrigin: PAIR(0, 100) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(8320, 11405) } *case: Option2 { *PrintableArea: PAIR(8320, 11405) } *case: Option3 { *PrintableArea: PAIR(8320, 11400) } } } *case: Option4 { *PrintableArea: PAIR(8300, 11819) *PrintableOrigin: PAIR(80, 90) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(8300, 11815) } *case: Option2 { *PrintableArea: PAIR(8300, 11815) } *case: Option3 { *PrintableArea: PAIR(8300, 11810) } } } } } *Option: LETTER { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.8 *Cmd: "<1B>C<000B>" } *switch: InputBin { *case: Option1 { *PrintableArea: PAIR(6020, 7560) *PrintableOrigin: PAIR(0, 100) } *case: Option2 { *PrintableArea: PAIR(6020, 7560) *PrintableOrigin: PAIR(0, 100) } *case: MANUAL { *PrintableArea: PAIR(6020, 7420) *PrintableOrigin: PAIR(0, 100) } *case: Option4 { *PrintableArea: PAIR(5980, 7680) *PrintableOrigin: PAIR(80, 90) } } } *Option: LEGAL { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.8 *Cmd: "<1B>C<000E>" } *switch: InputBin { *case: Option1 { *PrintableArea: PAIR(6120, 9720) *PrintableOrigin: PAIR(0, 180) } *case: Option2 { *PrintableArea: PAIR(6120, 9720) *PrintableOrigin: PAIR(0, 180) } *case: MANUAL { *PrintableArea: PAIR(6120, 9580) *PrintableOrigin: PAIR(0, 180) } *case: Option4 { *PrintableArea: PAIR(5980, 9790) *PrintableOrigin: PAIR(80, 90) } } } *Option: EXECUTIVE { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.8 *Cmd: "<1B>2<1B>C?" } *switch: InputBin { *case: Option1 { *PrintableArea: PAIR(5120, 7200) *PrintableOrigin: PAIR(0, 180) } *case: Option2 { *PrintableArea: PAIR(5120, 7200) *PrintableOrigin: PAIR(0, 180) } *case: MANUAL { *PrintableArea: PAIR(5120, 7060) *PrintableOrigin: PAIR(0, 180) } *case: Option4 { *PrintableArea: PAIR(5220, 7340) *PrintableOrigin: PAIR(80, 90) } } } *Option: Option8 { *rcNameID: 259 *OptionID: 259 *PageDimensions: PAIR(9720, 8640) *Command: CmdSelect { *Order: DOC_SETUP.8 *Cmd: "<1B>C<000C>" } *switch: InputBin { *case: Option1 { *PrintableArea: PAIR(9720, 8280) *PrintableOrigin: PAIR(0, 180) } *case: Option2 { *PrintableArea: PAIR(9720, 8280) *PrintableOrigin: PAIR(0, 180) } *case: MANUAL { *PrintableArea: PAIR(9720, 8140) *PrintableOrigin: PAIR(0, 180) } *case: Option4 { *PrintableArea: PAIR(9720, 8550) *PrintableOrigin: PAIR(0, 90) } } } *Option: Option9 { *rcNameID: 260 *OptionID: 260 *PageDimensions: PAIR(10710, 7920) *Command: CmdSelect { *Order: DOC_SETUP.8 *Cmd: "<1B>C<000B>" } *switch: InputBin { *case: Option1 { *PrintableArea: PAIR(10710, 7560) *PrintableOrigin: PAIR(0, 180) } *case: Option2 { *PrintableArea: PAIR(10710, 7560) *PrintableOrigin: PAIR(0, 180) } *case: MANUAL { *PrintableArea: PAIR(10710, 7420) *PrintableOrigin: PAIR(0, 180) } *case: Option4 { *PrintableArea: PAIR(10710, 7830) *PrintableOrigin: PAIR(0, 90) } } } *Option: CUSTOMSIZE { *rcNameID: =USER_DEFINED_SIZE_DISPLAY *MinSize: PAIR(2160, 2160) *MaxSize: PAIR(11520, 15840) *MaxPrintableWidth: 11520 *MinLeftMargin: 0 *CenterPrintable?: FALSE *switch: InputBin { *case: Option1 { *TopMargin: 180 *BottomMargin: 180 } *case: Option2 { *TopMargin: 180 *BottomMargin: 180 } *case: MANUAL { *TopMargin: 180 *BottomMargin: 320 } *case: Option4 { *TopMargin: 90 *BottomMargin: 0 } } *Command: CmdSelect { *Order: DOC_SETUP.8 *Cmd: "<1B>[" %d{PhysPaperLength}"t" } } } *Feature: Halftone { *rcNameID: =HALFTONING_DISPLAY *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 } } *Command: CmdStartDoc { *Order: DOC_SETUP.1 *Cmd: "<1B>[6~<1B>[?5~<1B>t<011B>6<1B>(B<1B>[11h<1B>[0;2 D<1B>[1;11 D<1B>[2;2 D" } *Command: CmdEndJob { *Order: JOB_FINISH.1 *Cmd: "<1B>[6~" } *RotateCoordinate?: FALSE *RotateRaster?: FALSE *RotateFont?: FALSE *switch: Orientation { *case: PORTRAIT { *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_CP_STROKE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE) } *case: LANDSCAPE_CC270 { *TextCaps: LIST(TC_RA_ABLE) } } *CursorXAfterCR: AT_CURSOR_X_ORIGIN *YMoveAttributes: LIST(SEND_CR_FIRST) *XMoveThreshold: 0 *YMoveThreshold: * *XMoveUnit: 720 *YMoveUnit: 720 *Command: CmdXMoveAbsolute { *Cmd : "<1B>[" %d{DestX}"`" } *Command: CmdXMoveRelRight { *Cmd : "<1B>[" %d{DestXRel}"a" } *Command: CmdXMoveRelLeft { *Cmd : "<1B>[" %d{DestXRel}"j" } *Command: CmdYMoveRelDown { *Cmd : "<1B>[" %d[0,120]{max_repeat(DestYRel )}" h<0A1B>[120 h" } *Command: CmdYMoveRelUp { *Cmd : "<1B>[" %d{DestYRel}"k" } *Command: CmdCR { *Cmd : "<0D>" } *Command: CmdLF { *Cmd : "<0A>" } *Command: CmdFF { *Cmd : "<0C>" } *Command: CmdBackSpace { *Cmd : "<08>" } *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" } *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" } *EjectPageWithFF?: TRUE *OutputDataFormat: V_BYTE *OptimizeLeftBound?: TRUE *CursorXAfterSendBlockData: AT_GRXDATA_END *CursorYAfterSendBlockData: NO_MOVE *DefaultFont: 12 *DefaultCTT: 1 *switch: Orientation { *case: PORTRAIT { *DeviceFonts: LIST(10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25, + 26,27,28,29,147,148,149,150,151,152,153,154,155,156,157,158, + 159,160,161,162,163,164) } *case: LANDSCAPE_CC270 { *DeviceFonts: LIST() } } *Command: CmdBoldOn { *Cmd : "<1B>[9w" } *Command: CmdBoldOff { *Cmd : "<1B>[8w" } *Command: CmdItalicOn { *Cmd : "<1B>[3m" } *Command: CmdItalicOff { *Cmd : "<1B>[23m" } *Command: CmdUnderlineOn { *Cmd : "<1B>[4m" } *Command: CmdUnderlineOff { *Cmd : "<1B>[24m" }
|