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.

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