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.

1356 lines
38 KiB

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