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.

564 lines
16 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "MT9208.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *Include: "ttfsub.gpd"
  10. *ModelName: "Mannesmann Tally T9208"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "mtpclres.dll"
  13. *PrinterType: PAGE
  14. *MaxCopies: 32767
  15. *Feature: Orientation
  16. {
  17. *rcNameID: =ORIENTATION_DISPLAY
  18. *DefaultOption: PORTRAIT
  19. *Option: PORTRAIT
  20. {
  21. *rcNameID: =PORTRAIT_DISPLAY
  22. *Command: CmdSelect
  23. {
  24. *Order: DOC_SETUP.8
  25. *Cmd: "<1B>&l0O"
  26. }
  27. }
  28. *Option: LANDSCAPE_CC90
  29. {
  30. *rcNameID: =LANDSCAPE_DISPLAY
  31. *Command: CmdSelect
  32. {
  33. *Order: DOC_SETUP.8
  34. *Cmd: "<1B>&l1O"
  35. }
  36. }
  37. }
  38. *Feature: InputBin
  39. {
  40. *rcNameID: =PAPER_SOURCE_DISPLAY
  41. *DefaultOption: Option1
  42. *Option: Option1
  43. {
  44. *rcNameID: 271
  45. *Command: CmdSelect
  46. {
  47. *Order: DOC_SETUP.11
  48. *Cmd: "<1B>&l0H"
  49. }
  50. }
  51. *Option: UPPER
  52. {
  53. *rcNameID: =UPPER_TRAY_DISPLAY
  54. *Command: CmdSelect
  55. {
  56. *Order: DOC_SETUP.11
  57. *Cmd: "<1B>&l1H"
  58. }
  59. }
  60. *Option: MANUAL
  61. {
  62. *rcNameID: =MANUAL_FEED_DISPLAY
  63. *Command: CmdSelect
  64. {
  65. *Order: DOC_SETUP.11
  66. *Cmd: "<1B>&l2H"
  67. }
  68. }
  69. *Option: LOWER
  70. {
  71. *rcNameID: =LOWER_TRAY_DISPLAY
  72. *Command: CmdSelect
  73. {
  74. *Order: DOC_SETUP.11
  75. *Cmd: "<1B>&l5H"
  76. }
  77. }
  78. }
  79. *Feature: Resolution
  80. {
  81. *rcNameID: =RESOLUTION_DISPLAY
  82. *DefaultOption: Option1
  83. *Option: Option1
  84. {
  85. *Name: "600 x 600 " =DOTS_PER_INCH
  86. *DPI: PAIR(600, 600)
  87. *TextDPI: PAIR(600, 600)
  88. *MinStripBlankPixels: 32
  89. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  90. *SpotDiameter: 100
  91. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  92. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  93. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.6
  97. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  98. }
  99. }
  100. *Option: Option2
  101. {
  102. *Name: "300 x 300 " =DOTS_PER_INCH
  103. *DPI: PAIR(300, 300)
  104. *TextDPI: PAIR(300, 300)
  105. *MinStripBlankPixels: 32
  106. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  107. *SpotDiameter: 100
  108. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  109. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  110. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  111. *Command: CmdSelect
  112. {
  113. *Order: DOC_SETUP.6
  114. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  115. }
  116. }
  117. }
  118. *Feature: PaperSize
  119. {
  120. *rcNameID: =PAPER_SIZE_DISPLAY
  121. *DefaultOption: LETTER
  122. *Option: LETTER
  123. {
  124. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  125. *switch: Orientation
  126. {
  127. *case: PORTRAIT
  128. {
  129. *PrintableArea: PAIR(9600, 12648)
  130. *PrintableOrigin: PAIR(300, 300)
  131. *CursorOrigin: PAIR(300, 180)
  132. *Command: CmdSelect
  133. {
  134. *Order: DOC_SETUP.12
  135. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  136. }
  137. }
  138. *case: LANDSCAPE_CC90
  139. {
  140. *PrintableArea: PAIR(9760, 12688)
  141. *PrintableOrigin: PAIR(200, 272)
  142. *CursorOrigin: PAIR(200, 12960)
  143. *Command: CmdSelect
  144. {
  145. *Order: DOC_SETUP.12
  146. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  147. }
  148. }
  149. }
  150. }
  151. *Option: LEGAL
  152. {
  153. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  154. *switch: Orientation
  155. {
  156. *case: PORTRAIT
  157. {
  158. *PrintableArea: PAIR(9600, 16248)
  159. *PrintableOrigin: PAIR(300, 300)
  160. *CursorOrigin: PAIR(300, 180)
  161. *Command: CmdSelect
  162. {
  163. *Order: DOC_SETUP.12
  164. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  165. }
  166. }
  167. *case: LANDSCAPE_CC90
  168. {
  169. *PrintableArea: PAIR(9760, 16284)
  170. *PrintableOrigin: PAIR(200, 276)
  171. *CursorOrigin: PAIR(200, 16560)
  172. *Command: CmdSelect
  173. {
  174. *Order: DOC_SETUP.12
  175. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  176. }
  177. }
  178. }
  179. }
  180. *Option: EXECUTIVE
  181. {
  182. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  183. *switch: Orientation
  184. {
  185. *case: PORTRAIT
  186. {
  187. *PrintableArea: PAIR(8100, 12048)
  188. *PrintableOrigin: PAIR(300, 300)
  189. *CursorOrigin: PAIR(300, 180)
  190. *Command: CmdSelect
  191. {
  192. *Order: DOC_SETUP.12
  193. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  194. }
  195. }
  196. *case: LANDSCAPE_CC90
  197. {
  198. *PrintableArea: PAIR(8220, 12080)
  199. *PrintableOrigin: PAIR(240, 280)
  200. *CursorOrigin: PAIR(200, 12360)
  201. *Command: CmdSelect
  202. {
  203. *Order: DOC_SETUP.12
  204. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  205. }
  206. }
  207. }
  208. }
  209. *Option: A4
  210. {
  211. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  212. *switch: Orientation
  213. {
  214. *case: PORTRAIT
  215. {
  216. *PrintableArea: PAIR(9292, 13076)
  217. *PrintableOrigin: PAIR(300, 600)
  218. *CursorOrigin: PAIR(300, 180)
  219. *Command: CmdSelect
  220. {
  221. *Order: DOC_SETUP.12
  222. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  223. }
  224. }
  225. *case: LANDSCAPE_CC90
  226. {
  227. *PrintableArea: PAIR(9464, 13516)
  228. *PrintableOrigin: PAIR(220, 272)
  229. *CursorOrigin: PAIR(200, 13788)
  230. *Command: CmdSelect
  231. {
  232. *Order: DOC_SETUP.12
  233. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  234. }
  235. }
  236. }
  237. }
  238. *Option: ENV_10
  239. {
  240. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  241. *switch: Orientation
  242. {
  243. *case: PORTRAIT
  244. {
  245. *PrintableArea: PAIR(4296, 10800)
  246. *PrintableOrigin: PAIR(300, 300)
  247. *CursorOrigin: PAIR(300, 160)
  248. *Command: CmdSelect
  249. {
  250. *Order: DOC_SETUP.12
  251. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6648Y"
  252. }
  253. }
  254. *case: LANDSCAPE_CC90
  255. {
  256. *PrintableArea: PAIR(4356, 10800)
  257. *PrintableOrigin: PAIR(300, 300)
  258. *CursorOrigin: PAIR(200, 11100)
  259. *Command: CmdSelect
  260. {
  261. *Order: DOC_SETUP.12
  262. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  263. }
  264. }
  265. }
  266. }
  267. *Option: ENV_DL
  268. {
  269. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  270. *switch: Orientation
  271. {
  272. *case: PORTRAIT
  273. {
  274. *PrintableArea: PAIR(4596, 9782)
  275. *PrintableOrigin: PAIR(300, 460)
  276. *switch: Resolution
  277. {
  278. *case: Option2
  279. {
  280. *PrintableArea: PAIR(4596, 9780)
  281. }
  282. }
  283. *CursorOrigin: PAIR(300, 160)
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.12
  287. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x6043Y"
  288. }
  289. }
  290. *case: LANDSCAPE_CC90
  291. {
  292. *PrintableArea: PAIR(4596, 9792)
  293. *PrintableOrigin: PAIR(300, 300)
  294. *CursorOrigin: PAIR(200, 10092)
  295. *Command: CmdSelect
  296. {
  297. *Order: DOC_SETUP.12
  298. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  299. }
  300. }
  301. }
  302. }
  303. *Option: ENV_C5
  304. {
  305. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  306. *switch: Orientation
  307. {
  308. *case: PORTRAIT
  309. {
  310. *PrintableArea: PAIR(7036, 10224)
  311. *PrintableOrigin: PAIR(300, 300)
  312. *CursorOrigin: PAIR(300, 200)
  313. *Command: CmdSelect
  314. {
  315. *Order: DOC_SETUP.12
  316. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6254Y"
  317. }
  318. }
  319. *case: LANDSCAPE_CC90
  320. {
  321. *PrintableArea: PAIR(7056, 10224)
  322. *PrintableOrigin: PAIR(300, 300)
  323. *CursorOrigin: PAIR(200, 10524)
  324. *Command: CmdSelect
  325. {
  326. *Order: DOC_SETUP.12
  327. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  328. }
  329. }
  330. }
  331. }
  332. *Option: ENV_MONARCH
  333. {
  334. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  335. *switch: Orientation
  336. {
  337. *case: PORTRAIT
  338. {
  339. *PrintableArea: PAIR(3996, 8400)
  340. *PrintableOrigin: PAIR(300, 300)
  341. *CursorOrigin: PAIR(300, 200)
  342. *Command: CmdSelect
  343. {
  344. *Order: DOC_SETUP.12
  345. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5160Y"
  346. }
  347. }
  348. *case: LANDSCAPE_CC90
  349. {
  350. *PrintableArea: PAIR(4056, 8400)
  351. *PrintableOrigin: PAIR(300, 300)
  352. *CursorOrigin: PAIR(200, 8700)
  353. *Command: CmdSelect
  354. {
  355. *Order: DOC_SETUP.12
  356. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2554Y"
  357. }
  358. }
  359. }
  360. }
  361. }
  362. *Feature: EconoMode
  363. {
  364. *rcNameID: 338
  365. *DefaultOption: Option1
  366. *Option: Option1
  367. {
  368. *rcNameID: 265
  369. }
  370. *Option: Option2
  371. {
  372. *rcNameID: 266
  373. *Command: CmdSelect
  374. {
  375. *Order: DOC_SETUP.5
  376. *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  377. }
  378. }
  379. *Option: Option3
  380. {
  381. *rcNameID: 267
  382. *Command: CmdSelect
  383. {
  384. *Order: DOC_SETUP.5
  385. *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  386. }
  387. }
  388. }
  389. *Feature: PrintDensity
  390. {
  391. *rcNameID: =PRINTDENSITY_DISPLAY
  392. *DefaultOption: Option2
  393. *Option: Option1
  394. {
  395. *rcNameID: 335
  396. *Command: CmdSelect
  397. {
  398. *Order: DOC_SETUP.2
  399. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>@PJL SET DENSITY=1<0A>"
  400. }
  401. }
  402. *Option: Option2
  403. {
  404. *rcNameID: 336
  405. *Command: CmdSelect
  406. {
  407. *Order: DOC_SETUP.2
  408. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>@PJL SET DENSITY=3<0A>"
  409. }
  410. }
  411. *Option: Option3
  412. {
  413. *rcNameID: 337
  414. *Command: CmdSelect
  415. {
  416. *Order: DOC_SETUP.2
  417. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>@PJL SET DENSITY=5<0A>"
  418. }
  419. }
  420. }
  421. *Feature: Halftone
  422. {
  423. *rcNameID: =HALFTONING_DISPLAY
  424. *DefaultOption: HT_PATSIZE_AUTO
  425. *Option: HT_PATSIZE_AUTO
  426. {
  427. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  428. }
  429. *Option: HT_PATSIZE_6x6_M
  430. {
  431. *rcNameID: =HT_DITHER6X6_DISPLAY
  432. }
  433. *Option: HT_PATSIZE_8x8_M
  434. {
  435. *rcNameID: =HT_DITHER8X8_DISPLAY
  436. }
  437. }
  438. *Feature: Memory
  439. {
  440. *rcNameID: =PRINTER_MEMORY_DISPLAY
  441. *DefaultOption: 2048KB
  442. *MemConfigKB: PAIR(2048, 1350)
  443. *MemConfigKB: PAIR(3072, 2250)
  444. *MemConfigKB: PAIR(4096, 3150)
  445. *MemConfigKB: PAIR(6144, 4950)
  446. *MemConfigKB: PAIR(10240, 8550)
  447. *MemConfigKB: PAIR(18432, 15750)
  448. }
  449. *switch: Memory
  450. {
  451. *case: 2048KB
  452. {
  453. *Command: CmdStartDoc
  454. {
  455. *Order: DOC_SETUP.7
  456. *Cmd: "<1B>&u600D<1B>*r3F"
  457. }
  458. *RotateRaster?: FALSE
  459. }
  460. *case: 3072KB
  461. {
  462. *Command: CmdStartDoc
  463. {
  464. *Order: DOC_SETUP.7
  465. *Cmd: "<1B>&u600D<1B>*r3F"
  466. }
  467. *RotateRaster?: FALSE
  468. }
  469. *default:
  470. {
  471. *Command: CmdStartDoc
  472. {
  473. *Order: DOC_SETUP.7
  474. *Cmd: "<1B>&u600D<1B>*r0F"
  475. }
  476. *RotateRaster?: TRUE
  477. }
  478. }
  479. *Command: CmdStartPage
  480. {
  481. *Order: PAGE_SETUP.1
  482. *Cmd: "<1B>*b0M<0D>"
  483. }
  484. *Command: CmdEndJob
  485. {
  486. *Order: JOB_FINISH.1
  487. *Cmd: "<1B>E<1B>%%-12345X"
  488. }
  489. *Command: CmdCopies
  490. {
  491. *Order: DOC_SETUP.13
  492. *Cmd: "<1B>&l" %d[1,32767]{NumOfCopies}"X"
  493. }
  494. *RotateCoordinate?: TRUE
  495. *RotateFont?: TRUE
  496. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  497. *MemoryUsage: LIST(FONT)
  498. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  499. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  500. *XMoveThreshold: 0
  501. *YMoveThreshold: 0
  502. *XMoveUnit: 600
  503. *YMoveUnit: 600
  504. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  505. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  506. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  507. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  508. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  509. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  510. *Command: CmdCR { *Cmd : "<0D>" }
  511. *Command: CmdLF { *Cmd : "<0A>" }
  512. *Command: CmdFF { *Cmd : "<0C>" }
  513. *Command: CmdBackSpace { *Cmd : "<08>" }
  514. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  515. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  516. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  517. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  518. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  519. *EjectPageWithFF?: TRUE
  520. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  521. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  522. *OutputDataFormat: H_BYTE
  523. *OptimizeLeftBound?: TRUE
  524. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  525. *CursorYAfterSendBlockData: AUTO_INCREMENT
  526. *DefaultFont: 1
  527. *DefaultCTT: 0
  528. *CharPosition: BASELINE
  529. *TTFSEnabled?: TRUE
  530. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  531. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  532. + 33,34,35,36,37,38,39,40,41,42,43,44,45,46,47)
  533. *MinFontID: 16534
  534. *MaxFontID: 32768
  535. *switch: Resolution
  536. {
  537. *case: Option1
  538. {
  539. *FontFormat: HPPCL_OUTLINE
  540. }
  541. *case: Option2
  542. {
  543. *FontFormat: HPPCL_RES
  544. }
  545. }
  546. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  547. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  548. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  549. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  550. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  551. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  552. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  553. *MinGrayFill: 1
  554. *MaxGrayFill: 100
  555. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  556. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  557. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  558. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }