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.

1226 lines
35 KiB

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