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.

2323 lines
67 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *Include: "StdNames.gpd"
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "Okd591c.GPD"
  9. *ModelName: "Okidata ML 591C"
  10. *MasterUnits: PAIR(720, 720)
  11. *ResourceDLL: "Okd24res.Dll"
  12. *PrinterType: SERIAL
  13. *FontCartSlots: 1
  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. }
  35. *Option: MANUAL
  36. {
  37. *rcNameID: =MANUAL_FEED_DISPLAY
  38. }
  39. *Option: Option3
  40. {
  41. *rcNameID: 269
  42. *OptionID: 269
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.2
  46. *Cmd: "<1B1901>"
  47. }
  48. }
  49. *Option: Option4
  50. {
  51. *rcNameID: 270
  52. *OptionID: 270
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.2
  56. *Cmd: "<1B1902>"
  57. }
  58. }
  59. }
  60. *Feature: Resolution
  61. {
  62. *rcNameID: =RESOLUTION_DISPLAY
  63. *DefaultOption: Option3
  64. *Option: Option1
  65. {
  66. *Name: "360 x 360 " =DOTS_PER_INCH
  67. *DPI: PAIR(360, 360)
  68. *TextDPI: PAIR(360, 360)
  69. *PinsPerLogPass: 48
  70. *PinsPerPhysPass: 24
  71. *MinStripBlankPixels: 270
  72. *RequireUniDir?: TRUE
  73. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  74. *SpotDiameter: 283
  75. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  76. }
  77. *Option: Option2
  78. {
  79. *Name: "360 x 180 " =DOTS_PER_INCH
  80. *DPI: PAIR(360, 180)
  81. *TextDPI: PAIR(360, 180)
  82. *PinsPerLogPass: 24
  83. *PinsPerPhysPass: 24
  84. *MinStripBlankPixels: 270
  85. *RequireUniDir?: TRUE
  86. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  87. *SpotDiameter: 170
  88. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  89. }
  90. *Option: Option3
  91. {
  92. *Name: "180 x 180 " =DOTS_PER_INCH
  93. *DPI: PAIR(180, 180)
  94. *TextDPI: PAIR(180, 180)
  95. *PinsPerLogPass: 24
  96. *PinsPerPhysPass: 24
  97. *MinStripBlankPixels: 135
  98. *RequireUniDir?: TRUE
  99. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  100. *SpotDiameter: 140
  101. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  102. }
  103. *Option: Option4
  104. {
  105. *Name: "120 x 180 " =DOTS_PER_INCH
  106. *DPI: PAIR(120, 180)
  107. *TextDPI: PAIR(120, 180)
  108. *PinsPerLogPass: 24
  109. *PinsPerPhysPass: 24
  110. *MinStripBlankPixels: 90
  111. *RequireUniDir?: TRUE
  112. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  113. *SpotDiameter: 120
  114. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  115. }
  116. }
  117. *Feature: PaperSize
  118. {
  119. *rcNameID: =PAPER_SIZE_DISPLAY
  120. *DefaultOption: LETTER
  121. *Option: LETTER
  122. {
  123. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  124. *Command: CmdSelect
  125. {
  126. *Order: DOC_SETUP.3
  127. *Cmd: "<1B>C<000B>"
  128. }
  129. *switch: InputBin
  130. {
  131. *case: TRACTOR
  132. {
  133. *PrintableArea: PAIR(6120, 7920)
  134. *PrintableOrigin: PAIR(0, 0)
  135. }
  136. *case: MANUAL
  137. {
  138. *PrintableArea: PAIR(6120, 7560)
  139. *PrintableOrigin: PAIR(0, 0)
  140. }
  141. *case: Option3
  142. {
  143. *PrintableArea: PAIR(6120, 7200)
  144. *PrintableOrigin: PAIR(0, 0)
  145. }
  146. *case: Option4
  147. {
  148. *PrintableArea: PAIR(6120, 7200)
  149. *PrintableOrigin: PAIR(0, 0)
  150. }
  151. }
  152. }
  153. *Option: Option2
  154. {
  155. *rcNameID: 258
  156. *OptionID: 258
  157. *PageDimensions: PAIR(7920, 6120)
  158. *Command: CmdSelect
  159. {
  160. *Order: DOC_SETUP.3
  161. *Cmd: "<1B>2<1B>C3"
  162. }
  163. *switch: InputBin
  164. {
  165. *case: TRACTOR
  166. {
  167. *PrintableArea: PAIR(7920, 6120)
  168. *PrintableOrigin: PAIR(0, 0)
  169. }
  170. *case: MANUAL
  171. {
  172. *PrintableArea: PAIR(7920, 5760)
  173. *PrintableOrigin: PAIR(0, 0)
  174. }
  175. *case: Option3
  176. {
  177. *PrintableArea: PAIR(7920, 5400)
  178. *PrintableOrigin: PAIR(0, 0)
  179. }
  180. *case: Option4
  181. {
  182. *PrintableArea: PAIR(7920, 5400)
  183. *PrintableOrigin: PAIR(0, 0)
  184. }
  185. }
  186. }
  187. *Option: LEGAL
  188. {
  189. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  190. *Command: CmdSelect
  191. {
  192. *Order: DOC_SETUP.3
  193. *Cmd: "<1B>C<000E>"
  194. }
  195. *switch: InputBin
  196. {
  197. *case: TRACTOR
  198. {
  199. *PrintableArea: PAIR(6120, 10080)
  200. *PrintableOrigin: PAIR(0, 0)
  201. }
  202. *case: MANUAL
  203. {
  204. *PrintableArea: PAIR(6120, 9720)
  205. *PrintableOrigin: PAIR(0, 0)
  206. }
  207. *case: Option3
  208. {
  209. *PrintableArea: PAIR(6120, 9360)
  210. *PrintableOrigin: PAIR(0, 0)
  211. }
  212. *case: Option4
  213. {
  214. *PrintableArea: PAIR(6120, 9360)
  215. *PrintableOrigin: PAIR(0, 0)
  216. }
  217. }
  218. }
  219. *Option: EXECUTIVE
  220. {
  221. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.3
  225. *Cmd: "<1B>2<1B>C?"
  226. }
  227. *switch: InputBin
  228. {
  229. *case: TRACTOR
  230. {
  231. *PrintableArea: PAIR(5220, 7560)
  232. *PrintableOrigin: PAIR(0, 0)
  233. }
  234. *case: MANUAL
  235. {
  236. *PrintableArea: PAIR(5220, 7200)
  237. *PrintableOrigin: PAIR(0, 0)
  238. }
  239. *case: Option3
  240. {
  241. *PrintableArea: PAIR(5220, 6840)
  242. *PrintableOrigin: PAIR(0, 0)
  243. }
  244. *case: Option4
  245. {
  246. *PrintableArea: PAIR(5220, 6840)
  247. *PrintableOrigin: PAIR(0, 0)
  248. }
  249. }
  250. }
  251. *Option: Option5
  252. {
  253. *rcNameID: 259
  254. *OptionID: 259
  255. *PageDimensions: PAIR(11908, 16848)
  256. *Command: CmdSelect
  257. {
  258. *Order: DOC_SETUP.3
  259. *Cmd: "<1B>2<1B>C<8C>"
  260. }
  261. *switch: InputBin
  262. {
  263. *case: TRACTOR
  264. {
  265. *PrintableArea: PAIR(9792, 16848)
  266. *PrintableOrigin: PAIR(0, 0)
  267. }
  268. *case: MANUAL
  269. {
  270. *PrintableArea: PAIR(9792, 16488)
  271. *PrintableOrigin: PAIR(0, 0)
  272. }
  273. *case: Option3
  274. {
  275. *PrintableArea: PAIR(9792, 16128)
  276. *PrintableOrigin: PAIR(0, 0)
  277. }
  278. *case: Option4
  279. {
  280. *PrintableArea: PAIR(9792, 16128)
  281. *PrintableOrigin: PAIR(0, 0)
  282. }
  283. }
  284. }
  285. *Option: A3
  286. {
  287. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  288. *Command: CmdSelect
  289. {
  290. *Order: DOC_SETUP.3
  291. *Cmd: "<1B>2<1B>Cc"
  292. }
  293. *switch: InputBin
  294. {
  295. *case: TRACTOR
  296. {
  297. *PrintableArea: PAIR(8417, 11909)
  298. *PrintableOrigin: PAIR(0, 0)
  299. *switch: Resolution
  300. {
  301. *case: Option1
  302. {
  303. *PrintableArea: PAIR(8416, 11908)
  304. }
  305. *case: Option2
  306. {
  307. *PrintableArea: PAIR(8416, 11908)
  308. }
  309. *case: Option3
  310. {
  311. *PrintableArea: PAIR(8416, 11908)
  312. }
  313. *case: Option4
  314. {
  315. *PrintableArea: PAIR(8412, 11908)
  316. }
  317. }
  318. }
  319. *case: MANUAL
  320. {
  321. *PrintableArea: PAIR(8417, 11549)
  322. *PrintableOrigin: PAIR(0, 0)
  323. *switch: Resolution
  324. {
  325. *case: Option1
  326. {
  327. *PrintableArea: PAIR(8416, 11548)
  328. }
  329. *case: Option2
  330. {
  331. *PrintableArea: PAIR(8416, 11548)
  332. }
  333. *case: Option3
  334. {
  335. *PrintableArea: PAIR(8416, 11548)
  336. }
  337. *case: Option4
  338. {
  339. *PrintableArea: PAIR(8412, 11548)
  340. }
  341. }
  342. }
  343. *case: Option3
  344. {
  345. *PrintableArea: PAIR(8417, 11189)
  346. *PrintableOrigin: PAIR(0, 0)
  347. *switch: Resolution
  348. {
  349. *case: Option1
  350. {
  351. *PrintableArea: PAIR(8416, 11188)
  352. }
  353. *case: Option2
  354. {
  355. *PrintableArea: PAIR(8416, 11188)
  356. }
  357. *case: Option3
  358. {
  359. *PrintableArea: PAIR(8416, 11188)
  360. }
  361. *case: Option4
  362. {
  363. *PrintableArea: PAIR(8412, 11188)
  364. }
  365. }
  366. }
  367. *case: Option4
  368. {
  369. *PrintableArea: PAIR(8417, 11189)
  370. *PrintableOrigin: PAIR(0, 0)
  371. *switch: Resolution
  372. {
  373. *case: Option1
  374. {
  375. *PrintableArea: PAIR(8416, 11188)
  376. }
  377. *case: Option2
  378. {
  379. *PrintableArea: PAIR(8416, 11188)
  380. }
  381. *case: Option3
  382. {
  383. *PrintableArea: PAIR(8416, 11188)
  384. }
  385. *case: Option4
  386. {
  387. *PrintableArea: PAIR(8412, 11188)
  388. }
  389. }
  390. }
  391. }
  392. }
  393. *Option: Option7
  394. {
  395. *rcNameID: 260
  396. *OptionID: 260
  397. *PageDimensions: PAIR(11908, 8416)
  398. *Command: CmdSelect
  399. {
  400. *Order: DOC_SETUP.3
  401. *Cmd: "<1B>2<1B>CF"
  402. }
  403. *switch: InputBin
  404. {
  405. *case: TRACTOR
  406. {
  407. *PrintableArea: PAIR(9792, 8416)
  408. *PrintableOrigin: PAIR(0, 0)
  409. }
  410. *case: MANUAL
  411. {
  412. *PrintableArea: PAIR(9792, 8056)
  413. *PrintableOrigin: PAIR(0, 0)
  414. }
  415. *case: Option3
  416. {
  417. *PrintableArea: PAIR(9792, 7696)
  418. *PrintableOrigin: PAIR(0, 0)
  419. }
  420. *case: Option4
  421. {
  422. *PrintableArea: PAIR(9792, 7696)
  423. *PrintableOrigin: PAIR(0, 0)
  424. }
  425. }
  426. }
  427. *Option: A4
  428. {
  429. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  430. *Command: CmdSelect
  431. {
  432. *Order: DOC_SETUP.3
  433. *Cmd: "<1B>2<1B>CF"
  434. }
  435. *switch: InputBin
  436. {
  437. *case: TRACTOR
  438. {
  439. *PrintableArea: PAIR(5954, 8417)
  440. *PrintableOrigin: PAIR(0, 0)
  441. *switch: Resolution
  442. {
  443. *case: Option1
  444. {
  445. *PrintableArea: PAIR(5954, 8416)
  446. }
  447. *case: Option2
  448. {
  449. *PrintableArea: PAIR(5954, 8416)
  450. }
  451. *case: Option3
  452. {
  453. *PrintableArea: PAIR(5952, 8416)
  454. }
  455. *case: Option4
  456. {
  457. *PrintableArea: PAIR(5952, 8416)
  458. }
  459. }
  460. }
  461. *case: MANUAL
  462. {
  463. *PrintableArea: PAIR(5954, 8057)
  464. *PrintableOrigin: PAIR(0, 0)
  465. *switch: Resolution
  466. {
  467. *case: Option1
  468. {
  469. *PrintableArea: PAIR(5954, 8056)
  470. }
  471. *case: Option2
  472. {
  473. *PrintableArea: PAIR(5954, 8056)
  474. }
  475. *case: Option3
  476. {
  477. *PrintableArea: PAIR(5952, 8056)
  478. }
  479. *case: Option4
  480. {
  481. *PrintableArea: PAIR(5952, 8056)
  482. }
  483. }
  484. }
  485. *case: Option3
  486. {
  487. *PrintableArea: PAIR(5954, 7697)
  488. *PrintableOrigin: PAIR(0, 0)
  489. *switch: Resolution
  490. {
  491. *case: Option1
  492. {
  493. *PrintableArea: PAIR(5954, 7696)
  494. }
  495. *case: Option2
  496. {
  497. *PrintableArea: PAIR(5954, 7696)
  498. }
  499. *case: Option3
  500. {
  501. *PrintableArea: PAIR(5952, 7696)
  502. }
  503. *case: Option4
  504. {
  505. *PrintableArea: PAIR(5952, 7696)
  506. }
  507. }
  508. }
  509. *case: Option4
  510. {
  511. *PrintableArea: PAIR(5954, 7697)
  512. *PrintableOrigin: PAIR(0, 0)
  513. *switch: Resolution
  514. {
  515. *case: Option1
  516. {
  517. *PrintableArea: PAIR(5954, 7696)
  518. }
  519. *case: Option2
  520. {
  521. *PrintableArea: PAIR(5954, 7696)
  522. }
  523. *case: Option3
  524. {
  525. *PrintableArea: PAIR(5952, 7696)
  526. }
  527. *case: Option4
  528. {
  529. *PrintableArea: PAIR(5952, 7696)
  530. }
  531. }
  532. }
  533. }
  534. }
  535. *Option: Option9
  536. {
  537. *rcNameID: 261
  538. *OptionID: 261
  539. *PageDimensions: PAIR(8416, 5954)
  540. *Command: CmdSelect
  541. {
  542. *Order: DOC_SETUP.3
  543. *Cmd: "<1B>3<0B1B>CZ"
  544. }
  545. *switch: InputBin
  546. {
  547. *case: TRACTOR
  548. {
  549. *PrintableArea: PAIR(8416, 5954)
  550. *PrintableOrigin: PAIR(0, 0)
  551. *switch: Resolution
  552. {
  553. *case: Option2
  554. {
  555. *PrintableArea: PAIR(8416, 5952)
  556. }
  557. *case: Option3
  558. {
  559. *PrintableArea: PAIR(8416, 5952)
  560. }
  561. *case: Option4
  562. {
  563. *PrintableArea: PAIR(8412, 5952)
  564. }
  565. }
  566. }
  567. *case: MANUAL
  568. {
  569. *PrintableArea: PAIR(8416, 5594)
  570. *PrintableOrigin: PAIR(0, 0)
  571. *switch: Resolution
  572. {
  573. *case: Option2
  574. {
  575. *PrintableArea: PAIR(8416, 5592)
  576. }
  577. *case: Option3
  578. {
  579. *PrintableArea: PAIR(8416, 5592)
  580. }
  581. *case: Option4
  582. {
  583. *PrintableArea: PAIR(8412, 5592)
  584. }
  585. }
  586. }
  587. *case: Option3
  588. {
  589. *PrintableArea: PAIR(8416, 5234)
  590. *PrintableOrigin: PAIR(0, 0)
  591. *switch: Resolution
  592. {
  593. *case: Option2
  594. {
  595. *PrintableArea: PAIR(8416, 5232)
  596. }
  597. *case: Option3
  598. {
  599. *PrintableArea: PAIR(8416, 5232)
  600. }
  601. *case: Option4
  602. {
  603. *PrintableArea: PAIR(8412, 5232)
  604. }
  605. }
  606. }
  607. *case: Option4
  608. {
  609. *PrintableArea: PAIR(8416, 5234)
  610. *PrintableOrigin: PAIR(0, 0)
  611. *switch: Resolution
  612. {
  613. *case: Option2
  614. {
  615. *PrintableArea: PAIR(8416, 5232)
  616. }
  617. *case: Option3
  618. {
  619. *PrintableArea: PAIR(8416, 5232)
  620. }
  621. *case: Option4
  622. {
  623. *PrintableArea: PAIR(8412, 5232)
  624. }
  625. }
  626. }
  627. }
  628. }
  629. *Option: A5
  630. {
  631. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  632. *Command: CmdSelect
  633. {
  634. *Order: DOC_SETUP.3
  635. *Cmd: "<1B>A<041B>C|"
  636. }
  637. *switch: InputBin
  638. {
  639. *case: TRACTOR
  640. {
  641. *PrintableArea: PAIR(4198, 5954)
  642. *PrintableOrigin: PAIR(0, 0)
  643. *switch: Resolution
  644. {
  645. *case: Option2
  646. {
  647. *PrintableArea: PAIR(4198, 5952)
  648. }
  649. *case: Option3
  650. {
  651. *PrintableArea: PAIR(4196, 5952)
  652. }
  653. *case: Option4
  654. {
  655. *PrintableArea: PAIR(4194, 5952)
  656. }
  657. }
  658. }
  659. *case: MANUAL
  660. {
  661. *PrintableArea: PAIR(4198, 5594)
  662. *PrintableOrigin: PAIR(0, 0)
  663. *switch: Resolution
  664. {
  665. *case: Option2
  666. {
  667. *PrintableArea: PAIR(4198, 5592)
  668. }
  669. *case: Option3
  670. {
  671. *PrintableArea: PAIR(4196, 5592)
  672. }
  673. *case: Option4
  674. {
  675. *PrintableArea: PAIR(4194, 5592)
  676. }
  677. }
  678. }
  679. *case: Option3
  680. {
  681. *PrintableArea: PAIR(4198, 5234)
  682. *PrintableOrigin: PAIR(0, 0)
  683. *switch: Resolution
  684. {
  685. *case: Option2
  686. {
  687. *PrintableArea: PAIR(4198, 5232)
  688. }
  689. *case: Option3
  690. {
  691. *PrintableArea: PAIR(4196, 5232)
  692. }
  693. *case: Option4
  694. {
  695. *PrintableArea: PAIR(4194, 5232)
  696. }
  697. }
  698. }
  699. *case: Option4
  700. {
  701. *PrintableArea: PAIR(4198, 5234)
  702. *PrintableOrigin: PAIR(0, 0)
  703. *switch: Resolution
  704. {
  705. *case: Option2
  706. {
  707. *PrintableArea: PAIR(4198, 5232)
  708. }
  709. *case: Option3
  710. {
  711. *PrintableArea: PAIR(4196, 5232)
  712. }
  713. *case: Option4
  714. {
  715. *PrintableArea: PAIR(4194, 5232)
  716. }
  717. }
  718. }
  719. }
  720. }
  721. *Option: B4
  722. {
  723. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  724. *Command: CmdSelect
  725. {
  726. *Order: DOC_SETUP.3
  727. *Cmd: "<1B>2<1B>CS"
  728. }
  729. *switch: InputBin
  730. {
  731. *case: TRACTOR
  732. {
  733. *PrintableArea: PAIR(7286, 10318)
  734. *PrintableOrigin: PAIR(0, 0)
  735. *switch: Resolution
  736. {
  737. *case: Option2
  738. {
  739. *PrintableArea: PAIR(7286, 10316)
  740. }
  741. *case: Option3
  742. {
  743. *PrintableArea: PAIR(7284, 10316)
  744. }
  745. *case: Option4
  746. {
  747. *PrintableArea: PAIR(7284, 10316)
  748. }
  749. }
  750. }
  751. *case: MANUAL
  752. {
  753. *PrintableArea: PAIR(7286, 9958)
  754. *PrintableOrigin: PAIR(0, 0)
  755. *switch: Resolution
  756. {
  757. *case: Option2
  758. {
  759. *PrintableArea: PAIR(7286, 9956)
  760. }
  761. *case: Option3
  762. {
  763. *PrintableArea: PAIR(7284, 9956)
  764. }
  765. *case: Option4
  766. {
  767. *PrintableArea: PAIR(7284, 9956)
  768. }
  769. }
  770. }
  771. *case: Option3
  772. {
  773. *PrintableArea: PAIR(7286, 9598)
  774. *PrintableOrigin: PAIR(0, 0)
  775. *switch: Resolution
  776. {
  777. *case: Option2
  778. {
  779. *PrintableArea: PAIR(7286, 9596)
  780. }
  781. *case: Option3
  782. {
  783. *PrintableArea: PAIR(7284, 9596)
  784. }
  785. *case: Option4
  786. {
  787. *PrintableArea: PAIR(7284, 9596)
  788. }
  789. }
  790. }
  791. *case: Option4
  792. {
  793. *PrintableArea: PAIR(7286, 9598)
  794. *PrintableOrigin: PAIR(0, 0)
  795. *switch: Resolution
  796. {
  797. *case: Option2
  798. {
  799. *PrintableArea: PAIR(7286, 9596)
  800. }
  801. *case: Option3
  802. {
  803. *PrintableArea: PAIR(7284, 9596)
  804. }
  805. *case: Option4
  806. {
  807. *PrintableArea: PAIR(7284, 9596)
  808. }
  809. }
  810. }
  811. }
  812. }
  813. *Option: B5
  814. {
  815. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  816. *Command: CmdSelect
  817. {
  818. *Order: DOC_SETUP.3
  819. *Cmd: "<1B>2<1B>C%<"
  820. }
  821. *switch: InputBin
  822. {
  823. *case: TRACTOR
  824. {
  825. *PrintableArea: PAIR(5162, 7286)
  826. *PrintableOrigin: PAIR(0, 0)
  827. *switch: Resolution
  828. {
  829. *case: Option2
  830. {
  831. *PrintableArea: PAIR(5162, 7284)
  832. }
  833. *case: Option3
  834. {
  835. *PrintableArea: PAIR(5160, 7284)
  836. }
  837. *case: Option4
  838. {
  839. *PrintableArea: PAIR(5160, 7284)
  840. }
  841. }
  842. }
  843. *case: MANUAL
  844. {
  845. *PrintableArea: PAIR(5162, 6926)
  846. *PrintableOrigin: PAIR(0, 0)
  847. *switch: Resolution
  848. {
  849. *case: Option2
  850. {
  851. *PrintableArea: PAIR(5162, 6924)
  852. }
  853. *case: Option3
  854. {
  855. *PrintableArea: PAIR(5160, 6924)
  856. }
  857. *case: Option4
  858. {
  859. *PrintableArea: PAIR(5160, 6924)
  860. }
  861. }
  862. }
  863. *case: Option3
  864. {
  865. *PrintableArea: PAIR(5162, 6566)
  866. *PrintableOrigin: PAIR(0, 0)
  867. *switch: Resolution
  868. {
  869. *case: Option2
  870. {
  871. *PrintableArea: PAIR(5162, 6564)
  872. }
  873. *case: Option3
  874. {
  875. *PrintableArea: PAIR(5160, 6564)
  876. }
  877. *case: Option4
  878. {
  879. *PrintableArea: PAIR(5160, 6564)
  880. }
  881. }
  882. }
  883. *case: Option4
  884. {
  885. *PrintableArea: PAIR(5162, 6566)
  886. *PrintableOrigin: PAIR(0, 0)
  887. *switch: Resolution
  888. {
  889. *case: Option2
  890. {
  891. *PrintableArea: PAIR(5162, 6564)
  892. }
  893. *case: Option3
  894. {
  895. *PrintableArea: PAIR(5160, 6564)
  896. }
  897. *case: Option4
  898. {
  899. *PrintableArea: PAIR(5160, 6564)
  900. }
  901. }
  902. }
  903. }
  904. }
  905. *Option: FOLIO
  906. {
  907. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  908. *Command: CmdSelect
  909. {
  910. *Order: DOC_SETUP.3
  911. *Cmd: "<1B>2<1B>CN"
  912. }
  913. *switch: InputBin
  914. {
  915. *case: TRACTOR
  916. {
  917. *PrintableArea: PAIR(6120, 9360)
  918. *PrintableOrigin: PAIR(0, 0)
  919. }
  920. *case: MANUAL
  921. {
  922. *PrintableArea: PAIR(6120, 9000)
  923. *PrintableOrigin: PAIR(0, 0)
  924. }
  925. *case: Option3
  926. {
  927. *PrintableArea: PAIR(6120, 8640)
  928. *PrintableOrigin: PAIR(0, 0)
  929. }
  930. *case: Option4
  931. {
  932. *PrintableArea: PAIR(6120, 8640)
  933. *PrintableOrigin: PAIR(0, 0)
  934. }
  935. }
  936. }
  937. *Option: TABLOID
  938. {
  939. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  940. *Command: CmdSelect
  941. {
  942. *Order: DOC_SETUP.3
  943. *Cmd: "<1B>C<0011>"
  944. }
  945. *switch: InputBin
  946. {
  947. *case: TRACTOR
  948. {
  949. *PrintableArea: PAIR(7920, 12240)
  950. *PrintableOrigin: PAIR(0, 0)
  951. }
  952. *case: MANUAL
  953. {
  954. *PrintableArea: PAIR(7920, 11880)
  955. *PrintableOrigin: PAIR(0, 0)
  956. }
  957. *case: Option3
  958. {
  959. *PrintableArea: PAIR(7920, 11520)
  960. *PrintableOrigin: PAIR(0, 0)
  961. }
  962. *case: Option4
  963. {
  964. *PrintableArea: PAIR(7920, 11520)
  965. *PrintableOrigin: PAIR(0, 0)
  966. }
  967. }
  968. }
  969. *Option: Option15
  970. {
  971. *rcNameID: 262
  972. *OptionID: 262
  973. *PageDimensions: PAIR(6120, 8640)
  974. *Command: CmdSelect
  975. {
  976. *Order: DOC_SETUP.3
  977. *Cmd: "<1B>C<000C>"
  978. }
  979. *switch: InputBin
  980. {
  981. *case: TRACTOR
  982. {
  983. *PrintableArea: PAIR(6120, 8640)
  984. *PrintableOrigin: PAIR(0, 0)
  985. }
  986. *case: MANUAL
  987. {
  988. *PrintableArea: PAIR(6120, 8280)
  989. *PrintableOrigin: PAIR(0, 0)
  990. }
  991. *case: Option3
  992. {
  993. *PrintableArea: PAIR(6120, 7920)
  994. *PrintableOrigin: PAIR(0, 0)
  995. }
  996. *case: Option4
  997. {
  998. *PrintableArea: PAIR(6120, 7920)
  999. *PrintableOrigin: PAIR(0, 0)
  1000. }
  1001. }
  1002. }
  1003. *Option: Option16
  1004. {
  1005. *rcNameID: 263
  1006. *OptionID: 263
  1007. *PageDimensions: PAIR(5760, 4320)
  1008. *Command: CmdSelect
  1009. {
  1010. *Order: DOC_SETUP.3
  1011. *Cmd: "<1B>2<1B>C$"
  1012. }
  1013. *switch: InputBin
  1014. {
  1015. *case: TRACTOR
  1016. {
  1017. *PrintableArea: PAIR(5760, 4320)
  1018. *PrintableOrigin: PAIR(0, 0)
  1019. }
  1020. *case: MANUAL
  1021. {
  1022. *PrintableArea: PAIR(5760, 3960)
  1023. *PrintableOrigin: PAIR(0, 0)
  1024. }
  1025. *case: Option3
  1026. {
  1027. *PrintableArea: PAIR(5760, 3600)
  1028. *PrintableOrigin: PAIR(0, 0)
  1029. }
  1030. *case: Option4
  1031. {
  1032. *PrintableArea: PAIR(5760, 3600)
  1033. *PrintableOrigin: PAIR(0, 0)
  1034. }
  1035. }
  1036. }
  1037. *Option: 10X14
  1038. {
  1039. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1040. *Command: CmdSelect
  1041. {
  1042. *Order: DOC_SETUP.3
  1043. *Cmd: "<1B>2<1B>CT"
  1044. }
  1045. *switch: InputBin
  1046. {
  1047. *case: TRACTOR
  1048. {
  1049. *PrintableArea: PAIR(7200, 10080)
  1050. *PrintableOrigin: PAIR(0, 0)
  1051. }
  1052. *case: MANUAL
  1053. {
  1054. *PrintableArea: PAIR(7200, 9720)
  1055. *PrintableOrigin: PAIR(0, 0)
  1056. }
  1057. *case: Option3
  1058. {
  1059. *PrintableArea: PAIR(7200, 9360)
  1060. *PrintableOrigin: PAIR(0, 0)
  1061. }
  1062. *case: Option4
  1063. {
  1064. *PrintableArea: PAIR(7200, 9360)
  1065. *PrintableOrigin: PAIR(0, 0)
  1066. }
  1067. }
  1068. }
  1069. *Option: Option18
  1070. {
  1071. *rcNameID: 264
  1072. *OptionID: 264
  1073. *PageDimensions: PAIR(5954, 8640)
  1074. *Command: CmdSelect
  1075. {
  1076. *Order: DOC_SETUP.3
  1077. *Cmd: "<1B>2<1B>CH"
  1078. }
  1079. *switch: InputBin
  1080. {
  1081. *case: TRACTOR
  1082. {
  1083. *PrintableArea: PAIR(5954, 8640)
  1084. *PrintableOrigin: PAIR(0, 0)
  1085. *switch: Resolution
  1086. {
  1087. *case: Option3
  1088. {
  1089. *PrintableArea: PAIR(5952, 8640)
  1090. }
  1091. *case: Option4
  1092. {
  1093. *PrintableArea: PAIR(5952, 8640)
  1094. }
  1095. }
  1096. }
  1097. *case: MANUAL
  1098. {
  1099. *PrintableArea: PAIR(5954, 8280)
  1100. *PrintableOrigin: PAIR(0, 0)
  1101. *switch: Resolution
  1102. {
  1103. *case: Option3
  1104. {
  1105. *PrintableArea: PAIR(5952, 8280)
  1106. }
  1107. *case: Option4
  1108. {
  1109. *PrintableArea: PAIR(5952, 8280)
  1110. }
  1111. }
  1112. }
  1113. *case: Option3
  1114. {
  1115. *PrintableArea: PAIR(5954, 7920)
  1116. *PrintableOrigin: PAIR(0, 0)
  1117. *switch: Resolution
  1118. {
  1119. *case: Option3
  1120. {
  1121. *PrintableArea: PAIR(5952, 7920)
  1122. }
  1123. *case: Option4
  1124. {
  1125. *PrintableArea: PAIR(5952, 7920)
  1126. }
  1127. }
  1128. }
  1129. *case: Option4
  1130. {
  1131. *PrintableArea: PAIR(5954, 7920)
  1132. *PrintableOrigin: PAIR(0, 0)
  1133. *switch: Resolution
  1134. {
  1135. *case: Option3
  1136. {
  1137. *PrintableArea: PAIR(5952, 7920)
  1138. }
  1139. *case: Option4
  1140. {
  1141. *PrintableArea: PAIR(5952, 7920)
  1142. }
  1143. }
  1144. }
  1145. }
  1146. }
  1147. *Option: Option19
  1148. {
  1149. *rcNameID: 265
  1150. *OptionID: 265
  1151. *PageDimensions: PAIR(10152, 8640)
  1152. *Command: CmdSelect
  1153. {
  1154. *Order: DOC_SETUP.3
  1155. *Cmd: "<1B>2<1B>CH"
  1156. }
  1157. *switch: InputBin
  1158. {
  1159. *case: TRACTOR
  1160. {
  1161. *PrintableArea: PAIR(9792, 8640)
  1162. *PrintableOrigin: PAIR(0, 0)
  1163. }
  1164. *case: MANUAL
  1165. {
  1166. *PrintableArea: PAIR(9792, 8280)
  1167. *PrintableOrigin: PAIR(0, 0)
  1168. }
  1169. *case: Option3
  1170. {
  1171. *PrintableArea: PAIR(9792, 7920)
  1172. *PrintableOrigin: PAIR(0, 0)
  1173. }
  1174. *case: Option4
  1175. {
  1176. *PrintableArea: PAIR(9792, 7920)
  1177. *PrintableOrigin: PAIR(0, 0)
  1178. }
  1179. }
  1180. }
  1181. *Option: FANFOLD_US
  1182. {
  1183. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1184. *Command: CmdSelect
  1185. {
  1186. *Order: DOC_SETUP.3
  1187. *Cmd: "<1B>C<000B>"
  1188. }
  1189. *switch: InputBin
  1190. {
  1191. *case: TRACTOR
  1192. {
  1193. *PrintableArea: PAIR(9792, 7920)
  1194. *PrintableOrigin: PAIR(0, 0)
  1195. }
  1196. *case: MANUAL
  1197. {
  1198. *PrintableArea: PAIR(9792, 7560)
  1199. *PrintableOrigin: PAIR(0, 0)
  1200. }
  1201. *case: Option3
  1202. {
  1203. *PrintableArea: PAIR(9792, 7200)
  1204. *PrintableOrigin: PAIR(0, 0)
  1205. }
  1206. *case: Option4
  1207. {
  1208. *PrintableArea: PAIR(9792, 7200)
  1209. *PrintableOrigin: PAIR(0, 0)
  1210. }
  1211. }
  1212. }
  1213. *Option: Option21
  1214. {
  1215. *rcNameID: 266
  1216. *OptionID: 266
  1217. *PageDimensions: PAIR(10714, 8416)
  1218. *Command: CmdSelect
  1219. {
  1220. *Order: DOC_SETUP.3
  1221. *Cmd: "<1B>2<1B>CF"
  1222. }
  1223. *switch: InputBin
  1224. {
  1225. *case: TRACTOR
  1226. {
  1227. *PrintableArea: PAIR(9792, 8416)
  1228. *PrintableOrigin: PAIR(0, 0)
  1229. }
  1230. *case: MANUAL
  1231. {
  1232. *PrintableArea: PAIR(9792, 8056)
  1233. *PrintableOrigin: PAIR(0, 0)
  1234. }
  1235. *case: Option3
  1236. {
  1237. *PrintableArea: PAIR(9792, 7696)
  1238. *PrintableOrigin: PAIR(0, 0)
  1239. }
  1240. *case: Option4
  1241. {
  1242. *PrintableArea: PAIR(9792, 7696)
  1243. *PrintableOrigin: PAIR(0, 0)
  1244. }
  1245. }
  1246. }
  1247. *Option: FANFOLD_STD_GERMAN
  1248. {
  1249. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1250. *Command: CmdSelect
  1251. {
  1252. *Order: DOC_SETUP.3
  1253. *Cmd: "<1B>C<000C>"
  1254. }
  1255. *switch: InputBin
  1256. {
  1257. *case: TRACTOR
  1258. {
  1259. *PrintableArea: PAIR(6120, 8640)
  1260. *PrintableOrigin: PAIR(0, 0)
  1261. }
  1262. *case: MANUAL
  1263. {
  1264. *PrintableArea: PAIR(6120, 8280)
  1265. *PrintableOrigin: PAIR(0, 0)
  1266. }
  1267. *case: Option3
  1268. {
  1269. *PrintableArea: PAIR(6120, 7920)
  1270. *PrintableOrigin: PAIR(0, 0)
  1271. }
  1272. *case: Option4
  1273. {
  1274. *PrintableArea: PAIR(6120, 7920)
  1275. *PrintableOrigin: PAIR(0, 0)
  1276. }
  1277. }
  1278. }
  1279. *Option: Option23
  1280. {
  1281. *rcNameID: 267
  1282. *OptionID: 267
  1283. *PageDimensions: PAIR(6120, 9360)
  1284. *Command: CmdSelect
  1285. {
  1286. *Order: DOC_SETUP.3
  1287. *Cmd: "<1B>2<1B>C4"
  1288. }
  1289. *switch: InputBin
  1290. {
  1291. *case: TRACTOR
  1292. {
  1293. *PrintableArea: PAIR(6120, 9360)
  1294. *PrintableOrigin: PAIR(0, 0)
  1295. }
  1296. *case: MANUAL
  1297. {
  1298. *PrintableArea: PAIR(6120, 9000)
  1299. *PrintableOrigin: PAIR(0, 0)
  1300. }
  1301. *case: Option3
  1302. {
  1303. *PrintableArea: PAIR(6120, 8640)
  1304. *PrintableOrigin: PAIR(0, 0)
  1305. }
  1306. *case: Option4
  1307. {
  1308. *PrintableArea: PAIR(6120, 8640)
  1309. *PrintableOrigin: PAIR(0, 0)
  1310. }
  1311. }
  1312. }
  1313. *Option: Option24
  1314. {
  1315. *rcNameID: 268
  1316. *OptionID: 268
  1317. *PageDimensions: PAIR(10800, 8640)
  1318. *Command: CmdSelect
  1319. {
  1320. *Order: DOC_SETUP.3
  1321. *Cmd: "<1B>2<1B>CH"
  1322. }
  1323. *switch: InputBin
  1324. {
  1325. *case: TRACTOR
  1326. {
  1327. *PrintableArea: PAIR(9792, 8640)
  1328. *PrintableOrigin: PAIR(0, 0)
  1329. }
  1330. *case: MANUAL
  1331. {
  1332. *PrintableArea: PAIR(9792, 8280)
  1333. *PrintableOrigin: PAIR(0, 0)
  1334. }
  1335. *case: Option3
  1336. {
  1337. *PrintableArea: PAIR(9792, 7920)
  1338. *PrintableOrigin: PAIR(0, 0)
  1339. }
  1340. *case: Option4
  1341. {
  1342. *PrintableArea: PAIR(9792, 7920)
  1343. *PrintableOrigin: PAIR(0, 0)
  1344. }
  1345. }
  1346. }
  1347. *Option: ENV_MONARCH
  1348. {
  1349. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1350. *RotateSize? : TRUE
  1351. *Command: CmdSelect
  1352. {
  1353. *Order: DOC_SETUP.3
  1354. *Cmd: "<1B>2<1B>C<16>"
  1355. }
  1356. *switch: InputBin
  1357. {
  1358. *case: TRACTOR
  1359. {
  1360. *PrintableArea: PAIR(5400, 2794)
  1361. *PrintableOrigin: PAIR(0, 0)
  1362. *switch: Resolution
  1363. {
  1364. *case: Option2
  1365. {
  1366. *PrintableArea: PAIR(5400, 2792)
  1367. }
  1368. *case: Option3
  1369. {
  1370. *PrintableArea: PAIR(5400, 2792)
  1371. }
  1372. *case: Option4
  1373. {
  1374. *PrintableArea: PAIR(5400, 2792)
  1375. }
  1376. }
  1377. }
  1378. *case: MANUAL
  1379. {
  1380. *PrintableArea: PAIR(5400, 2434)
  1381. *PrintableOrigin: PAIR(0, 0)
  1382. *switch: Resolution
  1383. {
  1384. *case: Option2
  1385. {
  1386. *PrintableArea: PAIR(5400, 2432)
  1387. }
  1388. *case: Option3
  1389. {
  1390. *PrintableArea: PAIR(5400, 2432)
  1391. }
  1392. *case: Option4
  1393. {
  1394. *PrintableArea: PAIR(5400, 2432)
  1395. }
  1396. }
  1397. }
  1398. *case: Option3
  1399. {
  1400. *PrintableArea: PAIR(5400, 2074)
  1401. *PrintableOrigin: PAIR(0, 0)
  1402. *switch: Resolution
  1403. {
  1404. *case: Option2
  1405. {
  1406. *PrintableArea: PAIR(5400, 2072)
  1407. }
  1408. *case: Option3
  1409. {
  1410. *PrintableArea: PAIR(5400, 2072)
  1411. }
  1412. *case: Option4
  1413. {
  1414. *PrintableArea: PAIR(5400, 2072)
  1415. }
  1416. }
  1417. }
  1418. *case: Option4
  1419. {
  1420. *PrintableArea: PAIR(5400, 2074)
  1421. *PrintableOrigin: PAIR(0, 0)
  1422. *switch: Resolution
  1423. {
  1424. *case: Option2
  1425. {
  1426. *PrintableArea: PAIR(5400, 2072)
  1427. }
  1428. *case: Option3
  1429. {
  1430. *PrintableArea: PAIR(5400, 2072)
  1431. }
  1432. *case: Option4
  1433. {
  1434. *PrintableArea: PAIR(5400, 2072)
  1435. }
  1436. }
  1437. }
  1438. }
  1439. }
  1440. *Option: ENV_9
  1441. {
  1442. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1443. *RotateSize? : TRUE
  1444. *Command: CmdSelect
  1445. {
  1446. *Order: DOC_SETUP.3
  1447. *Cmd: "<1B>2<1B>C<16>"
  1448. }
  1449. *switch: InputBin
  1450. {
  1451. *case: TRACTOR
  1452. {
  1453. *PrintableArea: PAIR(6394, 2794)
  1454. *PrintableOrigin: PAIR(0, 0)
  1455. *switch: Resolution
  1456. {
  1457. *case: Option2
  1458. {
  1459. *PrintableArea: PAIR(6394, 2792)
  1460. }
  1461. *case: Option3
  1462. {
  1463. *PrintableArea: PAIR(6392, 2792)
  1464. }
  1465. *case: Option4
  1466. {
  1467. *PrintableArea: PAIR(6390, 2792)
  1468. }
  1469. }
  1470. }
  1471. *case: MANUAL
  1472. {
  1473. *PrintableArea: PAIR(6394, 2434)
  1474. *PrintableOrigin: PAIR(0, 0)
  1475. *switch: Resolution
  1476. {
  1477. *case: Option2
  1478. {
  1479. *PrintableArea: PAIR(6394, 2432)
  1480. }
  1481. *case: Option3
  1482. {
  1483. *PrintableArea: PAIR(6392, 2432)
  1484. }
  1485. *case: Option4
  1486. {
  1487. *PrintableArea: PAIR(6390, 2432)
  1488. }
  1489. }
  1490. }
  1491. *case: Option3
  1492. {
  1493. *PrintableArea: PAIR(6394, 2074)
  1494. *PrintableOrigin: PAIR(0, 0)
  1495. *switch: Resolution
  1496. {
  1497. *case: Option2
  1498. {
  1499. *PrintableArea: PAIR(6394, 2072)
  1500. }
  1501. *case: Option3
  1502. {
  1503. *PrintableArea: PAIR(6392, 2072)
  1504. }
  1505. *case: Option4
  1506. {
  1507. *PrintableArea: PAIR(6390, 2072)
  1508. }
  1509. }
  1510. }
  1511. *case: Option4
  1512. {
  1513. *PrintableArea: PAIR(6394, 2074)
  1514. *PrintableOrigin: PAIR(0, 0)
  1515. *switch: Resolution
  1516. {
  1517. *case: Option2
  1518. {
  1519. *PrintableArea: PAIR(6394, 2072)
  1520. }
  1521. *case: Option3
  1522. {
  1523. *PrintableArea: PAIR(6392, 2072)
  1524. }
  1525. *case: Option4
  1526. {
  1527. *PrintableArea: PAIR(6390, 2072)
  1528. }
  1529. }
  1530. }
  1531. }
  1532. }
  1533. *Option: ENV_10
  1534. {
  1535. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1536. *RotateSize? : TRUE
  1537. *Command: CmdSelect
  1538. {
  1539. *Order: DOC_SETUP.3
  1540. *Cmd: "<1B>2<1B>C<19>"
  1541. }
  1542. *switch: InputBin
  1543. {
  1544. *case: TRACTOR
  1545. {
  1546. *PrintableArea: PAIR(6840, 2974)
  1547. *PrintableOrigin: PAIR(0, 0)
  1548. *switch: Resolution
  1549. {
  1550. *case: Option2
  1551. {
  1552. *PrintableArea: PAIR(6840, 2972)
  1553. }
  1554. *case: Option3
  1555. {
  1556. *PrintableArea: PAIR(6840, 2972)
  1557. }
  1558. *case: Option4
  1559. {
  1560. *PrintableArea: PAIR(6840, 2972)
  1561. }
  1562. }
  1563. }
  1564. *case: MANUAL
  1565. {
  1566. *PrintableArea: PAIR(6840, 2614)
  1567. *PrintableOrigin: PAIR(0, 0)
  1568. *switch: Resolution
  1569. {
  1570. *case: Option2
  1571. {
  1572. *PrintableArea: PAIR(6840, 2612)
  1573. }
  1574. *case: Option3
  1575. {
  1576. *PrintableArea: PAIR(6840, 2612)
  1577. }
  1578. *case: Option4
  1579. {
  1580. *PrintableArea: PAIR(6840, 2612)
  1581. }
  1582. }
  1583. }
  1584. *case: Option3
  1585. {
  1586. *PrintableArea: PAIR(6840, 2254)
  1587. *PrintableOrigin: PAIR(0, 0)
  1588. *switch: Resolution
  1589. {
  1590. *case: Option2
  1591. {
  1592. *PrintableArea: PAIR(6840, 2252)
  1593. }
  1594. *case: Option3
  1595. {
  1596. *PrintableArea: PAIR(6840, 2252)
  1597. }
  1598. *case: Option4
  1599. {
  1600. *PrintableArea: PAIR(6840, 2252)
  1601. }
  1602. }
  1603. }
  1604. *case: Option4
  1605. {
  1606. *PrintableArea: PAIR(6840, 2254)
  1607. *PrintableOrigin: PAIR(0, 0)
  1608. *switch: Resolution
  1609. {
  1610. *case: Option2
  1611. {
  1612. *PrintableArea: PAIR(6840, 2252)
  1613. }
  1614. *case: Option3
  1615. {
  1616. *PrintableArea: PAIR(6840, 2252)
  1617. }
  1618. *case: Option4
  1619. {
  1620. *PrintableArea: PAIR(6840, 2252)
  1621. }
  1622. }
  1623. }
  1624. }
  1625. }
  1626. *Option: ENV_11
  1627. {
  1628. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1629. *RotateSize? : TRUE
  1630. *Command: CmdSelect
  1631. {
  1632. *Order: DOC_SETUP.3
  1633. *Cmd: "<1B>0<1B>C$"
  1634. }
  1635. *switch: InputBin
  1636. {
  1637. *case: TRACTOR
  1638. {
  1639. *PrintableArea: PAIR(7474, 3240)
  1640. *PrintableOrigin: PAIR(0, 0)
  1641. *switch: Resolution
  1642. {
  1643. *case: Option3
  1644. {
  1645. *PrintableArea: PAIR(7472, 3240)
  1646. }
  1647. *case: Option4
  1648. {
  1649. *PrintableArea: PAIR(7470, 3240)
  1650. }
  1651. }
  1652. }
  1653. *case: MANUAL
  1654. {
  1655. *PrintableArea: PAIR(7474, 2880)
  1656. *PrintableOrigin: PAIR(0, 0)
  1657. *switch: Resolution
  1658. {
  1659. *case: Option3
  1660. {
  1661. *PrintableArea: PAIR(7472, 2880)
  1662. }
  1663. *case: Option4
  1664. {
  1665. *PrintableArea: PAIR(7470, 2880)
  1666. }
  1667. }
  1668. }
  1669. *case: Option3
  1670. {
  1671. *PrintableArea: PAIR(7474, 2520)
  1672. *PrintableOrigin: PAIR(0, 0)
  1673. *switch: Resolution
  1674. {
  1675. *case: Option3
  1676. {
  1677. *PrintableArea: PAIR(7472, 2520)
  1678. }
  1679. *case: Option4
  1680. {
  1681. *PrintableArea: PAIR(7470, 2520)
  1682. }
  1683. }
  1684. }
  1685. *case: Option4
  1686. {
  1687. *PrintableArea: PAIR(7474, 2520)
  1688. *PrintableOrigin: PAIR(0, 0)
  1689. *switch: Resolution
  1690. {
  1691. *case: Option3
  1692. {
  1693. *PrintableArea: PAIR(7472, 2520)
  1694. }
  1695. *case: Option4
  1696. {
  1697. *PrintableArea: PAIR(7470, 2520)
  1698. }
  1699. }
  1700. }
  1701. }
  1702. }
  1703. *Option: ENV_DL
  1704. {
  1705. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1706. *RotateSize? : TRUE
  1707. *Command: CmdSelect
  1708. {
  1709. *Order: DOC_SETUP.3
  1710. *Cmd: "<1B>2<1B>C<1A>"
  1711. }
  1712. *switch: InputBin
  1713. {
  1714. *case: TRACTOR
  1715. {
  1716. *PrintableArea: PAIR(6235, 3118)
  1717. *PrintableOrigin: PAIR(0, 0)
  1718. *switch: Resolution
  1719. {
  1720. *case: Option1
  1721. {
  1722. *PrintableArea: PAIR(6234, 3118)
  1723. }
  1724. *case: Option2
  1725. {
  1726. *PrintableArea: PAIR(6234, 3116)
  1727. }
  1728. *case: Option3
  1729. {
  1730. *PrintableArea: PAIR(6232, 3116)
  1731. }
  1732. *case: Option4
  1733. {
  1734. *PrintableArea: PAIR(6234, 3116)
  1735. }
  1736. }
  1737. }
  1738. *case: MANUAL
  1739. {
  1740. *PrintableArea: PAIR(6235, 2758)
  1741. *PrintableOrigin: PAIR(0, 0)
  1742. *switch: Resolution
  1743. {
  1744. *case: Option1
  1745. {
  1746. *PrintableArea: PAIR(6234, 2758)
  1747. }
  1748. *case: Option2
  1749. {
  1750. *PrintableArea: PAIR(6234, 2756)
  1751. }
  1752. *case: Option3
  1753. {
  1754. *PrintableArea: PAIR(6232, 2756)
  1755. }
  1756. *case: Option4
  1757. {
  1758. *PrintableArea: PAIR(6234, 2756)
  1759. }
  1760. }
  1761. }
  1762. *case: Option3
  1763. {
  1764. *PrintableArea: PAIR(6235, 2398)
  1765. *PrintableOrigin: PAIR(0, 0)
  1766. *switch: Resolution
  1767. {
  1768. *case: Option1
  1769. {
  1770. *PrintableArea: PAIR(6234, 2398)
  1771. }
  1772. *case: Option2
  1773. {
  1774. *PrintableArea: PAIR(6234, 2396)
  1775. }
  1776. *case: Option3
  1777. {
  1778. *PrintableArea: PAIR(6232, 2396)
  1779. }
  1780. *case: Option4
  1781. {
  1782. *PrintableArea: PAIR(6234, 2396)
  1783. }
  1784. }
  1785. }
  1786. *case: Option4
  1787. {
  1788. *PrintableArea: PAIR(6235, 2398)
  1789. *PrintableOrigin: PAIR(0, 0)
  1790. *switch: Resolution
  1791. {
  1792. *case: Option1
  1793. {
  1794. *PrintableArea: PAIR(6234, 2398)
  1795. }
  1796. *case: Option2
  1797. {
  1798. *PrintableArea: PAIR(6234, 2396)
  1799. }
  1800. *case: Option3
  1801. {
  1802. *PrintableArea: PAIR(6232, 2396)
  1803. }
  1804. *case: Option4
  1805. {
  1806. *PrintableArea: PAIR(6234, 2396)
  1807. }
  1808. }
  1809. }
  1810. }
  1811. }
  1812. *Option: ENV_C6
  1813. {
  1814. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1815. *RotateSize? : TRUE
  1816. *Command: CmdSelect
  1817. {
  1818. *Order: DOC_SETUP.3
  1819. *Cmd: "<1B>2<1B>C<1B>"
  1820. }
  1821. *switch: InputBin
  1822. {
  1823. *case: TRACTOR
  1824. {
  1825. *PrintableArea: PAIR(4594, 3233)
  1826. *PrintableOrigin: PAIR(0, 0)
  1827. *switch: Resolution
  1828. {
  1829. *case: Option1
  1830. {
  1831. *PrintableArea: PAIR(4594, 3232)
  1832. }
  1833. *case: Option2
  1834. {
  1835. *PrintableArea: PAIR(4594, 3232)
  1836. }
  1837. *case: Option3
  1838. {
  1839. *PrintableArea: PAIR(4592, 3232)
  1840. }
  1841. *case: Option4
  1842. {
  1843. *PrintableArea: PAIR(4590, 3232)
  1844. }
  1845. }
  1846. }
  1847. *case: MANUAL
  1848. {
  1849. *PrintableArea: PAIR(4594, 2873)
  1850. *PrintableOrigin: PAIR(0, 0)
  1851. *switch: Resolution
  1852. {
  1853. *case: Option1
  1854. {
  1855. *PrintableArea: PAIR(4594, 2872)
  1856. }
  1857. *case: Option2
  1858. {
  1859. *PrintableArea: PAIR(4594, 2872)
  1860. }
  1861. *case: Option3
  1862. {
  1863. *PrintableArea: PAIR(4592, 2872)
  1864. }
  1865. *case: Option4
  1866. {
  1867. *PrintableArea: PAIR(4590, 2872)
  1868. }
  1869. }
  1870. }
  1871. *case: Option3
  1872. {
  1873. *PrintableArea: PAIR(4594, 2513)
  1874. *PrintableOrigin: PAIR(0, 0)
  1875. *switch: Resolution
  1876. {
  1877. *case: Option1
  1878. {
  1879. *PrintableArea: PAIR(4594, 2512)
  1880. }
  1881. *case: Option2
  1882. {
  1883. *PrintableArea: PAIR(4594, 2512)
  1884. }
  1885. *case: Option3
  1886. {
  1887. *PrintableArea: PAIR(4592, 2512)
  1888. }
  1889. *case: Option4
  1890. {
  1891. *PrintableArea: PAIR(4590, 2512)
  1892. }
  1893. }
  1894. }
  1895. *case: Option4
  1896. {
  1897. *PrintableArea: PAIR(4594, 2513)
  1898. *PrintableOrigin: PAIR(0, 0)
  1899. *switch: Resolution
  1900. {
  1901. *case: Option1
  1902. {
  1903. *PrintableArea: PAIR(4594, 2512)
  1904. }
  1905. *case: Option2
  1906. {
  1907. *PrintableArea: PAIR(4594, 2512)
  1908. }
  1909. *case: Option3
  1910. {
  1911. *PrintableArea: PAIR(4592, 2512)
  1912. }
  1913. *case: Option4
  1914. {
  1915. *PrintableArea: PAIR(4590, 2512)
  1916. }
  1917. }
  1918. }
  1919. }
  1920. }
  1921. *Option: ENV_ITALY
  1922. {
  1923. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1924. *RotateSize? : TRUE
  1925. *Command: CmdSelect
  1926. {
  1927. *Order: DOC_SETUP.3
  1928. *Cmd: "<1B>2<1B>C<1A>"
  1929. }
  1930. *switch: InputBin
  1931. {
  1932. *case: TRACTOR
  1933. {
  1934. *PrintableArea: PAIR(6523, 3118)
  1935. *PrintableOrigin: PAIR(0, 0)
  1936. *switch: Resolution
  1937. {
  1938. *case: Option1
  1939. {
  1940. *PrintableArea: PAIR(6522, 3118)
  1941. }
  1942. *case: Option2
  1943. {
  1944. *PrintableArea: PAIR(6522, 3116)
  1945. }
  1946. *case: Option3
  1947. {
  1948. *PrintableArea: PAIR(6520, 3116)
  1949. }
  1950. *case: Option4
  1951. {
  1952. *PrintableArea: PAIR(6522, 3116)
  1953. }
  1954. }
  1955. }
  1956. *case: MANUAL
  1957. {
  1958. *PrintableArea: PAIR(6523, 2758)
  1959. *PrintableOrigin: PAIR(0, 0)
  1960. *switch: Resolution
  1961. {
  1962. *case: Option1
  1963. {
  1964. *PrintableArea: PAIR(6522, 2758)
  1965. }
  1966. *case: Option2
  1967. {
  1968. *PrintableArea: PAIR(6522, 2756)
  1969. }
  1970. *case: Option3
  1971. {
  1972. *PrintableArea: PAIR(6520, 2756)
  1973. }
  1974. *case: Option4
  1975. {
  1976. *PrintableArea: PAIR(6522, 2756)
  1977. }
  1978. }
  1979. }
  1980. *case: Option3
  1981. {
  1982. *PrintableArea: PAIR(6523, 2398)
  1983. *PrintableOrigin: PAIR(0, 0)
  1984. *switch: Resolution
  1985. {
  1986. *case: Option1
  1987. {
  1988. *PrintableArea: PAIR(6522, 2398)
  1989. }
  1990. *case: Option2
  1991. {
  1992. *PrintableArea: PAIR(6522, 2396)
  1993. }
  1994. *case: Option3
  1995. {
  1996. *PrintableArea: PAIR(6520, 2396)
  1997. }
  1998. *case: Option4
  1999. {
  2000. *PrintableArea: PAIR(6522, 2396)
  2001. }
  2002. }
  2003. }
  2004. *case: Option4
  2005. {
  2006. *PrintableArea: PAIR(6523, 2398)
  2007. *PrintableOrigin: PAIR(0, 0)
  2008. *switch: Resolution
  2009. {
  2010. *case: Option1
  2011. {
  2012. *PrintableArea: PAIR(6522, 2398)
  2013. }
  2014. *case: Option2
  2015. {
  2016. *PrintableArea: PAIR(6522, 2396)
  2017. }
  2018. *case: Option3
  2019. {
  2020. *PrintableArea: PAIR(6520, 2396)
  2021. }
  2022. *case: Option4
  2023. {
  2024. *PrintableArea: PAIR(6522, 2396)
  2025. }
  2026. }
  2027. }
  2028. }
  2029. }
  2030. *Option: ENV_B5
  2031. {
  2032. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  2033. *RotateSize? : TRUE
  2034. *Command: CmdSelect
  2035. {
  2036. *Order: DOC_SETUP.3
  2037. *Cmd: "<1B>2<1B>C*"
  2038. }
  2039. *switch: InputBin
  2040. {
  2041. *case: TRACTOR
  2042. {
  2043. *PrintableArea: PAIR(7085, 4990)
  2044. *PrintableOrigin: PAIR(0, 0)
  2045. *switch: Resolution
  2046. {
  2047. *case: Option1
  2048. {
  2049. *PrintableArea: PAIR(7084, 4990)
  2050. }
  2051. *case: Option2
  2052. {
  2053. *PrintableArea: PAIR(7084, 4988)
  2054. }
  2055. *case: Option3
  2056. {
  2057. *PrintableArea: PAIR(7084, 4988)
  2058. }
  2059. *case: Option4
  2060. {
  2061. *PrintableArea: PAIR(7080, 4988)
  2062. }
  2063. }
  2064. }
  2065. *case: MANUAL
  2066. {
  2067. *PrintableArea: PAIR(7085, 4630)
  2068. *PrintableOrigin: PAIR(0, 0)
  2069. *switch: Resolution
  2070. {
  2071. *case: Option1
  2072. {
  2073. *PrintableArea: PAIR(7084, 4630)
  2074. }
  2075. *case: Option2
  2076. {
  2077. *PrintableArea: PAIR(7084, 4628)
  2078. }
  2079. *case: Option3
  2080. {
  2081. *PrintableArea: PAIR(7084, 4628)
  2082. }
  2083. *case: Option4
  2084. {
  2085. *PrintableArea: PAIR(7080, 4628)
  2086. }
  2087. }
  2088. }
  2089. *case: Option3
  2090. {
  2091. *PrintableArea: PAIR(7085, 4270)
  2092. *PrintableOrigin: PAIR(0, 0)
  2093. *switch: Resolution
  2094. {
  2095. *case: Option1
  2096. {
  2097. *PrintableArea: PAIR(7084, 4270)
  2098. }
  2099. *case: Option2
  2100. {
  2101. *PrintableArea: PAIR(7084, 4268)
  2102. }
  2103. *case: Option3
  2104. {
  2105. *PrintableArea: PAIR(7084, 4268)
  2106. }
  2107. *case: Option4
  2108. {
  2109. *PrintableArea: PAIR(7080, 4268)
  2110. }
  2111. }
  2112. }
  2113. *case: Option4
  2114. {
  2115. *PrintableArea: PAIR(7085, 4270)
  2116. *PrintableOrigin: PAIR(0, 0)
  2117. *switch: Resolution
  2118. {
  2119. *case: Option1
  2120. {
  2121. *PrintableArea: PAIR(7084, 4270)
  2122. }
  2123. *case: Option2
  2124. {
  2125. *PrintableArea: PAIR(7084, 4268)
  2126. }
  2127. *case: Option3
  2128. {
  2129. *PrintableArea: PAIR(7084, 4268)
  2130. }
  2131. *case: Option4
  2132. {
  2133. *PrintableArea: PAIR(7080, 4268)
  2134. }
  2135. }
  2136. }
  2137. }
  2138. }
  2139. *Option: CUSTOMSIZE
  2140. {
  2141. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  2142. *MinSize: PAIR(720, 360)
  2143. *MaxSize: PAIR(11520, 30240)
  2144. *MaxPrintableWidth: 9792
  2145. *MinLeftMargin: 0
  2146. *CenterPrintable?: FALSE
  2147. *switch: InputBin
  2148. {
  2149. *case: TRACTOR
  2150. {
  2151. *TopMargin: 0
  2152. *BottomMargin: 0
  2153. }
  2154. *case: MANUAL
  2155. {
  2156. *TopMargin: 0
  2157. *BottomMargin: 360
  2158. }
  2159. *case: Option3
  2160. {
  2161. *TopMargin: 0
  2162. *BottomMargin: 720
  2163. }
  2164. *case: Option4
  2165. {
  2166. *TopMargin: 0
  2167. *BottomMargin: 720
  2168. }
  2169. }
  2170. *Command: CmdSelect
  2171. {
  2172. *Order: DOC_SETUP.3
  2173. *Cmd: "<1B>2<1B>C" %c{(PhysPaperLength / 120) }
  2174. }
  2175. }
  2176. }
  2177. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_10)
  2178. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_11)
  2179. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_DL)
  2180. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_C6)
  2181. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_ITALY)
  2182. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_B5)
  2183. *Feature: ColorMode
  2184. {
  2185. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  2186. *DefaultOption: Color
  2187. *Option: Mono
  2188. {
  2189. *rcNameID: =MONO_DISPLAY
  2190. *DevNumOfPlanes: 1
  2191. *DevBPP: 1
  2192. *Color? : FALSE
  2193. }
  2194. *Option: Color
  2195. {
  2196. *rcNameID: =COLOR_DISPLAY
  2197. *DevNumOfPlanes: 4
  2198. *DevBPP: 1
  2199. *DrvBPP: 4
  2200. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  2201. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  2202. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  2203. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  2204. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  2205. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  2206. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  2207. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  2208. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  2209. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  2210. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  2211. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  2212. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  2213. *Command: CmdSelect
  2214. {
  2215. *Order: DOC_SETUP.6
  2216. *Cmd: "<1B>r<00>"
  2217. }
  2218. }
  2219. }
  2220. *Feature: Halftone
  2221. {
  2222. *rcNameID: =HALFTONING_DISPLAY
  2223. *DefaultOption: HT_PATSIZE_AUTO
  2224. *Option: HT_PATSIZE_AUTO
  2225. {
  2226. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  2227. }
  2228. *Option: HT_PATSIZE_SUPERCELL_M
  2229. {
  2230. *rcNameID: =HT_SUPERCELL_DISPLAY
  2231. }
  2232. *Option: HT_PATSIZE_6x6_M
  2233. {
  2234. *rcNameID: =HT_DITHER6X6_DISPLAY
  2235. }
  2236. *Option: HT_PATSIZE_8x8_M
  2237. {
  2238. *rcNameID: =HT_DITHER8X8_DISPLAY
  2239. }
  2240. }
  2241. *Command: CmdStartDoc
  2242. {
  2243. *Order: DOC_SETUP.1
  2244. *Cmd: "<1B>@<1B>6<1B>t<011B>R<1A>"
  2245. }
  2246. *Command: CmdStartPage
  2247. {
  2248. *Order: PAGE_SETUP.1
  2249. *Cmd: "<0D>"
  2250. }
  2251. *Command: CmdEndJob
  2252. {
  2253. *Order: JOB_FINISH.1
  2254. *Cmd: "<1B>@"
  2255. }
  2256. *RotateCoordinate?: FALSE
  2257. *RotateRaster?: FALSE
  2258. *RotateFont?: FALSE
  2259. *switch: Orientation
  2260. {
  2261. *case: PORTRAIT
  2262. {
  2263. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  2264. }
  2265. *case: LANDSCAPE_CC270
  2266. {
  2267. *TextCaps: LIST(TC_CP_STROKE,TC_RA_ABLE)
  2268. }
  2269. }
  2270. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  2271. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  2272. *MaxLineSpacing: 255
  2273. *YMoveThreshold: *
  2274. *YMoveUnit: 180
  2275. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 4) )} }
  2276. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  2277. *Command: CmdCR { *Cmd : "<0D>" }
  2278. *Command: CmdLF { *Cmd : "<0A>" }
  2279. *Command: CmdFF { *Cmd : "<0C>" }
  2280. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  2281. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  2282. *EjectPageWithFF?: TRUE
  2283. *OutputDataFormat: V_BYTE
  2284. *OptimizeLeftBound?: FALSE
  2285. *ChangeColorModeOnDoc?: FALSE
  2286. *CursorXAfterSendBlockData: AT_GRXDATA_END
  2287. *CursorYAfterSendBlockData: NO_MOVE
  2288. *DefaultFont: 1
  2289. *DefaultCTT: -2
  2290. *CharPosition: BASELINE
  2291. *switch: Orientation
  2292. {
  2293. *case: PORTRAIT
  2294. {
  2295. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  2296. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  2297. + 46,47,48,49,50,51,52,53,69,70,71,72,73,74,75,76,
  2298. + 77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,93,
  2299. + 94,95,96,97,98)
  2300. }
  2301. *case: LANDSCAPE_CC270
  2302. {
  2303. *DeviceFonts: LIST()
  2304. }
  2305. }
  2306. *FontCartridge: FC1
  2307. {
  2308. *rcCartridgeNameID: 271
  2309. *PortraitFonts: LIST(59,60)
  2310. *LandscapeFonts: LIST()
  2311. }
  2312. *FontCartridge: FC2
  2313. {
  2314. *rcCartridgeNameID: 272
  2315. *PortraitFonts: LIST(55,56)
  2316. *LandscapeFonts: LIST()
  2317. }
  2318. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  2319. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  2320. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  2321. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  2322. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  2323. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }