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.

1587 lines
47 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "STXB2425.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Star XB-2425"
  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(6120, 7920)
  141. *PrintableOrigin: PAIR(0, 0)
  142. }
  143. *case: Option2
  144. {
  145. *PrintableArea: PAIR(6120, 7355)
  146. *PrintableOrigin: PAIR(0, 160)
  147. *switch: Resolution
  148. {
  149. *case: Option1
  150. {
  151. *PrintableArea: PAIR(6120, 7352)
  152. }
  153. *case: Option2
  154. {
  155. *PrintableArea: PAIR(6120, 7354)
  156. }
  157. *case: Option3
  158. {
  159. *PrintableArea: PAIR(6120, 7352)
  160. }
  161. *case: Option4
  162. {
  163. *PrintableArea: PAIR(6120, 7352)
  164. }
  165. }
  166. }
  167. *case: MANUAL
  168. {
  169. *PrintableArea: PAIR(6120, 7355)
  170. *PrintableOrigin: PAIR(0, 160)
  171. *switch: Resolution
  172. {
  173. *case: Option1
  174. {
  175. *PrintableArea: PAIR(6120, 7352)
  176. }
  177. *case: Option2
  178. {
  179. *PrintableArea: PAIR(6120, 7354)
  180. }
  181. *case: Option3
  182. {
  183. *PrintableArea: PAIR(6120, 7352)
  184. }
  185. *case: Option4
  186. {
  187. *PrintableArea: PAIR(6120, 7352)
  188. }
  189. }
  190. }
  191. *case: Option4
  192. {
  193. *PrintableArea: PAIR(6120, 7355)
  194. *PrintableOrigin: PAIR(0, 160)
  195. *switch: Resolution
  196. {
  197. *case: Option1
  198. {
  199. *PrintableArea: PAIR(6120, 7352)
  200. }
  201. *case: Option2
  202. {
  203. *PrintableArea: PAIR(6120, 7354)
  204. }
  205. *case: Option3
  206. {
  207. *PrintableArea: PAIR(6120, 7352)
  208. }
  209. *case: Option4
  210. {
  211. *PrintableArea: PAIR(6120, 7352)
  212. }
  213. }
  214. }
  215. *case: Option5
  216. {
  217. *PrintableArea: PAIR(6120, 7355)
  218. *PrintableOrigin: PAIR(0, 160)
  219. *switch: Resolution
  220. {
  221. *case: Option1
  222. {
  223. *PrintableArea: PAIR(6120, 7352)
  224. }
  225. *case: Option2
  226. {
  227. *PrintableArea: PAIR(6120, 7354)
  228. }
  229. *case: Option3
  230. {
  231. *PrintableArea: PAIR(6120, 7352)
  232. }
  233. *case: Option4
  234. {
  235. *PrintableArea: PAIR(6120, 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(6120, 10080)
  254. *PrintableOrigin: PAIR(0, 0)
  255. }
  256. *case: Option2
  257. {
  258. *PrintableArea: PAIR(6120, 9515)
  259. *PrintableOrigin: PAIR(0, 160)
  260. *switch: Resolution
  261. {
  262. *case: Option1
  263. {
  264. *PrintableArea: PAIR(6120, 9512)
  265. }
  266. *case: Option2
  267. {
  268. *PrintableArea: PAIR(6120, 9514)
  269. }
  270. *case: Option3
  271. {
  272. *PrintableArea: PAIR(6120, 9512)
  273. }
  274. *case: Option4
  275. {
  276. *PrintableArea: PAIR(6120, 9512)
  277. }
  278. }
  279. }
  280. *case: MANUAL
  281. {
  282. *PrintableArea: PAIR(6120, 9515)
  283. *PrintableOrigin: PAIR(0, 160)
  284. *switch: Resolution
  285. {
  286. *case: Option1
  287. {
  288. *PrintableArea: PAIR(6120, 9512)
  289. }
  290. *case: Option2
  291. {
  292. *PrintableArea: PAIR(6120, 9514)
  293. }
  294. *case: Option3
  295. {
  296. *PrintableArea: PAIR(6120, 9512)
  297. }
  298. *case: Option4
  299. {
  300. *PrintableArea: PAIR(6120, 9512)
  301. }
  302. }
  303. }
  304. *case: Option4
  305. {
  306. *PrintableArea: PAIR(6120, 9515)
  307. *PrintableOrigin: PAIR(0, 160)
  308. *switch: Resolution
  309. {
  310. *case: Option1
  311. {
  312. *PrintableArea: PAIR(6120, 9512)
  313. }
  314. *case: Option2
  315. {
  316. *PrintableArea: PAIR(6120, 9514)
  317. }
  318. *case: Option3
  319. {
  320. *PrintableArea: PAIR(6120, 9512)
  321. }
  322. *case: Option4
  323. {
  324. *PrintableArea: PAIR(6120, 9512)
  325. }
  326. }
  327. }
  328. *case: Option5
  329. {
  330. *PrintableArea: PAIR(6120, 9515)
  331. *PrintableOrigin: PAIR(0, 160)
  332. *switch: Resolution
  333. {
  334. *case: Option1
  335. {
  336. *PrintableArea: PAIR(6120, 9512)
  337. }
  338. *case: Option2
  339. {
  340. *PrintableArea: PAIR(6120, 9514)
  341. }
  342. *case: Option3
  343. {
  344. *PrintableArea: PAIR(6120, 9512)
  345. }
  346. *case: Option4
  347. {
  348. *PrintableArea: PAIR(6120, 9512)
  349. }
  350. }
  351. }
  352. }
  353. }
  354. *Option: A3
  355. {
  356. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  357. *Command: CmdSelect
  358. {
  359. *Order: DOC_SETUP.4
  360. *Cmd: "<1B>2<1B>Cc"
  361. }
  362. *switch: InputBin
  363. {
  364. *case: TRACTOR
  365. {
  366. *PrintableArea: PAIR(8417, 11909)
  367. *PrintableOrigin: PAIR(0, 0)
  368. *switch: Resolution
  369. {
  370. *case: Option1
  371. {
  372. *PrintableArea: PAIR(8416, 11908)
  373. }
  374. *case: Option2
  375. {
  376. *PrintableArea: PAIR(8416, 11908)
  377. }
  378. *case: Option3
  379. {
  380. *PrintableArea: PAIR(8416, 11908)
  381. }
  382. *case: Option4
  383. {
  384. *PrintableArea: PAIR(8412, 11908)
  385. }
  386. }
  387. }
  388. *case: Option2
  389. {
  390. *PrintableArea: PAIR(8417, 11344)
  391. *PrintableOrigin: PAIR(0, 160)
  392. *switch: Resolution
  393. {
  394. *case: Option1
  395. {
  396. *PrintableArea: PAIR(8416, 11344)
  397. }
  398. *case: Option2
  399. {
  400. *PrintableArea: PAIR(8416, 11344)
  401. }
  402. *case: Option3
  403. {
  404. *PrintableArea: PAIR(8416, 11344)
  405. }
  406. *case: Option4
  407. {
  408. *PrintableArea: PAIR(8412, 11344)
  409. }
  410. }
  411. }
  412. *case: MANUAL
  413. {
  414. *PrintableArea: PAIR(8417, 11344)
  415. *PrintableOrigin: PAIR(0, 160)
  416. *switch: Resolution
  417. {
  418. *case: Option1
  419. {
  420. *PrintableArea: PAIR(8416, 11344)
  421. }
  422. *case: Option2
  423. {
  424. *PrintableArea: PAIR(8416, 11344)
  425. }
  426. *case: Option3
  427. {
  428. *PrintableArea: PAIR(8416, 11344)
  429. }
  430. *case: Option4
  431. {
  432. *PrintableArea: PAIR(8412, 11344)
  433. }
  434. }
  435. }
  436. *case: Option4
  437. {
  438. *PrintableArea: PAIR(8417, 11344)
  439. *PrintableOrigin: PAIR(0, 160)
  440. *switch: Resolution
  441. {
  442. *case: Option1
  443. {
  444. *PrintableArea: PAIR(8416, 11344)
  445. }
  446. *case: Option2
  447. {
  448. *PrintableArea: PAIR(8416, 11344)
  449. }
  450. *case: Option3
  451. {
  452. *PrintableArea: PAIR(8416, 11344)
  453. }
  454. *case: Option4
  455. {
  456. *PrintableArea: PAIR(8412, 11344)
  457. }
  458. }
  459. }
  460. *case: Option5
  461. {
  462. *PrintableArea: PAIR(8417, 11344)
  463. *PrintableOrigin: PAIR(0, 160)
  464. *switch: Resolution
  465. {
  466. *case: Option1
  467. {
  468. *PrintableArea: PAIR(8416, 11344)
  469. }
  470. *case: Option2
  471. {
  472. *PrintableArea: PAIR(8416, 11344)
  473. }
  474. *case: Option3
  475. {
  476. *PrintableArea: PAIR(8416, 11344)
  477. }
  478. *case: Option4
  479. {
  480. *PrintableArea: PAIR(8412, 11344)
  481. }
  482. }
  483. }
  484. }
  485. }
  486. *Option: Option4
  487. {
  488. *rcNameID: 258
  489. *PageDimensions: PAIR(11909, 8417)
  490. *Command: CmdSelect
  491. {
  492. *Order: DOC_SETUP.4
  493. *Cmd: "<1B>2<1B>CF"
  494. }
  495. *switch: InputBin
  496. {
  497. *case: TRACTOR
  498. {
  499. *PrintableArea: PAIR(9792, 8417)
  500. *PrintableOrigin: PAIR(0, 0)
  501. *switch: Resolution
  502. {
  503. *case: Option1
  504. {
  505. *PrintableArea: PAIR(9792, 8416)
  506. }
  507. *case: Option2
  508. {
  509. *PrintableArea: PAIR(9792, 8416)
  510. }
  511. *case: Option3
  512. {
  513. *PrintableArea: PAIR(9792, 8416)
  514. }
  515. *case: Option4
  516. {
  517. *PrintableArea: PAIR(9792, 8416)
  518. }
  519. }
  520. }
  521. *case: Option2
  522. {
  523. *PrintableArea: PAIR(9792, 7852)
  524. *PrintableOrigin: PAIR(0, 160)
  525. }
  526. *case: MANUAL
  527. {
  528. *PrintableArea: PAIR(9792, 7852)
  529. *PrintableOrigin: PAIR(0, 160)
  530. }
  531. *case: Option4
  532. {
  533. *PrintableArea: PAIR(9792, 7852)
  534. *PrintableOrigin: PAIR(0, 160)
  535. }
  536. *case: Option5
  537. {
  538. *PrintableArea: PAIR(9792, 7852)
  539. *PrintableOrigin: PAIR(0, 160)
  540. }
  541. }
  542. }
  543. *Option: A4
  544. {
  545. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  546. *Command: CmdSelect
  547. {
  548. *Order: DOC_SETUP.4
  549. *Cmd: "<1B>3<121B>Cu"
  550. }
  551. *switch: InputBin
  552. {
  553. *case: TRACTOR
  554. {
  555. *PrintableArea: PAIR(5954, 8417)
  556. *PrintableOrigin: PAIR(0, 0)
  557. *switch: Resolution
  558. {
  559. *case: Option1
  560. {
  561. *PrintableArea: PAIR(5952, 8416)
  562. }
  563. *case: Option2
  564. {
  565. *PrintableArea: PAIR(5954, 8416)
  566. }
  567. *case: Option3
  568. {
  569. *PrintableArea: PAIR(5954, 8416)
  570. }
  571. *case: Option4
  572. {
  573. *PrintableArea: PAIR(5952, 8416)
  574. }
  575. }
  576. }
  577. *case: Option2
  578. {
  579. *PrintableArea: PAIR(5954, 7852)
  580. *PrintableOrigin: PAIR(0, 160)
  581. *switch: Resolution
  582. {
  583. *case: Option1
  584. {
  585. *PrintableArea: PAIR(5952, 7852)
  586. }
  587. *case: Option4
  588. {
  589. *PrintableArea: PAIR(5952, 7852)
  590. }
  591. }
  592. }
  593. *case: MANUAL
  594. {
  595. *PrintableArea: PAIR(5954, 7852)
  596. *PrintableOrigin: PAIR(0, 160)
  597. *switch: Resolution
  598. {
  599. *case: Option1
  600. {
  601. *PrintableArea: PAIR(5952, 7852)
  602. }
  603. *case: Option4
  604. {
  605. *PrintableArea: PAIR(5952, 7852)
  606. }
  607. }
  608. }
  609. *case: Option4
  610. {
  611. *PrintableArea: PAIR(5954, 7852)
  612. *PrintableOrigin: PAIR(0, 160)
  613. *switch: Resolution
  614. {
  615. *case: Option1
  616. {
  617. *PrintableArea: PAIR(5952, 7852)
  618. }
  619. *case: Option4
  620. {
  621. *PrintableArea: PAIR(5952, 7852)
  622. }
  623. }
  624. }
  625. *case: Option5
  626. {
  627. *PrintableArea: PAIR(5954, 7852)
  628. *PrintableOrigin: PAIR(0, 160)
  629. *switch: Resolution
  630. {
  631. *case: Option1
  632. {
  633. *PrintableArea: PAIR(5952, 7852)
  634. }
  635. *case: Option4
  636. {
  637. *PrintableArea: PAIR(5952, 7852)
  638. }
  639. }
  640. }
  641. }
  642. }
  643. *Option: B4
  644. {
  645. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  646. *Command: CmdSelect
  647. {
  648. *Order: DOC_SETUP.4
  649. *Cmd: "<1B>2<1B>CT"
  650. }
  651. *switch: InputBin
  652. {
  653. *case: TRACTOR
  654. {
  655. *PrintableArea: PAIR(7085, 10037)
  656. *PrintableOrigin: PAIR(0, 0)
  657. *switch: Resolution
  658. {
  659. *case: Option1
  660. {
  661. *PrintableArea: PAIR(7084, 10036)
  662. }
  663. *case: Option2
  664. {
  665. *PrintableArea: PAIR(7084, 10036)
  666. }
  667. *case: Option3
  668. {
  669. *PrintableArea: PAIR(7084, 10036)
  670. }
  671. *case: Option4
  672. {
  673. *PrintableArea: PAIR(7080, 10036)
  674. }
  675. }
  676. }
  677. *case: Option2
  678. {
  679. *PrintableArea: PAIR(7085, 9472)
  680. *PrintableOrigin: PAIR(0, 160)
  681. *switch: Resolution
  682. {
  683. *case: Option1
  684. {
  685. *PrintableArea: PAIR(7084, 9472)
  686. }
  687. *case: Option2
  688. {
  689. *PrintableArea: PAIR(7084, 9472)
  690. }
  691. *case: Option3
  692. {
  693. *PrintableArea: PAIR(7084, 9472)
  694. }
  695. *case: Option4
  696. {
  697. *PrintableArea: PAIR(7080, 9472)
  698. }
  699. }
  700. }
  701. *case: MANUAL
  702. {
  703. *PrintableArea: PAIR(7085, 9472)
  704. *PrintableOrigin: PAIR(0, 160)
  705. *switch: Resolution
  706. {
  707. *case: Option1
  708. {
  709. *PrintableArea: PAIR(7084, 9472)
  710. }
  711. *case: Option2
  712. {
  713. *PrintableArea: PAIR(7084, 9472)
  714. }
  715. *case: Option3
  716. {
  717. *PrintableArea: PAIR(7084, 9472)
  718. }
  719. *case: Option4
  720. {
  721. *PrintableArea: PAIR(7080, 9472)
  722. }
  723. }
  724. }
  725. *case: Option4
  726. {
  727. *PrintableArea: PAIR(7085, 9472)
  728. *PrintableOrigin: PAIR(0, 160)
  729. *switch: Resolution
  730. {
  731. *case: Option1
  732. {
  733. *PrintableArea: PAIR(7084, 9472)
  734. }
  735. *case: Option2
  736. {
  737. *PrintableArea: PAIR(7084, 9472)
  738. }
  739. *case: Option3
  740. {
  741. *PrintableArea: PAIR(7084, 9472)
  742. }
  743. *case: Option4
  744. {
  745. *PrintableArea: PAIR(7080, 9472)
  746. }
  747. }
  748. }
  749. *case: Option5
  750. {
  751. *PrintableArea: PAIR(7085, 9472)
  752. *PrintableOrigin: PAIR(0, 160)
  753. *switch: Resolution
  754. {
  755. *case: Option1
  756. {
  757. *PrintableArea: PAIR(7084, 9472)
  758. }
  759. *case: Option2
  760. {
  761. *PrintableArea: PAIR(7084, 9472)
  762. }
  763. *case: Option3
  764. {
  765. *PrintableArea: PAIR(7084, 9472)
  766. }
  767. *case: Option4
  768. {
  769. *PrintableArea: PAIR(7080, 9472)
  770. }
  771. }
  772. }
  773. }
  774. }
  775. *Option: B5
  776. {
  777. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  778. *Command: CmdSelect
  779. {
  780. *Order: DOC_SETUP.4
  781. *Cmd: "<1B>2<1B>C="
  782. }
  783. *switch: InputBin
  784. {
  785. *case: TRACTOR
  786. {
  787. *PrintableArea: PAIR(5162, 7286)
  788. *PrintableOrigin: PAIR(0, 0)
  789. *switch: Resolution
  790. {
  791. *case: Option1
  792. {
  793. *PrintableArea: PAIR(5160, 7284)
  794. }
  795. *case: Option3
  796. {
  797. *PrintableArea: PAIR(5162, 7284)
  798. }
  799. *case: Option4
  800. {
  801. *PrintableArea: PAIR(5160, 7284)
  802. }
  803. }
  804. }
  805. *case: Option2
  806. {
  807. *PrintableArea: PAIR(5162, 6721)
  808. *PrintableOrigin: PAIR(0, 160)
  809. *switch: Resolution
  810. {
  811. *case: Option1
  812. {
  813. *PrintableArea: PAIR(5160, 6720)
  814. }
  815. *case: Option2
  816. {
  817. *PrintableArea: PAIR(5162, 6720)
  818. }
  819. *case: Option3
  820. {
  821. *PrintableArea: PAIR(5162, 6720)
  822. }
  823. *case: Option4
  824. {
  825. *PrintableArea: PAIR(5160, 6720)
  826. }
  827. }
  828. }
  829. *case: MANUAL
  830. {
  831. *PrintableArea: PAIR(5162, 6721)
  832. *PrintableOrigin: PAIR(0, 160)
  833. *switch: Resolution
  834. {
  835. *case: Option1
  836. {
  837. *PrintableArea: PAIR(5160, 6720)
  838. }
  839. *case: Option2
  840. {
  841. *PrintableArea: PAIR(5162, 6720)
  842. }
  843. *case: Option3
  844. {
  845. *PrintableArea: PAIR(5162, 6720)
  846. }
  847. *case: Option4
  848. {
  849. *PrintableArea: PAIR(5160, 6720)
  850. }
  851. }
  852. }
  853. *case: Option4
  854. {
  855. *PrintableArea: PAIR(5162, 6721)
  856. *PrintableOrigin: PAIR(0, 160)
  857. *switch: Resolution
  858. {
  859. *case: Option1
  860. {
  861. *PrintableArea: PAIR(5160, 6720)
  862. }
  863. *case: Option2
  864. {
  865. *PrintableArea: PAIR(5162, 6720)
  866. }
  867. *case: Option3
  868. {
  869. *PrintableArea: PAIR(5162, 6720)
  870. }
  871. *case: Option4
  872. {
  873. *PrintableArea: PAIR(5160, 6720)
  874. }
  875. }
  876. }
  877. *case: Option5
  878. {
  879. *PrintableArea: PAIR(5162, 6721)
  880. *PrintableOrigin: PAIR(0, 160)
  881. *switch: Resolution
  882. {
  883. *case: Option1
  884. {
  885. *PrintableArea: PAIR(5160, 6720)
  886. }
  887. *case: Option2
  888. {
  889. *PrintableArea: PAIR(5162, 6720)
  890. }
  891. *case: Option3
  892. {
  893. *PrintableArea: PAIR(5162, 6720)
  894. }
  895. *case: Option4
  896. {
  897. *PrintableArea: PAIR(5160, 6720)
  898. }
  899. }
  900. }
  901. }
  902. }
  903. *Option: EXECUTIVE
  904. {
  905. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  906. *Command: CmdSelect
  907. {
  908. *Order: DOC_SETUP.4
  909. *Cmd: "<1B>2<1B>C?"
  910. }
  911. *switch: InputBin
  912. {
  913. *case: TRACTOR
  914. {
  915. *PrintableArea: PAIR(5220, 7560)
  916. *PrintableOrigin: PAIR(0, 0)
  917. }
  918. *case: Option2
  919. {
  920. *PrintableArea: PAIR(5220, 6995)
  921. *PrintableOrigin: PAIR(0, 160)
  922. *switch: Resolution
  923. {
  924. *case: Option1
  925. {
  926. *PrintableArea: PAIR(5220, 6992)
  927. }
  928. *case: Option2
  929. {
  930. *PrintableArea: PAIR(5220, 6994)
  931. }
  932. *case: Option3
  933. {
  934. *PrintableArea: PAIR(5220, 6992)
  935. }
  936. *case: Option4
  937. {
  938. *PrintableArea: PAIR(5220, 6992)
  939. }
  940. }
  941. }
  942. *case: MANUAL
  943. {
  944. *PrintableArea: PAIR(5220, 6995)
  945. *PrintableOrigin: PAIR(0, 160)
  946. *switch: Resolution
  947. {
  948. *case: Option1
  949. {
  950. *PrintableArea: PAIR(5220, 6992)
  951. }
  952. *case: Option2
  953. {
  954. *PrintableArea: PAIR(5220, 6994)
  955. }
  956. *case: Option3
  957. {
  958. *PrintableArea: PAIR(5220, 6992)
  959. }
  960. *case: Option4
  961. {
  962. *PrintableArea: PAIR(5220, 6992)
  963. }
  964. }
  965. }
  966. *case: Option4
  967. {
  968. *PrintableArea: PAIR(5220, 6995)
  969. *PrintableOrigin: PAIR(0, 160)
  970. *switch: Resolution
  971. {
  972. *case: Option1
  973. {
  974. *PrintableArea: PAIR(5220, 6992)
  975. }
  976. *case: Option2
  977. {
  978. *PrintableArea: PAIR(5220, 6994)
  979. }
  980. *case: Option3
  981. {
  982. *PrintableArea: PAIR(5220, 6992)
  983. }
  984. *case: Option4
  985. {
  986. *PrintableArea: PAIR(5220, 6992)
  987. }
  988. }
  989. }
  990. *case: Option5
  991. {
  992. *PrintableArea: PAIR(5220, 6995)
  993. *PrintableOrigin: PAIR(0, 160)
  994. *switch: Resolution
  995. {
  996. *case: Option1
  997. {
  998. *PrintableArea: PAIR(5220, 6992)
  999. }
  1000. *case: Option2
  1001. {
  1002. *PrintableArea: PAIR(5220, 6994)
  1003. }
  1004. *case: Option3
  1005. {
  1006. *PrintableArea: PAIR(5220, 6992)
  1007. }
  1008. *case: Option4
  1009. {
  1010. *PrintableArea: PAIR(5220, 6992)
  1011. }
  1012. }
  1013. }
  1014. }
  1015. }
  1016. *Option: Option9
  1017. {
  1018. *rcNameID: 259
  1019. *PageDimensions: PAIR(6120, 8640)
  1020. *Command: CmdSelect
  1021. {
  1022. *Order: DOC_SETUP.4
  1023. *Cmd: "<1B>2<1B>CH"
  1024. }
  1025. *switch: InputBin
  1026. {
  1027. *case: TRACTOR
  1028. {
  1029. *PrintableArea: PAIR(6120, 8640)
  1030. *PrintableOrigin: PAIR(0, 0)
  1031. }
  1032. *case: Option2
  1033. {
  1034. *PrintableArea: PAIR(6120, 8075)
  1035. *PrintableOrigin: PAIR(0, 160)
  1036. *switch: Resolution
  1037. {
  1038. *case: Option1
  1039. {
  1040. *PrintableArea: PAIR(6120, 8072)
  1041. }
  1042. *case: Option2
  1043. {
  1044. *PrintableArea: PAIR(6120, 8074)
  1045. }
  1046. *case: Option3
  1047. {
  1048. *PrintableArea: PAIR(6120, 8072)
  1049. }
  1050. *case: Option4
  1051. {
  1052. *PrintableArea: PAIR(6120, 8072)
  1053. }
  1054. }
  1055. }
  1056. *case: MANUAL
  1057. {
  1058. *PrintableArea: PAIR(6120, 8075)
  1059. *PrintableOrigin: PAIR(0, 160)
  1060. *switch: Resolution
  1061. {
  1062. *case: Option1
  1063. {
  1064. *PrintableArea: PAIR(6120, 8072)
  1065. }
  1066. *case: Option2
  1067. {
  1068. *PrintableArea: PAIR(6120, 8074)
  1069. }
  1070. *case: Option3
  1071. {
  1072. *PrintableArea: PAIR(6120, 8072)
  1073. }
  1074. *case: Option4
  1075. {
  1076. *PrintableArea: PAIR(6120, 8072)
  1077. }
  1078. }
  1079. }
  1080. *case: Option4
  1081. {
  1082. *PrintableArea: PAIR(6120, 8075)
  1083. *PrintableOrigin: PAIR(0, 160)
  1084. *switch: Resolution
  1085. {
  1086. *case: Option1
  1087. {
  1088. *PrintableArea: PAIR(6120, 8072)
  1089. }
  1090. *case: Option2
  1091. {
  1092. *PrintableArea: PAIR(6120, 8074)
  1093. }
  1094. *case: Option3
  1095. {
  1096. *PrintableArea: PAIR(6120, 8072)
  1097. }
  1098. *case: Option4
  1099. {
  1100. *PrintableArea: PAIR(6120, 8072)
  1101. }
  1102. }
  1103. }
  1104. *case: Option5
  1105. {
  1106. *PrintableArea: PAIR(6120, 8075)
  1107. *PrintableOrigin: PAIR(0, 160)
  1108. *switch: Resolution
  1109. {
  1110. *case: Option1
  1111. {
  1112. *PrintableArea: PAIR(6120, 8072)
  1113. }
  1114. *case: Option2
  1115. {
  1116. *PrintableArea: PAIR(6120, 8074)
  1117. }
  1118. *case: Option3
  1119. {
  1120. *PrintableArea: PAIR(6120, 8072)
  1121. }
  1122. *case: Option4
  1123. {
  1124. *PrintableArea: PAIR(6120, 8072)
  1125. }
  1126. }
  1127. }
  1128. }
  1129. }
  1130. *Option: Option10
  1131. {
  1132. *rcNameID: 260
  1133. *PageDimensions: PAIR(10800, 8640)
  1134. *Command: CmdSelect
  1135. {
  1136. *Order: DOC_SETUP.4
  1137. *Cmd: "<1B>2<1B>CH"
  1138. }
  1139. *switch: InputBin
  1140. {
  1141. *case: TRACTOR
  1142. {
  1143. *PrintableArea: PAIR(9792, 8640)
  1144. *PrintableOrigin: PAIR(0, 0)
  1145. }
  1146. *case: Option2
  1147. {
  1148. *PrintableArea: PAIR(9792, 8075)
  1149. *PrintableOrigin: PAIR(0, 160)
  1150. *switch: Resolution
  1151. {
  1152. *case: Option1
  1153. {
  1154. *PrintableArea: PAIR(9792, 8072)
  1155. }
  1156. *case: Option2
  1157. {
  1158. *PrintableArea: PAIR(9792, 8074)
  1159. }
  1160. *case: Option3
  1161. {
  1162. *PrintableArea: PAIR(9792, 8072)
  1163. }
  1164. *case: Option4
  1165. {
  1166. *PrintableArea: PAIR(9792, 8072)
  1167. }
  1168. }
  1169. }
  1170. *case: MANUAL
  1171. {
  1172. *PrintableArea: PAIR(9792, 8075)
  1173. *PrintableOrigin: PAIR(0, 160)
  1174. *switch: Resolution
  1175. {
  1176. *case: Option1
  1177. {
  1178. *PrintableArea: PAIR(9792, 8072)
  1179. }
  1180. *case: Option2
  1181. {
  1182. *PrintableArea: PAIR(9792, 8074)
  1183. }
  1184. *case: Option3
  1185. {
  1186. *PrintableArea: PAIR(9792, 8072)
  1187. }
  1188. *case: Option4
  1189. {
  1190. *PrintableArea: PAIR(9792, 8072)
  1191. }
  1192. }
  1193. }
  1194. *case: Option4
  1195. {
  1196. *PrintableArea: PAIR(9792, 8075)
  1197. *PrintableOrigin: PAIR(0, 160)
  1198. *switch: Resolution
  1199. {
  1200. *case: Option1
  1201. {
  1202. *PrintableArea: PAIR(9792, 8072)
  1203. }
  1204. *case: Option2
  1205. {
  1206. *PrintableArea: PAIR(9792, 8074)
  1207. }
  1208. *case: Option3
  1209. {
  1210. *PrintableArea: PAIR(9792, 8072)
  1211. }
  1212. *case: Option4
  1213. {
  1214. *PrintableArea: PAIR(9792, 8072)
  1215. }
  1216. }
  1217. }
  1218. *case: Option5
  1219. {
  1220. *PrintableArea: PAIR(9792, 8075)
  1221. *PrintableOrigin: PAIR(0, 160)
  1222. *switch: Resolution
  1223. {
  1224. *case: Option1
  1225. {
  1226. *PrintableArea: PAIR(9792, 8072)
  1227. }
  1228. *case: Option2
  1229. {
  1230. *PrintableArea: PAIR(9792, 8074)
  1231. }
  1232. *case: Option3
  1233. {
  1234. *PrintableArea: PAIR(9792, 8072)
  1235. }
  1236. *case: Option4
  1237. {
  1238. *PrintableArea: PAIR(9792, 8072)
  1239. }
  1240. }
  1241. }
  1242. }
  1243. }
  1244. *Option: Option11
  1245. {
  1246. *rcNameID: 261
  1247. *PageDimensions: PAIR(10800, 7920)
  1248. *Command: CmdSelect
  1249. {
  1250. *Order: DOC_SETUP.4
  1251. *Cmd: "<1B>2<1B>CB"
  1252. }
  1253. *switch: InputBin
  1254. {
  1255. *case: TRACTOR
  1256. {
  1257. *PrintableArea: PAIR(9792, 7920)
  1258. *PrintableOrigin: PAIR(0, 0)
  1259. }
  1260. *case: Option2
  1261. {
  1262. *PrintableArea: PAIR(9792, 7355)
  1263. *PrintableOrigin: PAIR(0, 160)
  1264. *switch: Resolution
  1265. {
  1266. *case: Option1
  1267. {
  1268. *PrintableArea: PAIR(9792, 7352)
  1269. }
  1270. *case: Option2
  1271. {
  1272. *PrintableArea: PAIR(9792, 7354)
  1273. }
  1274. *case: Option3
  1275. {
  1276. *PrintableArea: PAIR(9792, 7352)
  1277. }
  1278. *case: Option4
  1279. {
  1280. *PrintableArea: PAIR(9792, 7352)
  1281. }
  1282. }
  1283. }
  1284. *case: MANUAL
  1285. {
  1286. *PrintableArea: PAIR(9792, 7355)
  1287. *PrintableOrigin: PAIR(0, 160)
  1288. *switch: Resolution
  1289. {
  1290. *case: Option1
  1291. {
  1292. *PrintableArea: PAIR(9792, 7352)
  1293. }
  1294. *case: Option2
  1295. {
  1296. *PrintableArea: PAIR(9792, 7354)
  1297. }
  1298. *case: Option3
  1299. {
  1300. *PrintableArea: PAIR(9792, 7352)
  1301. }
  1302. *case: Option4
  1303. {
  1304. *PrintableArea: PAIR(9792, 7352)
  1305. }
  1306. }
  1307. }
  1308. *case: Option4
  1309. {
  1310. *PrintableArea: PAIR(9792, 7355)
  1311. *PrintableOrigin: PAIR(0, 160)
  1312. *switch: Resolution
  1313. {
  1314. *case: Option1
  1315. {
  1316. *PrintableArea: PAIR(9792, 7352)
  1317. }
  1318. *case: Option2
  1319. {
  1320. *PrintableArea: PAIR(9792, 7354)
  1321. }
  1322. *case: Option3
  1323. {
  1324. *PrintableArea: PAIR(9792, 7352)
  1325. }
  1326. *case: Option4
  1327. {
  1328. *PrintableArea: PAIR(9792, 7352)
  1329. }
  1330. }
  1331. }
  1332. *case: Option5
  1333. {
  1334. *PrintableArea: PAIR(9792, 7355)
  1335. *PrintableOrigin: PAIR(0, 160)
  1336. *switch: Resolution
  1337. {
  1338. *case: Option1
  1339. {
  1340. *PrintableArea: PAIR(9792, 7352)
  1341. }
  1342. *case: Option2
  1343. {
  1344. *PrintableArea: PAIR(9792, 7354)
  1345. }
  1346. *case: Option3
  1347. {
  1348. *PrintableArea: PAIR(9792, 7352)
  1349. }
  1350. *case: Option4
  1351. {
  1352. *PrintableArea: PAIR(9792, 7352)
  1353. }
  1354. }
  1355. }
  1356. }
  1357. }
  1358. *Option: CUSTOMSIZE
  1359. {
  1360. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1361. *MinSize: PAIR(720, 720)
  1362. *MaxSize: PAIR(11880, 15840)
  1363. *MaxPrintableWidth: 9792
  1364. *MinLeftMargin: 0
  1365. *CenterPrintable?: FALSE
  1366. *switch: InputBin
  1367. {
  1368. *case: TRACTOR
  1369. {
  1370. *TopMargin: 0
  1371. *BottomMargin: 0
  1372. }
  1373. *case: Option2
  1374. {
  1375. *TopMargin: 160
  1376. *BottomMargin: 405
  1377. }
  1378. *case: MANUAL
  1379. {
  1380. *TopMargin: 160
  1381. *BottomMargin: 405
  1382. }
  1383. *case: Option4
  1384. {
  1385. *TopMargin: 160
  1386. *BottomMargin: 405
  1387. }
  1388. *case: Option5
  1389. {
  1390. *TopMargin: 160
  1391. *BottomMargin: 405
  1392. }
  1393. }
  1394. *Command: CmdSelect
  1395. {
  1396. *Order: DOC_SETUP.4
  1397. *Cmd: "<1B>2"
  1398. }
  1399. }
  1400. }
  1401. *Feature: PrintQuality
  1402. {
  1403. *rcNameID: =TEXT_QUALITY_DISPLAY
  1404. *DefaultOption: LETTER_QUALITY
  1405. *Option: LETTER_QUALITY
  1406. {
  1407. *rcNameID: =LETTER_QUALITY_DISPLAY
  1408. *Command: CmdSelect
  1409. {
  1410. *Order: DOC_SETUP.2
  1411. *Cmd: "<1B>x<01><1B>z<00>"
  1412. }
  1413. }
  1414. *Option: DRAFT_QUALITY
  1415. {
  1416. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1417. *Command: CmdSelect
  1418. {
  1419. *Order: DOC_SETUP.2
  1420. *Cmd: "<1B>x<00><1B>z<00>"
  1421. }
  1422. }
  1423. *Option: Option3
  1424. {
  1425. *rcNameID: 265
  1426. *Command: CmdSelect
  1427. {
  1428. *Order: DOC_SETUP.2
  1429. *Cmd: "<1B>x<00><1B>z<01>"
  1430. }
  1431. }
  1432. }
  1433. *Feature: ColorMode
  1434. {
  1435. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1436. *DefaultOption: Color
  1437. *Option: Mono
  1438. {
  1439. *rcNameID: =MONO_DISPLAY
  1440. *DevNumOfPlanes: 1
  1441. *DevBPP: 1
  1442. *Color? : FALSE
  1443. }
  1444. *Option: Color
  1445. {
  1446. *rcNameID: =COLOR_DISPLAY
  1447. *DevNumOfPlanes: 4
  1448. *DevBPP: 1
  1449. *DrvBPP: 4
  1450. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  1451. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1452. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1453. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1454. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1455. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1456. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1457. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1458. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1459. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1460. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1461. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1462. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1463. }
  1464. }
  1465. *Feature: Halftone
  1466. {
  1467. *rcNameID: =HALFTONING_DISPLAY
  1468. *DefaultOption: HT_PATSIZE_AUTO
  1469. *Option: HT_PATSIZE_AUTO
  1470. {
  1471. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1472. }
  1473. *Ifdef: WINNT_50
  1474. *Option: HT_PATSIZE_SUPERCELL_M
  1475. {
  1476. *rcNameID: =HT_SUPERCELL_DISPLAY
  1477. }
  1478. *Endif:
  1479. *Option: HT_PATSIZE_6x6_M
  1480. {
  1481. *rcNameID: =HT_DITHER6X6_DISPLAY
  1482. }
  1483. *Option: HT_PATSIZE_8x8_M
  1484. {
  1485. *rcNameID: =HT_DITHER8X8_DISPLAY
  1486. }
  1487. }
  1488. *Command: CmdStartDoc
  1489. {
  1490. *Order: DOC_SETUP.1
  1491. *Cmd: "<1B>@<1B>t<011B>6<1B>[T<0400000003>R<1B>r<00>"
  1492. }
  1493. *Command: CmdStartPage
  1494. {
  1495. *Order: PAGE_SETUP.1
  1496. *Cmd: "<0D>"
  1497. }
  1498. *Command: CmdEndJob
  1499. {
  1500. *Order: JOB_FINISH.1
  1501. *Cmd: "<1B>@"
  1502. }
  1503. *RotateCoordinate?: FALSE
  1504. *RotateRaster?: FALSE
  1505. *RotateFont?: FALSE
  1506. *switch: Orientation
  1507. {
  1508. *case: PORTRAIT
  1509. {
  1510. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1511. }
  1512. *case: LANDSCAPE_CC270
  1513. {
  1514. *TextCaps: LIST(TC_RA_ABLE)
  1515. }
  1516. }
  1517. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1518. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1519. *MaxLineSpacing: 255
  1520. *XMoveThreshold: 0
  1521. *YMoveThreshold: *
  1522. *XMoveUnit: 60
  1523. *YMoveUnit: 180
  1524. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  1525. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  1526. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  1527. *Command: CmdCR { *Cmd : "<0D>" }
  1528. *Command: CmdLF { *Cmd : "<0A>" }
  1529. *Command: CmdFF { *Cmd : "<0C>" }
  1530. *Command: CmdBackSpace { *Cmd : "<08>" }
  1531. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  1532. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  1533. *EjectPageWithFF?: TRUE
  1534. *switch: PaperSize
  1535. {
  1536. *case: CUSTOMSIZE
  1537. {
  1538. *EjectPageWithFF?: FALSE
  1539. *switch: InputBin
  1540. {
  1541. *case: Option2
  1542. {
  1543. *EjectPageWithFF?: TRUE
  1544. }
  1545. *case: MANUAL
  1546. {
  1547. *EjectPageWithFF?: TRUE
  1548. }
  1549. *case: Option4
  1550. {
  1551. *EjectPageWithFF?: TRUE
  1552. }
  1553. *case: Option5
  1554. {
  1555. *EjectPageWithFF?: TRUE
  1556. }
  1557. }
  1558. }
  1559. }
  1560. *OutputDataFormat: V_BYTE
  1561. *OptimizeLeftBound?: TRUE
  1562. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1563. *CursorYAfterSendBlockData: NO_MOVE
  1564. *DefaultFont: 183
  1565. *DefaultCTT: 1
  1566. *switch: Orientation
  1567. {
  1568. *case: PORTRAIT
  1569. {
  1570. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,17,18,19,20,21,22,23,24,
  1571. + 25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,
  1572. + 41,42,43,44,45,46,47,97,98,99,100,101,102,103,
  1573. + 104,183,184,185,186,187,188,189,190,206,207,
  1574. + 208,209,210,211,212,213,214,215,216,217,218,
  1575. + 219,220,221)
  1576. }
  1577. *case: LANDSCAPE_CC270
  1578. {
  1579. *DeviceFonts: LIST()
  1580. }
  1581. }
  1582. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1583. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1584. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1585. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1586. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1587. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }