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.

1530 lines
44 KiB

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