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.

1310 lines
37 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "IBPP2381.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "IBM Personal Printer II 2381"
  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: FANFOLD_LGL_GERMAN
  364. {
  365. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  366. *Command: CmdSelect
  367. {
  368. *Order: DOC_SETUP.8
  369. *Cmd: "<1B>C<000D>"
  370. }
  371. *switch: InputBin
  372. {
  373. *case: TRACTOR
  374. {
  375. *PrintableArea: PAIR(6120, 5616)
  376. *PrintableOrigin: PAIR(0, 0)
  377. }
  378. *case: AUTO
  379. {
  380. *PrintableArea: PAIR(6120, 5400)
  381. *PrintableOrigin: PAIR(0, 81)
  382. *switch: Resolution
  383. {
  384. *case: Option3
  385. {
  386. *PrintableArea: PAIR(6120, 5394)
  387. *PrintableOrigin: PAIR(0, 84)
  388. }
  389. }
  390. }
  391. *case: MANUAL
  392. {
  393. *PrintableArea: PAIR(6120, 5400)
  394. *PrintableOrigin: PAIR(0, 81)
  395. *switch: Resolution
  396. {
  397. *case: Option3
  398. {
  399. *PrintableArea: PAIR(6120, 5394)
  400. *PrintableOrigin: PAIR(0, 84)
  401. }
  402. }
  403. }
  404. }
  405. }
  406. *Option: B5
  407. {
  408. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  409. *Command: CmdSelect
  410. {
  411. *Order: DOC_SETUP.8
  412. *Cmd: "<1B>2<1B>C%<"
  413. }
  414. *switch: InputBin
  415. {
  416. *case: TRACTOR
  417. {
  418. *PrintableArea: PAIR(5162, 4372)
  419. *PrintableOrigin: PAIR(0, 0)
  420. *switch: Resolution
  421. {
  422. *case: Option1
  423. {
  424. *PrintableArea: PAIR(5160, 4371)
  425. }
  426. *case: Option2
  427. {
  428. *PrintableArea: PAIR(5160, 4371)
  429. }
  430. *case: Option3
  431. {
  432. *PrintableArea: PAIR(5160, 4368)
  433. }
  434. }
  435. }
  436. *case: AUTO
  437. {
  438. *PrintableArea: PAIR(5162, 4156)
  439. *PrintableOrigin: PAIR(0, 81)
  440. *switch: Resolution
  441. {
  442. *case: Option1
  443. {
  444. *PrintableArea: PAIR(5160, 4155)
  445. }
  446. *case: Option2
  447. {
  448. *PrintableArea: PAIR(5160, 4155)
  449. }
  450. *case: Option3
  451. {
  452. *PrintableArea: PAIR(5160, 4152)
  453. *PrintableOrigin: PAIR(0, 84)
  454. }
  455. }
  456. }
  457. *case: MANUAL
  458. {
  459. *PrintableArea: PAIR(5162, 4156)
  460. *PrintableOrigin: PAIR(0, 81)
  461. *switch: Resolution
  462. {
  463. *case: Option1
  464. {
  465. *PrintableArea: PAIR(5160, 4155)
  466. }
  467. *case: Option2
  468. {
  469. *PrintableArea: PAIR(5160, 4155)
  470. }
  471. *case: Option3
  472. {
  473. *PrintableArea: PAIR(5160, 4152)
  474. *PrintableOrigin: PAIR(0, 84)
  475. }
  476. }
  477. }
  478. }
  479. }
  480. *Option: FANFOLD_US
  481. {
  482. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  483. *Command: CmdSelect
  484. {
  485. *Order: DOC_SETUP.8
  486. *Cmd: "<1B>C<000B>"
  487. }
  488. *switch: InputBin
  489. {
  490. *case: TRACTOR
  491. {
  492. *PrintableArea: PAIR(9792, 4752)
  493. *PrintableOrigin: PAIR(0, 0)
  494. }
  495. *case: AUTO
  496. {
  497. *PrintableArea: PAIR(9792, 4536)
  498. *PrintableOrigin: PAIR(0, 81)
  499. *switch: Resolution
  500. {
  501. *case: Option3
  502. {
  503. *PrintableArea: PAIR(9792, 4530)
  504. *PrintableOrigin: PAIR(0, 84)
  505. }
  506. }
  507. }
  508. *case: MANUAL
  509. {
  510. *PrintableArea: PAIR(9792, 4536)
  511. *PrintableOrigin: PAIR(0, 81)
  512. *switch: Resolution
  513. {
  514. *case: Option3
  515. {
  516. *PrintableArea: PAIR(9792, 4530)
  517. *PrintableOrigin: PAIR(0, 84)
  518. }
  519. }
  520. }
  521. }
  522. }
  523. *Option: Option9
  524. {
  525. *rcNameID: 259
  526. *PageDimensions: PAIR(2614, 2808)
  527. *RotateSize? : TRUE
  528. *Command: CmdSelect
  529. {
  530. *Order: DOC_SETUP.8
  531. *Cmd: "<1B>C<0006>"
  532. }
  533. *switch: InputBin
  534. {
  535. *case: TRACTOR
  536. {
  537. *PrintableArea: PAIR(2808, 2614)
  538. *PrintableOrigin: PAIR(0, 0)
  539. *switch: Resolution
  540. {
  541. *case: Option1
  542. {
  543. *PrintableArea: PAIR(2808, 2613)
  544. }
  545. *case: Option2
  546. {
  547. *PrintableArea: PAIR(2808, 2613)
  548. }
  549. *case: Option3
  550. {
  551. *PrintableArea: PAIR(2808, 2610)
  552. }
  553. }
  554. }
  555. *case: AUTO
  556. {
  557. *PrintableArea: PAIR(2808, 2398)
  558. *PrintableOrigin: PAIR(0, 81)
  559. *switch: Resolution
  560. {
  561. *case: Option1
  562. {
  563. *PrintableArea: PAIR(2808, 2397)
  564. }
  565. *case: Option2
  566. {
  567. *PrintableArea: PAIR(2808, 2397)
  568. }
  569. *case: Option3
  570. {
  571. *PrintableArea: PAIR(2808, 2394)
  572. *PrintableOrigin: PAIR(0, 84)
  573. }
  574. }
  575. }
  576. *case: MANUAL
  577. {
  578. *PrintableArea: PAIR(2808, 2398)
  579. *PrintableOrigin: PAIR(0, 81)
  580. *switch: Resolution
  581. {
  582. *case: Option1
  583. {
  584. *PrintableArea: PAIR(2808, 2397)
  585. }
  586. *case: Option2
  587. {
  588. *PrintableArea: PAIR(2808, 2397)
  589. }
  590. *case: Option3
  591. {
  592. *PrintableArea: PAIR(2808, 2394)
  593. *PrintableOrigin: PAIR(0, 84)
  594. }
  595. }
  596. }
  597. }
  598. }
  599. *Option: ENV_PERSONAL
  600. {
  601. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  602. *RotateSize? : TRUE
  603. *Command: CmdSelect
  604. {
  605. *Order: DOC_SETUP.8
  606. *Cmd: "<1B>2<1B>C'"
  607. }
  608. *switch: InputBin
  609. {
  610. *case: TRACTOR
  611. {
  612. *PrintableArea: PAIR(2808, 2614)
  613. *PrintableOrigin: PAIR(0, 0)
  614. *switch: Resolution
  615. {
  616. *case: Option1
  617. {
  618. *PrintableArea: PAIR(2808, 2613)
  619. }
  620. *case: Option2
  621. {
  622. *PrintableArea: PAIR(2808, 2613)
  623. }
  624. *case: Option3
  625. {
  626. *PrintableArea: PAIR(2808, 2610)
  627. }
  628. }
  629. }
  630. *case: AUTO
  631. {
  632. *PrintableArea: PAIR(2808, 2398)
  633. *PrintableOrigin: PAIR(0, 81)
  634. *switch: Resolution
  635. {
  636. *case: Option1
  637. {
  638. *PrintableArea: PAIR(2808, 2397)
  639. }
  640. *case: Option2
  641. {
  642. *PrintableArea: PAIR(2808, 2397)
  643. }
  644. *case: Option3
  645. {
  646. *PrintableArea: PAIR(2808, 2394)
  647. *PrintableOrigin: PAIR(0, 84)
  648. }
  649. }
  650. }
  651. *case: MANUAL
  652. {
  653. *PrintableArea: PAIR(2808, 2398)
  654. *PrintableOrigin: PAIR(0, 81)
  655. *switch: Resolution
  656. {
  657. *case: Option1
  658. {
  659. *PrintableArea: PAIR(2808, 2397)
  660. }
  661. *case: Option2
  662. {
  663. *PrintableArea: PAIR(2808, 2397)
  664. }
  665. *case: Option3
  666. {
  667. *PrintableArea: PAIR(2808, 2394)
  668. *PrintableOrigin: PAIR(0, 84)
  669. }
  670. }
  671. }
  672. }
  673. }
  674. *Option: ENV_MONARCH
  675. {
  676. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  677. *RotateSize? : TRUE
  678. *Command: CmdSelect
  679. {
  680. *Order: DOC_SETUP.8
  681. *Cmd: "<1B>2<1B>C-"
  682. }
  683. *switch: InputBin
  684. {
  685. *case: TRACTOR
  686. {
  687. *PrintableArea: PAIR(3240, 2794)
  688. *PrintableOrigin: PAIR(0, 0)
  689. *switch: Resolution
  690. {
  691. *case: Option1
  692. {
  693. *PrintableArea: PAIR(3240, 2793)
  694. }
  695. *case: Option2
  696. {
  697. *PrintableArea: PAIR(3240, 2793)
  698. }
  699. *case: Option3
  700. {
  701. *PrintableArea: PAIR(3240, 2790)
  702. }
  703. }
  704. }
  705. *case: AUTO
  706. {
  707. *PrintableArea: PAIR(3240, 2578)
  708. *PrintableOrigin: PAIR(0, 81)
  709. *switch: Resolution
  710. {
  711. *case: Option1
  712. {
  713. *PrintableArea: PAIR(3240, 2577)
  714. }
  715. *case: Option2
  716. {
  717. *PrintableArea: PAIR(3240, 2577)
  718. }
  719. *case: Option3
  720. {
  721. *PrintableArea: PAIR(3240, 2574)
  722. *PrintableOrigin: PAIR(0, 84)
  723. }
  724. }
  725. }
  726. *case: MANUAL
  727. {
  728. *PrintableArea: PAIR(3240, 2578)
  729. *PrintableOrigin: PAIR(0, 81)
  730. *switch: Resolution
  731. {
  732. *case: Option1
  733. {
  734. *PrintableArea: PAIR(3240, 2577)
  735. }
  736. *case: Option2
  737. {
  738. *PrintableArea: PAIR(3240, 2577)
  739. }
  740. *case: Option3
  741. {
  742. *PrintableArea: PAIR(3240, 2574)
  743. *PrintableOrigin: PAIR(0, 84)
  744. }
  745. }
  746. }
  747. }
  748. }
  749. *Option: ENV_9
  750. {
  751. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  752. *RotateSize? : TRUE
  753. *Command: CmdSelect
  754. {
  755. *Order: DOC_SETUP.8
  756. *Cmd: "<1B>2<1B>C5"
  757. }
  758. *switch: InputBin
  759. {
  760. *case: TRACTOR
  761. {
  762. *PrintableArea: PAIR(3836, 2794)
  763. *PrintableOrigin: PAIR(0, 0)
  764. *switch: Resolution
  765. {
  766. *case: Option1
  767. {
  768. *PrintableArea: PAIR(3834, 2793)
  769. }
  770. *case: Option2
  771. {
  772. *PrintableArea: PAIR(3834, 2793)
  773. }
  774. *case: Option3
  775. {
  776. *PrintableArea: PAIR(3834, 2790)
  777. }
  778. }
  779. }
  780. *case: AUTO
  781. {
  782. *PrintableArea: PAIR(3836, 2578)
  783. *PrintableOrigin: PAIR(0, 81)
  784. *switch: Resolution
  785. {
  786. *case: Option1
  787. {
  788. *PrintableArea: PAIR(3834, 2577)
  789. }
  790. *case: Option2
  791. {
  792. *PrintableArea: PAIR(3834, 2577)
  793. }
  794. *case: Option3
  795. {
  796. *PrintableArea: PAIR(3834, 2574)
  797. *PrintableOrigin: PAIR(0, 84)
  798. }
  799. }
  800. }
  801. *case: MANUAL
  802. {
  803. *PrintableArea: PAIR(3836, 2578)
  804. *PrintableOrigin: PAIR(0, 81)
  805. *switch: Resolution
  806. {
  807. *case: Option1
  808. {
  809. *PrintableArea: PAIR(3834, 2577)
  810. }
  811. *case: Option2
  812. {
  813. *PrintableArea: PAIR(3834, 2577)
  814. }
  815. *case: Option3
  816. {
  817. *PrintableArea: PAIR(3834, 2574)
  818. *PrintableOrigin: PAIR(0, 84)
  819. }
  820. }
  821. }
  822. }
  823. }
  824. *Option: ENV_10
  825. {
  826. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  827. *RotateSize? : TRUE
  828. *Command: CmdSelect
  829. {
  830. *Order: DOC_SETUP.8
  831. *Cmd: "<1B>2<1B>C9"
  832. }
  833. *switch: InputBin
  834. {
  835. *case: TRACTOR
  836. {
  837. *PrintableArea: PAIR(4104, 2974)
  838. *PrintableOrigin: PAIR(0, 0)
  839. *switch: Resolution
  840. {
  841. *case: Option1
  842. {
  843. *PrintableArea: PAIR(4104, 2973)
  844. }
  845. *case: Option2
  846. {
  847. *PrintableArea: PAIR(4104, 2973)
  848. }
  849. *case: Option3
  850. {
  851. *PrintableArea: PAIR(4104, 2970)
  852. }
  853. }
  854. }
  855. *case: AUTO
  856. {
  857. *PrintableArea: PAIR(4104, 2758)
  858. *PrintableOrigin: PAIR(0, 81)
  859. *switch: Resolution
  860. {
  861. *case: Option1
  862. {
  863. *PrintableArea: PAIR(4104, 2757)
  864. }
  865. *case: Option2
  866. {
  867. *PrintableArea: PAIR(4104, 2757)
  868. }
  869. *case: Option3
  870. {
  871. *PrintableArea: PAIR(4104, 2754)
  872. *PrintableOrigin: PAIR(0, 84)
  873. }
  874. }
  875. }
  876. *case: MANUAL
  877. {
  878. *PrintableArea: PAIR(4104, 2758)
  879. *PrintableOrigin: PAIR(0, 81)
  880. *switch: Resolution
  881. {
  882. *case: Option1
  883. {
  884. *PrintableArea: PAIR(4104, 2757)
  885. }
  886. *case: Option2
  887. {
  888. *PrintableArea: PAIR(4104, 2757)
  889. }
  890. *case: Option3
  891. {
  892. *PrintableArea: PAIR(4104, 2754)
  893. *PrintableOrigin: PAIR(0, 84)
  894. }
  895. }
  896. }
  897. }
  898. }
  899. *Option: ENV_DL
  900. {
  901. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  902. *RotateSize? : TRUE
  903. *Command: CmdSelect
  904. {
  905. *Order: DOC_SETUP.8
  906. *Cmd: "<1B>2<1B>C4"
  907. }
  908. *switch: InputBin
  909. {
  910. *case: TRACTOR
  911. {
  912. *PrintableArea: PAIR(3741, 3118)
  913. *PrintableOrigin: PAIR(0, 0)
  914. *switch: Resolution
  915. {
  916. *case: Option1
  917. {
  918. *PrintableArea: PAIR(3741, 3117)
  919. }
  920. *case: Option2
  921. {
  922. *PrintableArea: PAIR(3738, 3117)
  923. }
  924. *case: Option3
  925. {
  926. *PrintableArea: PAIR(3738, 3114)
  927. }
  928. }
  929. }
  930. *case: AUTO
  931. {
  932. *PrintableArea: PAIR(3741, 2902)
  933. *PrintableOrigin: PAIR(0, 81)
  934. *switch: Resolution
  935. {
  936. *case: Option1
  937. {
  938. *PrintableArea: PAIR(3741, 2901)
  939. }
  940. *case: Option2
  941. {
  942. *PrintableArea: PAIR(3738, 2901)
  943. }
  944. *case: Option3
  945. {
  946. *PrintableArea: PAIR(3738, 2898)
  947. *PrintableOrigin: PAIR(0, 84)
  948. }
  949. }
  950. }
  951. *case: MANUAL
  952. {
  953. *PrintableArea: PAIR(3741, 2902)
  954. *PrintableOrigin: PAIR(0, 81)
  955. *switch: Resolution
  956. {
  957. *case: Option1
  958. {
  959. *PrintableArea: PAIR(3741, 2901)
  960. }
  961. *case: Option2
  962. {
  963. *PrintableArea: PAIR(3738, 2901)
  964. }
  965. *case: Option3
  966. {
  967. *PrintableArea: PAIR(3738, 2898)
  968. *PrintableOrigin: PAIR(0, 84)
  969. }
  970. }
  971. }
  972. }
  973. }
  974. *Option: ENV_C6
  975. {
  976. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  977. *RotateSize? : TRUE
  978. *Command: CmdSelect
  979. {
  980. *Order: DOC_SETUP.8
  981. *Cmd: "<1B>2<1B>C&"
  982. }
  983. *switch: InputBin
  984. {
  985. *case: TRACTOR
  986. {
  987. *PrintableArea: PAIR(2756, 3233)
  988. *PrintableOrigin: PAIR(0, 0)
  989. *switch: Resolution
  990. {
  991. *case: Option1
  992. {
  993. *PrintableArea: PAIR(2754, 3231)
  994. }
  995. *case: Option2
  996. {
  997. *PrintableArea: PAIR(2754, 3231)
  998. }
  999. *case: Option3
  1000. {
  1001. *PrintableArea: PAIR(2754, 3228)
  1002. }
  1003. }
  1004. }
  1005. *case: AUTO
  1006. {
  1007. *PrintableArea: PAIR(2756, 3017)
  1008. *PrintableOrigin: PAIR(0, 81)
  1009. *switch: Resolution
  1010. {
  1011. *case: Option1
  1012. {
  1013. *PrintableArea: PAIR(2754, 3015)
  1014. }
  1015. *case: Option2
  1016. {
  1017. *PrintableArea: PAIR(2754, 3015)
  1018. }
  1019. *case: Option3
  1020. {
  1021. *PrintableArea: PAIR(2754, 3012)
  1022. *PrintableOrigin: PAIR(0, 84)
  1023. }
  1024. }
  1025. }
  1026. *case: MANUAL
  1027. {
  1028. *PrintableArea: PAIR(2756, 3017)
  1029. *PrintableOrigin: PAIR(0, 81)
  1030. *switch: Resolution
  1031. {
  1032. *case: Option1
  1033. {
  1034. *PrintableArea: PAIR(2754, 3015)
  1035. }
  1036. *case: Option2
  1037. {
  1038. *PrintableArea: PAIR(2754, 3015)
  1039. }
  1040. *case: Option3
  1041. {
  1042. *PrintableArea: PAIR(2754, 3012)
  1043. *PrintableOrigin: PAIR(0, 84)
  1044. }
  1045. }
  1046. }
  1047. }
  1048. }
  1049. *Option: CUSTOMSIZE
  1050. {
  1051. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1052. *MinSize: PAIR(2160, 1296)
  1053. *MaxSize: PAIR(9792, 6048)
  1054. *MaxPrintableWidth: 9792
  1055. *MinLeftMargin: 0
  1056. *CenterPrintable?: FALSE
  1057. *switch: InputBin
  1058. {
  1059. *case: TRACTOR
  1060. {
  1061. *TopMargin: 0
  1062. *BottomMargin: 0
  1063. }
  1064. *case: AUTO
  1065. {
  1066. *TopMargin: 81
  1067. *BottomMargin: 135
  1068. }
  1069. *case: MANUAL
  1070. {
  1071. *TopMargin: 81
  1072. *BottomMargin: 135
  1073. }
  1074. }
  1075. }
  1076. }
  1077. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.Option9)
  1078. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_PERSONAL)
  1079. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_MONARCH)
  1080. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_9)
  1081. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_10)
  1082. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_DL)
  1083. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_C6)
  1084. *Feature: PrintQuality
  1085. {
  1086. *rcNameID: =TEXT_QUALITY_DISPLAY
  1087. *DefaultOption: NEAR_LETTER_QUALITY
  1088. *Option: NEAR_LETTER_QUALITY
  1089. {
  1090. *rcNameID: =NEAR_LETTER_QUALITY_DISPLAY
  1091. *Command: CmdSelect
  1092. {
  1093. *Order: DOC_SETUP.6
  1094. *Cmd: "<1B>[d<010080>"
  1095. }
  1096. }
  1097. *Option: DRAFT_QUALITY
  1098. {
  1099. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1100. *Command: CmdSelect
  1101. {
  1102. *Order: DOC_SETUP.6
  1103. *Cmd: "<1B>[d<0100>@"
  1104. }
  1105. }
  1106. *Option: Option3
  1107. {
  1108. *rcNameID: 260
  1109. *Command: CmdSelect
  1110. {
  1111. *Order: DOC_SETUP.6
  1112. *Cmd: "<1B>[d<010001>"
  1113. }
  1114. }
  1115. }
  1116. *Feature: Halftone
  1117. {
  1118. *rcNameID: =HALFTONING_DISPLAY
  1119. *DefaultOption: HT_PATSIZE_AUTO
  1120. *Option: HT_PATSIZE_AUTO
  1121. {
  1122. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1123. }
  1124. *Ifdef: WINNT_50
  1125. *Option: HT_PATSIZE_SUPERCELL_M
  1126. {
  1127. *rcNameID: =HT_SUPERCELL_DISPLAY
  1128. }
  1129. *Endif:
  1130. *Option: HT_PATSIZE_6x6_M
  1131. {
  1132. *rcNameID: =HT_DITHER6X6_DISPLAY
  1133. }
  1134. *Option: HT_PATSIZE_8x8_M
  1135. {
  1136. *rcNameID: =HT_DITHER8X8_DISPLAY
  1137. }
  1138. }
  1139. *Command: CmdStartDoc
  1140. {
  1141. *Order: DOC_SETUP.1
  1142. *Cmd: "<1B>[K<030000B6011B>6<1B>[T<0400000003>R"
  1143. }
  1144. *Command: CmdStartPage
  1145. {
  1146. *Order: PAGE_SETUP.1
  1147. *Cmd: "<0D>"
  1148. }
  1149. *Command: CmdEndJob
  1150. {
  1151. *Order: JOB_FINISH.1
  1152. *Cmd: "<181B>[K<030000B600>"
  1153. }
  1154. *RotateCoordinate?: FALSE
  1155. *RotateRaster?: FALSE
  1156. *RotateFont?: FALSE
  1157. *switch: Orientation
  1158. {
  1159. *case: PORTRAIT
  1160. {
  1161. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1162. }
  1163. *case: LANDSCAPE_CC270
  1164. {
  1165. *TextCaps: LIST(TC_RA_ABLE)
  1166. }
  1167. }
  1168. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1169. *YMoveThreshold: *
  1170. *YMoveUnit: 216
  1171. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  1172. *Command: CmdCR { *Cmd : "<0D>" }
  1173. *Command: CmdLF { *Cmd : "<0A>" }
  1174. *Command: CmdFF { *Cmd : "<0C>" }
  1175. *Command: CmdBackSpace { *Cmd : "<08>" }
  1176. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1177. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1178. *EjectPageWithFF?: FALSE
  1179. *switch: PaperSize
  1180. {
  1181. *case: Option9
  1182. {
  1183. *EjectPageWithFF?: FALSE
  1184. *switch: InputBin
  1185. {
  1186. *case: AUTO
  1187. {
  1188. *EjectPageWithFF?: TRUE
  1189. }
  1190. *case: MANUAL
  1191. {
  1192. *EjectPageWithFF?: TRUE
  1193. }
  1194. }
  1195. }
  1196. *case: ENV_PERSONAL
  1197. {
  1198. *EjectPageWithFF?: FALSE
  1199. *switch: InputBin
  1200. {
  1201. *case: AUTO
  1202. {
  1203. *EjectPageWithFF?: TRUE
  1204. }
  1205. *case: MANUAL
  1206. {
  1207. *EjectPageWithFF?: TRUE
  1208. }
  1209. }
  1210. }
  1211. *case: ENV_MONARCH
  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. }
  1225. }
  1226. *case: ENV_9
  1227. {
  1228. *EjectPageWithFF?: FALSE
  1229. *switch: InputBin
  1230. {
  1231. *case: AUTO
  1232. {
  1233. *EjectPageWithFF?: TRUE
  1234. }
  1235. *case: MANUAL
  1236. {
  1237. *EjectPageWithFF?: TRUE
  1238. }
  1239. }
  1240. }
  1241. *case: ENV_10
  1242. {
  1243. *EjectPageWithFF?: FALSE
  1244. *switch: InputBin
  1245. {
  1246. *case: AUTO
  1247. {
  1248. *EjectPageWithFF?: TRUE
  1249. }
  1250. *case: MANUAL
  1251. {
  1252. *EjectPageWithFF?: TRUE
  1253. }
  1254. }
  1255. }
  1256. *case: ENV_DL
  1257. {
  1258. *EjectPageWithFF?: FALSE
  1259. *switch: InputBin
  1260. {
  1261. *case: AUTO
  1262. {
  1263. *EjectPageWithFF?: TRUE
  1264. }
  1265. *case: MANUAL
  1266. {
  1267. *EjectPageWithFF?: TRUE
  1268. }
  1269. }
  1270. }
  1271. *case: ENV_C6
  1272. {
  1273. *EjectPageWithFF?: FALSE
  1274. *switch: InputBin
  1275. {
  1276. *case: AUTO
  1277. {
  1278. *EjectPageWithFF?: TRUE
  1279. }
  1280. *case: MANUAL
  1281. {
  1282. *EjectPageWithFF?: TRUE
  1283. }
  1284. }
  1285. }
  1286. }
  1287. *OutputDataFormat: V_BYTE
  1288. *OptimizeLeftBound?: TRUE
  1289. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1290. *CursorYAfterSendBlockData: NO_MOVE
  1291. *DefaultFont: 6
  1292. *DefaultCTT: -2
  1293. *switch: Orientation
  1294. {
  1295. *case: PORTRAIT
  1296. {
  1297. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  1298. + 17,18,19,20,21,22,23,24,25,26)
  1299. }
  1300. *case: LANDSCAPE_CC270
  1301. {
  1302. *DeviceFonts: LIST()
  1303. }
  1304. }
  1305. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1306. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1307. *Command: CmdItalicOn { *Cmd : "<1B>[@<040001000000>" }
  1308. *Command: CmdItalicOff { *Cmd : "<1B>[@<040002000000>" }
  1309. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1310. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }