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.

1367 lines
40 KiB

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