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.

959 lines
28 KiB

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