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.

1397 lines
40 KiB

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