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.

636 lines
18 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "MT9108.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Mannesmann Tally T9108"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "pcl4res.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.5
  24. *Cmd: "<1B>&l0O"
  25. }
  26. }
  27. *Option: LANDSCAPE_CC90
  28. {
  29. *rcNameID: =LANDSCAPE_DISPLAY
  30. *Command: CmdSelect
  31. {
  32. *Order: DOC_SETUP.5
  33. *Cmd: "<1B>&l1O"
  34. }
  35. }
  36. }
  37. *Feature: InputBin
  38. {
  39. *rcNameID: =PAPER_SOURCE_DISPLAY
  40. *DefaultOption: UPPER
  41. *Option: UPPER
  42. {
  43. *rcNameID: =UPPER_TRAY_DISPLAY
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.6
  47. *Cmd: "<1B>&l1H"
  48. }
  49. }
  50. *Option: ENVMANUAL
  51. {
  52. *rcNameID: =ENV_MANUAL_DISPLAY
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.6
  56. *Cmd: "<1B>&l3H"
  57. }
  58. }
  59. *Option: MANUAL
  60. {
  61. *rcNameID: =MANUAL_FEED_DISPLAY
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.6
  65. *Cmd: "<1B>&l2H"
  66. }
  67. }
  68. }
  69. *Feature: Resolution
  70. {
  71. *rcNameID: =RESOLUTION_DISPLAY
  72. *DefaultOption: Option1
  73. *Option: Option1
  74. {
  75. *Name: "300 x 300 " =DOTS_PER_INCH
  76. *DPI: PAIR(300, 300)
  77. *TextDPI: PAIR(300, 300)
  78. *MinStripBlankPixels: 32
  79. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  80. *SpotDiameter: 100
  81. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  82. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  84. *Command: CmdSelect
  85. {
  86. *Order: DOC_SETUP.8
  87. *Cmd: "<1B>*t300R"
  88. }
  89. }
  90. *Option: Option2
  91. {
  92. *Name: "150 x 150 " =DOTS_PER_INCH
  93. *DPI: PAIR(150, 150)
  94. *TextDPI: PAIR(300, 300)
  95. *MinStripBlankPixels: 32
  96. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  97. *SpotDiameter: 100
  98. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  99. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  100. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  101. *Command: CmdSelect
  102. {
  103. *Order: DOC_SETUP.8
  104. *Cmd: "<1B>*t150R"
  105. }
  106. }
  107. }
  108. *Feature: PaperSize
  109. {
  110. *rcNameID: =PAPER_SIZE_DISPLAY
  111. *DefaultOption: LETTER
  112. *Option: LETTER
  113. {
  114. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  115. *switch: Orientation
  116. {
  117. *case: PORTRAIT
  118. {
  119. *PrintableArea: PAIR(2400, 3150)
  120. *PrintableOrigin: PAIR(75, 75)
  121. *switch: Resolution
  122. {
  123. *case: Option2
  124. {
  125. *PrintableArea: PAIR(2398, 3148)
  126. *PrintableOrigin: PAIR(76, 76)
  127. }
  128. }
  129. *CursorOrigin: PAIR(68, 75)
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.7
  133. *Cmd: "<1B>&l2a4d1e42F"
  134. }
  135. }
  136. *case: LANDSCAPE_CC90
  137. {
  138. *PrintableArea: PAIR(2400, 3150)
  139. *PrintableOrigin: PAIR(75, 75)
  140. *switch: Resolution
  141. {
  142. *case: Option2
  143. {
  144. *PrintableArea: PAIR(2398, 3148)
  145. *PrintableOrigin: PAIR(76, 76)
  146. }
  147. }
  148. *CursorOrigin: PAIR(66, 3240)
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.7
  152. *Cmd: "<1B>&l2a4d1e42F"
  153. }
  154. }
  155. }
  156. }
  157. *Option: LEGAL
  158. {
  159. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  160. *switch: Orientation
  161. {
  162. *case: PORTRAIT
  163. {
  164. *PrintableArea: PAIR(2400, 4050)
  165. *PrintableOrigin: PAIR(75, 75)
  166. *switch: Resolution
  167. {
  168. *case: Option2
  169. {
  170. *PrintableArea: PAIR(2398, 4048)
  171. *PrintableOrigin: PAIR(76, 76)
  172. }
  173. }
  174. *CursorOrigin: PAIR(68, 75)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.7
  178. *Cmd: "<1B>&l3a4d1e54F"
  179. }
  180. }
  181. *case: LANDSCAPE_CC90
  182. {
  183. *PrintableArea: PAIR(2400, 4050)
  184. *PrintableOrigin: PAIR(75, 75)
  185. *switch: Resolution
  186. {
  187. *case: Option2
  188. {
  189. *PrintableArea: PAIR(2398, 4048)
  190. *PrintableOrigin: PAIR(76, 76)
  191. }
  192. }
  193. *CursorOrigin: PAIR(66, 4140)
  194. *Command: CmdSelect
  195. {
  196. *Order: DOC_SETUP.7
  197. *Cmd: "<1B>&l3a4d1e54F"
  198. }
  199. }
  200. }
  201. }
  202. *Option: EXECUTIVE
  203. {
  204. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  205. *switch: Orientation
  206. {
  207. *case: PORTRAIT
  208. {
  209. *PrintableArea: PAIR(2025, 3000)
  210. *PrintableOrigin: PAIR(75, 75)
  211. *switch: Resolution
  212. {
  213. *case: Option2
  214. {
  215. *PrintableArea: PAIR(2024, 2998)
  216. *PrintableOrigin: PAIR(76, 76)
  217. }
  218. }
  219. *CursorOrigin: PAIR(68, 75)
  220. *Command: CmdSelect
  221. {
  222. *Order: DOC_SETUP.7
  223. *Cmd: "<1B>&l1a4d1e40F"
  224. }
  225. }
  226. *case: LANDSCAPE_CC90
  227. {
  228. *PrintableArea: PAIR(2025, 3000)
  229. *PrintableOrigin: PAIR(75, 75)
  230. *switch: Resolution
  231. {
  232. *case: Option2
  233. {
  234. *PrintableArea: PAIR(2024, 2998)
  235. *PrintableOrigin: PAIR(76, 76)
  236. }
  237. }
  238. *CursorOrigin: PAIR(66, 3090)
  239. *Command: CmdSelect
  240. {
  241. *Order: DOC_SETUP.7
  242. *Cmd: "<1B>&l1a4d1e40F"
  243. }
  244. }
  245. }
  246. }
  247. *Option: A4
  248. {
  249. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  250. *switch: Orientation
  251. {
  252. *case: PORTRAIT
  253. {
  254. *PrintableArea: PAIR(2331, 3332)
  255. *PrintableOrigin: PAIR(75, 75)
  256. *switch: Resolution
  257. {
  258. *case: Option2
  259. {
  260. *PrintableArea: PAIR(2330, 3330)
  261. *PrintableOrigin: PAIR(76, 76)
  262. }
  263. }
  264. *CursorOrigin: PAIR(68, 75)
  265. *Command: CmdSelect
  266. {
  267. *Order: DOC_SETUP.7
  268. *Cmd: "<1B>&l26a4d1e45F"
  269. }
  270. }
  271. *case: LANDSCAPE_CC90
  272. {
  273. *PrintableArea: PAIR(2331, 3332)
  274. *PrintableOrigin: PAIR(75, 75)
  275. *switch: Resolution
  276. {
  277. *case: Option2
  278. {
  279. *PrintableArea: PAIR(2330, 3330)
  280. *PrintableOrigin: PAIR(76, 76)
  281. }
  282. }
  283. *CursorOrigin: PAIR(66, 3447)
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.7
  287. *Cmd: "<1B>&l26a4d1e45F"
  288. }
  289. }
  290. }
  291. }
  292. *Option: ENV_10
  293. {
  294. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  295. *switch: Orientation
  296. {
  297. *case: PORTRAIT
  298. {
  299. *PrintableArea: PAIR(1089, 2700)
  300. *PrintableOrigin: PAIR(75, 75)
  301. *switch: Resolution
  302. {
  303. *case: Option2
  304. {
  305. *PrintableArea: PAIR(1088, 2698)
  306. *PrintableOrigin: PAIR(76, 76)
  307. }
  308. }
  309. *CursorOrigin: PAIR(68, 75)
  310. *Command: CmdSelect
  311. {
  312. *Order: DOC_SETUP.7
  313. *Cmd: "<1B>&l81a4d1E"
  314. }
  315. }
  316. *case: LANDSCAPE_CC90
  317. {
  318. *PrintableArea: PAIR(1089, 2700)
  319. *PrintableOrigin: PAIR(75, 75)
  320. *switch: Resolution
  321. {
  322. *case: Option2
  323. {
  324. *PrintableArea: PAIR(1088, 2698)
  325. *PrintableOrigin: PAIR(76, 76)
  326. }
  327. }
  328. *CursorOrigin: PAIR(66, 2790)
  329. *Command: CmdSelect
  330. {
  331. *Order: DOC_SETUP.7
  332. *Cmd: "<1B>&l81a4d1E"
  333. }
  334. }
  335. }
  336. }
  337. *Option: ENV_DL
  338. {
  339. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  340. *switch: Orientation
  341. {
  342. *case: PORTRAIT
  343. {
  344. *PrintableArea: PAIR(1149, 2448)
  345. *PrintableOrigin: PAIR(75, 75)
  346. *switch: Resolution
  347. {
  348. *case: Option2
  349. {
  350. *PrintableArea: PAIR(1148, 2446)
  351. *PrintableOrigin: PAIR(76, 76)
  352. }
  353. }
  354. *CursorOrigin: PAIR(68, 75)
  355. *Command: CmdSelect
  356. {
  357. *Order: DOC_SETUP.7
  358. *Cmd: "<1B>&l90a4d1E"
  359. }
  360. }
  361. *case: LANDSCAPE_CC90
  362. {
  363. *PrintableArea: PAIR(1149, 2448)
  364. *PrintableOrigin: PAIR(75, 75)
  365. *switch: Resolution
  366. {
  367. *case: Option2
  368. {
  369. *PrintableArea: PAIR(1148, 2446)
  370. *PrintableOrigin: PAIR(76, 76)
  371. }
  372. }
  373. *CursorOrigin: PAIR(66, 2538)
  374. *Command: CmdSelect
  375. {
  376. *Order: DOC_SETUP.7
  377. *Cmd: "<1B>&l90a4d1E"
  378. }
  379. }
  380. }
  381. }
  382. *Option: ENV_C5
  383. {
  384. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  385. *switch: Orientation
  386. {
  387. *case: PORTRAIT
  388. {
  389. *PrintableArea: PAIR(1764, 2556)
  390. *PrintableOrigin: PAIR(75, 75)
  391. *switch: Resolution
  392. {
  393. *case: Option2
  394. {
  395. *PrintableArea: PAIR(1762, 2554)
  396. *PrintableOrigin: PAIR(76, 76)
  397. }
  398. }
  399. *CursorOrigin: PAIR(68, 75)
  400. *Command: CmdSelect
  401. {
  402. *Order: DOC_SETUP.7
  403. *Cmd: "<1B>&l91a4d1E"
  404. }
  405. }
  406. *case: LANDSCAPE_CC90
  407. {
  408. *PrintableArea: PAIR(1764, 2556)
  409. *PrintableOrigin: PAIR(75, 75)
  410. *switch: Resolution
  411. {
  412. *case: Option2
  413. {
  414. *PrintableArea: PAIR(1762, 2554)
  415. *PrintableOrigin: PAIR(76, 76)
  416. }
  417. }
  418. *CursorOrigin: PAIR(66, 2646)
  419. *Command: CmdSelect
  420. {
  421. *Order: DOC_SETUP.7
  422. *Cmd: "<1B>&l91a4d1E"
  423. }
  424. }
  425. }
  426. }
  427. *Option: ENV_MONARCH
  428. {
  429. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  430. *switch: Orientation
  431. {
  432. *case: PORTRAIT
  433. {
  434. *PrintableArea: PAIR(1008, 2100)
  435. *PrintableOrigin: PAIR(75, 75)
  436. *switch: Resolution
  437. {
  438. *case: Option2
  439. {
  440. *PrintableArea: PAIR(1006, 2098)
  441. *PrintableOrigin: PAIR(76, 76)
  442. }
  443. }
  444. *CursorOrigin: PAIR(68, 75)
  445. *Command: CmdSelect
  446. {
  447. *Order: DOC_SETUP.7
  448. *Cmd: "<1B>&l80a4d1E"
  449. }
  450. }
  451. *case: LANDSCAPE_CC90
  452. {
  453. *PrintableArea: PAIR(1008, 2100)
  454. *PrintableOrigin: PAIR(75, 75)
  455. *switch: Resolution
  456. {
  457. *case: Option2
  458. {
  459. *PrintableArea: PAIR(1006, 2098)
  460. *PrintableOrigin: PAIR(76, 76)
  461. }
  462. }
  463. *CursorOrigin: PAIR(66, 2190)
  464. *Command: CmdSelect
  465. {
  466. *Order: DOC_SETUP.7
  467. *Cmd: "<1B>&l80a4d1E"
  468. }
  469. }
  470. }
  471. }
  472. }
  473. *Feature: EconoMode
  474. {
  475. *rcNameID: 310
  476. *DefaultOption: Option2
  477. *Option: Option1
  478. {
  479. *rcNameID: 259
  480. *Command: CmdSelect
  481. {
  482. *Order: DOC_SETUP.2
  483. *Cmd: "<1B>%%-12345X@PJL ENTER LANGUAGE=PCL<0D0A>@PJL SET TONERSAVE=1/2<0A>"
  484. }
  485. }
  486. *Option: Option2
  487. {
  488. *rcNameID: 260
  489. *Command: CmdSelect
  490. {
  491. *Order: DOC_SETUP.2
  492. *Cmd: "<1B>%%-12345X@PJL ENTER LANGUAGE=PCL<0D0A>@PJL SET TONERSAVE=0<0A>"
  493. }
  494. }
  495. }
  496. *Feature: PrintDensity
  497. {
  498. *rcNameID: =PRINTDENSITY_DISPLAY
  499. *DefaultOption: Option2
  500. *Option: Option1
  501. {
  502. *rcNameID: 307
  503. *Command: CmdSelect
  504. {
  505. *Order: DOC_SETUP.3
  506. *Cmd: "<1B>%%-12345X@PJL SET DENSITY=1<0A>"
  507. }
  508. }
  509. *Option: Option2
  510. {
  511. *rcNameID: 308
  512. *Command: CmdSelect
  513. {
  514. *Order: DOC_SETUP.3
  515. *Cmd: "<1B>%%-12345X@PJL SET DENSITY=3<0A>"
  516. }
  517. }
  518. *Option: Option3
  519. {
  520. *rcNameID: 309
  521. *Command: CmdSelect
  522. {
  523. *Order: DOC_SETUP.3
  524. *Cmd: "<1B>%%-12345X@PJL SET DENSITY=5<0A>"
  525. }
  526. }
  527. }
  528. *Feature: Halftone
  529. {
  530. *rcNameID: =HALFTONING_DISPLAY
  531. *DefaultOption: HT_PATSIZE_AUTO
  532. *Option: HT_PATSIZE_AUTO
  533. {
  534. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  535. }
  536. *Ifdef: WINNT_50
  537. *Option: HT_PATSIZE_SUPERCELL_M
  538. {
  539. *rcNameID: =HT_SUPERCELL_DISPLAY
  540. }
  541. *Endif:
  542. *Option: HT_PATSIZE_6x6_M
  543. {
  544. *rcNameID: =HT_DITHER6X6_DISPLAY
  545. }
  546. *Option: HT_PATSIZE_8x8_M
  547. {
  548. *rcNameID: =HT_DITHER8X8_DISPLAY
  549. }
  550. }
  551. *Feature: Memory
  552. {
  553. *rcNameID: =PRINTER_MEMORY_DISPLAY
  554. *DefaultOption: 1024KB
  555. *MemConfigKB: PAIR(1024, 700)
  556. *MemConfigKB: PAIR(1536, 1419)
  557. *MemConfigKB: PAIR(2048, 1931)
  558. *MemConfigKB: PAIR(5120, 4480)
  559. *MemConfigKB: PAIR(17408, 15500)
  560. }
  561. *Command: CmdStartDoc
  562. {
  563. *Order: DOC_SETUP.4
  564. *Cmd: "<1B>E<1B>&l0L<1B>*r0F<1B>&l0S"
  565. }
  566. *Command: CmdStartPage
  567. {
  568. *Order: PAGE_SETUP.1
  569. *Cmd: "<1B>*b0M<0D>"
  570. }
  571. *Command: CmdEndJob
  572. {
  573. *Order: JOB_FINISH.1
  574. *Cmd: "<1B>E<1B>%%-12345X"
  575. }
  576. *Command: CmdCopies
  577. {
  578. *Order: DOC_SETUP.9
  579. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  580. }
  581. *RotateCoordinate?: TRUE
  582. *RotateRaster?: TRUE
  583. *RotateFont?: TRUE
  584. *TextCaps: LIST(TC_UA_ABLE)
  585. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  586. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  587. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  588. *XMoveThreshold: 0
  589. *YMoveThreshold: 0
  590. *XMoveUnit: 300
  591. *YMoveUnit: 300
  592. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  593. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
  594. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{max_repeat(DestXRel )}"X" }
  595. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  596. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  597. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  598. *Command: CmdCR { *Cmd : "<0D>" }
  599. *Command: CmdLF { *Cmd : "<0A>" }
  600. *Command: CmdFF { *Cmd : "<0C>" }
  601. *Command: CmdBackSpace { *Cmd : "<08>" }
  602. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  603. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  604. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  605. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  606. *EjectPageWithFF?: TRUE
  607. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  608. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  609. *OutputDataFormat: H_BYTE
  610. *OptimizeLeftBound?: TRUE
  611. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  612. *CursorYAfterSendBlockData: AUTO_INCREMENT
  613. *DefaultFont: 207
  614. *DefaultCTT: 0
  615. *CharPosition: BASELINE
  616. *DLSymbolSet: ROMAN_8
  617. *DeviceFonts: LIST(205,206,207,208,211,212,213)
  618. *MinFontID: 1
  619. *MaxFontID: 99
  620. *FontFormat: HPPCL
  621. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  622. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  623. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  624. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  625. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  626. *MinGrayFill: 1
  627. *MaxGrayFill: 100
  628. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  629. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  630. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  631. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }