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.

1218 lines
35 KiB

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