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.

1273 lines
39 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "STXR1520.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Star XR-1520"
  10. *MasterUnits: PAIR(720, 432)
  11. *ResourceDLL: "star9res.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: MANUAL
  30. *Option: TRACTOR
  31. {
  32. *rcNameID: =TRACTOR_DISPLAY
  33. }
  34. *Option: Option2
  35. {
  36. *rcNameID: 263
  37. *Command: CmdSelect
  38. {
  39. *Order: DOC_SETUP.4
  40. *Cmd: "<1B1904>"
  41. }
  42. }
  43. *Option: MANUAL
  44. {
  45. *rcNameID: =MANUAL_FEED_DISPLAY
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.4
  49. *Cmd: "<1B1900>"
  50. }
  51. }
  52. *Option: Option4
  53. {
  54. *rcNameID: 261
  55. *Command: CmdSelect
  56. {
  57. *Order: DOC_SETUP.4
  58. *Cmd: "<1B1901>"
  59. }
  60. }
  61. *Option: Option5
  62. {
  63. *rcNameID: 262
  64. *Command: CmdSelect
  65. {
  66. *Order: DOC_SETUP.4
  67. *Cmd: "<1B1902>"
  68. }
  69. }
  70. }
  71. *Feature: Resolution
  72. {
  73. *rcNameID: =RESOLUTION_DISPLAY
  74. *DefaultOption: Option1
  75. *Option: Option1
  76. {
  77. *Name: "240 x 144 " =DOTS_PER_INCH
  78. *DPI: PAIR(240, 144)
  79. *TextDPI: PAIR(240, 144)
  80. *PinsPerLogPass: 16
  81. *PinsPerPhysPass: 8
  82. *MinStripBlankPixels: 240
  83. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  84. *SpotDiameter: 100
  85. *Command: CmdSendBlockData { *Cmd : "<1B>Z" %l{NumOfDataBytes} }
  86. }
  87. *Option: Option2
  88. {
  89. *Name: "120 x 144 " =DOTS_PER_INCH
  90. *DPI: PAIR(120, 144)
  91. *TextDPI: PAIR(120, 144)
  92. *PinsPerLogPass: 16
  93. *PinsPerPhysPass: 8
  94. *MinStripBlankPixels: 120
  95. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  96. *SpotDiameter: 140
  97. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  98. }
  99. *Option: Option3
  100. {
  101. *Name: "120 x 72 " =DOTS_PER_INCH
  102. *DPI: PAIR(120, 72)
  103. *TextDPI: PAIR(120, 72)
  104. *PinsPerLogPass: 8
  105. *PinsPerPhysPass: 8
  106. *MinStripBlankPixels: 120
  107. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  108. *SpotDiameter: 100
  109. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  110. }
  111. }
  112. *Feature: PaperSize
  113. {
  114. *rcNameID: =PAPER_SIZE_DISPLAY
  115. *DefaultOption: LETTER
  116. *Option: LETTER
  117. {
  118. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  119. *Command: CmdSelect
  120. {
  121. *Order: DOC_SETUP.5
  122. *Cmd: "<1B>2<1B>CB"
  123. }
  124. *switch: InputBin
  125. {
  126. *case: TRACTOR
  127. {
  128. *PrintableArea: PAIR(6120, 4752)
  129. *PrintableOrigin: PAIR(0, 0)
  130. }
  131. *case: Option2
  132. {
  133. *PrintableArea: PAIR(6120, 4496)
  134. *PrintableOrigin: PAIR(0, 68)
  135. *switch: Resolution
  136. {
  137. *case: Option1
  138. {
  139. *PrintableArea: PAIR(6120, 4494)
  140. *PrintableOrigin: PAIR(0, 69)
  141. }
  142. *case: Option2
  143. {
  144. *PrintableArea: PAIR(6120, 4494)
  145. *PrintableOrigin: PAIR(0, 69)
  146. }
  147. *case: Option3
  148. {
  149. *PrintableArea: PAIR(6120, 4488)
  150. *PrintableOrigin: PAIR(0, 72)
  151. }
  152. }
  153. }
  154. *case: MANUAL
  155. {
  156. *PrintableArea: PAIR(6120, 4496)
  157. *PrintableOrigin: PAIR(0, 68)
  158. *switch: Resolution
  159. {
  160. *case: Option1
  161. {
  162. *PrintableArea: PAIR(6120, 4494)
  163. *PrintableOrigin: PAIR(0, 69)
  164. }
  165. *case: Option2
  166. {
  167. *PrintableArea: PAIR(6120, 4494)
  168. *PrintableOrigin: PAIR(0, 69)
  169. }
  170. *case: Option3
  171. {
  172. *PrintableArea: PAIR(6120, 4488)
  173. *PrintableOrigin: PAIR(0, 72)
  174. }
  175. }
  176. }
  177. *case: Option4
  178. {
  179. *PrintableArea: PAIR(6120, 4496)
  180. *PrintableOrigin: PAIR(0, 68)
  181. *switch: Resolution
  182. {
  183. *case: Option1
  184. {
  185. *PrintableArea: PAIR(6120, 4494)
  186. *PrintableOrigin: PAIR(0, 69)
  187. }
  188. *case: Option2
  189. {
  190. *PrintableArea: PAIR(6120, 4494)
  191. *PrintableOrigin: PAIR(0, 69)
  192. }
  193. *case: Option3
  194. {
  195. *PrintableArea: PAIR(6120, 4488)
  196. *PrintableOrigin: PAIR(0, 72)
  197. }
  198. }
  199. }
  200. *case: Option5
  201. {
  202. *PrintableArea: PAIR(6120, 4496)
  203. *PrintableOrigin: PAIR(0, 68)
  204. *switch: Resolution
  205. {
  206. *case: Option1
  207. {
  208. *PrintableArea: PAIR(6120, 4494)
  209. *PrintableOrigin: PAIR(0, 69)
  210. }
  211. *case: Option2
  212. {
  213. *PrintableArea: PAIR(6120, 4494)
  214. *PrintableOrigin: PAIR(0, 69)
  215. }
  216. *case: Option3
  217. {
  218. *PrintableArea: PAIR(6120, 4488)
  219. *PrintableOrigin: PAIR(0, 72)
  220. }
  221. }
  222. }
  223. }
  224. }
  225. *Option: LEGAL
  226. {
  227. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  228. *Command: CmdSelect
  229. {
  230. *Order: DOC_SETUP.5
  231. *Cmd: "<1B>2<1B>CT"
  232. }
  233. *switch: InputBin
  234. {
  235. *case: TRACTOR
  236. {
  237. *PrintableArea: PAIR(6120, 6048)
  238. *PrintableOrigin: PAIR(0, 0)
  239. }
  240. *case: Option2
  241. {
  242. *PrintableArea: PAIR(6120, 5792)
  243. *PrintableOrigin: PAIR(0, 68)
  244. *switch: Resolution
  245. {
  246. *case: Option1
  247. {
  248. *PrintableArea: PAIR(6120, 5790)
  249. *PrintableOrigin: PAIR(0, 69)
  250. }
  251. *case: Option2
  252. {
  253. *PrintableArea: PAIR(6120, 5790)
  254. *PrintableOrigin: PAIR(0, 69)
  255. }
  256. *case: Option3
  257. {
  258. *PrintableArea: PAIR(6120, 5784)
  259. *PrintableOrigin: PAIR(0, 72)
  260. }
  261. }
  262. }
  263. *case: MANUAL
  264. {
  265. *PrintableArea: PAIR(6120, 5792)
  266. *PrintableOrigin: PAIR(0, 68)
  267. *switch: Resolution
  268. {
  269. *case: Option1
  270. {
  271. *PrintableArea: PAIR(6120, 5790)
  272. *PrintableOrigin: PAIR(0, 69)
  273. }
  274. *case: Option2
  275. {
  276. *PrintableArea: PAIR(6120, 5790)
  277. *PrintableOrigin: PAIR(0, 69)
  278. }
  279. *case: Option3
  280. {
  281. *PrintableArea: PAIR(6120, 5784)
  282. *PrintableOrigin: PAIR(0, 72)
  283. }
  284. }
  285. }
  286. *case: Option4
  287. {
  288. *PrintableArea: PAIR(6120, 5792)
  289. *PrintableOrigin: PAIR(0, 68)
  290. *switch: Resolution
  291. {
  292. *case: Option1
  293. {
  294. *PrintableArea: PAIR(6120, 5790)
  295. *PrintableOrigin: PAIR(0, 69)
  296. }
  297. *case: Option2
  298. {
  299. *PrintableArea: PAIR(6120, 5790)
  300. *PrintableOrigin: PAIR(0, 69)
  301. }
  302. *case: Option3
  303. {
  304. *PrintableArea: PAIR(6120, 5784)
  305. *PrintableOrigin: PAIR(0, 72)
  306. }
  307. }
  308. }
  309. *case: Option5
  310. {
  311. *PrintableArea: PAIR(6120, 5792)
  312. *PrintableOrigin: PAIR(0, 68)
  313. *switch: Resolution
  314. {
  315. *case: Option1
  316. {
  317. *PrintableArea: PAIR(6120, 5790)
  318. *PrintableOrigin: PAIR(0, 69)
  319. }
  320. *case: Option2
  321. {
  322. *PrintableArea: PAIR(6120, 5790)
  323. *PrintableOrigin: PAIR(0, 69)
  324. }
  325. *case: Option3
  326. {
  327. *PrintableArea: PAIR(6120, 5784)
  328. *PrintableOrigin: PAIR(0, 72)
  329. }
  330. }
  331. }
  332. }
  333. }
  334. *Option: A4
  335. {
  336. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  337. *Command: CmdSelect
  338. {
  339. *Order: DOC_SETUP.5
  340. *Cmd: "<1B>2<1B>CF"
  341. }
  342. *switch: InputBin
  343. {
  344. *case: TRACTOR
  345. {
  346. *PrintableArea: PAIR(5954, 5050)
  347. *PrintableOrigin: PAIR(0, 0)
  348. *switch: Resolution
  349. {
  350. *case: Option1
  351. {
  352. *PrintableArea: PAIR(5952, 5049)
  353. }
  354. *case: Option2
  355. {
  356. *PrintableArea: PAIR(5952, 5049)
  357. }
  358. *case: Option3
  359. {
  360. *PrintableArea: PAIR(5952, 5046)
  361. }
  362. }
  363. }
  364. *case: Option2
  365. {
  366. *PrintableArea: PAIR(5954, 4794)
  367. *PrintableOrigin: PAIR(0, 68)
  368. *switch: Resolution
  369. {
  370. *case: Option1
  371. {
  372. *PrintableArea: PAIR(5952, 4791)
  373. *PrintableOrigin: PAIR(0, 69)
  374. }
  375. *case: Option2
  376. {
  377. *PrintableArea: PAIR(5952, 4791)
  378. *PrintableOrigin: PAIR(0, 69)
  379. }
  380. *case: Option3
  381. {
  382. *PrintableArea: PAIR(5952, 4788)
  383. *PrintableOrigin: PAIR(0, 72)
  384. }
  385. }
  386. }
  387. *case: MANUAL
  388. {
  389. *PrintableArea: PAIR(5954, 4794)
  390. *PrintableOrigin: PAIR(0, 68)
  391. *switch: Resolution
  392. {
  393. *case: Option1
  394. {
  395. *PrintableArea: PAIR(5952, 4791)
  396. *PrintableOrigin: PAIR(0, 69)
  397. }
  398. *case: Option2
  399. {
  400. *PrintableArea: PAIR(5952, 4791)
  401. *PrintableOrigin: PAIR(0, 69)
  402. }
  403. *case: Option3
  404. {
  405. *PrintableArea: PAIR(5952, 4788)
  406. *PrintableOrigin: PAIR(0, 72)
  407. }
  408. }
  409. }
  410. *case: Option4
  411. {
  412. *PrintableArea: PAIR(5954, 4794)
  413. *PrintableOrigin: PAIR(0, 68)
  414. *switch: Resolution
  415. {
  416. *case: Option1
  417. {
  418. *PrintableArea: PAIR(5952, 4791)
  419. *PrintableOrigin: PAIR(0, 69)
  420. }
  421. *case: Option2
  422. {
  423. *PrintableArea: PAIR(5952, 4791)
  424. *PrintableOrigin: PAIR(0, 69)
  425. }
  426. *case: Option3
  427. {
  428. *PrintableArea: PAIR(5952, 4788)
  429. *PrintableOrigin: PAIR(0, 72)
  430. }
  431. }
  432. }
  433. *case: Option5
  434. {
  435. *PrintableArea: PAIR(5954, 4794)
  436. *PrintableOrigin: PAIR(0, 68)
  437. *switch: Resolution
  438. {
  439. *case: Option1
  440. {
  441. *PrintableArea: PAIR(5952, 4791)
  442. *PrintableOrigin: PAIR(0, 69)
  443. }
  444. *case: Option2
  445. {
  446. *PrintableArea: PAIR(5952, 4791)
  447. *PrintableOrigin: PAIR(0, 69)
  448. }
  449. *case: Option3
  450. {
  451. *PrintableArea: PAIR(5952, 4788)
  452. *PrintableOrigin: PAIR(0, 72)
  453. }
  454. }
  455. }
  456. }
  457. }
  458. *Option: A3
  459. {
  460. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  461. *Command: CmdSelect
  462. {
  463. *Order: DOC_SETUP.5
  464. *Cmd: "<1B>2<1B>Cc"
  465. }
  466. *switch: InputBin
  467. {
  468. *case: TRACTOR
  469. {
  470. *PrintableArea: PAIR(8417, 7145)
  471. *PrintableOrigin: PAIR(0, 0)
  472. *switch: Resolution
  473. {
  474. *case: Option1
  475. {
  476. *PrintableArea: PAIR(8415, 7143)
  477. }
  478. *case: Option2
  479. {
  480. *PrintableArea: PAIR(8412, 7143)
  481. }
  482. *case: Option3
  483. {
  484. *PrintableArea: PAIR(8412, 7140)
  485. }
  486. }
  487. }
  488. *case: Option2
  489. {
  490. *PrintableArea: PAIR(8417, 6889)
  491. *PrintableOrigin: PAIR(0, 68)
  492. *switch: Resolution
  493. {
  494. *case: Option1
  495. {
  496. *PrintableArea: PAIR(8415, 6888)
  497. *PrintableOrigin: PAIR(0, 69)
  498. }
  499. *case: Option2
  500. {
  501. *PrintableArea: PAIR(8412, 6888)
  502. *PrintableOrigin: PAIR(0, 69)
  503. }
  504. *case: Option3
  505. {
  506. *PrintableArea: PAIR(8412, 6882)
  507. *PrintableOrigin: PAIR(0, 72)
  508. }
  509. }
  510. }
  511. *case: MANUAL
  512. {
  513. *PrintableArea: PAIR(8417, 6889)
  514. *PrintableOrigin: PAIR(0, 68)
  515. *switch: Resolution
  516. {
  517. *case: Option1
  518. {
  519. *PrintableArea: PAIR(8415, 6888)
  520. *PrintableOrigin: PAIR(0, 69)
  521. }
  522. *case: Option2
  523. {
  524. *PrintableArea: PAIR(8412, 6888)
  525. *PrintableOrigin: PAIR(0, 69)
  526. }
  527. *case: Option3
  528. {
  529. *PrintableArea: PAIR(8412, 6882)
  530. *PrintableOrigin: PAIR(0, 72)
  531. }
  532. }
  533. }
  534. *case: Option4
  535. {
  536. *PrintableArea: PAIR(8417, 6889)
  537. *PrintableOrigin: PAIR(0, 68)
  538. *switch: Resolution
  539. {
  540. *case: Option1
  541. {
  542. *PrintableArea: PAIR(8415, 6888)
  543. *PrintableOrigin: PAIR(0, 69)
  544. }
  545. *case: Option2
  546. {
  547. *PrintableArea: PAIR(8412, 6888)
  548. *PrintableOrigin: PAIR(0, 69)
  549. }
  550. *case: Option3
  551. {
  552. *PrintableArea: PAIR(8412, 6882)
  553. *PrintableOrigin: PAIR(0, 72)
  554. }
  555. }
  556. }
  557. *case: Option5
  558. {
  559. *PrintableArea: PAIR(8417, 6889)
  560. *PrintableOrigin: PAIR(0, 68)
  561. *switch: Resolution
  562. {
  563. *case: Option1
  564. {
  565. *PrintableArea: PAIR(8415, 6888)
  566. *PrintableOrigin: PAIR(0, 69)
  567. }
  568. *case: Option2
  569. {
  570. *PrintableArea: PAIR(8412, 6888)
  571. *PrintableOrigin: PAIR(0, 69)
  572. }
  573. *case: Option3
  574. {
  575. *PrintableArea: PAIR(8412, 6882)
  576. *PrintableOrigin: PAIR(0, 72)
  577. }
  578. }
  579. }
  580. }
  581. }
  582. *Option: Option5
  583. {
  584. *rcNameID: 258
  585. *PageDimensions: PAIR(11905, 5050)
  586. *Command: CmdSelect
  587. {
  588. *Order: DOC_SETUP.5
  589. *Cmd: "<1B>2<1B>CF"
  590. }
  591. *switch: InputBin
  592. {
  593. *case: TRACTOR
  594. {
  595. *PrintableArea: PAIR(9792, 5050)
  596. *PrintableOrigin: PAIR(0, 0)
  597. *switch: Resolution
  598. {
  599. *case: Option1
  600. {
  601. *PrintableArea: PAIR(9792, 5049)
  602. }
  603. *case: Option2
  604. {
  605. *PrintableArea: PAIR(9792, 5049)
  606. }
  607. *case: Option3
  608. {
  609. *PrintableArea: PAIR(9792, 5046)
  610. }
  611. }
  612. }
  613. *case: Option2
  614. {
  615. *PrintableArea: PAIR(9792, 4794)
  616. *PrintableOrigin: PAIR(0, 68)
  617. *switch: Resolution
  618. {
  619. *case: Option1
  620. {
  621. *PrintableArea: PAIR(9792, 4791)
  622. *PrintableOrigin: PAIR(0, 69)
  623. }
  624. *case: Option2
  625. {
  626. *PrintableArea: PAIR(9792, 4791)
  627. *PrintableOrigin: PAIR(0, 69)
  628. }
  629. *case: Option3
  630. {
  631. *PrintableArea: PAIR(9792, 4788)
  632. *PrintableOrigin: PAIR(0, 72)
  633. }
  634. }
  635. }
  636. *case: MANUAL
  637. {
  638. *PrintableArea: PAIR(9792, 4794)
  639. *PrintableOrigin: PAIR(0, 68)
  640. *switch: Resolution
  641. {
  642. *case: Option1
  643. {
  644. *PrintableArea: PAIR(9792, 4791)
  645. *PrintableOrigin: PAIR(0, 69)
  646. }
  647. *case: Option2
  648. {
  649. *PrintableArea: PAIR(9792, 4791)
  650. *PrintableOrigin: PAIR(0, 69)
  651. }
  652. *case: Option3
  653. {
  654. *PrintableArea: PAIR(9792, 4788)
  655. *PrintableOrigin: PAIR(0, 72)
  656. }
  657. }
  658. }
  659. *case: Option4
  660. {
  661. *PrintableArea: PAIR(9792, 4794)
  662. *PrintableOrigin: PAIR(0, 68)
  663. *switch: Resolution
  664. {
  665. *case: Option1
  666. {
  667. *PrintableArea: PAIR(9792, 4791)
  668. *PrintableOrigin: PAIR(0, 69)
  669. }
  670. *case: Option2
  671. {
  672. *PrintableArea: PAIR(9792, 4791)
  673. *PrintableOrigin: PAIR(0, 69)
  674. }
  675. *case: Option3
  676. {
  677. *PrintableArea: PAIR(9792, 4788)
  678. *PrintableOrigin: PAIR(0, 72)
  679. }
  680. }
  681. }
  682. *case: Option5
  683. {
  684. *PrintableArea: PAIR(9792, 4794)
  685. *PrintableOrigin: PAIR(0, 68)
  686. *switch: Resolution
  687. {
  688. *case: Option1
  689. {
  690. *PrintableArea: PAIR(9792, 4791)
  691. *PrintableOrigin: PAIR(0, 69)
  692. }
  693. *case: Option2
  694. {
  695. *PrintableArea: PAIR(9792, 4791)
  696. *PrintableOrigin: PAIR(0, 69)
  697. }
  698. *case: Option3
  699. {
  700. *PrintableArea: PAIR(9792, 4788)
  701. *PrintableOrigin: PAIR(0, 72)
  702. }
  703. }
  704. }
  705. }
  706. }
  707. *Option: B5
  708. {
  709. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  710. *Command: CmdSelect
  711. {
  712. *Order: DOC_SETUP.5
  713. *Cmd: "<1B>2<1B>C="
  714. }
  715. *switch: InputBin
  716. {
  717. *case: TRACTOR
  718. {
  719. *PrintableArea: PAIR(5162, 4372)
  720. *PrintableOrigin: PAIR(0, 0)
  721. *switch: Resolution
  722. {
  723. *case: Option1
  724. {
  725. *PrintableArea: PAIR(5160, 4371)
  726. }
  727. *case: Option2
  728. {
  729. *PrintableArea: PAIR(5160, 4371)
  730. }
  731. *case: Option3
  732. {
  733. *PrintableArea: PAIR(5160, 4368)
  734. }
  735. }
  736. }
  737. *case: Option2
  738. {
  739. *PrintableArea: PAIR(5162, 4116)
  740. *PrintableOrigin: PAIR(0, 68)
  741. *switch: Resolution
  742. {
  743. *case: Option1
  744. {
  745. *PrintableArea: PAIR(5160, 4113)
  746. *PrintableOrigin: PAIR(0, 69)
  747. }
  748. *case: Option2
  749. {
  750. *PrintableArea: PAIR(5160, 4113)
  751. *PrintableOrigin: PAIR(0, 69)
  752. }
  753. *case: Option3
  754. {
  755. *PrintableArea: PAIR(5160, 4110)
  756. *PrintableOrigin: PAIR(0, 72)
  757. }
  758. }
  759. }
  760. *case: MANUAL
  761. {
  762. *PrintableArea: PAIR(5162, 4116)
  763. *PrintableOrigin: PAIR(0, 68)
  764. *switch: Resolution
  765. {
  766. *case: Option1
  767. {
  768. *PrintableArea: PAIR(5160, 4113)
  769. *PrintableOrigin: PAIR(0, 69)
  770. }
  771. *case: Option2
  772. {
  773. *PrintableArea: PAIR(5160, 4113)
  774. *PrintableOrigin: PAIR(0, 69)
  775. }
  776. *case: Option3
  777. {
  778. *PrintableArea: PAIR(5160, 4110)
  779. *PrintableOrigin: PAIR(0, 72)
  780. }
  781. }
  782. }
  783. *case: Option4
  784. {
  785. *PrintableArea: PAIR(5162, 4116)
  786. *PrintableOrigin: PAIR(0, 68)
  787. *switch: Resolution
  788. {
  789. *case: Option1
  790. {
  791. *PrintableArea: PAIR(5160, 4113)
  792. *PrintableOrigin: PAIR(0, 69)
  793. }
  794. *case: Option2
  795. {
  796. *PrintableArea: PAIR(5160, 4113)
  797. *PrintableOrigin: PAIR(0, 69)
  798. }
  799. *case: Option3
  800. {
  801. *PrintableArea: PAIR(5160, 4110)
  802. *PrintableOrigin: PAIR(0, 72)
  803. }
  804. }
  805. }
  806. *case: Option5
  807. {
  808. *PrintableArea: PAIR(5162, 4116)
  809. *PrintableOrigin: PAIR(0, 68)
  810. *switch: Resolution
  811. {
  812. *case: Option1
  813. {
  814. *PrintableArea: PAIR(5160, 4113)
  815. *PrintableOrigin: PAIR(0, 69)
  816. }
  817. *case: Option2
  818. {
  819. *PrintableArea: PAIR(5160, 4113)
  820. *PrintableOrigin: PAIR(0, 69)
  821. }
  822. *case: Option3
  823. {
  824. *PrintableArea: PAIR(5160, 4110)
  825. *PrintableOrigin: PAIR(0, 72)
  826. }
  827. }
  828. }
  829. }
  830. }
  831. *Option: Option7
  832. {
  833. *rcNameID: 259
  834. *PageDimensions: PAIR(6120, 5184)
  835. *Command: CmdSelect
  836. {
  837. *Order: DOC_SETUP.5
  838. *Cmd: "<1B>2<1B>CH"
  839. }
  840. *switch: InputBin
  841. {
  842. *case: TRACTOR
  843. {
  844. *PrintableArea: PAIR(6120, 5184)
  845. *PrintableOrigin: PAIR(0, 0)
  846. }
  847. *case: Option2
  848. {
  849. *PrintableArea: PAIR(6120, 4928)
  850. *PrintableOrigin: PAIR(0, 68)
  851. *switch: Resolution
  852. {
  853. *case: Option1
  854. {
  855. *PrintableArea: PAIR(6120, 4926)
  856. *PrintableOrigin: PAIR(0, 69)
  857. }
  858. *case: Option2
  859. {
  860. *PrintableArea: PAIR(6120, 4926)
  861. *PrintableOrigin: PAIR(0, 69)
  862. }
  863. *case: Option3
  864. {
  865. *PrintableArea: PAIR(6120, 4920)
  866. *PrintableOrigin: PAIR(0, 72)
  867. }
  868. }
  869. }
  870. *case: MANUAL
  871. {
  872. *PrintableArea: PAIR(6120, 4928)
  873. *PrintableOrigin: PAIR(0, 68)
  874. *switch: Resolution
  875. {
  876. *case: Option1
  877. {
  878. *PrintableArea: PAIR(6120, 4926)
  879. *PrintableOrigin: PAIR(0, 69)
  880. }
  881. *case: Option2
  882. {
  883. *PrintableArea: PAIR(6120, 4926)
  884. *PrintableOrigin: PAIR(0, 69)
  885. }
  886. *case: Option3
  887. {
  888. *PrintableArea: PAIR(6120, 4920)
  889. *PrintableOrigin: PAIR(0, 72)
  890. }
  891. }
  892. }
  893. *case: Option4
  894. {
  895. *PrintableArea: PAIR(6120, 4928)
  896. *PrintableOrigin: PAIR(0, 68)
  897. *switch: Resolution
  898. {
  899. *case: Option1
  900. {
  901. *PrintableArea: PAIR(6120, 4926)
  902. *PrintableOrigin: PAIR(0, 69)
  903. }
  904. *case: Option2
  905. {
  906. *PrintableArea: PAIR(6120, 4926)
  907. *PrintableOrigin: PAIR(0, 69)
  908. }
  909. *case: Option3
  910. {
  911. *PrintableArea: PAIR(6120, 4920)
  912. *PrintableOrigin: PAIR(0, 72)
  913. }
  914. }
  915. }
  916. *case: Option5
  917. {
  918. *PrintableArea: PAIR(6120, 4928)
  919. *PrintableOrigin: PAIR(0, 68)
  920. *switch: Resolution
  921. {
  922. *case: Option1
  923. {
  924. *PrintableArea: PAIR(6120, 4926)
  925. *PrintableOrigin: PAIR(0, 69)
  926. }
  927. *case: Option2
  928. {
  929. *PrintableArea: PAIR(6120, 4926)
  930. *PrintableOrigin: PAIR(0, 69)
  931. }
  932. *case: Option3
  933. {
  934. *PrintableArea: PAIR(6120, 4920)
  935. *PrintableOrigin: PAIR(0, 72)
  936. }
  937. }
  938. }
  939. }
  940. }
  941. *Option: Option8
  942. {
  943. *rcNameID: 260
  944. *PageDimensions: PAIR(10800, 5184)
  945. *Command: CmdSelect
  946. {
  947. *Order: DOC_SETUP.5
  948. *Cmd: "<1B>2<1B>CH"
  949. }
  950. *switch: InputBin
  951. {
  952. *case: TRACTOR
  953. {
  954. *PrintableArea: PAIR(9792, 5184)
  955. *PrintableOrigin: PAIR(0, 0)
  956. }
  957. *case: Option2
  958. {
  959. *PrintableArea: PAIR(9792, 4928)
  960. *PrintableOrigin: PAIR(0, 68)
  961. *switch: Resolution
  962. {
  963. *case: Option1
  964. {
  965. *PrintableArea: PAIR(9792, 4926)
  966. *PrintableOrigin: PAIR(0, 69)
  967. }
  968. *case: Option2
  969. {
  970. *PrintableArea: PAIR(9792, 4926)
  971. *PrintableOrigin: PAIR(0, 69)
  972. }
  973. *case: Option3
  974. {
  975. *PrintableArea: PAIR(9792, 4920)
  976. *PrintableOrigin: PAIR(0, 72)
  977. }
  978. }
  979. }
  980. *case: MANUAL
  981. {
  982. *PrintableArea: PAIR(9792, 4928)
  983. *PrintableOrigin: PAIR(0, 68)
  984. *switch: Resolution
  985. {
  986. *case: Option1
  987. {
  988. *PrintableArea: PAIR(9792, 4926)
  989. *PrintableOrigin: PAIR(0, 69)
  990. }
  991. *case: Option2
  992. {
  993. *PrintableArea: PAIR(9792, 4926)
  994. *PrintableOrigin: PAIR(0, 69)
  995. }
  996. *case: Option3
  997. {
  998. *PrintableArea: PAIR(9792, 4920)
  999. *PrintableOrigin: PAIR(0, 72)
  1000. }
  1001. }
  1002. }
  1003. *case: Option4
  1004. {
  1005. *PrintableArea: PAIR(9792, 4928)
  1006. *PrintableOrigin: PAIR(0, 68)
  1007. *switch: Resolution
  1008. {
  1009. *case: Option1
  1010. {
  1011. *PrintableArea: PAIR(9792, 4926)
  1012. *PrintableOrigin: PAIR(0, 69)
  1013. }
  1014. *case: Option2
  1015. {
  1016. *PrintableArea: PAIR(9792, 4926)
  1017. *PrintableOrigin: PAIR(0, 69)
  1018. }
  1019. *case: Option3
  1020. {
  1021. *PrintableArea: PAIR(9792, 4920)
  1022. *PrintableOrigin: PAIR(0, 72)
  1023. }
  1024. }
  1025. }
  1026. *case: Option5
  1027. {
  1028. *PrintableArea: PAIR(9792, 4928)
  1029. *PrintableOrigin: PAIR(0, 68)
  1030. *switch: Resolution
  1031. {
  1032. *case: Option1
  1033. {
  1034. *PrintableArea: PAIR(9792, 4926)
  1035. *PrintableOrigin: PAIR(0, 69)
  1036. }
  1037. *case: Option2
  1038. {
  1039. *PrintableArea: PAIR(9792, 4926)
  1040. *PrintableOrigin: PAIR(0, 69)
  1041. }
  1042. *case: Option3
  1043. {
  1044. *PrintableArea: PAIR(9792, 4920)
  1045. *PrintableOrigin: PAIR(0, 72)
  1046. }
  1047. }
  1048. }
  1049. }
  1050. }
  1051. *Option: CUSTOMSIZE
  1052. {
  1053. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1054. *MinSize: PAIR(720, 432)
  1055. *MaxSize: PAIR(11880, 9504)
  1056. *MaxPrintableWidth: 9792
  1057. *MinLeftMargin: 0
  1058. *CenterPrintable?: FALSE
  1059. *switch: InputBin
  1060. {
  1061. *case: TRACTOR
  1062. {
  1063. *TopMargin: 0
  1064. *BottomMargin: 0
  1065. }
  1066. *case: Option2
  1067. {
  1068. *TopMargin: 68
  1069. *BottomMargin: 188
  1070. }
  1071. *case: MANUAL
  1072. {
  1073. *TopMargin: 68
  1074. *BottomMargin: 188
  1075. }
  1076. *case: Option4
  1077. {
  1078. *TopMargin: 68
  1079. *BottomMargin: 188
  1080. }
  1081. *case: Option5
  1082. {
  1083. *TopMargin: 68
  1084. *BottomMargin: 188
  1085. }
  1086. }
  1087. *Command: CmdSelect
  1088. {
  1089. *Order: DOC_SETUP.5
  1090. *Cmd: "<1B>2"
  1091. }
  1092. }
  1093. }
  1094. *Feature: PrintQuality
  1095. {
  1096. *rcNameID: =TEXT_QUALITY_DISPLAY
  1097. *DefaultOption: NEAR_LETTER_QUALITY
  1098. *Option: NEAR_LETTER_QUALITY
  1099. {
  1100. *rcNameID: =NEAR_LETTER_QUALITY_DISPLAY
  1101. *Command: CmdSelect
  1102. {
  1103. *Order: DOC_SETUP.3
  1104. *Cmd: "<1B>x<01><1B>z<00>"
  1105. }
  1106. }
  1107. *Option: DRAFT_QUALITY
  1108. {
  1109. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1110. *Command: CmdSelect
  1111. {
  1112. *Order: DOC_SETUP.3
  1113. *Cmd: "<1B>x<00><1B>z<00>"
  1114. }
  1115. }
  1116. *Option: Option3
  1117. {
  1118. *rcNameID: 264
  1119. *Command: CmdSelect
  1120. {
  1121. *Order: DOC_SETUP.3
  1122. *Cmd: "<1B>x0<1B>z<01>"
  1123. }
  1124. }
  1125. }
  1126. *Feature: ColorMode
  1127. {
  1128. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1129. *DefaultOption: Color
  1130. *Option: Mono
  1131. {
  1132. *rcNameID: =MONO_DISPLAY
  1133. *DevNumOfPlanes: 1
  1134. *DevBPP: 1
  1135. *Color? : FALSE
  1136. }
  1137. *Option: Color
  1138. {
  1139. *rcNameID: =COLOR_DISPLAY
  1140. *DevNumOfPlanes: 4
  1141. *DevBPP: 1
  1142. *DrvBPP: 4
  1143. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  1144. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1145. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1146. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1147. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1148. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1149. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1150. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1151. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1152. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1153. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1154. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1155. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1156. }
  1157. }
  1158. *Feature: Halftone
  1159. {
  1160. *rcNameID: =HALFTONING_DISPLAY
  1161. *DefaultOption: HT_PATSIZE_AUTO
  1162. *Option: HT_PATSIZE_AUTO
  1163. {
  1164. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1165. }
  1166. *Ifdef: WINNT_50
  1167. *Option: HT_PATSIZE_SUPERCELL_M
  1168. {
  1169. *rcNameID: =HT_SUPERCELL_DISPLAY
  1170. }
  1171. *Endif:
  1172. *Option: HT_PATSIZE_6x6_M
  1173. {
  1174. *rcNameID: =HT_DITHER6X6_DISPLAY
  1175. }
  1176. *Option: HT_PATSIZE_8x8_M
  1177. {
  1178. *rcNameID: =HT_DITHER8X8_DISPLAY
  1179. }
  1180. }
  1181. *Command: CmdStartDoc
  1182. {
  1183. *Order: DOC_SETUP.1
  1184. *Cmd: "<1B>@<1B>t<011B>6<1B>[T<0400000003>R"
  1185. }
  1186. *Command: CmdStartPage
  1187. {
  1188. *Order: PAGE_SETUP.1
  1189. *Cmd: "<0D>"
  1190. }
  1191. *RotateCoordinate?: FALSE
  1192. *RotateRaster?: FALSE
  1193. *RotateFont?: FALSE
  1194. *switch: Orientation
  1195. {
  1196. *case: PORTRAIT
  1197. {
  1198. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1199. }
  1200. *case: LANDSCAPE_CC270
  1201. {
  1202. *TextCaps: LIST(TC_RA_ABLE)
  1203. }
  1204. }
  1205. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1206. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1207. *MaxLineSpacing: 255
  1208. *XMoveThreshold: 0
  1209. *YMoveThreshold: *
  1210. *XMoveUnit: 60
  1211. *YMoveUnit: 216
  1212. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  1213. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 2) )} }
  1214. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[2,255]{(LinefeedSpacing / 2) } }
  1215. *Command: CmdCR { *Cmd : "<0D>" }
  1216. *Command: CmdLF { *Cmd : "<0A>" }
  1217. *Command: CmdFF { *Cmd : "<0C>" }
  1218. *Command: CmdBackSpace { *Cmd : "<08>" }
  1219. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  1220. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  1221. *EjectPageWithFF?: TRUE
  1222. *switch: PaperSize
  1223. {
  1224. *case: CUSTOMSIZE
  1225. {
  1226. *EjectPageWithFF?: FALSE
  1227. *switch: InputBin
  1228. {
  1229. *case: Option2
  1230. {
  1231. *EjectPageWithFF?: TRUE
  1232. }
  1233. *case: MANUAL
  1234. {
  1235. *EjectPageWithFF?: TRUE
  1236. }
  1237. *case: Option4
  1238. {
  1239. *EjectPageWithFF?: TRUE
  1240. }
  1241. *case: Option5
  1242. {
  1243. *EjectPageWithFF?: TRUE
  1244. }
  1245. }
  1246. }
  1247. }
  1248. *OutputDataFormat: V_BYTE
  1249. *OptimizeLeftBound?: TRUE
  1250. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1251. *CursorYAfterSendBlockData: NO_MOVE
  1252. *DefaultFont: 118
  1253. *DefaultCTT: 1
  1254. *switch: Orientation
  1255. {
  1256. *case: PORTRAIT
  1257. {
  1258. *DeviceFonts: LIST(8,9,10,11,12,13,14,22,23,24,25,26,27,
  1259. + 118,119,120,121,123,124,125,126,127,128,129,
  1260. + 130,131,15,16,17,18,19,20,132,133,134,135,
  1261. + 136,137,138,139,140,141,142,143,144,145)
  1262. }
  1263. *case: LANDSCAPE_CC270
  1264. {
  1265. *DeviceFonts: LIST()
  1266. }
  1267. }
  1268. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1269. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1270. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1271. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1272. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1273. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }