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.

1212 lines
35 KiB

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