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.

364 lines
9.7 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "MT730735.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Mannesmann Tally MT 730/735"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "mt735res.dll"
  12. *PrinterType: PAGE
  13. *MaxCopies: 99
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. *Command: CmdSelect
  22. {
  23. *Order: DOC_SETUP.4
  24. *Cmd: "<1B>&l0o1E"
  25. }
  26. }
  27. *Option: LANDSCAPE_CC90
  28. {
  29. *rcNameID: =LANDSCAPE_DISPLAY
  30. *Command: CmdSelect
  31. {
  32. *Order: DOC_SETUP.4
  33. *Cmd: "<1B>&l1o1E"
  34. }
  35. }
  36. }
  37. *Feature: InputBin
  38. {
  39. *rcNameID: =PAPER_SOURCE_DISPLAY
  40. *DefaultOption: AUTO
  41. *Option: AUTO
  42. {
  43. *rcNameID: =AUTO_DISPLAY
  44. }
  45. }
  46. *Feature: Resolution
  47. {
  48. *rcNameID: =RESOLUTION_DISPLAY
  49. *DefaultOption: Option1
  50. *Option: Option1
  51. {
  52. *Name: "300 x 300 " =DOTS_PER_INCH
  53. *DPI: PAIR(300, 300)
  54. *TextDPI: PAIR(300, 300)
  55. *MinStripBlankPixels: 32
  56. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  57. *SpotDiameter: 100
  58. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  59. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  60. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  61. *Command: CmdSelect
  62. {
  63. *Order: DOC_SETUP.5
  64. *Cmd: "<1B>*t300R"
  65. }
  66. }
  67. *Option: Option2
  68. {
  69. *Name: "150 x 150 " =DOTS_PER_INCH
  70. *DPI: PAIR(150, 150)
  71. *TextDPI: PAIR(300, 300)
  72. *MinStripBlankPixels: 32
  73. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  74. *SpotDiameter: 100
  75. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  76. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  77. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  78. *Command: CmdSelect
  79. {
  80. *Order: DOC_SETUP.5
  81. *Cmd: "<1B>*t150R"
  82. }
  83. }
  84. }
  85. *Feature: PaperSize
  86. {
  87. *rcNameID: =PAPER_SIZE_DISPLAY
  88. *DefaultOption: LETTER
  89. *Option: LETTER
  90. {
  91. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  92. *PrintableArea: PAIR(2370, 3150)
  93. *PrintableOrigin: PAIR(75, 75)
  94. *switch: Resolution
  95. {
  96. *case: Option2
  97. {
  98. *PrintableArea: PAIR(2368, 3148)
  99. *PrintableOrigin: PAIR(76, 76)
  100. }
  101. }
  102. *CursorOrigin: PAIR(50, 65)
  103. *Command: CmdSelect
  104. {
  105. *Order: DOC_SETUP.3
  106. *Cmd: "<1B>&l2a4d1e42F"
  107. }
  108. }
  109. *Option: LEGAL
  110. {
  111. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  112. *PrintableArea: PAIR(2370, 4050)
  113. *PrintableOrigin: PAIR(75, 75)
  114. *switch: Resolution
  115. {
  116. *case: Option2
  117. {
  118. *PrintableArea: PAIR(2368, 4048)
  119. *PrintableOrigin: PAIR(76, 76)
  120. }
  121. }
  122. *CursorOrigin: PAIR(50, 65)
  123. *Command: CmdSelect
  124. {
  125. *Order: DOC_SETUP.3
  126. *Cmd: "<1B>&l3a4d1e54F"
  127. }
  128. }
  129. *Option: EXECUTIVE
  130. {
  131. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  132. *PrintableArea: PAIR(1995, 3000)
  133. *PrintableOrigin: PAIR(75, 75)
  134. *switch: Resolution
  135. {
  136. *case: Option2
  137. {
  138. *PrintableArea: PAIR(1994, 2998)
  139. *PrintableOrigin: PAIR(76, 76)
  140. }
  141. }
  142. *CursorOrigin: PAIR(50, 65)
  143. *Command: CmdSelect
  144. {
  145. *Order: DOC_SETUP.3
  146. *Cmd: "<1B>&l1a4d1e40F"
  147. }
  148. }
  149. *Option: A4
  150. {
  151. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  152. *PrintableArea: PAIR(2321, 3367)
  153. *PrintableOrigin: PAIR(55, 65)
  154. *switch: Resolution
  155. {
  156. *case: Option2
  157. {
  158. *PrintableArea: PAIR(2320, 3366)
  159. *PrintableOrigin: PAIR(56, 66)
  160. }
  161. }
  162. *CursorOrigin: PAIR(50, 65)
  163. *Command: CmdSelect
  164. {
  165. *Order: DOC_SETUP.3
  166. *Cmd: "<1B>&l26a4d1e45F"
  167. }
  168. }
  169. *Option: ENV_10
  170. {
  171. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  172. *PrintableArea: PAIR(1059, 2700)
  173. *PrintableOrigin: PAIR(75, 75)
  174. *switch: Resolution
  175. {
  176. *case: Option2
  177. {
  178. *PrintableArea: PAIR(1058, 2698)
  179. *PrintableOrigin: PAIR(76, 76)
  180. }
  181. }
  182. *CursorOrigin: PAIR(50, 65)
  183. *Command: CmdSelect
  184. {
  185. *Order: DOC_SETUP.3
  186. *Cmd: "<1B>&l81a4d1E"
  187. }
  188. }
  189. *Option: ENV_DL
  190. {
  191. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  192. *PrintableArea: PAIR(1119, 2448)
  193. *PrintableOrigin: PAIR(75, 75)
  194. *switch: Resolution
  195. {
  196. *case: Option2
  197. {
  198. *PrintableArea: PAIR(1118, 2446)
  199. *PrintableOrigin: PAIR(76, 76)
  200. }
  201. }
  202. *CursorOrigin: PAIR(50, 65)
  203. *Command: CmdSelect
  204. {
  205. *Order: DOC_SETUP.3
  206. *Cmd: "<1B>&l90a4d1E"
  207. }
  208. }
  209. *Option: ENV_C5
  210. {
  211. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  212. *PrintableArea: PAIR(1734, 2556)
  213. *PrintableOrigin: PAIR(75, 75)
  214. *switch: Resolution
  215. {
  216. *case: Option2
  217. {
  218. *PrintableArea: PAIR(1732, 2554)
  219. *PrintableOrigin: PAIR(76, 76)
  220. }
  221. }
  222. *CursorOrigin: PAIR(50, 65)
  223. *Command: CmdSelect
  224. {
  225. *Order: DOC_SETUP.3
  226. *Cmd: "<1B>&l91a4d1E"
  227. }
  228. }
  229. *Option: ENV_MONARCH
  230. {
  231. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  232. *PrintableArea: PAIR(978, 2100)
  233. *PrintableOrigin: PAIR(75, 75)
  234. *switch: Resolution
  235. {
  236. *case: Option2
  237. {
  238. *PrintableArea: PAIR(976, 2098)
  239. *PrintableOrigin: PAIR(76, 76)
  240. }
  241. }
  242. *CursorOrigin: PAIR(50, 65)
  243. *Command: CmdSelect
  244. {
  245. *Order: DOC_SETUP.3
  246. *Cmd: "<1B>&l80a4d1E"
  247. }
  248. }
  249. }
  250. *Feature: Halftone
  251. {
  252. *rcNameID: =HALFTONING_DISPLAY
  253. *DefaultOption: HT_PATSIZE_AUTO
  254. *Option: HT_PATSIZE_AUTO
  255. {
  256. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  257. }
  258. *Ifdef: WINNT_50
  259. *Option: HT_PATSIZE_SUPERCELL_M
  260. {
  261. *rcNameID: =HT_SUPERCELL_DISPLAY
  262. }
  263. *Endif:
  264. *Option: HT_PATSIZE_6x6_M
  265. {
  266. *rcNameID: =HT_DITHER6X6_DISPLAY
  267. }
  268. *Option: HT_PATSIZE_8x8_M
  269. {
  270. *rcNameID: =HT_DITHER8X8_DISPLAY
  271. }
  272. }
  273. *Feature: Memory
  274. {
  275. *rcNameID: =PRINTER_MEMORY_DISPLAY
  276. *DefaultOption: 1024KB
  277. *Option: 1024KB
  278. {
  279. *Name: "1MB"
  280. *MemoryConfigKB: PAIR(1024, 907)
  281. }
  282. }
  283. *Command: CmdStartDoc
  284. {
  285. *Order: DOC_SETUP.1
  286. *Cmd: "<1B>E<1B>&l0L"
  287. }
  288. *Command: CmdStartPage
  289. {
  290. *Order: PAGE_SETUP.1
  291. *Cmd: "<0D>"
  292. }
  293. *Command: CmdEndJob
  294. {
  295. *Order: JOB_FINISH.1
  296. *Cmd: "<1B>E"
  297. }
  298. *Command: CmdCopies
  299. {
  300. *Order: PAGE_SETUP.7
  301. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  302. }
  303. *RotateCoordinate?: TRUE
  304. *RotateRaster?: FALSE
  305. *RotateFont?: FALSE
  306. *TextCaps: LIST(TC_UA_ABLE)
  307. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  308. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  309. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  310. *XMoveThreshold: 0
  311. *YMoveThreshold: 0
  312. *XMoveUnit: 300
  313. *YMoveUnit: 300
  314. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  315. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
  316. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{max_repeat(DestXRel )}"X" }
  317. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  318. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,3150]{max_repeat(DestYRel )}"Y" }
  319. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,3150]{max_repeat(DestYRel )}"Y" }
  320. *Command: CmdCR { *Cmd : "<0D>" }
  321. *Command: CmdLF { *Cmd : "<0A>" }
  322. *Command: CmdFF { *Cmd : "<0C>" }
  323. *Command: CmdBackSpace { *Cmd : "<08>" }
  324. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  325. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  326. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  327. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  328. *EjectPageWithFF?: TRUE
  329. *OutputDataFormat: H_BYTE
  330. *OptimizeLeftBound?: TRUE
  331. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  332. *CursorYAfterSendBlockData: AUTO_INCREMENT
  333. *DefaultFont: 5
  334. *DefaultCTT: 0
  335. *CharPosition: BASELINE
  336. *switch: Orientation
  337. {
  338. *case: PORTRAIT
  339. {
  340. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  341. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32)
  342. }
  343. *case: LANDSCAPE_CC90
  344. {
  345. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  346. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32)
  347. }
  348. }
  349. *MinFontID: 1
  350. *MaxFontID: 99
  351. *MaxNumDownFonts: 32
  352. *FontFormat: HPPCL
  353. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  354. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  355. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  356. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  357. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  358. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>(s1P" }
  359. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>(s0P" }
  360. *MinGrayFill: 1
  361. *MaxGrayFill: 100
  362. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  363. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  364. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }