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.

1171 lines
36 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "MT93.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Mannesmann Tally MT 93"
  10. *MasterUnits: PAIR(720, 720)
  11. *ResourceDLL: "cn330res.dll"
  12. *PrinterType: SERIAL
  13. *FontCartSlots: 2
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. }
  22. *Option: LANDSCAPE_CC270
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. }
  26. }
  27. *Feature: InputBin
  28. {
  29. *rcNameID: =PAPER_SOURCE_DISPLAY
  30. *DefaultOption: TRACTOR
  31. *Option: TRACTOR
  32. {
  33. *rcNameID: =TRACTOR_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.3
  37. *Cmd: "<1B>O"
  38. }
  39. }
  40. *Option: MANUAL
  41. {
  42. *rcNameID: =MANUAL_FEED_DISPLAY
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.3
  46. *Cmd: "<1B>O"
  47. }
  48. }
  49. *Option: Option3
  50. {
  51. *rcNameID: 265
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.3
  55. *Cmd: "<1B>[F<0300030101>"
  56. }
  57. }
  58. *Option: Option4
  59. {
  60. *rcNameID: 266
  61. *Command: CmdSelect
  62. {
  63. *Order: DOC_SETUP.3
  64. *Cmd: "<1B>[F<0300030102>"
  65. }
  66. }
  67. }
  68. *Feature: Resolution
  69. {
  70. *rcNameID: =RESOLUTION_DISPLAY
  71. *DefaultOption: Option1
  72. *Option: Option1
  73. {
  74. *Name: "360 x 360 " =DOTS_PER_INCH
  75. *DPI: PAIR(360, 360)
  76. *TextDPI: PAIR(360, 360)
  77. *PinsPerLogPass: 48
  78. *PinsPerPhysPass: 48
  79. *MinStripBlankPixels: 270
  80. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  81. *SpotDiameter: 100
  82. *Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 6) / 6) + 1}"<10>" }
  83. }
  84. *Option: Option2
  85. {
  86. *Name: "180 x 180 " =DOTS_PER_INCH
  87. *DPI: PAIR(180, 180)
  88. *TextDPI: PAIR(180, 180)
  89. *PinsPerLogPass: 24
  90. *PinsPerPhysPass: 24
  91. *MinStripBlankPixels: 135
  92. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  93. *SpotDiameter: 100
  94. *Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 3) / 3) + 1}"<0B>" }
  95. }
  96. *Option: Option3
  97. {
  98. *Name: "360 x 180 " =DOTS_PER_INCH
  99. *DPI: PAIR(360, 180)
  100. *TextDPI: PAIR(360, 180)
  101. *PinsPerLogPass: 24
  102. *PinsPerPhysPass: 24
  103. *MinStripBlankPixels: 270
  104. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  105. *SpotDiameter: 100
  106. *Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 3) / 3) + 1}"<0C>" }
  107. }
  108. *Option: Option4
  109. {
  110. *Name: "120 x 180 " =DOTS_PER_INCH
  111. *DPI: PAIR(120, 180)
  112. *TextDPI: PAIR(120, 180)
  113. *PinsPerLogPass: 24
  114. *PinsPerPhysPass: 24
  115. *MinStripBlankPixels: 90
  116. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  117. *SpotDiameter: 100
  118. *Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 3) / 3) + 1}"<09>" }
  119. }
  120. }
  121. *Feature: PaperSize
  122. {
  123. *rcNameID: =PAPER_SIZE_DISPLAY
  124. *DefaultOption: LETTER
  125. *Option: LETTER
  126. {
  127. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  128. *Command: CmdSelect
  129. {
  130. *Order: DOC_SETUP.4
  131. *Cmd: "<1B>C<000B>"
  132. }
  133. *switch: InputBin
  134. {
  135. *case: TRACTOR
  136. {
  137. *PrintableArea: PAIR(5760, 7920)
  138. *PrintableOrigin: PAIR(180, 0)
  139. }
  140. *case: MANUAL
  141. {
  142. *PrintableArea: PAIR(5760, 7515)
  143. *PrintableOrigin: PAIR(180, 45)
  144. *switch: Resolution
  145. {
  146. *case: Option1
  147. {
  148. *PrintableArea: PAIR(5760, 7514)
  149. *PrintableOrigin: PAIR(180, 46)
  150. }
  151. *case: Option2
  152. {
  153. *PrintableArea: PAIR(5760, 7512)
  154. *PrintableOrigin: PAIR(180, 48)
  155. }
  156. *case: Option3
  157. {
  158. *PrintableArea: PAIR(5760, 7512)
  159. *PrintableOrigin: PAIR(180, 48)
  160. }
  161. *case: Option4
  162. {
  163. *PrintableArea: PAIR(5760, 7512)
  164. *PrintableOrigin: PAIR(180, 48)
  165. }
  166. }
  167. }
  168. *case: Option3
  169. {
  170. *PrintableArea: PAIR(5760, 7515)
  171. *PrintableOrigin: PAIR(180, 45)
  172. *switch: Resolution
  173. {
  174. *case: Option1
  175. {
  176. *PrintableArea: PAIR(5760, 7514)
  177. *PrintableOrigin: PAIR(180, 46)
  178. }
  179. *case: Option2
  180. {
  181. *PrintableArea: PAIR(5760, 7512)
  182. *PrintableOrigin: PAIR(180, 48)
  183. }
  184. *case: Option3
  185. {
  186. *PrintableArea: PAIR(5760, 7512)
  187. *PrintableOrigin: PAIR(180, 48)
  188. }
  189. *case: Option4
  190. {
  191. *PrintableArea: PAIR(5760, 7512)
  192. *PrintableOrigin: PAIR(180, 48)
  193. }
  194. }
  195. }
  196. *case: Option4
  197. {
  198. *PrintableArea: PAIR(5760, 7515)
  199. *PrintableOrigin: PAIR(180, 45)
  200. *switch: Resolution
  201. {
  202. *case: Option1
  203. {
  204. *PrintableArea: PAIR(5760, 7514)
  205. *PrintableOrigin: PAIR(180, 46)
  206. }
  207. *case: Option2
  208. {
  209. *PrintableArea: PAIR(5760, 7512)
  210. *PrintableOrigin: PAIR(180, 48)
  211. }
  212. *case: Option3
  213. {
  214. *PrintableArea: PAIR(5760, 7512)
  215. *PrintableOrigin: PAIR(180, 48)
  216. }
  217. *case: Option4
  218. {
  219. *PrintableArea: PAIR(5760, 7512)
  220. *PrintableOrigin: PAIR(180, 48)
  221. }
  222. }
  223. }
  224. }
  225. }
  226. *Option: LEGAL
  227. {
  228. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  229. *Command: CmdSelect
  230. {
  231. *Order: DOC_SETUP.4
  232. *Cmd: "<1B>C<000E>"
  233. }
  234. *switch: InputBin
  235. {
  236. *case: TRACTOR
  237. {
  238. *PrintableArea: PAIR(5760, 10080)
  239. *PrintableOrigin: PAIR(180, 0)
  240. }
  241. *case: MANUAL
  242. {
  243. *PrintableArea: PAIR(5760, 9675)
  244. *PrintableOrigin: PAIR(180, 45)
  245. *switch: Resolution
  246. {
  247. *case: Option1
  248. {
  249. *PrintableArea: PAIR(5760, 9674)
  250. *PrintableOrigin: PAIR(180, 46)
  251. }
  252. *case: Option2
  253. {
  254. *PrintableArea: PAIR(5760, 9672)
  255. *PrintableOrigin: PAIR(180, 48)
  256. }
  257. *case: Option3
  258. {
  259. *PrintableArea: PAIR(5760, 9672)
  260. *PrintableOrigin: PAIR(180, 48)
  261. }
  262. *case: Option4
  263. {
  264. *PrintableArea: PAIR(5760, 9672)
  265. *PrintableOrigin: PAIR(180, 48)
  266. }
  267. }
  268. }
  269. *case: Option3
  270. {
  271. *PrintableArea: PAIR(5760, 9675)
  272. *PrintableOrigin: PAIR(180, 45)
  273. *switch: Resolution
  274. {
  275. *case: Option1
  276. {
  277. *PrintableArea: PAIR(5760, 9674)
  278. *PrintableOrigin: PAIR(180, 46)
  279. }
  280. *case: Option2
  281. {
  282. *PrintableArea: PAIR(5760, 9672)
  283. *PrintableOrigin: PAIR(180, 48)
  284. }
  285. *case: Option3
  286. {
  287. *PrintableArea: PAIR(5760, 9672)
  288. *PrintableOrigin: PAIR(180, 48)
  289. }
  290. *case: Option4
  291. {
  292. *PrintableArea: PAIR(5760, 9672)
  293. *PrintableOrigin: PAIR(180, 48)
  294. }
  295. }
  296. }
  297. *case: Option4
  298. {
  299. *PrintableArea: PAIR(5760, 9675)
  300. *PrintableOrigin: PAIR(180, 45)
  301. *switch: Resolution
  302. {
  303. *case: Option1
  304. {
  305. *PrintableArea: PAIR(5760, 9674)
  306. *PrintableOrigin: PAIR(180, 46)
  307. }
  308. *case: Option2
  309. {
  310. *PrintableArea: PAIR(5760, 9672)
  311. *PrintableOrigin: PAIR(180, 48)
  312. }
  313. *case: Option3
  314. {
  315. *PrintableArea: PAIR(5760, 9672)
  316. *PrintableOrigin: PAIR(180, 48)
  317. }
  318. *case: Option4
  319. {
  320. *PrintableArea: PAIR(5760, 9672)
  321. *PrintableOrigin: PAIR(180, 48)
  322. }
  323. }
  324. }
  325. }
  326. }
  327. *Option: A5
  328. {
  329. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  330. *Command: CmdSelect
  331. {
  332. *Order: DOC_SETUP.4
  333. *Cmd: "<1B>0<1B>CB"
  334. }
  335. *switch: InputBin
  336. {
  337. *case: TRACTOR
  338. {
  339. *PrintableArea: PAIR(4010, 5954)
  340. *PrintableOrigin: PAIR(94, 0)
  341. *switch: Resolution
  342. {
  343. *case: Option2
  344. {
  345. *PrintableArea: PAIR(4008, 5952)
  346. *PrintableOrigin: PAIR(96, 0)
  347. }
  348. *case: Option3
  349. {
  350. *PrintableArea: PAIR(4010, 5952)
  351. }
  352. *case: Option4
  353. {
  354. *PrintableArea: PAIR(4008, 5952)
  355. *PrintableOrigin: PAIR(96, 0)
  356. }
  357. }
  358. }
  359. *case: MANUAL
  360. {
  361. *PrintableArea: PAIR(4010, 5549)
  362. *PrintableOrigin: PAIR(94, 45)
  363. *switch: Resolution
  364. {
  365. *case: Option1
  366. {
  367. *PrintableArea: PAIR(4010, 5548)
  368. *PrintableOrigin: PAIR(94, 46)
  369. }
  370. *case: Option2
  371. {
  372. *PrintableArea: PAIR(4008, 5544)
  373. *PrintableOrigin: PAIR(96, 48)
  374. }
  375. *case: Option3
  376. {
  377. *PrintableArea: PAIR(4010, 5544)
  378. *PrintableOrigin: PAIR(94, 48)
  379. }
  380. *case: Option4
  381. {
  382. *PrintableArea: PAIR(4008, 5544)
  383. *PrintableOrigin: PAIR(96, 48)
  384. }
  385. }
  386. }
  387. *case: Option3
  388. {
  389. *PrintableArea: PAIR(4010, 5549)
  390. *PrintableOrigin: PAIR(94, 45)
  391. *switch: Resolution
  392. {
  393. *case: Option1
  394. {
  395. *PrintableArea: PAIR(4010, 5548)
  396. *PrintableOrigin: PAIR(94, 46)
  397. }
  398. *case: Option2
  399. {
  400. *PrintableArea: PAIR(4008, 5544)
  401. *PrintableOrigin: PAIR(96, 48)
  402. }
  403. *case: Option3
  404. {
  405. *PrintableArea: PAIR(4010, 5544)
  406. *PrintableOrigin: PAIR(94, 48)
  407. }
  408. *case: Option4
  409. {
  410. *PrintableArea: PAIR(4008, 5544)
  411. *PrintableOrigin: PAIR(96, 48)
  412. }
  413. }
  414. }
  415. *case: Option4
  416. {
  417. *PrintableArea: PAIR(4010, 5549)
  418. *PrintableOrigin: PAIR(94, 45)
  419. *switch: Resolution
  420. {
  421. *case: Option1
  422. {
  423. *PrintableArea: PAIR(4010, 5548)
  424. *PrintableOrigin: PAIR(94, 46)
  425. }
  426. *case: Option2
  427. {
  428. *PrintableArea: PAIR(4008, 5544)
  429. *PrintableOrigin: PAIR(96, 48)
  430. }
  431. *case: Option3
  432. {
  433. *PrintableArea: PAIR(4010, 5544)
  434. *PrintableOrigin: PAIR(94, 48)
  435. }
  436. *case: Option4
  437. {
  438. *PrintableArea: PAIR(4008, 5544)
  439. *PrintableOrigin: PAIR(96, 48)
  440. }
  441. }
  442. }
  443. }
  444. }
  445. *Option: A4
  446. {
  447. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  448. *Command: CmdSelect
  449. {
  450. *Order: DOC_SETUP.4
  451. *Cmd: "<1B>0<1B>C^"
  452. }
  453. *switch: InputBin
  454. {
  455. *case: TRACTOR
  456. {
  457. *PrintableArea: PAIR(5766, 8417)
  458. *PrintableOrigin: PAIR(94, 0)
  459. *switch: Resolution
  460. {
  461. *case: Option1
  462. {
  463. *PrintableArea: PAIR(5766, 8416)
  464. }
  465. *case: Option2
  466. {
  467. *PrintableArea: PAIR(5764, 8416)
  468. *PrintableOrigin: PAIR(96, 0)
  469. }
  470. *case: Option3
  471. {
  472. *PrintableArea: PAIR(5766, 8416)
  473. }
  474. *case: Option4
  475. {
  476. *PrintableArea: PAIR(5760, 8416)
  477. *PrintableOrigin: PAIR(96, 0)
  478. }
  479. }
  480. }
  481. *case: MANUAL
  482. {
  483. *PrintableArea: PAIR(5766, 8012)
  484. *PrintableOrigin: PAIR(94, 45)
  485. *switch: Resolution
  486. {
  487. *case: Option1
  488. {
  489. *PrintableArea: PAIR(5766, 8010)
  490. *PrintableOrigin: PAIR(94, 46)
  491. }
  492. *case: Option2
  493. {
  494. *PrintableArea: PAIR(5764, 8008)
  495. *PrintableOrigin: PAIR(96, 48)
  496. }
  497. *case: Option3
  498. {
  499. *PrintableArea: PAIR(5766, 8008)
  500. *PrintableOrigin: PAIR(94, 48)
  501. }
  502. *case: Option4
  503. {
  504. *PrintableArea: PAIR(5760, 8008)
  505. *PrintableOrigin: PAIR(96, 48)
  506. }
  507. }
  508. }
  509. *case: Option3
  510. {
  511. *PrintableArea: PAIR(5766, 8012)
  512. *PrintableOrigin: PAIR(94, 45)
  513. *switch: Resolution
  514. {
  515. *case: Option1
  516. {
  517. *PrintableArea: PAIR(5766, 8010)
  518. *PrintableOrigin: PAIR(94, 46)
  519. }
  520. *case: Option2
  521. {
  522. *PrintableArea: PAIR(5764, 8008)
  523. *PrintableOrigin: PAIR(96, 48)
  524. }
  525. *case: Option3
  526. {
  527. *PrintableArea: PAIR(5766, 8008)
  528. *PrintableOrigin: PAIR(94, 48)
  529. }
  530. *case: Option4
  531. {
  532. *PrintableArea: PAIR(5760, 8008)
  533. *PrintableOrigin: PAIR(96, 48)
  534. }
  535. }
  536. }
  537. *case: Option4
  538. {
  539. *PrintableArea: PAIR(5766, 8012)
  540. *PrintableOrigin: PAIR(94, 45)
  541. *switch: Resolution
  542. {
  543. *case: Option1
  544. {
  545. *PrintableArea: PAIR(5766, 8010)
  546. *PrintableOrigin: PAIR(94, 46)
  547. }
  548. *case: Option2
  549. {
  550. *PrintableArea: PAIR(5764, 8008)
  551. *PrintableOrigin: PAIR(96, 48)
  552. }
  553. *case: Option3
  554. {
  555. *PrintableArea: PAIR(5766, 8008)
  556. *PrintableOrigin: PAIR(94, 48)
  557. }
  558. *case: Option4
  559. {
  560. *PrintableArea: PAIR(5760, 8008)
  561. *PrintableOrigin: PAIR(96, 48)
  562. }
  563. }
  564. }
  565. }
  566. }
  567. *Option: B5
  568. {
  569. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  570. *Command: CmdSelect
  571. {
  572. *Order: DOC_SETUP.4
  573. *Cmd: "<1B>0<1B>CQ"
  574. }
  575. *switch: InputBin
  576. {
  577. *case: TRACTOR
  578. {
  579. *PrintableArea: PAIR(4974, 7286)
  580. *PrintableOrigin: PAIR(94, 0)
  581. *switch: Resolution
  582. {
  583. *case: Option2
  584. {
  585. *PrintableArea: PAIR(4972, 7284)
  586. *PrintableOrigin: PAIR(96, 0)
  587. }
  588. *case: Option3
  589. {
  590. *PrintableArea: PAIR(4974, 7284)
  591. }
  592. *case: Option4
  593. {
  594. *PrintableArea: PAIR(4968, 7284)
  595. *PrintableOrigin: PAIR(96, 0)
  596. }
  597. }
  598. }
  599. *case: MANUAL
  600. {
  601. *PrintableArea: PAIR(4974, 6881)
  602. *PrintableOrigin: PAIR(94, 45)
  603. *switch: Resolution
  604. {
  605. *case: Option1
  606. {
  607. *PrintableArea: PAIR(4974, 6880)
  608. *PrintableOrigin: PAIR(94, 46)
  609. }
  610. *case: Option2
  611. {
  612. *PrintableArea: PAIR(4972, 6876)
  613. *PrintableOrigin: PAIR(96, 48)
  614. }
  615. *case: Option3
  616. {
  617. *PrintableArea: PAIR(4974, 6876)
  618. *PrintableOrigin: PAIR(94, 48)
  619. }
  620. *case: Option4
  621. {
  622. *PrintableArea: PAIR(4968, 6876)
  623. *PrintableOrigin: PAIR(96, 48)
  624. }
  625. }
  626. }
  627. *case: Option3
  628. {
  629. *PrintableArea: PAIR(4974, 6881)
  630. *PrintableOrigin: PAIR(94, 45)
  631. *switch: Resolution
  632. {
  633. *case: Option1
  634. {
  635. *PrintableArea: PAIR(4974, 6880)
  636. *PrintableOrigin: PAIR(94, 46)
  637. }
  638. *case: Option2
  639. {
  640. *PrintableArea: PAIR(4972, 6876)
  641. *PrintableOrigin: PAIR(96, 48)
  642. }
  643. *case: Option3
  644. {
  645. *PrintableArea: PAIR(4974, 6876)
  646. *PrintableOrigin: PAIR(94, 48)
  647. }
  648. *case: Option4
  649. {
  650. *PrintableArea: PAIR(4968, 6876)
  651. *PrintableOrigin: PAIR(96, 48)
  652. }
  653. }
  654. }
  655. *case: Option4
  656. {
  657. *PrintableArea: PAIR(4974, 6881)
  658. *PrintableOrigin: PAIR(94, 45)
  659. *switch: Resolution
  660. {
  661. *case: Option1
  662. {
  663. *PrintableArea: PAIR(4974, 6880)
  664. *PrintableOrigin: PAIR(94, 46)
  665. }
  666. *case: Option2
  667. {
  668. *PrintableArea: PAIR(4972, 6876)
  669. *PrintableOrigin: PAIR(96, 48)
  670. }
  671. *case: Option3
  672. {
  673. *PrintableArea: PAIR(4974, 6876)
  674. *PrintableOrigin: PAIR(94, 48)
  675. }
  676. *case: Option4
  677. {
  678. *PrintableArea: PAIR(4968, 6876)
  679. *PrintableOrigin: PAIR(96, 48)
  680. }
  681. }
  682. }
  683. }
  684. }
  685. *Option: Option6
  686. {
  687. *rcNameID: 260
  688. *PageDimensions: PAIR(6840, 2974)
  689. *Command: CmdSelect
  690. {
  691. *Order: DOC_SETUP.4
  692. *Cmd: "<1B>0<1B>CD"
  693. }
  694. *switch: InputBin
  695. {
  696. *case: TRACTOR
  697. {
  698. *PrintableArea: PAIR(6480, 1894)
  699. *PrintableOrigin: PAIR(180, 504)
  700. *switch: Resolution
  701. {
  702. *case: Option2
  703. {
  704. *PrintableArea: PAIR(6480, 1892)
  705. }
  706. *case: Option3
  707. {
  708. *PrintableArea: PAIR(6480, 1892)
  709. }
  710. *case: Option4
  711. {
  712. *PrintableArea: PAIR(6480, 1892)
  713. }
  714. }
  715. }
  716. *case: MANUAL
  717. {
  718. *PrintableArea: PAIR(6480, 1894)
  719. *PrintableOrigin: PAIR(180, 504)
  720. *switch: Resolution
  721. {
  722. *case: Option2
  723. {
  724. *PrintableArea: PAIR(6480, 1892)
  725. }
  726. *case: Option3
  727. {
  728. *PrintableArea: PAIR(6480, 1892)
  729. }
  730. *case: Option4
  731. {
  732. *PrintableArea: PAIR(6480, 1892)
  733. }
  734. }
  735. }
  736. *case: Option3
  737. {
  738. *PrintableArea: PAIR(6480, 1894)
  739. *PrintableOrigin: PAIR(180, 504)
  740. *switch: Resolution
  741. {
  742. *case: Option2
  743. {
  744. *PrintableArea: PAIR(6480, 1892)
  745. }
  746. *case: Option3
  747. {
  748. *PrintableArea: PAIR(6480, 1892)
  749. }
  750. *case: Option4
  751. {
  752. *PrintableArea: PAIR(6480, 1892)
  753. }
  754. }
  755. }
  756. *case: Option4
  757. {
  758. *PrintableArea: PAIR(6480, 1894)
  759. *PrintableOrigin: PAIR(180, 504)
  760. *switch: Resolution
  761. {
  762. *case: Option2
  763. {
  764. *PrintableArea: PAIR(6480, 1892)
  765. }
  766. *case: Option3
  767. {
  768. *PrintableArea: PAIR(6480, 1892)
  769. }
  770. *case: Option4
  771. {
  772. *PrintableArea: PAIR(6480, 1892)
  773. }
  774. }
  775. }
  776. }
  777. }
  778. *Option: Option7
  779. {
  780. *rcNameID: 261
  781. *PageDimensions: PAIR(6120, 7920)
  782. *Command: CmdSelect
  783. {
  784. *Order: DOC_SETUP.4
  785. *Cmd: "<1B>C<000B>"
  786. }
  787. *switch: InputBin
  788. {
  789. *case: TRACTOR
  790. {
  791. *PrintableArea: PAIR(5760, 7920)
  792. *PrintableOrigin: PAIR(180, 0)
  793. }
  794. *case: MANUAL
  795. {
  796. *PrintableArea: PAIR(5760, 7515)
  797. *PrintableOrigin: PAIR(180, 45)
  798. *switch: Resolution
  799. {
  800. *case: Option1
  801. {
  802. *PrintableArea: PAIR(5760, 7514)
  803. *PrintableOrigin: PAIR(180, 46)
  804. }
  805. *case: Option2
  806. {
  807. *PrintableArea: PAIR(5760, 7512)
  808. *PrintableOrigin: PAIR(180, 48)
  809. }
  810. *case: Option3
  811. {
  812. *PrintableArea: PAIR(5760, 7512)
  813. *PrintableOrigin: PAIR(180, 48)
  814. }
  815. *case: Option4
  816. {
  817. *PrintableArea: PAIR(5760, 7512)
  818. *PrintableOrigin: PAIR(180, 48)
  819. }
  820. }
  821. }
  822. *case: Option3
  823. {
  824. *PrintableArea: PAIR(5760, 7515)
  825. *PrintableOrigin: PAIR(180, 45)
  826. *switch: Resolution
  827. {
  828. *case: Option1
  829. {
  830. *PrintableArea: PAIR(5760, 7514)
  831. *PrintableOrigin: PAIR(180, 46)
  832. }
  833. *case: Option2
  834. {
  835. *PrintableArea: PAIR(5760, 7512)
  836. *PrintableOrigin: PAIR(180, 48)
  837. }
  838. *case: Option3
  839. {
  840. *PrintableArea: PAIR(5760, 7512)
  841. *PrintableOrigin: PAIR(180, 48)
  842. }
  843. *case: Option4
  844. {
  845. *PrintableArea: PAIR(5760, 7512)
  846. *PrintableOrigin: PAIR(180, 48)
  847. }
  848. }
  849. }
  850. *case: Option4
  851. {
  852. *PrintableArea: PAIR(5760, 7515)
  853. *PrintableOrigin: PAIR(180, 45)
  854. *switch: Resolution
  855. {
  856. *case: Option1
  857. {
  858. *PrintableArea: PAIR(5760, 7514)
  859. *PrintableOrigin: PAIR(180, 46)
  860. }
  861. *case: Option2
  862. {
  863. *PrintableArea: PAIR(5760, 7512)
  864. *PrintableOrigin: PAIR(180, 48)
  865. }
  866. *case: Option3
  867. {
  868. *PrintableArea: PAIR(5760, 7512)
  869. *PrintableOrigin: PAIR(180, 48)
  870. }
  871. *case: Option4
  872. {
  873. *PrintableArea: PAIR(5760, 7512)
  874. *PrintableOrigin: PAIR(180, 48)
  875. }
  876. }
  877. }
  878. }
  879. }
  880. *Option: Option8
  881. {
  882. *rcNameID: 262
  883. *PageDimensions: PAIR(6120, 8640)
  884. *Command: CmdSelect
  885. {
  886. *Order: DOC_SETUP.4
  887. *Cmd: "<1B>C<000C>"
  888. }
  889. *switch: InputBin
  890. {
  891. *case: TRACTOR
  892. {
  893. *PrintableArea: PAIR(5760, 8640)
  894. *PrintableOrigin: PAIR(180, 0)
  895. }
  896. *case: MANUAL
  897. {
  898. *PrintableArea: PAIR(5760, 8235)
  899. *PrintableOrigin: PAIR(180, 45)
  900. *switch: Resolution
  901. {
  902. *case: Option1
  903. {
  904. *PrintableArea: PAIR(5760, 8234)
  905. *PrintableOrigin: PAIR(180, 46)
  906. }
  907. *case: Option2
  908. {
  909. *PrintableArea: PAIR(5760, 8232)
  910. *PrintableOrigin: PAIR(180, 48)
  911. }
  912. *case: Option3
  913. {
  914. *PrintableArea: PAIR(5760, 8232)
  915. *PrintableOrigin: PAIR(180, 48)
  916. }
  917. *case: Option4
  918. {
  919. *PrintableArea: PAIR(5760, 8232)
  920. *PrintableOrigin: PAIR(180, 48)
  921. }
  922. }
  923. }
  924. *case: Option3
  925. {
  926. *PrintableArea: PAIR(5760, 8235)
  927. *PrintableOrigin: PAIR(180, 45)
  928. *switch: Resolution
  929. {
  930. *case: Option1
  931. {
  932. *PrintableArea: PAIR(5760, 8234)
  933. *PrintableOrigin: PAIR(180, 46)
  934. }
  935. *case: Option2
  936. {
  937. *PrintableArea: PAIR(5760, 8232)
  938. *PrintableOrigin: PAIR(180, 48)
  939. }
  940. *case: Option3
  941. {
  942. *PrintableArea: PAIR(5760, 8232)
  943. *PrintableOrigin: PAIR(180, 48)
  944. }
  945. *case: Option4
  946. {
  947. *PrintableArea: PAIR(5760, 8232)
  948. *PrintableOrigin: PAIR(180, 48)
  949. }
  950. }
  951. }
  952. *case: Option4
  953. {
  954. *PrintableArea: PAIR(5760, 8235)
  955. *PrintableOrigin: PAIR(180, 45)
  956. *switch: Resolution
  957. {
  958. *case: Option1
  959. {
  960. *PrintableArea: PAIR(5760, 8234)
  961. *PrintableOrigin: PAIR(180, 46)
  962. }
  963. *case: Option2
  964. {
  965. *PrintableArea: PAIR(5760, 8232)
  966. *PrintableOrigin: PAIR(180, 48)
  967. }
  968. *case: Option3
  969. {
  970. *PrintableArea: PAIR(5760, 8232)
  971. *PrintableOrigin: PAIR(180, 48)
  972. }
  973. *case: Option4
  974. {
  975. *PrintableArea: PAIR(5760, 8232)
  976. *PrintableOrigin: PAIR(180, 48)
  977. }
  978. }
  979. }
  980. }
  981. }
  982. *Option: CUSTOMSIZE
  983. {
  984. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  985. *MinSize: PAIR(720, 720)
  986. *MaxSize: PAIR(8424, 15840)
  987. *MaxPrintableWidth: 6480
  988. *MinLeftMargin: 90
  989. *CenterPrintable?: FALSE
  990. *switch: InputBin
  991. {
  992. *case: TRACTOR
  993. {
  994. *TopMargin: 0
  995. *BottomMargin: 0
  996. }
  997. *case: MANUAL
  998. {
  999. *TopMargin: 45
  1000. *BottomMargin: 360
  1001. }
  1002. *case: Option3
  1003. {
  1004. *TopMargin: 45
  1005. *BottomMargin: 360
  1006. }
  1007. *case: Option4
  1008. {
  1009. *TopMargin: 45
  1010. *BottomMargin: 360
  1011. }
  1012. }
  1013. }
  1014. }
  1015. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.Option6)
  1016. *InvalidCombination: LIST(InputBin.Option3, PaperSize.Option6)
  1017. *Feature: PrintQuality
  1018. {
  1019. *rcNameID: =TEXT_QUALITY_DISPLAY
  1020. *DefaultOption: LETTER_QUALITY
  1021. *Option: LETTER_QUALITY
  1022. {
  1023. *rcNameID: =LETTER_QUALITY_DISPLAY
  1024. *Command: CmdSelect
  1025. {
  1026. *Order: DOC_SETUP.2
  1027. *Cmd: "<1B>[d<010080>"
  1028. }
  1029. }
  1030. *Option: DRAFT_QUALITY
  1031. {
  1032. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1033. *Command: CmdSelect
  1034. {
  1035. *Order: DOC_SETUP.2
  1036. *Cmd: "<1B>[d<010001>"
  1037. }
  1038. }
  1039. }
  1040. *Feature: Halftone
  1041. {
  1042. *rcNameID: =HALFTONING_DISPLAY
  1043. *DefaultOption: HT_PATSIZE_AUTO
  1044. *Option: HT_PATSIZE_AUTO
  1045. {
  1046. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1047. }
  1048. *Ifdef: WINNT_50
  1049. *Option: HT_PATSIZE_SUPERCELL_M
  1050. {
  1051. *rcNameID: =HT_SUPERCELL_DISPLAY
  1052. }
  1053. *Endif:
  1054. *Option: HT_PATSIZE_6x6_M
  1055. {
  1056. *rcNameID: =HT_DITHER6X6_DISPLAY
  1057. }
  1058. *Option: HT_PATSIZE_8x8_M
  1059. {
  1060. *rcNameID: =HT_DITHER8X8_DISPLAY
  1061. }
  1062. }
  1063. *Command: CmdStartDoc
  1064. {
  1065. *Order: DOC_SETUP.1
  1066. *Cmd: "<1B>[\<0400B400B4001B>[T<0400000003>R<1B>6"
  1067. }
  1068. *Command: CmdStartPage
  1069. {
  1070. *Order: PAGE_SETUP.1
  1071. *Cmd: "<1B>4<0D>"
  1072. }
  1073. *Command: CmdEndJob
  1074. {
  1075. *Order: JOB_FINISH.1
  1076. *Cmd: "<1B>[K<010000>"
  1077. }
  1078. *RotateCoordinate?: FALSE
  1079. *RotateRaster?: FALSE
  1080. *RotateFont?: FALSE
  1081. *switch: Orientation
  1082. {
  1083. *case: PORTRAIT
  1084. {
  1085. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1086. }
  1087. *case: LANDSCAPE_CC270
  1088. {
  1089. *TextCaps: LIST(TC_RA_ABLE)
  1090. }
  1091. }
  1092. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1093. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1094. *MaxLineSpacing: 255
  1095. *XMoveThreshold: *
  1096. *XMoveUnit: 120
  1097. *Command: CmdXMoveRelRight { *Cmd : "<1B>d" %l{(DestXRel / 6) } }
  1098. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  1099. *Command: CmdCR { *Cmd : "<0D>" }
  1100. *Command: CmdLF { *Cmd : "<0A>" }
  1101. *Command: CmdFF { *Cmd : "<0C>" }
  1102. *Command: CmdBackSpace { *Cmd : "<08>" }
  1103. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1104. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1105. *EjectPageWithFF?: TRUE
  1106. *switch: PaperSize
  1107. {
  1108. *case: CUSTOMSIZE
  1109. {
  1110. *EjectPageWithFF?: FALSE
  1111. *switch: InputBin
  1112. {
  1113. *case: MANUAL
  1114. {
  1115. *EjectPageWithFF?: TRUE
  1116. }
  1117. *case: Option3
  1118. {
  1119. *EjectPageWithFF?: TRUE
  1120. }
  1121. *case: Option4
  1122. {
  1123. *EjectPageWithFF?: TRUE
  1124. }
  1125. }
  1126. }
  1127. }
  1128. *OutputDataFormat: V_BYTE
  1129. *OptimizeLeftBound?: FALSE
  1130. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1131. *CursorYAfterSendBlockData: NO_MOVE
  1132. *DefaultFont: 4
  1133. *DefaultCTT: -2
  1134. *switch: Orientation
  1135. {
  1136. *case: PORTRAIT
  1137. {
  1138. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  1139. + 17,18,19,20,21,22,23,24)
  1140. }
  1141. *case: LANDSCAPE_CC270
  1142. {
  1143. *DeviceFonts: LIST()
  1144. }
  1145. }
  1146. *FontCartridge: FC1
  1147. {
  1148. *rcCartridgeNameID: 269
  1149. *PortraitFonts: LIST(25,26,27,28,29,30,31,32)
  1150. *LandscapeFonts: LIST()
  1151. }
  1152. *FontCartridge: FC2
  1153. {
  1154. *rcCartridgeNameID: 271
  1155. *PortraitFonts: LIST(33,34,35,36,37,38,39,40,41,42,43,44)
  1156. *LandscapeFonts: LIST()
  1157. }
  1158. *FontCartridge: FC3
  1159. {
  1160. *rcCartridgeNameID: 273
  1161. *PortraitFonts: LIST(45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60)
  1162. *LandscapeFonts: LIST()
  1163. }
  1164. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  1165. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  1166. *Command: CmdItalicOn { *Cmd : "<1B>[@<040001000000>" }
  1167. *Command: CmdItalicOff { *Cmd : "<1B>[@<040002000000>" }
  1168. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1169. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  1170. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>p<01>" }
  1171. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>p<00>" }