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.

1577 lines
47 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *Include: "StdNames.gpd"
  6. *MasterUnits: PAIR(720, 720)
  7. *ResourceDLL: "str24res.dll"
  8. *PrinterType: SERIAL
  9. *Feature: Orientation
  10. {
  11. *rcNameID: =ORIENTATION_DISPLAY
  12. *DefaultOption: PORTRAIT
  13. *Option: PORTRAIT
  14. {
  15. *rcNameID: =PORTRAIT_DISPLAY
  16. }
  17. *Option: LANDSCAPE_CC270
  18. {
  19. *rcNameID: =LANDSCAPE_DISPLAY
  20. }
  21. }
  22. *Feature: InputBin
  23. {
  24. *rcNameID: =PAPER_SOURCE_DISPLAY
  25. *DefaultOption: TRACTOR
  26. *Option: TRACTOR
  27. {
  28. *rcNameID: =TRACTOR_DISPLAY
  29. }
  30. *Option: AUTO
  31. {
  32. *rcNameID: =AUTO_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.3
  36. *Cmd: "<1B1904>"
  37. }
  38. }
  39. *Option: MANUAL
  40. {
  41. *rcNameID: =MANUAL_FEED_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.3
  45. *Cmd: "<1B1900>"
  46. }
  47. }
  48. *Option: Option4
  49. {
  50. *rcNameID: 262
  51. *Command: CmdSelect
  52. {
  53. *Order: DOC_SETUP.3
  54. *Cmd: "<1B1901>"
  55. }
  56. }
  57. *Option: Option5
  58. {
  59. *rcNameID: 263
  60. *Command: CmdSelect
  61. {
  62. *Order: DOC_SETUP.3
  63. *Cmd: "<1B1902>"
  64. }
  65. }
  66. }
  67. *Feature: Resolution
  68. {
  69. *rcNameID: =RESOLUTION_DISPLAY
  70. *DefaultOption: Option1
  71. *Option: Option1
  72. {
  73. *Name: "180 x 180 " =DOTS_PER_INCH
  74. *DPI: PAIR(180, 180)
  75. *TextDPI: PAIR(180, 180)
  76. *PinsPerLogPass: 24
  77. *PinsPerPhysPass: 24
  78. *MinStripBlankPixels: 90
  79. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  80. *SpotDiameter: 170
  81. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  82. }
  83. *Option: Option2
  84. {
  85. *Name: "360 x 360 " =DOTS_PER_INCH
  86. *DPI: PAIR(360, 360)
  87. *TextDPI: PAIR(360, 360)
  88. *PinsPerLogPass: 48
  89. *PinsPerPhysPass: 24
  90. *MinStripBlankPixels: 180
  91. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  92. *SpotDiameter: 170
  93. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  94. }
  95. *Option: Option3
  96. {
  97. *Name: "360 x 180 " =DOTS_PER_INCH
  98. *DPI: PAIR(360, 180)
  99. *TextDPI: PAIR(360, 180)
  100. *PinsPerLogPass: 24
  101. *PinsPerPhysPass: 24
  102. *MinStripBlankPixels: 180
  103. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  104. *SpotDiameter: 170
  105. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  106. }
  107. *Option: Option4
  108. {
  109. *Name: "120 x 180 " =DOTS_PER_INCH
  110. *DPI: PAIR(120, 180)
  111. *TextDPI: PAIR(120, 180)
  112. *PinsPerLogPass: 24
  113. *PinsPerPhysPass: 24
  114. *MinStripBlankPixels: 60
  115. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  116. *SpotDiameter: 170
  117. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  118. }
  119. }
  120. *Feature: PaperSize
  121. {
  122. *rcNameID: =PAPER_SIZE_DISPLAY
  123. *DefaultOption: LETTER
  124. *Option: LETTER
  125. {
  126. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  127. *Command: CmdSelect
  128. {
  129. *Order: DOC_SETUP.4
  130. *Cmd: "<1B>2<1B>CB"
  131. }
  132. *switch: InputBin
  133. {
  134. *case: TRACTOR
  135. {
  136. *PrintableArea: PAIR(6120, 7920)
  137. *PrintableOrigin: PAIR(0, 0)
  138. }
  139. *case: AUTO
  140. {
  141. *PrintableArea: PAIR(6120, 6795)
  142. *PrintableOrigin: PAIR(0, 720)
  143. *switch: Resolution
  144. {
  145. *case: Option1
  146. {
  147. *PrintableArea: PAIR(6120, 6792)
  148. }
  149. *case: Option2
  150. {
  151. *PrintableArea: PAIR(6120, 6794)
  152. }
  153. *case: Option3
  154. {
  155. *PrintableArea: PAIR(6120, 6792)
  156. }
  157. *case: Option4
  158. {
  159. *PrintableArea: PAIR(6120, 6792)
  160. }
  161. }
  162. }
  163. *case: MANUAL
  164. {
  165. *PrintableArea: PAIR(6120, 6795)
  166. *PrintableOrigin: PAIR(0, 720)
  167. *switch: Resolution
  168. {
  169. *case: Option1
  170. {
  171. *PrintableArea: PAIR(6120, 6792)
  172. }
  173. *case: Option2
  174. {
  175. *PrintableArea: PAIR(6120, 6794)
  176. }
  177. *case: Option3
  178. {
  179. *PrintableArea: PAIR(6120, 6792)
  180. }
  181. *case: Option4
  182. {
  183. *PrintableArea: PAIR(6120, 6792)
  184. }
  185. }
  186. }
  187. *case: Option4
  188. {
  189. *PrintableArea: PAIR(6120, 6795)
  190. *PrintableOrigin: PAIR(0, 720)
  191. *switch: Resolution
  192. {
  193. *case: Option1
  194. {
  195. *PrintableArea: PAIR(6120, 6792)
  196. }
  197. *case: Option2
  198. {
  199. *PrintableArea: PAIR(6120, 6794)
  200. }
  201. *case: Option3
  202. {
  203. *PrintableArea: PAIR(6120, 6792)
  204. }
  205. *case: Option4
  206. {
  207. *PrintableArea: PAIR(6120, 6792)
  208. }
  209. }
  210. }
  211. *case: Option5
  212. {
  213. *PrintableArea: PAIR(6120, 6795)
  214. *PrintableOrigin: PAIR(0, 720)
  215. *switch: Resolution
  216. {
  217. *case: Option1
  218. {
  219. *PrintableArea: PAIR(6120, 6792)
  220. }
  221. *case: Option2
  222. {
  223. *PrintableArea: PAIR(6120, 6794)
  224. }
  225. *case: Option3
  226. {
  227. *PrintableArea: PAIR(6120, 6792)
  228. }
  229. *case: Option4
  230. {
  231. *PrintableArea: PAIR(6120, 6792)
  232. }
  233. }
  234. }
  235. }
  236. }
  237. *Option: LEGAL
  238. {
  239. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  240. *Command: CmdSelect
  241. {
  242. *Order: DOC_SETUP.4
  243. *Cmd: "<1B>2<1B>CT"
  244. }
  245. *switch: InputBin
  246. {
  247. *case: TRACTOR
  248. {
  249. *PrintableArea: PAIR(6120, 10080)
  250. *PrintableOrigin: PAIR(0, 0)
  251. }
  252. *case: AUTO
  253. {
  254. *PrintableArea: PAIR(6120, 8955)
  255. *PrintableOrigin: PAIR(0, 720)
  256. *switch: Resolution
  257. {
  258. *case: Option1
  259. {
  260. *PrintableArea: PAIR(6120, 8952)
  261. }
  262. *case: Option2
  263. {
  264. *PrintableArea: PAIR(6120, 8954)
  265. }
  266. *case: Option3
  267. {
  268. *PrintableArea: PAIR(6120, 8952)
  269. }
  270. *case: Option4
  271. {
  272. *PrintableArea: PAIR(6120, 8952)
  273. }
  274. }
  275. }
  276. *case: MANUAL
  277. {
  278. *PrintableArea: PAIR(6120, 8955)
  279. *PrintableOrigin: PAIR(0, 720)
  280. *switch: Resolution
  281. {
  282. *case: Option1
  283. {
  284. *PrintableArea: PAIR(6120, 8952)
  285. }
  286. *case: Option2
  287. {
  288. *PrintableArea: PAIR(6120, 8954)
  289. }
  290. *case: Option3
  291. {
  292. *PrintableArea: PAIR(6120, 8952)
  293. }
  294. *case: Option4
  295. {
  296. *PrintableArea: PAIR(6120, 8952)
  297. }
  298. }
  299. }
  300. *case: Option4
  301. {
  302. *PrintableArea: PAIR(6120, 8955)
  303. *PrintableOrigin: PAIR(0, 720)
  304. *switch: Resolution
  305. {
  306. *case: Option1
  307. {
  308. *PrintableArea: PAIR(6120, 8952)
  309. }
  310. *case: Option2
  311. {
  312. *PrintableArea: PAIR(6120, 8954)
  313. }
  314. *case: Option3
  315. {
  316. *PrintableArea: PAIR(6120, 8952)
  317. }
  318. *case: Option4
  319. {
  320. *PrintableArea: PAIR(6120, 8952)
  321. }
  322. }
  323. }
  324. *case: Option5
  325. {
  326. *PrintableArea: PAIR(6120, 8955)
  327. *PrintableOrigin: PAIR(0, 720)
  328. *switch: Resolution
  329. {
  330. *case: Option1
  331. {
  332. *PrintableArea: PAIR(6120, 8952)
  333. }
  334. *case: Option2
  335. {
  336. *PrintableArea: PAIR(6120, 8954)
  337. }
  338. *case: Option3
  339. {
  340. *PrintableArea: PAIR(6120, 8952)
  341. }
  342. *case: Option4
  343. {
  344. *PrintableArea: PAIR(6120, 8952)
  345. }
  346. }
  347. }
  348. }
  349. }
  350. *Option: A3
  351. {
  352. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  353. *Command: CmdSelect
  354. {
  355. *Order: DOC_SETUP.4
  356. *Cmd: "<1B>2<1B>Cc"
  357. }
  358. *switch: InputBin
  359. {
  360. *case: TRACTOR
  361. {
  362. *PrintableArea: PAIR(8417, 11909)
  363. *PrintableOrigin: PAIR(0, 0)
  364. *switch: Resolution
  365. {
  366. *case: Option1
  367. {
  368. *PrintableArea: PAIR(8416, 11908)
  369. }
  370. *case: Option2
  371. {
  372. *PrintableArea: PAIR(8416, 11908)
  373. }
  374. *case: Option3
  375. {
  376. *PrintableArea: PAIR(8416, 11908)
  377. }
  378. *case: Option4
  379. {
  380. *PrintableArea: PAIR(8412, 11908)
  381. }
  382. }
  383. }
  384. *case: AUTO
  385. {
  386. *PrintableArea: PAIR(8417, 10784)
  387. *PrintableOrigin: PAIR(0, 720)
  388. *switch: Resolution
  389. {
  390. *case: Option1
  391. {
  392. *PrintableArea: PAIR(8416, 10784)
  393. }
  394. *case: Option2
  395. {
  396. *PrintableArea: PAIR(8416, 10784)
  397. }
  398. *case: Option3
  399. {
  400. *PrintableArea: PAIR(8416, 10784)
  401. }
  402. *case: Option4
  403. {
  404. *PrintableArea: PAIR(8412, 10784)
  405. }
  406. }
  407. }
  408. *case: MANUAL
  409. {
  410. *PrintableArea: PAIR(8417, 10784)
  411. *PrintableOrigin: PAIR(0, 720)
  412. *switch: Resolution
  413. {
  414. *case: Option1
  415. {
  416. *PrintableArea: PAIR(8416, 10784)
  417. }
  418. *case: Option2
  419. {
  420. *PrintableArea: PAIR(8416, 10784)
  421. }
  422. *case: Option3
  423. {
  424. *PrintableArea: PAIR(8416, 10784)
  425. }
  426. *case: Option4
  427. {
  428. *PrintableArea: PAIR(8412, 10784)
  429. }
  430. }
  431. }
  432. *case: Option4
  433. {
  434. *PrintableArea: PAIR(8417, 10784)
  435. *PrintableOrigin: PAIR(0, 720)
  436. *switch: Resolution
  437. {
  438. *case: Option1
  439. {
  440. *PrintableArea: PAIR(8416, 10784)
  441. }
  442. *case: Option2
  443. {
  444. *PrintableArea: PAIR(8416, 10784)
  445. }
  446. *case: Option3
  447. {
  448. *PrintableArea: PAIR(8416, 10784)
  449. }
  450. *case: Option4
  451. {
  452. *PrintableArea: PAIR(8412, 10784)
  453. }
  454. }
  455. }
  456. *case: Option5
  457. {
  458. *PrintableArea: PAIR(8417, 10784)
  459. *PrintableOrigin: PAIR(0, 720)
  460. *switch: Resolution
  461. {
  462. *case: Option1
  463. {
  464. *PrintableArea: PAIR(8416, 10784)
  465. }
  466. *case: Option2
  467. {
  468. *PrintableArea: PAIR(8416, 10784)
  469. }
  470. *case: Option3
  471. {
  472. *PrintableArea: PAIR(8416, 10784)
  473. }
  474. *case: Option4
  475. {
  476. *PrintableArea: PAIR(8412, 10784)
  477. }
  478. }
  479. }
  480. }
  481. }
  482. *Option: Option4
  483. {
  484. *rcNameID: 258
  485. *PageDimensions: PAIR(11909, 8417)
  486. *Command: CmdSelect
  487. {
  488. *Order: DOC_SETUP.4
  489. *Cmd: "<1B>2<1B>CF"
  490. }
  491. *switch: InputBin
  492. {
  493. *case: TRACTOR
  494. {
  495. *PrintableArea: PAIR(9792, 8417)
  496. *PrintableOrigin: PAIR(0, 0)
  497. *switch: Resolution
  498. {
  499. *case: Option1
  500. {
  501. *PrintableArea: PAIR(9792, 8416)
  502. }
  503. *case: Option2
  504. {
  505. *PrintableArea: PAIR(9792, 8416)
  506. }
  507. *case: Option3
  508. {
  509. *PrintableArea: PAIR(9792, 8416)
  510. }
  511. *case: Option4
  512. {
  513. *PrintableArea: PAIR(9792, 8416)
  514. }
  515. }
  516. }
  517. *case: AUTO
  518. {
  519. *PrintableArea: PAIR(9792, 7292)
  520. *PrintableOrigin: PAIR(0, 720)
  521. }
  522. *case: MANUAL
  523. {
  524. *PrintableArea: PAIR(9792, 7292)
  525. *PrintableOrigin: PAIR(0, 720)
  526. }
  527. *case: Option4
  528. {
  529. *PrintableArea: PAIR(9792, 7292)
  530. *PrintableOrigin: PAIR(0, 720)
  531. }
  532. *case: Option5
  533. {
  534. *PrintableArea: PAIR(9792, 7292)
  535. *PrintableOrigin: PAIR(0, 720)
  536. }
  537. }
  538. }
  539. *Option: A4
  540. {
  541. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  542. *Command: CmdSelect
  543. {
  544. *Order: DOC_SETUP.4
  545. *Cmd: "<1B>3<121B>Cu"
  546. }
  547. *switch: InputBin
  548. {
  549. *case: TRACTOR
  550. {
  551. *PrintableArea: PAIR(5954, 8417)
  552. *PrintableOrigin: PAIR(0, 0)
  553. *switch: Resolution
  554. {
  555. *case: Option1
  556. {
  557. *PrintableArea: PAIR(5952, 8416)
  558. }
  559. *case: Option2
  560. {
  561. *PrintableArea: PAIR(5954, 8416)
  562. }
  563. *case: Option3
  564. {
  565. *PrintableArea: PAIR(5954, 8416)
  566. }
  567. *case: Option4
  568. {
  569. *PrintableArea: PAIR(5952, 8416)
  570. }
  571. }
  572. }
  573. *case: AUTO
  574. {
  575. *PrintableArea: PAIR(5954, 7292)
  576. *PrintableOrigin: PAIR(0, 720)
  577. *switch: Resolution
  578. {
  579. *case: Option1
  580. {
  581. *PrintableArea: PAIR(5952, 7292)
  582. }
  583. *case: Option4
  584. {
  585. *PrintableArea: PAIR(5952, 7292)
  586. }
  587. }
  588. }
  589. *case: MANUAL
  590. {
  591. *PrintableArea: PAIR(5954, 7292)
  592. *PrintableOrigin: PAIR(0, 720)
  593. *switch: Resolution
  594. {
  595. *case: Option1
  596. {
  597. *PrintableArea: PAIR(5952, 7292)
  598. }
  599. *case: Option4
  600. {
  601. *PrintableArea: PAIR(5952, 7292)
  602. }
  603. }
  604. }
  605. *case: Option4
  606. {
  607. *PrintableArea: PAIR(5954, 7292)
  608. *PrintableOrigin: PAIR(0, 720)
  609. *switch: Resolution
  610. {
  611. *case: Option1
  612. {
  613. *PrintableArea: PAIR(5952, 7292)
  614. }
  615. *case: Option4
  616. {
  617. *PrintableArea: PAIR(5952, 7292)
  618. }
  619. }
  620. }
  621. *case: Option5
  622. {
  623. *PrintableArea: PAIR(5954, 7292)
  624. *PrintableOrigin: PAIR(0, 720)
  625. *switch: Resolution
  626. {
  627. *case: Option1
  628. {
  629. *PrintableArea: PAIR(5952, 7292)
  630. }
  631. *case: Option4
  632. {
  633. *PrintableArea: PAIR(5952, 7292)
  634. }
  635. }
  636. }
  637. }
  638. }
  639. *Option: B4
  640. {
  641. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  642. *Command: CmdSelect
  643. {
  644. *Order: DOC_SETUP.4
  645. *Cmd: "<1B>2<1B>CT"
  646. }
  647. *switch: InputBin
  648. {
  649. *case: TRACTOR
  650. {
  651. *PrintableArea: PAIR(7085, 10037)
  652. *PrintableOrigin: PAIR(0, 0)
  653. *switch: Resolution
  654. {
  655. *case: Option1
  656. {
  657. *PrintableArea: PAIR(7084, 10036)
  658. }
  659. *case: Option2
  660. {
  661. *PrintableArea: PAIR(7084, 10036)
  662. }
  663. *case: Option3
  664. {
  665. *PrintableArea: PAIR(7084, 10036)
  666. }
  667. *case: Option4
  668. {
  669. *PrintableArea: PAIR(7080, 10036)
  670. }
  671. }
  672. }
  673. *case: AUTO
  674. {
  675. *PrintableArea: PAIR(7085, 8912)
  676. *PrintableOrigin: PAIR(0, 720)
  677. *switch: Resolution
  678. {
  679. *case: Option1
  680. {
  681. *PrintableArea: PAIR(7084, 8912)
  682. }
  683. *case: Option2
  684. {
  685. *PrintableArea: PAIR(7084, 8912)
  686. }
  687. *case: Option3
  688. {
  689. *PrintableArea: PAIR(7084, 8912)
  690. }
  691. *case: Option4
  692. {
  693. *PrintableArea: PAIR(7080, 8912)
  694. }
  695. }
  696. }
  697. *case: MANUAL
  698. {
  699. *PrintableArea: PAIR(7085, 8912)
  700. *PrintableOrigin: PAIR(0, 720)
  701. *switch: Resolution
  702. {
  703. *case: Option1
  704. {
  705. *PrintableArea: PAIR(7084, 8912)
  706. }
  707. *case: Option2
  708. {
  709. *PrintableArea: PAIR(7084, 8912)
  710. }
  711. *case: Option3
  712. {
  713. *PrintableArea: PAIR(7084, 8912)
  714. }
  715. *case: Option4
  716. {
  717. *PrintableArea: PAIR(7080, 8912)
  718. }
  719. }
  720. }
  721. *case: Option4
  722. {
  723. *PrintableArea: PAIR(7085, 8912)
  724. *PrintableOrigin: PAIR(0, 720)
  725. *switch: Resolution
  726. {
  727. *case: Option1
  728. {
  729. *PrintableArea: PAIR(7084, 8912)
  730. }
  731. *case: Option2
  732. {
  733. *PrintableArea: PAIR(7084, 8912)
  734. }
  735. *case: Option3
  736. {
  737. *PrintableArea: PAIR(7084, 8912)
  738. }
  739. *case: Option4
  740. {
  741. *PrintableArea: PAIR(7080, 8912)
  742. }
  743. }
  744. }
  745. *case: Option5
  746. {
  747. *PrintableArea: PAIR(7085, 8912)
  748. *PrintableOrigin: PAIR(0, 720)
  749. *switch: Resolution
  750. {
  751. *case: Option1
  752. {
  753. *PrintableArea: PAIR(7084, 8912)
  754. }
  755. *case: Option2
  756. {
  757. *PrintableArea: PAIR(7084, 8912)
  758. }
  759. *case: Option3
  760. {
  761. *PrintableArea: PAIR(7084, 8912)
  762. }
  763. *case: Option4
  764. {
  765. *PrintableArea: PAIR(7080, 8912)
  766. }
  767. }
  768. }
  769. }
  770. }
  771. *Option: B5
  772. {
  773. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  774. *Command: CmdSelect
  775. {
  776. *Order: DOC_SETUP.4
  777. *Cmd: "<1B>2<1B>C="
  778. }
  779. *switch: InputBin
  780. {
  781. *case: TRACTOR
  782. {
  783. *PrintableArea: PAIR(5162, 7286)
  784. *PrintableOrigin: PAIR(0, 0)
  785. *switch: Resolution
  786. {
  787. *case: Option1
  788. {
  789. *PrintableArea: PAIR(5160, 7284)
  790. }
  791. *case: Option3
  792. {
  793. *PrintableArea: PAIR(5162, 7284)
  794. }
  795. *case: Option4
  796. {
  797. *PrintableArea: PAIR(5160, 7284)
  798. }
  799. }
  800. }
  801. *case: AUTO
  802. {
  803. *PrintableArea: PAIR(5162, 6161)
  804. *PrintableOrigin: PAIR(0, 720)
  805. *switch: Resolution
  806. {
  807. *case: Option1
  808. {
  809. *PrintableArea: PAIR(5160, 6160)
  810. }
  811. *case: Option2
  812. {
  813. *PrintableArea: PAIR(5162, 6160)
  814. }
  815. *case: Option3
  816. {
  817. *PrintableArea: PAIR(5162, 6160)
  818. }
  819. *case: Option4
  820. {
  821. *PrintableArea: PAIR(5160, 6160)
  822. }
  823. }
  824. }
  825. *case: MANUAL
  826. {
  827. *PrintableArea: PAIR(5162, 6161)
  828. *PrintableOrigin: PAIR(0, 720)
  829. *switch: Resolution
  830. {
  831. *case: Option1
  832. {
  833. *PrintableArea: PAIR(5160, 6160)
  834. }
  835. *case: Option2
  836. {
  837. *PrintableArea: PAIR(5162, 6160)
  838. }
  839. *case: Option3
  840. {
  841. *PrintableArea: PAIR(5162, 6160)
  842. }
  843. *case: Option4
  844. {
  845. *PrintableArea: PAIR(5160, 6160)
  846. }
  847. }
  848. }
  849. *case: Option4
  850. {
  851. *PrintableArea: PAIR(5162, 6161)
  852. *PrintableOrigin: PAIR(0, 720)
  853. *switch: Resolution
  854. {
  855. *case: Option1
  856. {
  857. *PrintableArea: PAIR(5160, 6160)
  858. }
  859. *case: Option2
  860. {
  861. *PrintableArea: PAIR(5162, 6160)
  862. }
  863. *case: Option3
  864. {
  865. *PrintableArea: PAIR(5162, 6160)
  866. }
  867. *case: Option4
  868. {
  869. *PrintableArea: PAIR(5160, 6160)
  870. }
  871. }
  872. }
  873. *case: Option5
  874. {
  875. *PrintableArea: PAIR(5162, 6161)
  876. *PrintableOrigin: PAIR(0, 720)
  877. *switch: Resolution
  878. {
  879. *case: Option1
  880. {
  881. *PrintableArea: PAIR(5160, 6160)
  882. }
  883. *case: Option2
  884. {
  885. *PrintableArea: PAIR(5162, 6160)
  886. }
  887. *case: Option3
  888. {
  889. *PrintableArea: PAIR(5162, 6160)
  890. }
  891. *case: Option4
  892. {
  893. *PrintableArea: PAIR(5160, 6160)
  894. }
  895. }
  896. }
  897. }
  898. }
  899. *Option: EXECUTIVE
  900. {
  901. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  902. *Command: CmdSelect
  903. {
  904. *Order: DOC_SETUP.4
  905. *Cmd: "<1B>2<1B>C?"
  906. }
  907. *switch: InputBin
  908. {
  909. *case: TRACTOR
  910. {
  911. *PrintableArea: PAIR(5220, 7560)
  912. *PrintableOrigin: PAIR(0, 0)
  913. }
  914. *case: AUTO
  915. {
  916. *PrintableArea: PAIR(5220, 6435)
  917. *PrintableOrigin: PAIR(0, 720)
  918. *switch: Resolution
  919. {
  920. *case: Option1
  921. {
  922. *PrintableArea: PAIR(5220, 6432)
  923. }
  924. *case: Option2
  925. {
  926. *PrintableArea: PAIR(5220, 6434)
  927. }
  928. *case: Option3
  929. {
  930. *PrintableArea: PAIR(5220, 6432)
  931. }
  932. *case: Option4
  933. {
  934. *PrintableArea: PAIR(5220, 6432)
  935. }
  936. }
  937. }
  938. *case: MANUAL
  939. {
  940. *PrintableArea: PAIR(5220, 6435)
  941. *PrintableOrigin: PAIR(0, 720)
  942. *switch: Resolution
  943. {
  944. *case: Option1
  945. {
  946. *PrintableArea: PAIR(5220, 6432)
  947. }
  948. *case: Option2
  949. {
  950. *PrintableArea: PAIR(5220, 6434)
  951. }
  952. *case: Option3
  953. {
  954. *PrintableArea: PAIR(5220, 6432)
  955. }
  956. *case: Option4
  957. {
  958. *PrintableArea: PAIR(5220, 6432)
  959. }
  960. }
  961. }
  962. *case: Option4
  963. {
  964. *PrintableArea: PAIR(5220, 6435)
  965. *PrintableOrigin: PAIR(0, 720)
  966. *switch: Resolution
  967. {
  968. *case: Option1
  969. {
  970. *PrintableArea: PAIR(5220, 6432)
  971. }
  972. *case: Option2
  973. {
  974. *PrintableArea: PAIR(5220, 6434)
  975. }
  976. *case: Option3
  977. {
  978. *PrintableArea: PAIR(5220, 6432)
  979. }
  980. *case: Option4
  981. {
  982. *PrintableArea: PAIR(5220, 6432)
  983. }
  984. }
  985. }
  986. *case: Option5
  987. {
  988. *PrintableArea: PAIR(5220, 6435)
  989. *PrintableOrigin: PAIR(0, 720)
  990. *switch: Resolution
  991. {
  992. *case: Option1
  993. {
  994. *PrintableArea: PAIR(5220, 6432)
  995. }
  996. *case: Option2
  997. {
  998. *PrintableArea: PAIR(5220, 6434)
  999. }
  1000. *case: Option3
  1001. {
  1002. *PrintableArea: PAIR(5220, 6432)
  1003. }
  1004. *case: Option4
  1005. {
  1006. *PrintableArea: PAIR(5220, 6432)
  1007. }
  1008. }
  1009. }
  1010. }
  1011. }
  1012. *Option: Option9
  1013. {
  1014. *rcNameID: 259
  1015. *PageDimensions: PAIR(6120, 8640)
  1016. *Command: CmdSelect
  1017. {
  1018. *Order: DOC_SETUP.4
  1019. *Cmd: "<1B>2<1B>CH"
  1020. }
  1021. *switch: InputBin
  1022. {
  1023. *case: TRACTOR
  1024. {
  1025. *PrintableArea: PAIR(6120, 8640)
  1026. *PrintableOrigin: PAIR(0, 0)
  1027. }
  1028. *case: AUTO
  1029. {
  1030. *PrintableArea: PAIR(6120, 7515)
  1031. *PrintableOrigin: PAIR(0, 720)
  1032. *switch: Resolution
  1033. {
  1034. *case: Option1
  1035. {
  1036. *PrintableArea: PAIR(6120, 7512)
  1037. }
  1038. *case: Option2
  1039. {
  1040. *PrintableArea: PAIR(6120, 7514)
  1041. }
  1042. *case: Option3
  1043. {
  1044. *PrintableArea: PAIR(6120, 7512)
  1045. }
  1046. *case: Option4
  1047. {
  1048. *PrintableArea: PAIR(6120, 7512)
  1049. }
  1050. }
  1051. }
  1052. *case: MANUAL
  1053. {
  1054. *PrintableArea: PAIR(6120, 7515)
  1055. *PrintableOrigin: PAIR(0, 720)
  1056. *switch: Resolution
  1057. {
  1058. *case: Option1
  1059. {
  1060. *PrintableArea: PAIR(6120, 7512)
  1061. }
  1062. *case: Option2
  1063. {
  1064. *PrintableArea: PAIR(6120, 7514)
  1065. }
  1066. *case: Option3
  1067. {
  1068. *PrintableArea: PAIR(6120, 7512)
  1069. }
  1070. *case: Option4
  1071. {
  1072. *PrintableArea: PAIR(6120, 7512)
  1073. }
  1074. }
  1075. }
  1076. *case: Option4
  1077. {
  1078. *PrintableArea: PAIR(6120, 7515)
  1079. *PrintableOrigin: PAIR(0, 720)
  1080. *switch: Resolution
  1081. {
  1082. *case: Option1
  1083. {
  1084. *PrintableArea: PAIR(6120, 7512)
  1085. }
  1086. *case: Option2
  1087. {
  1088. *PrintableArea: PAIR(6120, 7514)
  1089. }
  1090. *case: Option3
  1091. {
  1092. *PrintableArea: PAIR(6120, 7512)
  1093. }
  1094. *case: Option4
  1095. {
  1096. *PrintableArea: PAIR(6120, 7512)
  1097. }
  1098. }
  1099. }
  1100. *case: Option5
  1101. {
  1102. *PrintableArea: PAIR(6120, 7515)
  1103. *PrintableOrigin: PAIR(0, 720)
  1104. *switch: Resolution
  1105. {
  1106. *case: Option1
  1107. {
  1108. *PrintableArea: PAIR(6120, 7512)
  1109. }
  1110. *case: Option2
  1111. {
  1112. *PrintableArea: PAIR(6120, 7514)
  1113. }
  1114. *case: Option3
  1115. {
  1116. *PrintableArea: PAIR(6120, 7512)
  1117. }
  1118. *case: Option4
  1119. {
  1120. *PrintableArea: PAIR(6120, 7512)
  1121. }
  1122. }
  1123. }
  1124. }
  1125. }
  1126. *Option: Option10
  1127. {
  1128. *rcNameID: 260
  1129. *PageDimensions: PAIR(10800, 8640)
  1130. *Command: CmdSelect
  1131. {
  1132. *Order: DOC_SETUP.4
  1133. *Cmd: "<1B>2<1B>CH"
  1134. }
  1135. *switch: InputBin
  1136. {
  1137. *case: TRACTOR
  1138. {
  1139. *PrintableArea: PAIR(9792, 8640)
  1140. *PrintableOrigin: PAIR(0, 0)
  1141. }
  1142. *case: AUTO
  1143. {
  1144. *PrintableArea: PAIR(9792, 7515)
  1145. *PrintableOrigin: PAIR(0, 720)
  1146. *switch: Resolution
  1147. {
  1148. *case: Option1
  1149. {
  1150. *PrintableArea: PAIR(9792, 7512)
  1151. }
  1152. *case: Option2
  1153. {
  1154. *PrintableArea: PAIR(9792, 7514)
  1155. }
  1156. *case: Option3
  1157. {
  1158. *PrintableArea: PAIR(9792, 7512)
  1159. }
  1160. *case: Option4
  1161. {
  1162. *PrintableArea: PAIR(9792, 7512)
  1163. }
  1164. }
  1165. }
  1166. *case: MANUAL
  1167. {
  1168. *PrintableArea: PAIR(9792, 7515)
  1169. *PrintableOrigin: PAIR(0, 720)
  1170. *switch: Resolution
  1171. {
  1172. *case: Option1
  1173. {
  1174. *PrintableArea: PAIR(9792, 7512)
  1175. }
  1176. *case: Option2
  1177. {
  1178. *PrintableArea: PAIR(9792, 7514)
  1179. }
  1180. *case: Option3
  1181. {
  1182. *PrintableArea: PAIR(9792, 7512)
  1183. }
  1184. *case: Option4
  1185. {
  1186. *PrintableArea: PAIR(9792, 7512)
  1187. }
  1188. }
  1189. }
  1190. *case: Option4
  1191. {
  1192. *PrintableArea: PAIR(9792, 7515)
  1193. *PrintableOrigin: PAIR(0, 720)
  1194. *switch: Resolution
  1195. {
  1196. *case: Option1
  1197. {
  1198. *PrintableArea: PAIR(9792, 7512)
  1199. }
  1200. *case: Option2
  1201. {
  1202. *PrintableArea: PAIR(9792, 7514)
  1203. }
  1204. *case: Option3
  1205. {
  1206. *PrintableArea: PAIR(9792, 7512)
  1207. }
  1208. *case: Option4
  1209. {
  1210. *PrintableArea: PAIR(9792, 7512)
  1211. }
  1212. }
  1213. }
  1214. *case: Option5
  1215. {
  1216. *PrintableArea: PAIR(9792, 7515)
  1217. *PrintableOrigin: PAIR(0, 720)
  1218. *switch: Resolution
  1219. {
  1220. *case: Option1
  1221. {
  1222. *PrintableArea: PAIR(9792, 7512)
  1223. }
  1224. *case: Option2
  1225. {
  1226. *PrintableArea: PAIR(9792, 7514)
  1227. }
  1228. *case: Option3
  1229. {
  1230. *PrintableArea: PAIR(9792, 7512)
  1231. }
  1232. *case: Option4
  1233. {
  1234. *PrintableArea: PAIR(9792, 7512)
  1235. }
  1236. }
  1237. }
  1238. }
  1239. }
  1240. *Option: Option11
  1241. {
  1242. *rcNameID: 261
  1243. *PageDimensions: PAIR(10800, 7920)
  1244. *Command: CmdSelect
  1245. {
  1246. *Order: DOC_SETUP.4
  1247. *Cmd: "<1B>2<1B>CB"
  1248. }
  1249. *switch: InputBin
  1250. {
  1251. *case: TRACTOR
  1252. {
  1253. *PrintableArea: PAIR(9792, 7920)
  1254. *PrintableOrigin: PAIR(0, 0)
  1255. }
  1256. *case: AUTO
  1257. {
  1258. *PrintableArea: PAIR(9792, 6795)
  1259. *PrintableOrigin: PAIR(0, 720)
  1260. *switch: Resolution
  1261. {
  1262. *case: Option1
  1263. {
  1264. *PrintableArea: PAIR(9792, 6792)
  1265. }
  1266. *case: Option2
  1267. {
  1268. *PrintableArea: PAIR(9792, 6794)
  1269. }
  1270. *case: Option3
  1271. {
  1272. *PrintableArea: PAIR(9792, 6792)
  1273. }
  1274. *case: Option4
  1275. {
  1276. *PrintableArea: PAIR(9792, 6792)
  1277. }
  1278. }
  1279. }
  1280. *case: MANUAL
  1281. {
  1282. *PrintableArea: PAIR(9792, 6795)
  1283. *PrintableOrigin: PAIR(0, 720)
  1284. *switch: Resolution
  1285. {
  1286. *case: Option1
  1287. {
  1288. *PrintableArea: PAIR(9792, 6792)
  1289. }
  1290. *case: Option2
  1291. {
  1292. *PrintableArea: PAIR(9792, 6794)
  1293. }
  1294. *case: Option3
  1295. {
  1296. *PrintableArea: PAIR(9792, 6792)
  1297. }
  1298. *case: Option4
  1299. {
  1300. *PrintableArea: PAIR(9792, 6792)
  1301. }
  1302. }
  1303. }
  1304. *case: Option4
  1305. {
  1306. *PrintableArea: PAIR(9792, 6795)
  1307. *PrintableOrigin: PAIR(0, 720)
  1308. *switch: Resolution
  1309. {
  1310. *case: Option1
  1311. {
  1312. *PrintableArea: PAIR(9792, 6792)
  1313. }
  1314. *case: Option2
  1315. {
  1316. *PrintableArea: PAIR(9792, 6794)
  1317. }
  1318. *case: Option3
  1319. {
  1320. *PrintableArea: PAIR(9792, 6792)
  1321. }
  1322. *case: Option4
  1323. {
  1324. *PrintableArea: PAIR(9792, 6792)
  1325. }
  1326. }
  1327. }
  1328. *case: Option5
  1329. {
  1330. *PrintableArea: PAIR(9792, 6795)
  1331. *PrintableOrigin: PAIR(0, 720)
  1332. *switch: Resolution
  1333. {
  1334. *case: Option1
  1335. {
  1336. *PrintableArea: PAIR(9792, 6792)
  1337. }
  1338. *case: Option2
  1339. {
  1340. *PrintableArea: PAIR(9792, 6794)
  1341. }
  1342. *case: Option3
  1343. {
  1344. *PrintableArea: PAIR(9792, 6792)
  1345. }
  1346. *case: Option4
  1347. {
  1348. *PrintableArea: PAIR(9792, 6792)
  1349. }
  1350. }
  1351. }
  1352. }
  1353. }
  1354. *Option: CUSTOMSIZE
  1355. {
  1356. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1357. *MinSize: PAIR(720, 720)
  1358. *MaxSize: PAIR(11880, 15840)
  1359. *MaxPrintableWidth: 9792
  1360. *MinLeftMargin: 0
  1361. *CenterPrintable?: FALSE
  1362. *switch: InputBin
  1363. {
  1364. *case: TRACTOR
  1365. {
  1366. *TopMargin: 0
  1367. *BottomMargin: 0
  1368. }
  1369. *case: AUTO
  1370. {
  1371. *TopMargin: 720
  1372. *BottomMargin: 405
  1373. }
  1374. *case: MANUAL
  1375. {
  1376. *TopMargin: 720
  1377. *BottomMargin: 405
  1378. }
  1379. *case: Option4
  1380. {
  1381. *TopMargin: 720
  1382. *BottomMargin: 405
  1383. }
  1384. *case: Option5
  1385. {
  1386. *TopMargin: 720
  1387. *BottomMargin: 405
  1388. }
  1389. }
  1390. *Command: CmdSelect
  1391. {
  1392. *Order: DOC_SETUP.4
  1393. *Cmd: "<1B>2"
  1394. }
  1395. }
  1396. }
  1397. *Feature: PrintQuality
  1398. {
  1399. *rcNameID: =TEXT_QUALITY_DISPLAY
  1400. *DefaultOption: LETTER_QUALITY
  1401. *Option: LETTER_QUALITY
  1402. {
  1403. *rcNameID: =LETTER_QUALITY_DISPLAY
  1404. *Command: CmdSelect
  1405. {
  1406. *Order: DOC_SETUP.2
  1407. *Cmd: "<1B>x1"
  1408. }
  1409. }
  1410. *Option: DRAFT_QUALITY
  1411. {
  1412. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1413. *Command: CmdSelect
  1414. {
  1415. *Order: DOC_SETUP.2
  1416. *Cmd: "<1B>x0"
  1417. }
  1418. }
  1419. }
  1420. *Feature: ColorMode
  1421. {
  1422. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1423. *DefaultOption: Color
  1424. *Option: Mono
  1425. {
  1426. *rcNameID: =MONO_DISPLAY
  1427. *DevNumOfPlanes: 1
  1428. *DevBPP: 1
  1429. *Color? : FALSE
  1430. }
  1431. *Option: Color
  1432. {
  1433. *rcNameID: =COLOR_DISPLAY
  1434. *DevNumOfPlanes: 4
  1435. *DevBPP: 1
  1436. *DrvBPP: 4
  1437. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  1438. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1439. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1440. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1441. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1442. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1443. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1444. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1445. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1446. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1447. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1448. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1449. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1450. }
  1451. }
  1452. *Feature: Halftone
  1453. {
  1454. *rcNameID: =HALFTONING_DISPLAY
  1455. *DefaultOption: HT_PATSIZE_AUTO
  1456. *Option: HT_PATSIZE_AUTO
  1457. {
  1458. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1459. }
  1460. *Ifdef: WINNT_50
  1461. *Option: HT_PATSIZE_SUPERCELL_M
  1462. {
  1463. *rcNameID: =HT_SUPERCELL_DISPLAY
  1464. }
  1465. *Endif:
  1466. *Option: HT_PATSIZE_6x6_M
  1467. {
  1468. *rcNameID: =HT_DITHER6X6_DISPLAY
  1469. }
  1470. *Option: HT_PATSIZE_8x8_M
  1471. {
  1472. *rcNameID: =HT_DITHER8X8_DISPLAY
  1473. }
  1474. }
  1475. *Command: CmdStartDoc
  1476. {
  1477. *Order: DOC_SETUP.1
  1478. *Cmd: "<1B>@<1B>t<011B>6<1B>r<00>"
  1479. }
  1480. *Command: CmdStartPage
  1481. {
  1482. *Order: PAGE_SETUP.1
  1483. *Cmd: "<0D>"
  1484. }
  1485. *Command: CmdEndJob
  1486. {
  1487. *Order: JOB_FINISH.1
  1488. *Cmd: "<1B>@"
  1489. }
  1490. *RotateCoordinate?: FALSE
  1491. *RotateRaster?: FALSE
  1492. *RotateFont?: FALSE
  1493. *switch: Orientation
  1494. {
  1495. *case: PORTRAIT
  1496. {
  1497. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1498. }
  1499. *case: LANDSCAPE_CC270
  1500. {
  1501. *TextCaps: LIST(TC_RA_ABLE)
  1502. }
  1503. }
  1504. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1505. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1506. *MaxLineSpacing: 255
  1507. *XMoveThreshold: 0
  1508. *YMoveThreshold: *
  1509. *XMoveUnit: 60
  1510. *YMoveUnit: 180
  1511. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  1512. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  1513. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  1514. *Command: CmdCR { *Cmd : "<0D>" }
  1515. *Command: CmdLF { *Cmd : "<0A>" }
  1516. *Command: CmdFF { *Cmd : "<0C>" }
  1517. *Command: CmdBackSpace { *Cmd : "<08>" }
  1518. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  1519. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  1520. *EjectPageWithFF?: TRUE
  1521. *switch: PaperSize
  1522. {
  1523. *case: CUSTOMSIZE
  1524. {
  1525. *EjectPageWithFF?: FALSE
  1526. *switch: InputBin
  1527. {
  1528. *case: AUTO
  1529. {
  1530. *EjectPageWithFF?: TRUE
  1531. }
  1532. *case: MANUAL
  1533. {
  1534. *EjectPageWithFF?: TRUE
  1535. }
  1536. *case: Option4
  1537. {
  1538. *EjectPageWithFF?: TRUE
  1539. }
  1540. *case: Option5
  1541. {
  1542. *EjectPageWithFF?: TRUE
  1543. }
  1544. }
  1545. }
  1546. }
  1547. *OutputDataFormat: V_BYTE
  1548. *OptimizeLeftBound?: TRUE
  1549. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1550. *CursorYAfterSendBlockData: NO_MOVE
  1551. *DefaultFont: 48
  1552. *DefaultCTT: 2
  1553. *switch: Orientation
  1554. {
  1555. *case: PORTRAIT
  1556. {
  1557. *DeviceFonts: LIST(1,2,3,4,5,6,7,25,26,27,28,29,30,31,41,42,
  1558. + 43,44,45,46,47,48,49,50,51,52,53,54,105,106,107,108,
  1559. + 109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,
  1560. + 125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,
  1561. + 141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,
  1562. + 157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,
  1563. + 173,174,175,176,177,178,179,180,181,182)
  1564. }
  1565. *case: LANDSCAPE_CC270
  1566. {
  1567. *DeviceFonts: LIST()
  1568. }
  1569. }
  1570. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1571. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1572. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1573. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1574. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1575. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  1576. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>P1" }
  1577. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>P0" }