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.

983 lines
28 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: "str24res.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: Option1
  53. *Option: Option1
  54. {
  55. *Name: "180 x 180 " =DOTS_PER_INCH
  56. *DPI: PAIR(180, 180)
  57. *TextDPI: PAIR(180, 180)
  58. *PinsPerLogPass: 24
  59. *PinsPerPhysPass: 24
  60. *MinStripBlankPixels: 90
  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 360 " =DOTS_PER_INCH
  68. *DPI: PAIR(360, 360)
  69. *TextDPI: PAIR(360, 360)
  70. *PinsPerLogPass: 48
  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: "360 x 180 " =DOTS_PER_INCH
  80. *DPI: PAIR(360, 180)
  81. *TextDPI: PAIR(360, 180)
  82. *PinsPerLogPass: 24
  83. *PinsPerPhysPass: 24
  84. *MinStripBlankPixels: 180
  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(6120, 7920)
  119. *PrintableOrigin: PAIR(0, 0)
  120. }
  121. *case: AUTO
  122. {
  123. *PrintableArea: PAIR(6120, 6795)
  124. *PrintableOrigin: PAIR(0, 720)
  125. *switch: Resolution
  126. {
  127. *case: Option1
  128. {
  129. *PrintableArea: PAIR(6120, 6792)
  130. }
  131. *case: Option2
  132. {
  133. *PrintableArea: PAIR(6120, 6794)
  134. }
  135. *case: Option3
  136. {
  137. *PrintableArea: PAIR(6120, 6792)
  138. }
  139. *case: Option4
  140. {
  141. *PrintableArea: PAIR(6120, 6792)
  142. }
  143. }
  144. }
  145. *case: MANUAL
  146. {
  147. *PrintableArea: PAIR(6120, 6795)
  148. *PrintableOrigin: PAIR(0, 720)
  149. *switch: Resolution
  150. {
  151. *case: Option1
  152. {
  153. *PrintableArea: PAIR(6120, 6792)
  154. }
  155. *case: Option2
  156. {
  157. *PrintableArea: PAIR(6120, 6794)
  158. }
  159. *case: Option3
  160. {
  161. *PrintableArea: PAIR(6120, 6792)
  162. }
  163. *case: Option4
  164. {
  165. *PrintableArea: PAIR(6120, 6792)
  166. }
  167. }
  168. }
  169. }
  170. }
  171. *Option: LEGAL
  172. {
  173. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  174. *Command: CmdSelect
  175. {
  176. *Order: DOC_SETUP.4
  177. *Cmd: "<1B>2<1B>CT"
  178. }
  179. *switch: InputBin
  180. {
  181. *case: TRACTOR
  182. {
  183. *PrintableArea: PAIR(6120, 10080)
  184. *PrintableOrigin: PAIR(0, 0)
  185. }
  186. *case: AUTO
  187. {
  188. *PrintableArea: PAIR(6120, 8955)
  189. *PrintableOrigin: PAIR(0, 720)
  190. *switch: Resolution
  191. {
  192. *case: Option1
  193. {
  194. *PrintableArea: PAIR(6120, 8952)
  195. }
  196. *case: Option2
  197. {
  198. *PrintableArea: PAIR(6120, 8954)
  199. }
  200. *case: Option3
  201. {
  202. *PrintableArea: PAIR(6120, 8952)
  203. }
  204. *case: Option4
  205. {
  206. *PrintableArea: PAIR(6120, 8952)
  207. }
  208. }
  209. }
  210. *case: MANUAL
  211. {
  212. *PrintableArea: PAIR(6120, 8955)
  213. *PrintableOrigin: PAIR(0, 720)
  214. *switch: Resolution
  215. {
  216. *case: Option1
  217. {
  218. *PrintableArea: PAIR(6120, 8952)
  219. }
  220. *case: Option2
  221. {
  222. *PrintableArea: PAIR(6120, 8954)
  223. }
  224. *case: Option3
  225. {
  226. *PrintableArea: PAIR(6120, 8952)
  227. }
  228. *case: Option4
  229. {
  230. *PrintableArea: PAIR(6120, 8952)
  231. }
  232. }
  233. }
  234. }
  235. }
  236. *Option: A3
  237. {
  238. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  239. *Command: CmdSelect
  240. {
  241. *Order: DOC_SETUP.4
  242. *Cmd: "<1B>2<1B>Cc"
  243. }
  244. *switch: InputBin
  245. {
  246. *case: TRACTOR
  247. {
  248. *PrintableArea: PAIR(8417, 11909)
  249. *PrintableOrigin: PAIR(0, 0)
  250. *switch: Resolution
  251. {
  252. *case: Option1
  253. {
  254. *PrintableArea: PAIR(8416, 11908)
  255. }
  256. *case: Option2
  257. {
  258. *PrintableArea: PAIR(8416, 11908)
  259. }
  260. *case: Option3
  261. {
  262. *PrintableArea: PAIR(8416, 11908)
  263. }
  264. *case: Option4
  265. {
  266. *PrintableArea: PAIR(8412, 11908)
  267. }
  268. }
  269. }
  270. *case: AUTO
  271. {
  272. *PrintableArea: PAIR(8417, 10784)
  273. *PrintableOrigin: PAIR(0, 720)
  274. *switch: Resolution
  275. {
  276. *case: Option1
  277. {
  278. *PrintableArea: PAIR(8416, 10784)
  279. }
  280. *case: Option2
  281. {
  282. *PrintableArea: PAIR(8416, 10784)
  283. }
  284. *case: Option3
  285. {
  286. *PrintableArea: PAIR(8416, 10784)
  287. }
  288. *case: Option4
  289. {
  290. *PrintableArea: PAIR(8412, 10784)
  291. }
  292. }
  293. }
  294. *case: MANUAL
  295. {
  296. *PrintableArea: PAIR(8417, 10784)
  297. *PrintableOrigin: PAIR(0, 720)
  298. *switch: Resolution
  299. {
  300. *case: Option1
  301. {
  302. *PrintableArea: PAIR(8416, 10784)
  303. }
  304. *case: Option2
  305. {
  306. *PrintableArea: PAIR(8416, 10784)
  307. }
  308. *case: Option3
  309. {
  310. *PrintableArea: PAIR(8416, 10784)
  311. }
  312. *case: Option4
  313. {
  314. *PrintableArea: PAIR(8412, 10784)
  315. }
  316. }
  317. }
  318. }
  319. }
  320. *Option: A4
  321. {
  322. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  323. *Command: CmdSelect
  324. {
  325. *Order: DOC_SETUP.4
  326. *Cmd: "<1B>3<121B>Cu"
  327. }
  328. *switch: InputBin
  329. {
  330. *case: TRACTOR
  331. {
  332. *PrintableArea: PAIR(5954, 8417)
  333. *PrintableOrigin: PAIR(0, 0)
  334. *switch: Resolution
  335. {
  336. *case: Option1
  337. {
  338. *PrintableArea: PAIR(5952, 8416)
  339. }
  340. *case: Option2
  341. {
  342. *PrintableArea: PAIR(5954, 8416)
  343. }
  344. *case: Option3
  345. {
  346. *PrintableArea: PAIR(5954, 8416)
  347. }
  348. *case: Option4
  349. {
  350. *PrintableArea: PAIR(5952, 8416)
  351. }
  352. }
  353. }
  354. *case: AUTO
  355. {
  356. *PrintableArea: PAIR(5954, 7292)
  357. *PrintableOrigin: PAIR(0, 720)
  358. *switch: Resolution
  359. {
  360. *case: Option1
  361. {
  362. *PrintableArea: PAIR(5952, 7292)
  363. }
  364. *case: Option4
  365. {
  366. *PrintableArea: PAIR(5952, 7292)
  367. }
  368. }
  369. }
  370. *case: MANUAL
  371. {
  372. *PrintableArea: PAIR(5954, 7292)
  373. *PrintableOrigin: PAIR(0, 720)
  374. *switch: Resolution
  375. {
  376. *case: Option1
  377. {
  378. *PrintableArea: PAIR(5952, 7292)
  379. }
  380. *case: Option4
  381. {
  382. *PrintableArea: PAIR(5952, 7292)
  383. }
  384. }
  385. }
  386. }
  387. }
  388. *Option: B4
  389. {
  390. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  391. *Command: CmdSelect
  392. {
  393. *Order: DOC_SETUP.4
  394. *Cmd: "<1B>2<1B>CT"
  395. }
  396. *switch: InputBin
  397. {
  398. *case: TRACTOR
  399. {
  400. *PrintableArea: PAIR(7085, 10037)
  401. *PrintableOrigin: PAIR(0, 0)
  402. *switch: Resolution
  403. {
  404. *case: Option1
  405. {
  406. *PrintableArea: PAIR(7084, 10036)
  407. }
  408. *case: Option2
  409. {
  410. *PrintableArea: PAIR(7084, 10036)
  411. }
  412. *case: Option3
  413. {
  414. *PrintableArea: PAIR(7084, 10036)
  415. }
  416. *case: Option4
  417. {
  418. *PrintableArea: PAIR(7080, 10036)
  419. }
  420. }
  421. }
  422. *case: AUTO
  423. {
  424. *PrintableArea: PAIR(7085, 8912)
  425. *PrintableOrigin: PAIR(0, 720)
  426. *switch: Resolution
  427. {
  428. *case: Option1
  429. {
  430. *PrintableArea: PAIR(7084, 8912)
  431. }
  432. *case: Option2
  433. {
  434. *PrintableArea: PAIR(7084, 8912)
  435. }
  436. *case: Option3
  437. {
  438. *PrintableArea: PAIR(7084, 8912)
  439. }
  440. *case: Option4
  441. {
  442. *PrintableArea: PAIR(7080, 8912)
  443. }
  444. }
  445. }
  446. *case: MANUAL
  447. {
  448. *PrintableArea: PAIR(7085, 8912)
  449. *PrintableOrigin: PAIR(0, 720)
  450. *switch: Resolution
  451. {
  452. *case: Option1
  453. {
  454. *PrintableArea: PAIR(7084, 8912)
  455. }
  456. *case: Option2
  457. {
  458. *PrintableArea: PAIR(7084, 8912)
  459. }
  460. *case: Option3
  461. {
  462. *PrintableArea: PAIR(7084, 8912)
  463. }
  464. *case: Option4
  465. {
  466. *PrintableArea: PAIR(7080, 8912)
  467. }
  468. }
  469. }
  470. }
  471. }
  472. *Option: B5
  473. {
  474. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  475. *Command: CmdSelect
  476. {
  477. *Order: DOC_SETUP.4
  478. *Cmd: "<1B>2<1B>C="
  479. }
  480. *switch: InputBin
  481. {
  482. *case: TRACTOR
  483. {
  484. *PrintableArea: PAIR(5162, 7286)
  485. *PrintableOrigin: PAIR(0, 0)
  486. *switch: Resolution
  487. {
  488. *case: Option1
  489. {
  490. *PrintableArea: PAIR(5160, 7284)
  491. }
  492. *case: Option3
  493. {
  494. *PrintableArea: PAIR(5162, 7284)
  495. }
  496. *case: Option4
  497. {
  498. *PrintableArea: PAIR(5160, 7284)
  499. }
  500. }
  501. }
  502. *case: AUTO
  503. {
  504. *PrintableArea: PAIR(5162, 6161)
  505. *PrintableOrigin: PAIR(0, 720)
  506. *switch: Resolution
  507. {
  508. *case: Option1
  509. {
  510. *PrintableArea: PAIR(5160, 6160)
  511. }
  512. *case: Option2
  513. {
  514. *PrintableArea: PAIR(5162, 6160)
  515. }
  516. *case: Option3
  517. {
  518. *PrintableArea: PAIR(5162, 6160)
  519. }
  520. *case: Option4
  521. {
  522. *PrintableArea: PAIR(5160, 6160)
  523. }
  524. }
  525. }
  526. *case: MANUAL
  527. {
  528. *PrintableArea: PAIR(5162, 6161)
  529. *PrintableOrigin: PAIR(0, 720)
  530. *switch: Resolution
  531. {
  532. *case: Option1
  533. {
  534. *PrintableArea: PAIR(5160, 6160)
  535. }
  536. *case: Option2
  537. {
  538. *PrintableArea: PAIR(5162, 6160)
  539. }
  540. *case: Option3
  541. {
  542. *PrintableArea: PAIR(5162, 6160)
  543. }
  544. *case: Option4
  545. {
  546. *PrintableArea: PAIR(5160, 6160)
  547. }
  548. }
  549. }
  550. }
  551. }
  552. *Option: EXECUTIVE
  553. {
  554. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  555. *Command: CmdSelect
  556. {
  557. *Order: DOC_SETUP.4
  558. *Cmd: "<1B>2<1B>C?"
  559. }
  560. *switch: InputBin
  561. {
  562. *case: TRACTOR
  563. {
  564. *PrintableArea: PAIR(5220, 7560)
  565. *PrintableOrigin: PAIR(0, 0)
  566. }
  567. *case: AUTO
  568. {
  569. *PrintableArea: PAIR(5220, 6435)
  570. *PrintableOrigin: PAIR(0, 720)
  571. *switch: Resolution
  572. {
  573. *case: Option1
  574. {
  575. *PrintableArea: PAIR(5220, 6432)
  576. }
  577. *case: Option2
  578. {
  579. *PrintableArea: PAIR(5220, 6434)
  580. }
  581. *case: Option3
  582. {
  583. *PrintableArea: PAIR(5220, 6432)
  584. }
  585. *case: Option4
  586. {
  587. *PrintableArea: PAIR(5220, 6432)
  588. }
  589. }
  590. }
  591. *case: MANUAL
  592. {
  593. *PrintableArea: PAIR(5220, 6435)
  594. *PrintableOrigin: PAIR(0, 720)
  595. *switch: Resolution
  596. {
  597. *case: Option1
  598. {
  599. *PrintableArea: PAIR(5220, 6432)
  600. }
  601. *case: Option2
  602. {
  603. *PrintableArea: PAIR(5220, 6434)
  604. }
  605. *case: Option3
  606. {
  607. *PrintableArea: PAIR(5220, 6432)
  608. }
  609. *case: Option4
  610. {
  611. *PrintableArea: PAIR(5220, 6432)
  612. }
  613. }
  614. }
  615. }
  616. }
  617. *Option: Option8
  618. {
  619. *rcNameID: 259
  620. *PageDimensions: PAIR(6120, 8640)
  621. *Command: CmdSelect
  622. {
  623. *Order: DOC_SETUP.4
  624. *Cmd: "<1B>2<1B>CH"
  625. }
  626. *switch: InputBin
  627. {
  628. *case: TRACTOR
  629. {
  630. *PrintableArea: PAIR(6120, 8640)
  631. *PrintableOrigin: PAIR(0, 0)
  632. }
  633. *case: AUTO
  634. {
  635. *PrintableArea: PAIR(6120, 7515)
  636. *PrintableOrigin: PAIR(0, 720)
  637. *switch: Resolution
  638. {
  639. *case: Option1
  640. {
  641. *PrintableArea: PAIR(6120, 7512)
  642. }
  643. *case: Option2
  644. {
  645. *PrintableArea: PAIR(6120, 7514)
  646. }
  647. *case: Option3
  648. {
  649. *PrintableArea: PAIR(6120, 7512)
  650. }
  651. *case: Option4
  652. {
  653. *PrintableArea: PAIR(6120, 7512)
  654. }
  655. }
  656. }
  657. *case: MANUAL
  658. {
  659. *PrintableArea: PAIR(6120, 7515)
  660. *PrintableOrigin: PAIR(0, 720)
  661. *switch: Resolution
  662. {
  663. *case: Option1
  664. {
  665. *PrintableArea: PAIR(6120, 7512)
  666. }
  667. *case: Option2
  668. {
  669. *PrintableArea: PAIR(6120, 7514)
  670. }
  671. *case: Option3
  672. {
  673. *PrintableArea: PAIR(6120, 7512)
  674. }
  675. *case: Option4
  676. {
  677. *PrintableArea: PAIR(6120, 7512)
  678. }
  679. }
  680. }
  681. }
  682. }
  683. *Option: Option9
  684. {
  685. *rcNameID: 260
  686. *PageDimensions: PAIR(10800, 8640)
  687. *Command: CmdSelect
  688. {
  689. *Order: DOC_SETUP.4
  690. *Cmd: "<1B>2<1B>CH"
  691. }
  692. *switch: InputBin
  693. {
  694. *case: TRACTOR
  695. {
  696. *PrintableArea: PAIR(9792, 8640)
  697. *PrintableOrigin: PAIR(0, 0)
  698. }
  699. *case: AUTO
  700. {
  701. *PrintableArea: PAIR(9792, 7515)
  702. *PrintableOrigin: PAIR(0, 720)
  703. *switch: Resolution
  704. {
  705. *case: Option1
  706. {
  707. *PrintableArea: PAIR(9792, 7512)
  708. }
  709. *case: Option2
  710. {
  711. *PrintableArea: PAIR(9792, 7514)
  712. }
  713. *case: Option3
  714. {
  715. *PrintableArea: PAIR(9792, 7512)
  716. }
  717. *case: Option4
  718. {
  719. *PrintableArea: PAIR(9792, 7512)
  720. }
  721. }
  722. }
  723. *case: MANUAL
  724. {
  725. *PrintableArea: PAIR(9792, 7515)
  726. *PrintableOrigin: PAIR(0, 720)
  727. *switch: Resolution
  728. {
  729. *case: Option1
  730. {
  731. *PrintableArea: PAIR(9792, 7512)
  732. }
  733. *case: Option2
  734. {
  735. *PrintableArea: PAIR(9792, 7514)
  736. }
  737. *case: Option3
  738. {
  739. *PrintableArea: PAIR(9792, 7512)
  740. }
  741. *case: Option4
  742. {
  743. *PrintableArea: PAIR(9792, 7512)
  744. }
  745. }
  746. }
  747. }
  748. }
  749. *Option: Option10
  750. {
  751. *rcNameID: 261
  752. *PageDimensions: PAIR(10800, 7920)
  753. *Command: CmdSelect
  754. {
  755. *Order: DOC_SETUP.4
  756. *Cmd: "<1B>2<1B>CB"
  757. }
  758. *switch: InputBin
  759. {
  760. *case: TRACTOR
  761. {
  762. *PrintableArea: PAIR(9792, 7920)
  763. *PrintableOrigin: PAIR(0, 0)
  764. }
  765. *case: AUTO
  766. {
  767. *PrintableArea: PAIR(9792, 6795)
  768. *PrintableOrigin: PAIR(0, 720)
  769. *switch: Resolution
  770. {
  771. *case: Option1
  772. {
  773. *PrintableArea: PAIR(9792, 6792)
  774. }
  775. *case: Option2
  776. {
  777. *PrintableArea: PAIR(9792, 6794)
  778. }
  779. *case: Option3
  780. {
  781. *PrintableArea: PAIR(9792, 6792)
  782. }
  783. *case: Option4
  784. {
  785. *PrintableArea: PAIR(9792, 6792)
  786. }
  787. }
  788. }
  789. *case: MANUAL
  790. {
  791. *PrintableArea: PAIR(9792, 6795)
  792. *PrintableOrigin: PAIR(0, 720)
  793. *switch: Resolution
  794. {
  795. *case: Option1
  796. {
  797. *PrintableArea: PAIR(9792, 6792)
  798. }
  799. *case: Option2
  800. {
  801. *PrintableArea: PAIR(9792, 6794)
  802. }
  803. *case: Option3
  804. {
  805. *PrintableArea: PAIR(9792, 6792)
  806. }
  807. *case: Option4
  808. {
  809. *PrintableArea: PAIR(9792, 6792)
  810. }
  811. }
  812. }
  813. }
  814. }
  815. *Option: CUSTOMSIZE
  816. {
  817. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  818. *MinSize: PAIR(720, 720)
  819. *MaxSize: PAIR(11880, 15840)
  820. *MaxPrintableWidth: 9792
  821. *MinLeftMargin: 0
  822. *CenterPrintable?: FALSE
  823. *switch: InputBin
  824. {
  825. *case: TRACTOR
  826. {
  827. *TopMargin: 0
  828. *BottomMargin: 0
  829. }
  830. *case: AUTO
  831. {
  832. *TopMargin: 720
  833. *BottomMargin: 405
  834. }
  835. *case: MANUAL
  836. {
  837. *TopMargin: 720
  838. *BottomMargin: 405
  839. }
  840. }
  841. *Command: CmdSelect
  842. {
  843. *Order: DOC_SETUP.4
  844. *Cmd: "<1B>2"
  845. }
  846. }
  847. }
  848. *Feature: PrintQuality
  849. {
  850. *rcNameID: =TEXT_QUALITY_DISPLAY
  851. *DefaultOption: LETTER_QUALITY
  852. *Option: LETTER_QUALITY
  853. {
  854. *rcNameID: =LETTER_QUALITY_DISPLAY
  855. *Command: CmdSelect
  856. {
  857. *Order: DOC_SETUP.2
  858. *Cmd: "<1B>x1"
  859. }
  860. }
  861. *Option: DRAFT_QUALITY
  862. {
  863. *rcNameID: =DRAFT_QUALITY_DISPLAY
  864. *Command: CmdSelect
  865. {
  866. *Order: DOC_SETUP.2
  867. *Cmd: "<1B>x0"
  868. }
  869. }
  870. }
  871. *Feature: Halftone
  872. {
  873. *rcNameID: =HALFTONING_DISPLAY
  874. *DefaultOption: HT_PATSIZE_AUTO
  875. *Option: HT_PATSIZE_AUTO
  876. {
  877. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  878. }
  879. *Ifdef: WINNT_50
  880. *Option: HT_PATSIZE_SUPERCELL_M
  881. {
  882. *rcNameID: =HT_SUPERCELL_DISPLAY
  883. }
  884. *Endif:
  885. *Option: HT_PATSIZE_6x6_M
  886. {
  887. *rcNameID: =HT_DITHER6X6_DISPLAY
  888. }
  889. *Option: HT_PATSIZE_8x8_M
  890. {
  891. *rcNameID: =HT_DITHER8X8_DISPLAY
  892. }
  893. }
  894. *Command: CmdStartDoc
  895. {
  896. *Order: DOC_SETUP.1
  897. *Cmd: "<1B>@<1B>t<011B>6<1B>r<00>"
  898. }
  899. *Command: CmdStartPage
  900. {
  901. *Order: PAGE_SETUP.1
  902. *Cmd: "<0D>"
  903. }
  904. *Command: CmdEndJob
  905. {
  906. *Order: JOB_FINISH.1
  907. *Cmd: "<1B>@"
  908. }
  909. *RotateCoordinate?: FALSE
  910. *RotateRaster?: FALSE
  911. *RotateFont?: FALSE
  912. *switch: Orientation
  913. {
  914. *case: PORTRAIT
  915. {
  916. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  917. }
  918. *case: LANDSCAPE_CC270
  919. {
  920. *TextCaps: LIST(TC_RA_ABLE)
  921. }
  922. }
  923. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  924. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  925. *MaxLineSpacing: 255
  926. *XMoveThreshold: 0
  927. *YMoveThreshold: *
  928. *XMoveUnit: 60
  929. *YMoveUnit: 180
  930. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  931. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  932. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  933. *Command: CmdCR { *Cmd : "<0D>" }
  934. *Command: CmdLF { *Cmd : "<0A>" }
  935. *Command: CmdFF { *Cmd : "<0C>" }
  936. *Command: CmdBackSpace { *Cmd : "<08>" }
  937. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  938. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  939. *EjectPageWithFF?: TRUE
  940. *switch: PaperSize
  941. {
  942. *case: CUSTOMSIZE
  943. {
  944. *EjectPageWithFF?: FALSE
  945. *switch: InputBin
  946. {
  947. *case: AUTO
  948. {
  949. *EjectPageWithFF?: TRUE
  950. }
  951. *case: MANUAL
  952. {
  953. *EjectPageWithFF?: TRUE
  954. }
  955. }
  956. }
  957. }
  958. *OutputDataFormat: V_BYTE
  959. *OptimizeLeftBound?: TRUE
  960. *CursorXAfterSendBlockData: AT_GRXDATA_END
  961. *CursorYAfterSendBlockData: NO_MOVE
  962. *DefaultFont: 56
  963. *DefaultCTT: 2
  964. *switch: Orientation
  965. {
  966. *case: PORTRAIT
  967. {
  968. *DeviceFonts: LIST(56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,
  969. + 72,73,74,75,76,77,78,79,80,81,82,83,84,85)
  970. }
  971. *case: LANDSCAPE_CC270
  972. {
  973. *DeviceFonts: LIST()
  974. }
  975. }
  976. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  977. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  978. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  979. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  980. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  981. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  982. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>P1" }
  983. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>P0" }