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.

1194 lines
34 KiB

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