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.

905 lines
27 KiB

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