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.

902 lines
27 KiB

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