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.

1579 lines
47 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "ST2415.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Star XB-2415"
  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, 6795)
  146. *PrintableOrigin: PAIR(0, 720)
  147. *switch: Resolution
  148. {
  149. *case: Option1
  150. {
  151. *PrintableArea: PAIR(6120, 6792)
  152. }
  153. *case: Option2
  154. {
  155. *PrintableArea: PAIR(6120, 6794)
  156. }
  157. *case: Option3
  158. {
  159. *PrintableArea: PAIR(6120, 6792)
  160. }
  161. *case: Option4
  162. {
  163. *PrintableArea: PAIR(6120, 6792)
  164. }
  165. }
  166. }
  167. *case: MANUAL
  168. {
  169. *PrintableArea: PAIR(6120, 6795)
  170. *PrintableOrigin: PAIR(0, 720)
  171. *switch: Resolution
  172. {
  173. *case: Option1
  174. {
  175. *PrintableArea: PAIR(6120, 6792)
  176. }
  177. *case: Option2
  178. {
  179. *PrintableArea: PAIR(6120, 6794)
  180. }
  181. *case: Option3
  182. {
  183. *PrintableArea: PAIR(6120, 6792)
  184. }
  185. *case: Option4
  186. {
  187. *PrintableArea: PAIR(6120, 6792)
  188. }
  189. }
  190. }
  191. *case: Option4
  192. {
  193. *PrintableArea: PAIR(6120, 6795)
  194. *PrintableOrigin: PAIR(0, 720)
  195. *switch: Resolution
  196. {
  197. *case: Option1
  198. {
  199. *PrintableArea: PAIR(6120, 6792)
  200. }
  201. *case: Option2
  202. {
  203. *PrintableArea: PAIR(6120, 6794)
  204. }
  205. *case: Option3
  206. {
  207. *PrintableArea: PAIR(6120, 6792)
  208. }
  209. *case: Option4
  210. {
  211. *PrintableArea: PAIR(6120, 6792)
  212. }
  213. }
  214. }
  215. *case: Option5
  216. {
  217. *PrintableArea: PAIR(6120, 6795)
  218. *PrintableOrigin: PAIR(0, 720)
  219. *switch: Resolution
  220. {
  221. *case: Option1
  222. {
  223. *PrintableArea: PAIR(6120, 6792)
  224. }
  225. *case: Option2
  226. {
  227. *PrintableArea: PAIR(6120, 6794)
  228. }
  229. *case: Option3
  230. {
  231. *PrintableArea: PAIR(6120, 6792)
  232. }
  233. *case: Option4
  234. {
  235. *PrintableArea: PAIR(6120, 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(6120, 10080)
  254. *PrintableOrigin: PAIR(0, 0)
  255. }
  256. *case: Option2
  257. {
  258. *PrintableArea: PAIR(6120, 8955)
  259. *PrintableOrigin: PAIR(0, 720)
  260. *switch: Resolution
  261. {
  262. *case: Option1
  263. {
  264. *PrintableArea: PAIR(6120, 8952)
  265. }
  266. *case: Option2
  267. {
  268. *PrintableArea: PAIR(6120, 8954)
  269. }
  270. *case: Option3
  271. {
  272. *PrintableArea: PAIR(6120, 8952)
  273. }
  274. *case: Option4
  275. {
  276. *PrintableArea: PAIR(6120, 8952)
  277. }
  278. }
  279. }
  280. *case: MANUAL
  281. {
  282. *PrintableArea: PAIR(6120, 8955)
  283. *PrintableOrigin: PAIR(0, 720)
  284. *switch: Resolution
  285. {
  286. *case: Option1
  287. {
  288. *PrintableArea: PAIR(6120, 8952)
  289. }
  290. *case: Option2
  291. {
  292. *PrintableArea: PAIR(6120, 8954)
  293. }
  294. *case: Option3
  295. {
  296. *PrintableArea: PAIR(6120, 8952)
  297. }
  298. *case: Option4
  299. {
  300. *PrintableArea: PAIR(6120, 8952)
  301. }
  302. }
  303. }
  304. *case: Option4
  305. {
  306. *PrintableArea: PAIR(6120, 8955)
  307. *PrintableOrigin: PAIR(0, 720)
  308. *switch: Resolution
  309. {
  310. *case: Option1
  311. {
  312. *PrintableArea: PAIR(6120, 8952)
  313. }
  314. *case: Option2
  315. {
  316. *PrintableArea: PAIR(6120, 8954)
  317. }
  318. *case: Option3
  319. {
  320. *PrintableArea: PAIR(6120, 8952)
  321. }
  322. *case: Option4
  323. {
  324. *PrintableArea: PAIR(6120, 8952)
  325. }
  326. }
  327. }
  328. *case: Option5
  329. {
  330. *PrintableArea: PAIR(6120, 8955)
  331. *PrintableOrigin: PAIR(0, 720)
  332. *switch: Resolution
  333. {
  334. *case: Option1
  335. {
  336. *PrintableArea: PAIR(6120, 8952)
  337. }
  338. *case: Option2
  339. {
  340. *PrintableArea: PAIR(6120, 8954)
  341. }
  342. *case: Option3
  343. {
  344. *PrintableArea: PAIR(6120, 8952)
  345. }
  346. *case: Option4
  347. {
  348. *PrintableArea: PAIR(6120, 8952)
  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, 10784)
  391. *PrintableOrigin: PAIR(0, 720)
  392. *switch: Resolution
  393. {
  394. *case: Option1
  395. {
  396. *PrintableArea: PAIR(8416, 10784)
  397. }
  398. *case: Option2
  399. {
  400. *PrintableArea: PAIR(8416, 10784)
  401. }
  402. *case: Option3
  403. {
  404. *PrintableArea: PAIR(8416, 10784)
  405. }
  406. *case: Option4
  407. {
  408. *PrintableArea: PAIR(8412, 10784)
  409. }
  410. }
  411. }
  412. *case: MANUAL
  413. {
  414. *PrintableArea: PAIR(8417, 10784)
  415. *PrintableOrigin: PAIR(0, 720)
  416. *switch: Resolution
  417. {
  418. *case: Option1
  419. {
  420. *PrintableArea: PAIR(8416, 10784)
  421. }
  422. *case: Option2
  423. {
  424. *PrintableArea: PAIR(8416, 10784)
  425. }
  426. *case: Option3
  427. {
  428. *PrintableArea: PAIR(8416, 10784)
  429. }
  430. *case: Option4
  431. {
  432. *PrintableArea: PAIR(8412, 10784)
  433. }
  434. }
  435. }
  436. *case: Option4
  437. {
  438. *PrintableArea: PAIR(8417, 10784)
  439. *PrintableOrigin: PAIR(0, 720)
  440. *switch: Resolution
  441. {
  442. *case: Option1
  443. {
  444. *PrintableArea: PAIR(8416, 10784)
  445. }
  446. *case: Option2
  447. {
  448. *PrintableArea: PAIR(8416, 10784)
  449. }
  450. *case: Option3
  451. {
  452. *PrintableArea: PAIR(8416, 10784)
  453. }
  454. *case: Option4
  455. {
  456. *PrintableArea: PAIR(8412, 10784)
  457. }
  458. }
  459. }
  460. *case: Option5
  461. {
  462. *PrintableArea: PAIR(8417, 10784)
  463. *PrintableOrigin: PAIR(0, 720)
  464. *switch: Resolution
  465. {
  466. *case: Option1
  467. {
  468. *PrintableArea: PAIR(8416, 10784)
  469. }
  470. *case: Option2
  471. {
  472. *PrintableArea: PAIR(8416, 10784)
  473. }
  474. *case: Option3
  475. {
  476. *PrintableArea: PAIR(8416, 10784)
  477. }
  478. *case: Option4
  479. {
  480. *PrintableArea: PAIR(8412, 10784)
  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, 7292)
  524. *PrintableOrigin: PAIR(0, 720)
  525. }
  526. *case: MANUAL
  527. {
  528. *PrintableArea: PAIR(9792, 7292)
  529. *PrintableOrigin: PAIR(0, 720)
  530. }
  531. *case: Option4
  532. {
  533. *PrintableArea: PAIR(9792, 7292)
  534. *PrintableOrigin: PAIR(0, 720)
  535. }
  536. *case: Option5
  537. {
  538. *PrintableArea: PAIR(9792, 7292)
  539. *PrintableOrigin: PAIR(0, 720)
  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, 7292)
  580. *PrintableOrigin: PAIR(0, 720)
  581. *switch: Resolution
  582. {
  583. *case: Option1
  584. {
  585. *PrintableArea: PAIR(5952, 7292)
  586. }
  587. *case: Option4
  588. {
  589. *PrintableArea: PAIR(5952, 7292)
  590. }
  591. }
  592. }
  593. *case: MANUAL
  594. {
  595. *PrintableArea: PAIR(5954, 7292)
  596. *PrintableOrigin: PAIR(0, 720)
  597. *switch: Resolution
  598. {
  599. *case: Option1
  600. {
  601. *PrintableArea: PAIR(5952, 7292)
  602. }
  603. *case: Option4
  604. {
  605. *PrintableArea: PAIR(5952, 7292)
  606. }
  607. }
  608. }
  609. *case: Option4
  610. {
  611. *PrintableArea: PAIR(5954, 7292)
  612. *PrintableOrigin: PAIR(0, 720)
  613. *switch: Resolution
  614. {
  615. *case: Option1
  616. {
  617. *PrintableArea: PAIR(5952, 7292)
  618. }
  619. *case: Option4
  620. {
  621. *PrintableArea: PAIR(5952, 7292)
  622. }
  623. }
  624. }
  625. *case: Option5
  626. {
  627. *PrintableArea: PAIR(5954, 7292)
  628. *PrintableOrigin: PAIR(0, 720)
  629. *switch: Resolution
  630. {
  631. *case: Option1
  632. {
  633. *PrintableArea: PAIR(5952, 7292)
  634. }
  635. *case: Option4
  636. {
  637. *PrintableArea: PAIR(5952, 7292)
  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, 8912)
  680. *PrintableOrigin: PAIR(0, 720)
  681. *switch: Resolution
  682. {
  683. *case: Option1
  684. {
  685. *PrintableArea: PAIR(7084, 8912)
  686. }
  687. *case: Option2
  688. {
  689. *PrintableArea: PAIR(7084, 8912)
  690. }
  691. *case: Option3
  692. {
  693. *PrintableArea: PAIR(7084, 8912)
  694. }
  695. *case: Option4
  696. {
  697. *PrintableArea: PAIR(7080, 8912)
  698. }
  699. }
  700. }
  701. *case: MANUAL
  702. {
  703. *PrintableArea: PAIR(7085, 8912)
  704. *PrintableOrigin: PAIR(0, 720)
  705. *switch: Resolution
  706. {
  707. *case: Option1
  708. {
  709. *PrintableArea: PAIR(7084, 8912)
  710. }
  711. *case: Option2
  712. {
  713. *PrintableArea: PAIR(7084, 8912)
  714. }
  715. *case: Option3
  716. {
  717. *PrintableArea: PAIR(7084, 8912)
  718. }
  719. *case: Option4
  720. {
  721. *PrintableArea: PAIR(7080, 8912)
  722. }
  723. }
  724. }
  725. *case: Option4
  726. {
  727. *PrintableArea: PAIR(7085, 8912)
  728. *PrintableOrigin: PAIR(0, 720)
  729. *switch: Resolution
  730. {
  731. *case: Option1
  732. {
  733. *PrintableArea: PAIR(7084, 8912)
  734. }
  735. *case: Option2
  736. {
  737. *PrintableArea: PAIR(7084, 8912)
  738. }
  739. *case: Option3
  740. {
  741. *PrintableArea: PAIR(7084, 8912)
  742. }
  743. *case: Option4
  744. {
  745. *PrintableArea: PAIR(7080, 8912)
  746. }
  747. }
  748. }
  749. *case: Option5
  750. {
  751. *PrintableArea: PAIR(7085, 8912)
  752. *PrintableOrigin: PAIR(0, 720)
  753. *switch: Resolution
  754. {
  755. *case: Option1
  756. {
  757. *PrintableArea: PAIR(7084, 8912)
  758. }
  759. *case: Option2
  760. {
  761. *PrintableArea: PAIR(7084, 8912)
  762. }
  763. *case: Option3
  764. {
  765. *PrintableArea: PAIR(7084, 8912)
  766. }
  767. *case: Option4
  768. {
  769. *PrintableArea: PAIR(7080, 8912)
  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, 6161)
  808. *PrintableOrigin: PAIR(0, 720)
  809. *switch: Resolution
  810. {
  811. *case: Option1
  812. {
  813. *PrintableArea: PAIR(5160, 6160)
  814. }
  815. *case: Option2
  816. {
  817. *PrintableArea: PAIR(5162, 6160)
  818. }
  819. *case: Option3
  820. {
  821. *PrintableArea: PAIR(5162, 6160)
  822. }
  823. *case: Option4
  824. {
  825. *PrintableArea: PAIR(5160, 6160)
  826. }
  827. }
  828. }
  829. *case: MANUAL
  830. {
  831. *PrintableArea: PAIR(5162, 6161)
  832. *PrintableOrigin: PAIR(0, 720)
  833. *switch: Resolution
  834. {
  835. *case: Option1
  836. {
  837. *PrintableArea: PAIR(5160, 6160)
  838. }
  839. *case: Option2
  840. {
  841. *PrintableArea: PAIR(5162, 6160)
  842. }
  843. *case: Option3
  844. {
  845. *PrintableArea: PAIR(5162, 6160)
  846. }
  847. *case: Option4
  848. {
  849. *PrintableArea: PAIR(5160, 6160)
  850. }
  851. }
  852. }
  853. *case: Option4
  854. {
  855. *PrintableArea: PAIR(5162, 6161)
  856. *PrintableOrigin: PAIR(0, 720)
  857. *switch: Resolution
  858. {
  859. *case: Option1
  860. {
  861. *PrintableArea: PAIR(5160, 6160)
  862. }
  863. *case: Option2
  864. {
  865. *PrintableArea: PAIR(5162, 6160)
  866. }
  867. *case: Option3
  868. {
  869. *PrintableArea: PAIR(5162, 6160)
  870. }
  871. *case: Option4
  872. {
  873. *PrintableArea: PAIR(5160, 6160)
  874. }
  875. }
  876. }
  877. *case: Option5
  878. {
  879. *PrintableArea: PAIR(5162, 6161)
  880. *PrintableOrigin: PAIR(0, 720)
  881. *switch: Resolution
  882. {
  883. *case: Option1
  884. {
  885. *PrintableArea: PAIR(5160, 6160)
  886. }
  887. *case: Option2
  888. {
  889. *PrintableArea: PAIR(5162, 6160)
  890. }
  891. *case: Option3
  892. {
  893. *PrintableArea: PAIR(5162, 6160)
  894. }
  895. *case: Option4
  896. {
  897. *PrintableArea: PAIR(5160, 6160)
  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, 6435)
  921. *PrintableOrigin: PAIR(0, 720)
  922. *switch: Resolution
  923. {
  924. *case: Option1
  925. {
  926. *PrintableArea: PAIR(5220, 6432)
  927. }
  928. *case: Option2
  929. {
  930. *PrintableArea: PAIR(5220, 6434)
  931. }
  932. *case: Option3
  933. {
  934. *PrintableArea: PAIR(5220, 6432)
  935. }
  936. *case: Option4
  937. {
  938. *PrintableArea: PAIR(5220, 6432)
  939. }
  940. }
  941. }
  942. *case: MANUAL
  943. {
  944. *PrintableArea: PAIR(5220, 6435)
  945. *PrintableOrigin: PAIR(0, 720)
  946. *switch: Resolution
  947. {
  948. *case: Option1
  949. {
  950. *PrintableArea: PAIR(5220, 6432)
  951. }
  952. *case: Option2
  953. {
  954. *PrintableArea: PAIR(5220, 6434)
  955. }
  956. *case: Option3
  957. {
  958. *PrintableArea: PAIR(5220, 6432)
  959. }
  960. *case: Option4
  961. {
  962. *PrintableArea: PAIR(5220, 6432)
  963. }
  964. }
  965. }
  966. *case: Option4
  967. {
  968. *PrintableArea: PAIR(5220, 6435)
  969. *PrintableOrigin: PAIR(0, 720)
  970. *switch: Resolution
  971. {
  972. *case: Option1
  973. {
  974. *PrintableArea: PAIR(5220, 6432)
  975. }
  976. *case: Option2
  977. {
  978. *PrintableArea: PAIR(5220, 6434)
  979. }
  980. *case: Option3
  981. {
  982. *PrintableArea: PAIR(5220, 6432)
  983. }
  984. *case: Option4
  985. {
  986. *PrintableArea: PAIR(5220, 6432)
  987. }
  988. }
  989. }
  990. *case: Option5
  991. {
  992. *PrintableArea: PAIR(5220, 6435)
  993. *PrintableOrigin: PAIR(0, 720)
  994. *switch: Resolution
  995. {
  996. *case: Option1
  997. {
  998. *PrintableArea: PAIR(5220, 6432)
  999. }
  1000. *case: Option2
  1001. {
  1002. *PrintableArea: PAIR(5220, 6434)
  1003. }
  1004. *case: Option3
  1005. {
  1006. *PrintableArea: PAIR(5220, 6432)
  1007. }
  1008. *case: Option4
  1009. {
  1010. *PrintableArea: PAIR(5220, 6432)
  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, 7515)
  1035. *PrintableOrigin: PAIR(0, 720)
  1036. *switch: Resolution
  1037. {
  1038. *case: Option1
  1039. {
  1040. *PrintableArea: PAIR(6120, 7512)
  1041. }
  1042. *case: Option2
  1043. {
  1044. *PrintableArea: PAIR(6120, 7514)
  1045. }
  1046. *case: Option3
  1047. {
  1048. *PrintableArea: PAIR(6120, 7512)
  1049. }
  1050. *case: Option4
  1051. {
  1052. *PrintableArea: PAIR(6120, 7512)
  1053. }
  1054. }
  1055. }
  1056. *case: MANUAL
  1057. {
  1058. *PrintableArea: PAIR(6120, 7515)
  1059. *PrintableOrigin: PAIR(0, 720)
  1060. *switch: Resolution
  1061. {
  1062. *case: Option1
  1063. {
  1064. *PrintableArea: PAIR(6120, 7512)
  1065. }
  1066. *case: Option2
  1067. {
  1068. *PrintableArea: PAIR(6120, 7514)
  1069. }
  1070. *case: Option3
  1071. {
  1072. *PrintableArea: PAIR(6120, 7512)
  1073. }
  1074. *case: Option4
  1075. {
  1076. *PrintableArea: PAIR(6120, 7512)
  1077. }
  1078. }
  1079. }
  1080. *case: Option4
  1081. {
  1082. *PrintableArea: PAIR(6120, 7515)
  1083. *PrintableOrigin: PAIR(0, 720)
  1084. *switch: Resolution
  1085. {
  1086. *case: Option1
  1087. {
  1088. *PrintableArea: PAIR(6120, 7512)
  1089. }
  1090. *case: Option2
  1091. {
  1092. *PrintableArea: PAIR(6120, 7514)
  1093. }
  1094. *case: Option3
  1095. {
  1096. *PrintableArea: PAIR(6120, 7512)
  1097. }
  1098. *case: Option4
  1099. {
  1100. *PrintableArea: PAIR(6120, 7512)
  1101. }
  1102. }
  1103. }
  1104. *case: Option5
  1105. {
  1106. *PrintableArea: PAIR(6120, 7515)
  1107. *PrintableOrigin: PAIR(0, 720)
  1108. *switch: Resolution
  1109. {
  1110. *case: Option1
  1111. {
  1112. *PrintableArea: PAIR(6120, 7512)
  1113. }
  1114. *case: Option2
  1115. {
  1116. *PrintableArea: PAIR(6120, 7514)
  1117. }
  1118. *case: Option3
  1119. {
  1120. *PrintableArea: PAIR(6120, 7512)
  1121. }
  1122. *case: Option4
  1123. {
  1124. *PrintableArea: PAIR(6120, 7512)
  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, 7515)
  1149. *PrintableOrigin: PAIR(0, 720)
  1150. *switch: Resolution
  1151. {
  1152. *case: Option1
  1153. {
  1154. *PrintableArea: PAIR(9792, 7512)
  1155. }
  1156. *case: Option2
  1157. {
  1158. *PrintableArea: PAIR(9792, 7514)
  1159. }
  1160. *case: Option3
  1161. {
  1162. *PrintableArea: PAIR(9792, 7512)
  1163. }
  1164. *case: Option4
  1165. {
  1166. *PrintableArea: PAIR(9792, 7512)
  1167. }
  1168. }
  1169. }
  1170. *case: MANUAL
  1171. {
  1172. *PrintableArea: PAIR(9792, 7515)
  1173. *PrintableOrigin: PAIR(0, 720)
  1174. *switch: Resolution
  1175. {
  1176. *case: Option1
  1177. {
  1178. *PrintableArea: PAIR(9792, 7512)
  1179. }
  1180. *case: Option2
  1181. {
  1182. *PrintableArea: PAIR(9792, 7514)
  1183. }
  1184. *case: Option3
  1185. {
  1186. *PrintableArea: PAIR(9792, 7512)
  1187. }
  1188. *case: Option4
  1189. {
  1190. *PrintableArea: PAIR(9792, 7512)
  1191. }
  1192. }
  1193. }
  1194. *case: Option4
  1195. {
  1196. *PrintableArea: PAIR(9792, 7515)
  1197. *PrintableOrigin: PAIR(0, 720)
  1198. *switch: Resolution
  1199. {
  1200. *case: Option1
  1201. {
  1202. *PrintableArea: PAIR(9792, 7512)
  1203. }
  1204. *case: Option2
  1205. {
  1206. *PrintableArea: PAIR(9792, 7514)
  1207. }
  1208. *case: Option3
  1209. {
  1210. *PrintableArea: PAIR(9792, 7512)
  1211. }
  1212. *case: Option4
  1213. {
  1214. *PrintableArea: PAIR(9792, 7512)
  1215. }
  1216. }
  1217. }
  1218. *case: Option5
  1219. {
  1220. *PrintableArea: PAIR(9792, 7515)
  1221. *PrintableOrigin: PAIR(0, 720)
  1222. *switch: Resolution
  1223. {
  1224. *case: Option1
  1225. {
  1226. *PrintableArea: PAIR(9792, 7512)
  1227. }
  1228. *case: Option2
  1229. {
  1230. *PrintableArea: PAIR(9792, 7514)
  1231. }
  1232. *case: Option3
  1233. {
  1234. *PrintableArea: PAIR(9792, 7512)
  1235. }
  1236. *case: Option4
  1237. {
  1238. *PrintableArea: PAIR(9792, 7512)
  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, 6795)
  1263. *PrintableOrigin: PAIR(0, 720)
  1264. *switch: Resolution
  1265. {
  1266. *case: Option1
  1267. {
  1268. *PrintableArea: PAIR(9792, 6792)
  1269. }
  1270. *case: Option2
  1271. {
  1272. *PrintableArea: PAIR(9792, 6794)
  1273. }
  1274. *case: Option3
  1275. {
  1276. *PrintableArea: PAIR(9792, 6792)
  1277. }
  1278. *case: Option4
  1279. {
  1280. *PrintableArea: PAIR(9792, 6792)
  1281. }
  1282. }
  1283. }
  1284. *case: MANUAL
  1285. {
  1286. *PrintableArea: PAIR(9792, 6795)
  1287. *PrintableOrigin: PAIR(0, 720)
  1288. *switch: Resolution
  1289. {
  1290. *case: Option1
  1291. {
  1292. *PrintableArea: PAIR(9792, 6792)
  1293. }
  1294. *case: Option2
  1295. {
  1296. *PrintableArea: PAIR(9792, 6794)
  1297. }
  1298. *case: Option3
  1299. {
  1300. *PrintableArea: PAIR(9792, 6792)
  1301. }
  1302. *case: Option4
  1303. {
  1304. *PrintableArea: PAIR(9792, 6792)
  1305. }
  1306. }
  1307. }
  1308. *case: Option4
  1309. {
  1310. *PrintableArea: PAIR(9792, 6795)
  1311. *PrintableOrigin: PAIR(0, 720)
  1312. *switch: Resolution
  1313. {
  1314. *case: Option1
  1315. {
  1316. *PrintableArea: PAIR(9792, 6792)
  1317. }
  1318. *case: Option2
  1319. {
  1320. *PrintableArea: PAIR(9792, 6794)
  1321. }
  1322. *case: Option3
  1323. {
  1324. *PrintableArea: PAIR(9792, 6792)
  1325. }
  1326. *case: Option4
  1327. {
  1328. *PrintableArea: PAIR(9792, 6792)
  1329. }
  1330. }
  1331. }
  1332. *case: Option5
  1333. {
  1334. *PrintableArea: PAIR(9792, 6795)
  1335. *PrintableOrigin: PAIR(0, 720)
  1336. *switch: Resolution
  1337. {
  1338. *case: Option1
  1339. {
  1340. *PrintableArea: PAIR(9792, 6792)
  1341. }
  1342. *case: Option2
  1343. {
  1344. *PrintableArea: PAIR(9792, 6794)
  1345. }
  1346. *case: Option3
  1347. {
  1348. *PrintableArea: PAIR(9792, 6792)
  1349. }
  1350. *case: Option4
  1351. {
  1352. *PrintableArea: PAIR(9792, 6792)
  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: 720
  1376. *BottomMargin: 405
  1377. }
  1378. *case: MANUAL
  1379. {
  1380. *TopMargin: 720
  1381. *BottomMargin: 405
  1382. }
  1383. *case: Option4
  1384. {
  1385. *TopMargin: 720
  1386. *BottomMargin: 405
  1387. }
  1388. *case: Option5
  1389. {
  1390. *TopMargin: 720
  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>x1"
  1412. }
  1413. }
  1414. *Option: DRAFT_QUALITY
  1415. {
  1416. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1417. *Command: CmdSelect
  1418. {
  1419. *Order: DOC_SETUP.2
  1420. *Cmd: "<1B>x0"
  1421. }
  1422. }
  1423. }
  1424. *Feature: ColorMode
  1425. {
  1426. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1427. *DefaultOption: Color
  1428. *Option: Mono
  1429. {
  1430. *rcNameID: =MONO_DISPLAY
  1431. *DevNumOfPlanes: 1
  1432. *DevBPP: 1
  1433. *Color? : FALSE
  1434. }
  1435. *Option: Color
  1436. {
  1437. *rcNameID: =COLOR_DISPLAY
  1438. *DevNumOfPlanes: 4
  1439. *DevBPP: 1
  1440. *DrvBPP: 4
  1441. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  1442. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1443. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1444. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1445. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1446. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1447. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1448. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1449. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1450. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1451. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1452. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1453. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1454. }
  1455. }
  1456. *Feature: Halftone
  1457. {
  1458. *rcNameID: =HALFTONING_DISPLAY
  1459. *DefaultOption: HT_PATSIZE_AUTO
  1460. *Option: HT_PATSIZE_AUTO
  1461. {
  1462. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1463. }
  1464. *Ifdef: WINNT_50
  1465. *Option: HT_PATSIZE_SUPERCELL_M
  1466. {
  1467. *rcNameID: =HT_SUPERCELL_DISPLAY
  1468. }
  1469. *Endif:
  1470. *Option: HT_PATSIZE_6x6_M
  1471. {
  1472. *rcNameID: =HT_DITHER6X6_DISPLAY
  1473. }
  1474. *Option: HT_PATSIZE_8x8_M
  1475. {
  1476. *rcNameID: =HT_DITHER8X8_DISPLAY
  1477. }
  1478. }
  1479. *Command: CmdStartDoc
  1480. {
  1481. *Order: DOC_SETUP.1
  1482. *Cmd: "<1B>@<1B>t<011B>6<1B>r<00>"
  1483. }
  1484. *Command: CmdStartPage
  1485. {
  1486. *Order: PAGE_SETUP.1
  1487. *Cmd: "<0D>"
  1488. }
  1489. *Command: CmdEndJob
  1490. {
  1491. *Order: JOB_FINISH.1
  1492. *Cmd: "<1B>@"
  1493. }
  1494. *RotateCoordinate?: FALSE
  1495. *RotateRaster?: FALSE
  1496. *RotateFont?: FALSE
  1497. *switch: Orientation
  1498. {
  1499. *case: PORTRAIT
  1500. {
  1501. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1502. }
  1503. *case: LANDSCAPE_CC270
  1504. {
  1505. *TextCaps: LIST(TC_RA_ABLE)
  1506. }
  1507. }
  1508. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1509. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1510. *MaxLineSpacing: 255
  1511. *XMoveThreshold: 0
  1512. *YMoveThreshold: *
  1513. *XMoveUnit: 60
  1514. *YMoveUnit: 180
  1515. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  1516. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  1517. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  1518. *Command: CmdCR { *Cmd : "<0D>" }
  1519. *Command: CmdLF { *Cmd : "<0A>" }
  1520. *Command: CmdFF { *Cmd : "<0C>" }
  1521. *Command: CmdBackSpace { *Cmd : "<08>" }
  1522. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  1523. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  1524. *EjectPageWithFF?: TRUE
  1525. *switch: PaperSize
  1526. {
  1527. *case: CUSTOMSIZE
  1528. {
  1529. *EjectPageWithFF?: FALSE
  1530. *switch: InputBin
  1531. {
  1532. *case: Option2
  1533. {
  1534. *EjectPageWithFF?: TRUE
  1535. }
  1536. *case: MANUAL
  1537. {
  1538. *EjectPageWithFF?: TRUE
  1539. }
  1540. *case: Option4
  1541. {
  1542. *EjectPageWithFF?: TRUE
  1543. }
  1544. *case: Option5
  1545. {
  1546. *EjectPageWithFF?: TRUE
  1547. }
  1548. }
  1549. }
  1550. }
  1551. *OutputDataFormat: V_BYTE
  1552. *OptimizeLeftBound?: TRUE
  1553. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1554. *CursorYAfterSendBlockData: NO_MOVE
  1555. *DefaultFont: 48
  1556. *DefaultCTT: 2
  1557. *switch: Orientation
  1558. {
  1559. *case: PORTRAIT
  1560. {
  1561. *DeviceFonts: LIST(1,2,3,4,5,6,7,25,26,27,28,29,30,31,41,42,
  1562. + 43,44,45,46,47,48,49,50,51,52,53,54,105,106,107,108,
  1563. + 109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,
  1564. + 125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,
  1565. + 141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,
  1566. + 157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,
  1567. + 173,174,175,176,177,178,179,180,181,182)
  1568. }
  1569. *case: LANDSCAPE_CC270
  1570. {
  1571. *DeviceFonts: LIST()
  1572. }
  1573. }
  1574. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1575. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1576. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1577. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1578. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1579. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }