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.

1050 lines
30 KiB

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