*% *% Copyright (c) 1997 - 1999 Microsoft Corporation *% All Rights Reserved. *% *GPDSpecVersion: "1.0" *GPDFileName: "MT91.GPD" *GPDFileVersion: "1.0" *Include: "StdNames.gpd" *ModelName: "Mannesmann Tally MT 91" *MasterUnits: PAIR(720, 720) *ResourceDLL: "cn330res.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: TRACTOR *Option: TRACTOR { *rcNameID: =TRACTOR_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.3 *Cmd: "<1B>O" } } *Option: AUTO { *rcNameID: =AUTO_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.3 *Cmd: "<1B>[F<0300030102>" } } } *Feature: Resolution { *rcNameID: =RESOLUTION_DISPLAY *DefaultOption: Option1 *Option: Option1 { *Name: "360 x 360 " =DOTS_PER_INCH *DPI: PAIR(360, 360) *TextDPI: PAIR(360, 360) *PinsPerLogPass: 48 *PinsPerPhysPass: 48 *MinStripBlankPixels: 270 EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING) *SpotDiameter: 100 *Command: CmdSendBlockData { *Cmd : "<1C>CB<0404>" %l{NumOfDataBytes / 6} } } *Option: Option2 { *Name: "180 x 180 " =DOTS_PER_INCH *DPI: PAIR(180, 180) *TextDPI: PAIR(180, 180) *PinsPerLogPass: 24 *PinsPerPhysPass: 24 *MinStripBlankPixels: 90 EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING) *SpotDiameter: 100 *Command: CmdSendBlockData { *Cmd : "<1C>CB<0000>" %l{NumOfDataBytes / 3} } } } *Feature: PaperSize { *rcNameID: =PAPER_SIZE_DISPLAY *DefaultOption: LETTER *Option: LETTER { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>C<000B>" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(5760, 7920) *PrintableOrigin: PAIR(180, 0) } *case: AUTO { *PrintableArea: PAIR(5760, 7140) *PrintableOrigin: PAIR(180, 360) } } } *Option: LEGAL { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>C<000E>" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(5760, 10080) *PrintableOrigin: PAIR(180, 0) } *case: AUTO { *PrintableArea: PAIR(5760, 9300) *PrintableOrigin: PAIR(180, 360) } } } *Option: TABLOID { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>C<0011>" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(7380, 12240) *PrintableOrigin: PAIR(180, 0) } *case: AUTO { *PrintableArea: PAIR(7380, 11460) *PrintableOrigin: PAIR(180, 360) } } } *Option: A5 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>0<1B>CB" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(4010, 5954) *PrintableOrigin: PAIR(94, 0) *switch: Resolution { *case: Option2 { *PrintableArea: PAIR(4008, 5952) *PrintableOrigin: PAIR(96, 0) } } } *case: AUTO { *PrintableArea: PAIR(4010, 5174) *PrintableOrigin: PAIR(94, 360) *switch: Resolution { *case: Option2 { *PrintableArea: PAIR(4008, 5172) *PrintableOrigin: PAIR(96, 360) } } } } } *Option: A4 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>0<1B>C^" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(5766, 8417) *PrintableOrigin: PAIR(94, 0) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(5766, 8416) } *case: Option2 { *PrintableArea: PAIR(5764, 8416) *PrintableOrigin: PAIR(96, 0) } } } *case: AUTO { *PrintableArea: PAIR(5766, 7637) *PrintableOrigin: PAIR(94, 360) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(5766, 7636) } *case: Option2 { *PrintableArea: PAIR(5764, 7636) *PrintableOrigin: PAIR(96, 360) } } } } } *Option: A3 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>0<1B>C<84>" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(8107, 11909) *PrintableOrigin: PAIR(0, 0) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(8106, 11908) } *case: Option2 { *PrintableArea: PAIR(8104, 11908) } } } *case: AUTO { *PrintableArea: PAIR(8107, 11129) *PrintableOrigin: PAIR(0, 360) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(8106, 11128) } *case: Option2 { *PrintableArea: PAIR(8104, 11128) } } } } } *Option: Option7 { *rcNameID: 258 *PageDimensions: PAIR(11908, 16834) *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>0<1B>C" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(9478, 16834) *PrintableOrigin: PAIR(1170, 0) *switch: Resolution { *case: Option2 { *PrintableArea: PAIR(9476, 16832) *PrintableOrigin: PAIR(1172, 0) } } } *case: AUTO { *PrintableArea: PAIR(9478, 16054) *PrintableOrigin: PAIR(1170, 360) *switch: Resolution { *case: Option2 { *PrintableArea: PAIR(9476, 16052) *PrintableOrigin: PAIR(1172, 360) } } } } } *Option: Option8 { *rcNameID: 259 *PageDimensions: PAIR(7085, 10037) *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>0<1B>Cp" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(6553, 10037) *PrintableOrigin: PAIR(266, 0) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(6552, 10036) } *case: Option2 { *PrintableArea: PAIR(6548, 10036) *PrintableOrigin: PAIR(268, 0) } } } *case: AUTO { *PrintableArea: PAIR(6553, 9257) *PrintableOrigin: PAIR(266, 360) *switch: Resolution { *case: Option1 { *PrintableArea: PAIR(6552, 9256) } *case: Option2 { *PrintableArea: PAIR(6548, 9256) *PrintableOrigin: PAIR(268, 360) } } } } } *Option: B5 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>0<1B>CQ" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(4974, 7286) *PrintableOrigin: PAIR(94, 0) *switch: Resolution { *case: Option2 { *PrintableArea: PAIR(4972, 7284) *PrintableOrigin: PAIR(96, 0) } } } *case: AUTO { *PrintableArea: PAIR(4974, 6506) *PrintableOrigin: PAIR(94, 360) *switch: Resolution { *case: Option2 { *PrintableArea: PAIR(4972, 6504) *PrintableOrigin: PAIR(96, 360) } } } } } *Option: Option10 { *rcNameID: 260 *PageDimensions: PAIR(6840, 2974) *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>0<1B>CD" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(6480, 1894) *PrintableOrigin: PAIR(180, 504) *switch: Resolution { *case: Option2 { *PrintableArea: PAIR(6480, 1892) } } } *case: AUTO { *PrintableArea: PAIR(6480, 1894) *PrintableOrigin: PAIR(180, 504) *switch: Resolution { *case: Option2 { *PrintableArea: PAIR(6480, 1892) } } } } } *Option: Option11 { *rcNameID: 261 *PageDimensions: PAIR(6120, 7920) *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>C<000B>" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(5760, 7920) *PrintableOrigin: PAIR(180, 0) } *case: AUTO { *PrintableArea: PAIR(5760, 7140) *PrintableOrigin: PAIR(180, 360) } } } *Option: Option12 { *rcNameID: 262 *PageDimensions: PAIR(6120, 8640) *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>C<000C>" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(5760, 8640) *PrintableOrigin: PAIR(180, 0) } *case: AUTO { *PrintableArea: PAIR(5760, 7860) *PrintableOrigin: PAIR(180, 360) } } } *Option: FANFOLD_US { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>C<000B>" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(9792, 7920) *PrintableOrigin: PAIR(180, 0) } *case: AUTO { *PrintableArea: PAIR(9792, 7140) *PrintableOrigin: PAIR(180, 360) } } } *Option: Option14 { *rcNameID: 263 *PageDimensions: PAIR(10800, 8640) *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>C<000C>" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(9792, 8640) *PrintableOrigin: PAIR(180, 0) } *case: AUTO { *PrintableArea: PAIR(9792, 7860) *PrintableOrigin: PAIR(180, 360) } } } *Option: Option15 { *rcNameID: 264 *PageDimensions: PAIR(6120, 4320) *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>C<0006>" } *switch: InputBin { *case: TRACTOR { *PrintableArea: PAIR(5760, 4320) *PrintableOrigin: PAIR(180, 0) } *case: AUTO { *PrintableArea: PAIR(5760, 3540) *PrintableOrigin: PAIR(180, 360) } } } *Option: CUSTOMSIZE { *rcNameID: =USER_DEFINED_SIZE_DISPLAY *MinSize: PAIR(720, 720) *MaxSize: PAIR(11520, 15840) *MaxPrintableWidth: 9792 *MinLeftMargin: 0 *CenterPrintable?: FALSE *switch: InputBin { *case: TRACTOR { *TopMargin: 0 *BottomMargin: 0 } *case: AUTO { *TopMargin: 360 *BottomMargin: 420 } } } } *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.Option10) *Feature: PrintQuality { *rcNameID: =TEXT_QUALITY_DISPLAY *DefaultOption: Option1 *Option: Option1 { *rcNameID: 267 *Command: CmdSelect { *Order: DOC_SETUP.2 *Cmd: "<1B>G" } } *Option: Option2 { *rcNameID: 268 *Command: CmdSelect { *Order: DOC_SETUP.2 *Cmd: "<1B>H" } } } *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 } } *Command: CmdStartDoc { *Order: DOC_SETUP.1 *Cmd: "<1B>6<1B>5<001B>U<001B>O<12>" } *Command: CmdEndJob { *Order: JOB_FINISH.1 *Cmd: "<0D>" } *RotateCoordinate?: FALSE *RotateRaster?: FALSE *RotateFont?: FALSE *switch: Orientation { *case: PORTRAIT { *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE,TC_RA_ABLE) } *case: LANDSCAPE_CC270 { *TextCaps: LIST(TC_RA_ABLE) } } *CursorXAfterCR: AT_CURSOR_X_ORIGIN *YMoveThreshold: * *YMoveUnit: 360 *Command: CmdYMoveRelDown { *Cmd : "<1C>CJ<04>" %c[0,255]{max_repeat((DestYRel / 2) )} } *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 *switch: PaperSize { *case: CUSTOMSIZE { *EjectPageWithFF?: FALSE *switch: InputBin { *case: AUTO { *EjectPageWithFF?: TRUE } } } } *OutputDataFormat: V_BYTE *OptimizeLeftBound?: TRUE *CursorXAfterSendBlockData: AT_GRXDATA_END *CursorYAfterSendBlockData: NO_MOVE *DefaultFont: 61 *DefaultCTT: 1 *switch: Orientation { *case: PORTRAIT { *DeviceFonts: LIST(61,62,63,64,65,66,67) } *case: LANDSCAPE_CC270 { *DeviceFonts: LIST() } } *Command: CmdBoldOn { *Cmd : "<1B>G" } *Command: CmdBoldOff { *Cmd : "<1B>H" } *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" } *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" } *Command: CmdSelectSingleByteMode { *Cmd : "<1B>p<01>" } *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>p<00>" }