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.

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