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.

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