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.

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