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.

1322 lines
37 KiB

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