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.

1236 lines
34 KiB

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