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.

395 lines
10 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "MT98.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Mannesmann Tally MT 98/99"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "hpdjres.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. *Option: MANUAL
  40. {
  41. *rcNameID: =MANUAL_FEED_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.3
  45. *Cmd: "<1B>&l2H"
  46. }
  47. }
  48. }
  49. *Feature: Resolution
  50. {
  51. *rcNameID: =RESOLUTION_DISPLAY
  52. *DefaultOption: Option1
  53. *Option: Option1
  54. {
  55. *Name: "300 x 300 " =DOTS_PER_INCH
  56. *DPI: PAIR(300, 300)
  57. *TextDPI: PAIR(300, 300)
  58. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  59. *SpotDiameter: 100
  60. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  61. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  62. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  63. *Command: CmdSelect
  64. {
  65. *Order: DOC_SETUP.6
  66. *Cmd: "<1B>*t300R"
  67. }
  68. }
  69. *Option: Option2
  70. {
  71. *Name: "150 x 150 " =DOTS_PER_INCH
  72. *DPI: PAIR(150, 150)
  73. *TextDPI: PAIR(300, 300)
  74. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  75. *SpotDiameter: 100
  76. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  77. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  78. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.6
  82. *Cmd: "<1B>*t150R"
  83. }
  84. }
  85. *Option: Option3
  86. {
  87. *Name: "75 x 75 " =DOTS_PER_INCH
  88. *DPI: PAIR(75, 75)
  89. *TextDPI: PAIR(300, 300)
  90. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  91. *SpotDiameter: 100
  92. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  93. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  94. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  95. *Command: CmdSelect
  96. {
  97. *Order: DOC_SETUP.6
  98. *Cmd: "<1B>*t75R"
  99. }
  100. }
  101. }
  102. *Feature: PaperSize
  103. {
  104. *rcNameID: =PAPER_SIZE_DISPLAY
  105. *DefaultOption: LETTER
  106. *Option: LETTER
  107. {
  108. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  109. *PrintableArea: PAIR(4800, 6050)
  110. *PrintableOrigin: PAIR(150, 150)
  111. *switch: Resolution
  112. {
  113. *case: Option2
  114. {
  115. *PrintableArea: PAIR(4796, 6048)
  116. *PrintableOrigin: PAIR(152, 152)
  117. }
  118. *case: Option3
  119. {
  120. *PrintableArea: PAIR(4792, 6048)
  121. *PrintableOrigin: PAIR(152, 152)
  122. }
  123. }
  124. *CursorOrigin: PAIR(150, 90)
  125. *Command: CmdSelect
  126. {
  127. *Order: DOC_SETUP.5
  128. *Cmd: "<1B>&l2A"
  129. }
  130. }
  131. *Option: LEGAL
  132. {
  133. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  134. *PrintableArea: PAIR(4800, 7850)
  135. *PrintableOrigin: PAIR(150, 150)
  136. *switch: Resolution
  137. {
  138. *case: Option2
  139. {
  140. *PrintableArea: PAIR(4796, 7848)
  141. *PrintableOrigin: PAIR(152, 152)
  142. }
  143. *case: Option3
  144. {
  145. *PrintableArea: PAIR(4792, 7848)
  146. *PrintableOrigin: PAIR(152, 152)
  147. }
  148. }
  149. *CursorOrigin: PAIR(150, 90)
  150. *Command: CmdSelect
  151. {
  152. *Order: DOC_SETUP.5
  153. *Cmd: "<1B>&l3A"
  154. }
  155. }
  156. *Option: A4
  157. {
  158. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  159. *PrintableArea: PAIR(4800, 6464)
  160. *PrintableOrigin: PAIR(76, 150)
  161. *switch: Resolution
  162. {
  163. *case: Option2
  164. {
  165. *PrintableArea: PAIR(4800, 6460)
  166. *PrintableOrigin: PAIR(76, 152)
  167. }
  168. *case: Option3
  169. {
  170. *PrintableArea: PAIR(4792, 6456)
  171. *PrintableOrigin: PAIR(80, 152)
  172. }
  173. }
  174. *CursorOrigin: PAIR(76, 90)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.5
  178. *Cmd: "<1B>&l26A"
  179. }
  180. }
  181. *Option: ENV_10
  182. {
  183. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  184. *RotateSize? : TRUE
  185. *PrintableArea: PAIR(4800, 1578)
  186. *PrintableOrigin: PAIR(200, 500)
  187. *switch: Resolution
  188. {
  189. *case: Option2
  190. {
  191. *PrintableArea: PAIR(4800, 1576)
  192. }
  193. *case: Option3
  194. {
  195. *PrintableArea: PAIR(4800, 1568)
  196. *PrintableOrigin: PAIR(200, 504)
  197. }
  198. }
  199. *CursorOrigin: PAIR(450, 50)
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.5
  203. *Cmd: "<1B>&l81A"
  204. }
  205. }
  206. *Option: ENV_DL
  207. {
  208. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  209. *PrintableArea: PAIR(1698, 4736)
  210. *PrintableOrigin: PAIR(450, 60)
  211. *switch: Resolution
  212. {
  213. *case: Option2
  214. {
  215. *PrintableArea: PAIR(1696, 4736)
  216. *PrintableOrigin: PAIR(452, 60)
  217. }
  218. *case: Option3
  219. {
  220. *PrintableArea: PAIR(1688, 4728)
  221. *PrintableOrigin: PAIR(456, 64)
  222. }
  223. }
  224. *CursorOrigin: PAIR(450, 50)
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.5
  228. *Cmd: "<1B>&l6d0e26P"
  229. }
  230. }
  231. *Option: ENV_C5
  232. {
  233. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  234. *PrintableArea: PAIR(2928, 4952)
  235. *PrintableOrigin: PAIR(450, 60)
  236. *switch: Resolution
  237. {
  238. *case: Option2
  239. {
  240. *PrintableArea: PAIR(2924, 4952)
  241. *PrintableOrigin: PAIR(452, 60)
  242. }
  243. *case: Option3
  244. {
  245. *PrintableArea: PAIR(2920, 4944)
  246. *PrintableOrigin: PAIR(456, 64)
  247. }
  248. }
  249. *CursorOrigin: PAIR(450, 50)
  250. *Command: CmdSelect
  251. {
  252. *Order: DOC_SETUP.5
  253. *Cmd: "<1B>&l8d0e51P"
  254. }
  255. }
  256. *Option: CUSTOMSIZE
  257. {
  258. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  259. *MinSize: PAIR(600, 600)
  260. *MaxSize: PAIR(5100, 7800)
  261. *MaxPrintableWidth: 4800
  262. *MinLeftMargin: 0
  263. *CenterPrintable?: FALSE
  264. *TopMargin: 0
  265. *BottomMargin: 400
  266. *Command: CmdSelect
  267. {
  268. *Order: DOC_SETUP.5
  269. *Cmd: "<1B>&l12d0e" %d{(PhysPaperLength / 25) }"P"
  270. }
  271. }
  272. }
  273. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  274. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  275. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  276. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  277. *Feature: PrintQuality
  278. {
  279. *rcNameID: =TEXT_QUALITY_DISPLAY
  280. *DefaultOption: Option1
  281. *Option: Option1
  282. {
  283. *rcNameID: 272
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.4
  287. *Cmd: "<1B>(s2Q<1B>*r2Q"
  288. }
  289. }
  290. *Option: Option2
  291. {
  292. *rcNameID: 273
  293. *Command: CmdSelect
  294. {
  295. *Order: DOC_SETUP.4
  296. *Cmd: "<1B>(s0Q<1B>*r0Q"
  297. }
  298. }
  299. }
  300. *Feature: Halftone
  301. {
  302. *rcNameID: =HALFTONING_DISPLAY
  303. *DefaultOption: HT_PATSIZE_AUTO
  304. *Option: HT_PATSIZE_AUTO
  305. {
  306. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  307. }
  308. *Ifdef: WINNT_50
  309. *Option: HT_PATSIZE_SUPERCELL_M
  310. {
  311. *rcNameID: =HT_SUPERCELL_DISPLAY
  312. }
  313. *Endif:
  314. *Option: HT_PATSIZE_6x6_M
  315. {
  316. *rcNameID: =HT_DITHER6X6_DISPLAY
  317. }
  318. *Option: HT_PATSIZE_8x8_M
  319. {
  320. *rcNameID: =HT_DITHER8X8_DISPLAY
  321. }
  322. }
  323. *Command: CmdStartDoc
  324. {
  325. *Order: DOC_SETUP.1
  326. *Cmd: "<1B>E<1B>&l0O<1B>&l0L"
  327. }
  328. *Command: CmdStartPage
  329. {
  330. *Order: PAGE_SETUP.1
  331. *Cmd: "<0D>"
  332. }
  333. *Command: CmdEndJob
  334. {
  335. *Order: JOB_FINISH.1
  336. *Cmd: "<1B>E"
  337. }
  338. *Command: CmdEndPage
  339. {
  340. *Order: PAGE_FINISH.1
  341. *Cmd: "<0D>"
  342. }
  343. *RotateCoordinate?: FALSE
  344. *RotateRaster?: FALSE
  345. *RotateFont?: FALSE
  346. *switch: Orientation
  347. {
  348. *case: PORTRAIT
  349. {
  350. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  351. }
  352. *case: LANDSCAPE_CC270
  353. {
  354. *TextCaps: LIST()
  355. }
  356. }
  357. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  358. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  359. *XMoveThreshold: 0
  360. *YMoveThreshold: *
  361. *XMoveUnit: 300
  362. *YMoveUnit: 300
  363. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  364. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  365. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  366. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  367. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  368. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  369. *Command: CmdCR { *Cmd : "<0D>" }
  370. *Command: CmdLF { *Cmd : "<0A>" }
  371. *Command: CmdFF { *Cmd : "<0C>" }
  372. *EjectPageWithFF?: TRUE
  373. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  374. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  375. *OutputDataFormat: H_BYTE
  376. *OptimizeLeftBound?: FALSE
  377. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  378. *CursorYAfterSendBlockData: AUTO_INCREMENT
  379. *LookAheadRegion: 360
  380. *DefaultFont: 1
  381. *DefaultCTT: 0
  382. *CharPosition: BASELINE
  383. *switch: Orientation
  384. {
  385. *case: PORTRAIT
  386. {
  387. *DeviceFonts: LIST(1,7,8,69,70,71)
  388. }
  389. *case: LANDSCAPE_CC270
  390. {
  391. *DeviceFonts: LIST()
  392. }
  393. }
  394. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  395. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }