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.

1193 lines
34 KiB

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