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.

1260 lines
36 KiB

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