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.

1525 lines
43 KiB

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