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.

1381 lines
40 KiB

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