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.

1308 lines
36 KiB

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