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.

1379 lines
39 KiB

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