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.

1437 lines
40 KiB

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