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.

311 lines
7.8 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "T7110M.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Tally T7110 (Monochrome)"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "tly3res.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: AUTO
  30. *Option: AUTO
  31. {
  32. *rcNameID: =AUTO_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.3
  36. *Cmd: "<1B>&l1H"
  37. }
  38. }
  39. }
  40. *Feature: Resolution
  41. {
  42. *rcNameID: =RESOLUTION_DISPLAY
  43. *DefaultOption: Option1
  44. *Option: Option1
  45. {
  46. *Name: "300 x 300 " =DOTS_PER_INCH
  47. *DPI: PAIR(300, 300)
  48. *TextDPI: PAIR(300, 300)
  49. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  50. *SpotDiameter: 100
  51. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  52. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  53. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  54. *Command: CmdSelect
  55. {
  56. *Order: DOC_SETUP.6
  57. *Cmd: "<1B>*t300R"
  58. }
  59. }
  60. *Option: Option2
  61. {
  62. *Name: "150 x 150 " =DOTS_PER_INCH
  63. *DPI: PAIR(150, 150)
  64. *TextDPI: PAIR(300, 300)
  65. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  66. *SpotDiameter: 100
  67. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  68. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  69. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  70. *Command: CmdSelect
  71. {
  72. *Order: DOC_SETUP.6
  73. *Cmd: "<1B>*t150R"
  74. }
  75. }
  76. *Option: Option3
  77. {
  78. *Name: "75 x 75 " =DOTS_PER_INCH
  79. *DPI: PAIR(75, 75)
  80. *TextDPI: PAIR(300, 300)
  81. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  82. *SpotDiameter: 100
  83. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  84. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  85. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  86. *Command: CmdSelect
  87. {
  88. *Order: DOC_SETUP.6
  89. *Cmd: "<1B>*t75R"
  90. }
  91. }
  92. *Option: Option4
  93. {
  94. *Name: "600 x 300 " =DOTS_PER_INCH
  95. *DPI: PAIR(600, 300)
  96. *TextDPI: PAIR(600, 300)
  97. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  98. *SpotDiameter: 200
  99. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  100. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  101. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  102. *Command: CmdSelect
  103. {
  104. *Order: DOC_SETUP.6
  105. *Cmd: "<1B>*g8W<020102>X<01>,<0002>"
  106. *% *Cmd: "<1B>*g8W<020102>X<012C>,<0002>"
  107. }
  108. }
  109. }
  110. *Feature: PaperSize
  111. {
  112. *rcNameID: =PAPER_SIZE_DISPLAY
  113. *DefaultOption: LETTER
  114. *Option: LETTER
  115. {
  116. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  117. *PrintableArea: PAIR(4796, 6162)
  118. *PrintableOrigin: PAIR(84, 132)
  119. *Command: CmdSelect
  120. {
  121. *Order: DOC_SETUP.5
  122. *Cmd: "<1B>&l2A"
  123. }
  124. }
  125. *Option: LEGAL
  126. {
  127. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  128. *PrintableArea: PAIR(4796, 7962)
  129. *PrintableOrigin: PAIR(84, 132)
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.5
  133. *Cmd: "<1B>&l3A"
  134. }
  135. }
  136. *Option: A4
  137. {
  138. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  139. *PrintableArea: PAIR(4794, 6576)
  140. *PrintableOrigin: PAIR(84, 132)
  141. *Command: CmdSelect
  142. {
  143. *Order: DOC_SETUP.5
  144. *Cmd: "<1B>&l26A"
  145. }
  146. }
  147. *Option: A5
  148. {
  149. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  150. *PrintableArea: PAIR(3352, 4510)
  151. *PrintableOrigin: PAIR(78, 24)
  152. *Command: CmdSelect
  153. {
  154. *Order: DOC_SETUP.5
  155. *Cmd: "<1B>&l25A"
  156. }
  157. }
  158. }
  159. *Feature: MediaType
  160. {
  161. *rcNameID: =MEDIA_TYPE_DISPLAY
  162. *DefaultOption: STANDARD
  163. *Option: STANDARD
  164. {
  165. *rcNameID: =PLAIN_PAPER_DISPLAY
  166. *Command: CmdSelect
  167. {
  168. *Order: PAGE_SETUP.8
  169. *Cmd: "<1B>&l0M"
  170. }
  171. }
  172. *Option: TRANSPARENCY
  173. {
  174. *rcNameID: =TRANSPARENCY_DISPLAY
  175. *Command: CmdSelect
  176. {
  177. *Order: PAGE_SETUP.8
  178. *Cmd: "<1B>&l4M"
  179. }
  180. }
  181. }
  182. *Feature: PrintQuality
  183. {
  184. *rcNameID: =TEXT_QUALITY_DISPLAY
  185. *DefaultOption: Option1
  186. *Option: Option1
  187. {
  188. *rcNameID: 272
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.4
  192. *Cmd: "<1B>*o0M"
  193. }
  194. }
  195. *Option: Option2
  196. {
  197. *rcNameID: 273
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.4
  201. *Cmd: "<1B>*o-1M"
  202. }
  203. }
  204. *Option: Option3
  205. {
  206. *rcNameID: 274
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.4
  210. *Cmd: "<1B>*o1M"
  211. }
  212. }
  213. }
  214. *Feature: Halftone
  215. {
  216. *rcNameID: =HALFTONING_DISPLAY
  217. *DefaultOption: HT_PATSIZE_AUTO
  218. *Option: HT_PATSIZE_AUTO
  219. {
  220. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  221. }
  222. *Ifdef: WINNT_50
  223. *Option: HT_PATSIZE_SUPERCELL_M
  224. {
  225. *rcNameID: =HT_SUPERCELL_DISPLAY
  226. }
  227. *Endif:
  228. *Option: HT_PATSIZE_6x6_M
  229. {
  230. *rcNameID: =HT_DITHER6X6_DISPLAY
  231. }
  232. *Option: HT_PATSIZE_8x8_M
  233. {
  234. *rcNameID: =HT_DITHER8X8_DISPLAY
  235. }
  236. }
  237. *Command: CmdStartDoc
  238. {
  239. *Order: DOC_SETUP.1
  240. *Cmd: "<1B>E<1B>&l0L<1B>*r1U"
  241. }
  242. *Command: CmdStartPage
  243. {
  244. *Order: PAGE_SETUP.1
  245. *Cmd: "<0D>"
  246. }
  247. *Command: CmdEndJob
  248. {
  249. *Order: JOB_FINISH.1
  250. *Cmd: "<1B>E"
  251. }
  252. *Command: CmdEndPage
  253. {
  254. *Order: PAGE_FINISH.1
  255. *Cmd: "<0D>"
  256. }
  257. *RotateCoordinate?: FALSE
  258. *RotateRaster?: FALSE
  259. *RotateFont?: FALSE
  260. *switch: Orientation
  261. {
  262. *case: PORTRAIT
  263. {
  264. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  265. }
  266. *case: LANDSCAPE_CC270
  267. {
  268. *TextCaps: LIST()
  269. }
  270. }
  271. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  272. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  273. *XMoveThreshold: 0
  274. *YMoveThreshold: *
  275. *XMoveUnit: 300
  276. *YMoveUnit: 300
  277. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  278. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  279. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  280. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  281. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  282. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  283. *Command: CmdCR { *Cmd : "<0D>" }
  284. *Command: CmdLF { *Cmd : "<0A>" }
  285. *Command: CmdFF { *Cmd : "<0C>" }
  286. *EjectPageWithFF?: TRUE
  287. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  288. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  289. *OutputDataFormat: H_BYTE
  290. *OptimizeLeftBound?: FALSE
  291. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  292. *CursorYAfterSendBlockData: AUTO_INCREMENT
  293. *LookAheadRegion: 360
  294. *DefaultFont: 1
  295. *DefaultCTT: 0
  296. *CharPosition: BASELINE
  297. *switch: Orientation
  298. {
  299. *case: PORTRAIT
  300. {
  301. *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,
  302. + 27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,
  303. + 53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74)
  304. }
  305. *case: LANDSCAPE_CC270
  306. {
  307. *DeviceFonts: LIST()
  308. }
  309. }
  310. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  311. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }