Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

391 lines
10 KiB

*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*GPDFileName: "t3016.GPD"
*ModelName: "Tally T3016"
*MasterUnits: PAIR(720, 720)
*ResourceDLL: "T3016.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: 264
*OptionID: 264
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[5;;3{"
}
}
*Option: Option2
{
*rcNameID: 265
*OptionID: 265
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[6;;3{"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[0;;3{"
}
}
*Option: Option4
{
*rcNameID: 267
*OptionID: 267
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[21;;3{"
}
}
*Option: Option5
{
*rcNameID: 268
*OptionID: 268
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[22;;3{"
}
}
*Option: Option6
{
*rcNameID: 269
*OptionID: 269
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[23;;3{"
}
}
}
*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: 216
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdSendBlockData { *Cmd : "<1B>[$2" %l{NumOfDataBytes / 6} }
}
*Option: Option2
{
*Name: "180 x 360 " =DOTS_PER_INCH
*DPI: PAIR(180, 360)
*TextDPI: PAIR(180, 360)
*PinsPerLogPass: 48
*PinsPerPhysPass: 48
*MinStripBlankPixels: 108
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdSendBlockData { *Cmd : "<1B>[$1" %l{NumOfDataBytes / 6} }
}
*Option: Option3
{
*Name: "360 x 180 " =DOTS_PER_INCH
*DPI: PAIR(360, 180)
*TextDPI: PAIR(360, 180)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 270
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
}
*Option: Option4
{
*Name: "180 x 180 " =DOTS_PER_INCH
*DPI: PAIR(180, 180)
*TextDPI: PAIR(180, 180)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 135
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
}
*Option: Option5
{
*Name: "120 x 180 " =DOTS_PER_INCH
*DPI: PAIR(120, 180)
*TextDPI: PAIR(120, 180)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 90
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 258
*OptionID: 258
*PageDimensions: PAIR(6120, 8640)
*PrintableArea: PAIR(6120, 8640)
*PrintableOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>C<000C>"
}
}
*Option: Option2
{
*rcNameID: 259
*OptionID: 259
*PageDimensions: PAIR(5952, 8420)
*PrintableArea: PAIR(5664, 8132)
*PrintableOrigin: PAIR(144, 144)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>[8419t"
}
}
*Option: Option3
{
*rcNameID: 260
*OptionID: 260
*PageDimensions: PAIR(4200, 5952)
*PrintableArea: PAIR(3912, 5664)
*PrintableOrigin: PAIR(144, 144)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>[5952t"
}
}
*Option: Option4
{
*rcNameID: 261
*OptionID: 261
*PageDimensions: PAIR(8424, 11904)
*PrintableArea: PAIR(8136, 11616)
*PrintableOrigin: PAIR(144, 144)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>[11906t"
}
}
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5832, 7632)
*PrintableOrigin: PAIR(144, 144)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>C<000B>"
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5832, 9792)
*PrintableOrigin: PAIR(144, 144)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>C<000E>"
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(4932, 7272)
*PrintableOrigin: PAIR(144, 144)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>C?"
}
}
*Option: Option8
{
*rcNameID: 262
*OptionID: 262
*PageDimensions: PAIR(9720, 8640)
*PrintableArea: PAIR(9720, 8640)
*PrintableOrigin: PAIR(0, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>C<000C>"
}
}
*Option: Option9
{
*rcNameID: 263
*OptionID: 263
*PageDimensions: PAIR(10710, 7920)
*PrintableArea: PAIR(9792, 7920)
*PrintableOrigin: PAIR(456, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>C<000B>"
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(720, 720)
*MaxSize: PAIR(11520, 15840)
*MaxPrintableWidth: 9792
*MinLeftMargin: 0
*CenterPrintable?: FALSE
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[" %d{((PhysPaperLength * 2) / 2) }"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
}
}
*Feature: Duplex
{
*rcNameID: =TWO_SIDED_PRINTING_DISPLAY
*DefaultOption: NONE
*Option: NONE
{
*rcNameID: =NONE_DISPLAY
}
*Option: VERTICAL
{
*rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
}
*Option: HORIZONTAL
{
*rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<1B>[6~<1B>[?6~<1B>t<011B>6<1B>(r<1B>[11h<1B>[0;0 D<1B>[1;1 D<1B>[2;2 D<1B>[3;3"
+ " D<1B>[4;4 D<1B>[5;5 D<1B>[6;6 D<1B>[?52h"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>[6~"
}
*Command: CmdEndPage
{
*Order: PAGE_FINISH.1
*Cmd: "<1B>[54{"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_OP_CHARACTER,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,14400]{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?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultFont: 1
*DefaultCTT: 1
*switch: Orientation
{
*case: PORTRAIT
{
*DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
+ 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
+ 33,34,35,36,37,38,39,40,41,42,43,44,45,46)
}
*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" }