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.

1042 lines
30 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "STXB2410.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Star XB24-10"
  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: A4
  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, 6795)
  146. *PrintableOrigin: PAIR(0, 720)
  147. *switch: Resolution
  148. {
  149. *case: Option1
  150. {
  151. *PrintableArea: PAIR(5760, 6792)
  152. }
  153. *case: Option2
  154. {
  155. *PrintableArea: PAIR(5760, 6794)
  156. }
  157. *case: Option3
  158. {
  159. *PrintableArea: PAIR(5760, 6792)
  160. }
  161. *case: Option4
  162. {
  163. *PrintableArea: PAIR(5760, 6792)
  164. }
  165. }
  166. }
  167. *case: MANUAL
  168. {
  169. *PrintableArea: PAIR(5760, 6795)
  170. *PrintableOrigin: PAIR(0, 720)
  171. *switch: Resolution
  172. {
  173. *case: Option1
  174. {
  175. *PrintableArea: PAIR(5760, 6792)
  176. }
  177. *case: Option2
  178. {
  179. *PrintableArea: PAIR(5760, 6794)
  180. }
  181. *case: Option3
  182. {
  183. *PrintableArea: PAIR(5760, 6792)
  184. }
  185. *case: Option4
  186. {
  187. *PrintableArea: PAIR(5760, 6792)
  188. }
  189. }
  190. }
  191. *case: Option4
  192. {
  193. *PrintableArea: PAIR(5760, 6795)
  194. *PrintableOrigin: PAIR(0, 720)
  195. *switch: Resolution
  196. {
  197. *case: Option1
  198. {
  199. *PrintableArea: PAIR(5760, 6792)
  200. }
  201. *case: Option2
  202. {
  203. *PrintableArea: PAIR(5760, 6794)
  204. }
  205. *case: Option3
  206. {
  207. *PrintableArea: PAIR(5760, 6792)
  208. }
  209. *case: Option4
  210. {
  211. *PrintableArea: PAIR(5760, 6792)
  212. }
  213. }
  214. }
  215. *case: Option5
  216. {
  217. *PrintableArea: PAIR(5760, 6795)
  218. *PrintableOrigin: PAIR(0, 720)
  219. *switch: Resolution
  220. {
  221. *case: Option1
  222. {
  223. *PrintableArea: PAIR(5760, 6792)
  224. }
  225. *case: Option2
  226. {
  227. *PrintableArea: PAIR(5760, 6794)
  228. }
  229. *case: Option3
  230. {
  231. *PrintableArea: PAIR(5760, 6792)
  232. }
  233. *case: Option4
  234. {
  235. *PrintableArea: PAIR(5760, 6792)
  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, 8955)
  259. *PrintableOrigin: PAIR(0, 720)
  260. *switch: Resolution
  261. {
  262. *case: Option1
  263. {
  264. *PrintableArea: PAIR(5760, 8952)
  265. }
  266. *case: Option2
  267. {
  268. *PrintableArea: PAIR(5760, 8954)
  269. }
  270. *case: Option3
  271. {
  272. *PrintableArea: PAIR(5760, 8952)
  273. }
  274. *case: Option4
  275. {
  276. *PrintableArea: PAIR(5760, 8952)
  277. }
  278. }
  279. }
  280. *case: MANUAL
  281. {
  282. *PrintableArea: PAIR(5760, 8955)
  283. *PrintableOrigin: PAIR(0, 720)
  284. *switch: Resolution
  285. {
  286. *case: Option1
  287. {
  288. *PrintableArea: PAIR(5760, 8952)
  289. }
  290. *case: Option2
  291. {
  292. *PrintableArea: PAIR(5760, 8954)
  293. }
  294. *case: Option3
  295. {
  296. *PrintableArea: PAIR(5760, 8952)
  297. }
  298. *case: Option4
  299. {
  300. *PrintableArea: PAIR(5760, 8952)
  301. }
  302. }
  303. }
  304. *case: Option4
  305. {
  306. *PrintableArea: PAIR(5760, 8955)
  307. *PrintableOrigin: PAIR(0, 720)
  308. *switch: Resolution
  309. {
  310. *case: Option1
  311. {
  312. *PrintableArea: PAIR(5760, 8952)
  313. }
  314. *case: Option2
  315. {
  316. *PrintableArea: PAIR(5760, 8954)
  317. }
  318. *case: Option3
  319. {
  320. *PrintableArea: PAIR(5760, 8952)
  321. }
  322. *case: Option4
  323. {
  324. *PrintableArea: PAIR(5760, 8952)
  325. }
  326. }
  327. }
  328. *case: Option5
  329. {
  330. *PrintableArea: PAIR(5760, 8955)
  331. *PrintableOrigin: PAIR(0, 720)
  332. *switch: Resolution
  333. {
  334. *case: Option1
  335. {
  336. *PrintableArea: PAIR(5760, 8952)
  337. }
  338. *case: Option2
  339. {
  340. *PrintableArea: PAIR(5760, 8954)
  341. }
  342. *case: Option3
  343. {
  344. *PrintableArea: PAIR(5760, 8952)
  345. }
  346. *case: Option4
  347. {
  348. *PrintableArea: PAIR(5760, 8952)
  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, 7292)
  391. *PrintableOrigin: PAIR(0, 720)
  392. }
  393. *case: MANUAL
  394. {
  395. *PrintableArea: PAIR(5760, 7292)
  396. *PrintableOrigin: PAIR(0, 720)
  397. }
  398. *case: Option4
  399. {
  400. *PrintableArea: PAIR(5760, 7292)
  401. *PrintableOrigin: PAIR(0, 720)
  402. }
  403. *case: Option5
  404. {
  405. *PrintableArea: PAIR(5760, 7292)
  406. *PrintableOrigin: PAIR(0, 720)
  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, 8912)
  447. *PrintableOrigin: PAIR(0, 720)
  448. }
  449. *case: MANUAL
  450. {
  451. *PrintableArea: PAIR(5760, 8912)
  452. *PrintableOrigin: PAIR(0, 720)
  453. }
  454. *case: Option4
  455. {
  456. *PrintableArea: PAIR(5760, 8912)
  457. *PrintableOrigin: PAIR(0, 720)
  458. }
  459. *case: Option5
  460. {
  461. *PrintableArea: PAIR(5760, 8912)
  462. *PrintableOrigin: PAIR(0, 720)
  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, 6161)
  499. *PrintableOrigin: PAIR(0, 720)
  500. *switch: Resolution
  501. {
  502. *case: Option1
  503. {
  504. *PrintableArea: PAIR(5160, 6160)
  505. }
  506. *case: Option2
  507. {
  508. *PrintableArea: PAIR(5162, 6160)
  509. }
  510. *case: Option3
  511. {
  512. *PrintableArea: PAIR(5162, 6160)
  513. }
  514. *case: Option4
  515. {
  516. *PrintableArea: PAIR(5160, 6160)
  517. }
  518. }
  519. }
  520. *case: MANUAL
  521. {
  522. *PrintableArea: PAIR(5162, 6161)
  523. *PrintableOrigin: PAIR(0, 720)
  524. *switch: Resolution
  525. {
  526. *case: Option1
  527. {
  528. *PrintableArea: PAIR(5160, 6160)
  529. }
  530. *case: Option2
  531. {
  532. *PrintableArea: PAIR(5162, 6160)
  533. }
  534. *case: Option3
  535. {
  536. *PrintableArea: PAIR(5162, 6160)
  537. }
  538. *case: Option4
  539. {
  540. *PrintableArea: PAIR(5160, 6160)
  541. }
  542. }
  543. }
  544. *case: Option4
  545. {
  546. *PrintableArea: PAIR(5162, 6161)
  547. *PrintableOrigin: PAIR(0, 720)
  548. *switch: Resolution
  549. {
  550. *case: Option1
  551. {
  552. *PrintableArea: PAIR(5160, 6160)
  553. }
  554. *case: Option2
  555. {
  556. *PrintableArea: PAIR(5162, 6160)
  557. }
  558. *case: Option3
  559. {
  560. *PrintableArea: PAIR(5162, 6160)
  561. }
  562. *case: Option4
  563. {
  564. *PrintableArea: PAIR(5160, 6160)
  565. }
  566. }
  567. }
  568. *case: Option5
  569. {
  570. *PrintableArea: PAIR(5162, 6161)
  571. *PrintableOrigin: PAIR(0, 720)
  572. *switch: Resolution
  573. {
  574. *case: Option1
  575. {
  576. *PrintableArea: PAIR(5160, 6160)
  577. }
  578. *case: Option2
  579. {
  580. *PrintableArea: PAIR(5162, 6160)
  581. }
  582. *case: Option3
  583. {
  584. *PrintableArea: PAIR(5162, 6160)
  585. }
  586. *case: Option4
  587. {
  588. *PrintableArea: PAIR(5160, 6160)
  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, 6435)
  612. *PrintableOrigin: PAIR(0, 720)
  613. *switch: Resolution
  614. {
  615. *case: Option1
  616. {
  617. *PrintableArea: PAIR(5220, 6432)
  618. }
  619. *case: Option2
  620. {
  621. *PrintableArea: PAIR(5220, 6434)
  622. }
  623. *case: Option3
  624. {
  625. *PrintableArea: PAIR(5220, 6432)
  626. }
  627. *case: Option4
  628. {
  629. *PrintableArea: PAIR(5220, 6432)
  630. }
  631. }
  632. }
  633. *case: MANUAL
  634. {
  635. *PrintableArea: PAIR(5220, 6435)
  636. *PrintableOrigin: PAIR(0, 720)
  637. *switch: Resolution
  638. {
  639. *case: Option1
  640. {
  641. *PrintableArea: PAIR(5220, 6432)
  642. }
  643. *case: Option2
  644. {
  645. *PrintableArea: PAIR(5220, 6434)
  646. }
  647. *case: Option3
  648. {
  649. *PrintableArea: PAIR(5220, 6432)
  650. }
  651. *case: Option4
  652. {
  653. *PrintableArea: PAIR(5220, 6432)
  654. }
  655. }
  656. }
  657. *case: Option4
  658. {
  659. *PrintableArea: PAIR(5220, 6435)
  660. *PrintableOrigin: PAIR(0, 720)
  661. *switch: Resolution
  662. {
  663. *case: Option1
  664. {
  665. *PrintableArea: PAIR(5220, 6432)
  666. }
  667. *case: Option2
  668. {
  669. *PrintableArea: PAIR(5220, 6434)
  670. }
  671. *case: Option3
  672. {
  673. *PrintableArea: PAIR(5220, 6432)
  674. }
  675. *case: Option4
  676. {
  677. *PrintableArea: PAIR(5220, 6432)
  678. }
  679. }
  680. }
  681. *case: Option5
  682. {
  683. *PrintableArea: PAIR(5220, 6435)
  684. *PrintableOrigin: PAIR(0, 720)
  685. *switch: Resolution
  686. {
  687. *case: Option1
  688. {
  689. *PrintableArea: PAIR(5220, 6432)
  690. }
  691. *case: Option2
  692. {
  693. *PrintableArea: PAIR(5220, 6434)
  694. }
  695. *case: Option3
  696. {
  697. *PrintableArea: PAIR(5220, 6432)
  698. }
  699. *case: Option4
  700. {
  701. *PrintableArea: PAIR(5220, 6432)
  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, 7515)
  726. *PrintableOrigin: PAIR(0, 720)
  727. *switch: Resolution
  728. {
  729. *case: Option1
  730. {
  731. *PrintableArea: PAIR(5760, 7512)
  732. }
  733. *case: Option2
  734. {
  735. *PrintableArea: PAIR(5760, 7514)
  736. }
  737. *case: Option3
  738. {
  739. *PrintableArea: PAIR(5760, 7512)
  740. }
  741. *case: Option4
  742. {
  743. *PrintableArea: PAIR(5760, 7512)
  744. }
  745. }
  746. }
  747. *case: MANUAL
  748. {
  749. *PrintableArea: PAIR(5760, 7515)
  750. *PrintableOrigin: PAIR(0, 720)
  751. *switch: Resolution
  752. {
  753. *case: Option1
  754. {
  755. *PrintableArea: PAIR(5760, 7512)
  756. }
  757. *case: Option2
  758. {
  759. *PrintableArea: PAIR(5760, 7514)
  760. }
  761. *case: Option3
  762. {
  763. *PrintableArea: PAIR(5760, 7512)
  764. }
  765. *case: Option4
  766. {
  767. *PrintableArea: PAIR(5760, 7512)
  768. }
  769. }
  770. }
  771. *case: Option4
  772. {
  773. *PrintableArea: PAIR(5760, 7515)
  774. *PrintableOrigin: PAIR(0, 720)
  775. *switch: Resolution
  776. {
  777. *case: Option1
  778. {
  779. *PrintableArea: PAIR(5760, 7512)
  780. }
  781. *case: Option2
  782. {
  783. *PrintableArea: PAIR(5760, 7514)
  784. }
  785. *case: Option3
  786. {
  787. *PrintableArea: PAIR(5760, 7512)
  788. }
  789. *case: Option4
  790. {
  791. *PrintableArea: PAIR(5760, 7512)
  792. }
  793. }
  794. }
  795. *case: Option5
  796. {
  797. *PrintableArea: PAIR(5760, 7515)
  798. *PrintableOrigin: PAIR(0, 720)
  799. *switch: Resolution
  800. {
  801. *case: Option1
  802. {
  803. *PrintableArea: PAIR(5760, 7512)
  804. }
  805. *case: Option2
  806. {
  807. *PrintableArea: PAIR(5760, 7514)
  808. }
  809. *case: Option3
  810. {
  811. *PrintableArea: PAIR(5760, 7512)
  812. }
  813. *case: Option4
  814. {
  815. *PrintableArea: PAIR(5760, 7512)
  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: 720
  839. *BottomMargin: 405
  840. }
  841. *case: MANUAL
  842. {
  843. *TopMargin: 720
  844. *BottomMargin: 405
  845. }
  846. *case: Option4
  847. {
  848. *TopMargin: 720
  849. *BottomMargin: 405
  850. }
  851. *case: Option5
  852. {
  853. *TopMargin: 720
  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>x1"
  875. }
  876. }
  877. *Option: DRAFT_QUALITY
  878. {
  879. *rcNameID: =DRAFT_QUALITY_DISPLAY
  880. *Command: CmdSelect
  881. {
  882. *Order: DOC_SETUP.2
  883. *Cmd: "<1B>x0"
  884. }
  885. }
  886. }
  887. *Feature: ColorMode
  888. {
  889. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  890. *DefaultOption: Color
  891. *Option: Mono
  892. {
  893. *rcNameID: =MONO_DISPLAY
  894. *DevNumOfPlanes: 1
  895. *DevBPP: 1
  896. *Color? : FALSE
  897. }
  898. *Option: Color
  899. {
  900. *rcNameID: =COLOR_DISPLAY
  901. *DevNumOfPlanes: 4
  902. *DevBPP: 1
  903. *DrvBPP: 4
  904. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  905. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  906. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  907. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  908. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  909. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  910. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  911. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  912. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  913. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  914. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  915. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  916. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  917. }
  918. }
  919. *Feature: Halftone
  920. {
  921. *rcNameID: =HALFTONING_DISPLAY
  922. *DefaultOption: HT_PATSIZE_AUTO
  923. *Option: HT_PATSIZE_AUTO
  924. {
  925. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  926. }
  927. *Ifdef: WINNT_50
  928. *Option: HT_PATSIZE_SUPERCELL_M
  929. {
  930. *rcNameID: =HT_SUPERCELL_DISPLAY
  931. }
  932. *Endif:
  933. *Option: HT_PATSIZE_6x6_M
  934. {
  935. *rcNameID: =HT_DITHER6X6_DISPLAY
  936. }
  937. *Option: HT_PATSIZE_8x8_M
  938. {
  939. *rcNameID: =HT_DITHER8X8_DISPLAY
  940. }
  941. }
  942. *Command: CmdStartDoc
  943. {
  944. *Order: DOC_SETUP.1
  945. *Cmd: "<1B>@<1B>t<011B>6<1B>r<00>"
  946. }
  947. *Command: CmdStartPage
  948. {
  949. *Order: PAGE_SETUP.1
  950. *Cmd: "<0D>"
  951. }
  952. *Command: CmdEndJob
  953. {
  954. *Order: JOB_FINISH.1
  955. *Cmd: "<1B>@"
  956. }
  957. *RotateCoordinate?: FALSE
  958. *RotateRaster?: FALSE
  959. *RotateFont?: FALSE
  960. *switch: Orientation
  961. {
  962. *case: PORTRAIT
  963. {
  964. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  965. }
  966. *case: LANDSCAPE_CC270
  967. {
  968. *TextCaps: LIST(TC_RA_ABLE)
  969. }
  970. }
  971. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  972. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  973. *MaxLineSpacing: 255
  974. *XMoveThreshold: 0
  975. *YMoveThreshold: *
  976. *XMoveUnit: 60
  977. *YMoveUnit: 180
  978. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  979. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  980. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  981. *Command: CmdCR { *Cmd : "<0D>" }
  982. *Command: CmdLF { *Cmd : "<0A>" }
  983. *Command: CmdFF { *Cmd : "<0C>" }
  984. *Command: CmdBackSpace { *Cmd : "<08>" }
  985. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  986. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  987. *EjectPageWithFF?: TRUE
  988. *switch: PaperSize
  989. {
  990. *case: CUSTOMSIZE
  991. {
  992. *EjectPageWithFF?: FALSE
  993. *switch: InputBin
  994. {
  995. *case: Option2
  996. {
  997. *EjectPageWithFF?: TRUE
  998. }
  999. *case: MANUAL
  1000. {
  1001. *EjectPageWithFF?: TRUE
  1002. }
  1003. *case: Option4
  1004. {
  1005. *EjectPageWithFF?: TRUE
  1006. }
  1007. *case: Option5
  1008. {
  1009. *EjectPageWithFF?: TRUE
  1010. }
  1011. }
  1012. }
  1013. }
  1014. *OutputDataFormat: V_BYTE
  1015. *OptimizeLeftBound?: TRUE
  1016. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1017. *CursorYAfterSendBlockData: NO_MOVE
  1018. *DefaultFont: 48
  1019. *DefaultCTT: 2
  1020. *switch: Orientation
  1021. {
  1022. *case: PORTRAIT
  1023. {
  1024. *DeviceFonts: LIST(1,2,3,4,5,6,7,25,26,27,28,29,30,31,41,42,
  1025. + 43,44,45,46,47,48,49,50,51,52,53,54,105,106,107,108,
  1026. + 109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,
  1027. + 125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,
  1028. + 141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,
  1029. + 157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,
  1030. + 173,174,175,176,177,178,179,180,181,182)
  1031. }
  1032. *case: LANDSCAPE_CC270
  1033. {
  1034. *DeviceFonts: LIST()
  1035. }
  1036. }
  1037. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1038. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1039. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1040. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1041. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1042. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }