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.

1261 lines
39 KiB

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