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.

985 lines
28 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "STLC2415.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Star LC24-15"
  10. *MasterUnits: PAIR(720, 720)
  11. *ResourceDLL: "str24res.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: MANUAL
  30. *Option: TRACTOR
  31. {
  32. *rcNameID: =TRACTOR_DISPLAY
  33. }
  34. *Option: Option2
  35. {
  36. *rcNameID: 264
  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: Option1
  57. *Option: Option1
  58. {
  59. *Name: "180 x 180 " =DOTS_PER_INCH
  60. *DPI: PAIR(180, 180)
  61. *TextDPI: PAIR(180, 180)
  62. *PinsPerLogPass: 24
  63. *PinsPerPhysPass: 24
  64. *MinStripBlankPixels: 90
  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 360 " =DOTS_PER_INCH
  72. *DPI: PAIR(360, 360)
  73. *TextDPI: PAIR(360, 360)
  74. *PinsPerLogPass: 48
  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: "360 x 180 " =DOTS_PER_INCH
  84. *DPI: PAIR(360, 180)
  85. *TextDPI: PAIR(360, 180)
  86. *PinsPerLogPass: 24
  87. *PinsPerPhysPass: 24
  88. *MinStripBlankPixels: 180
  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: A4
  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(6120, 7920)
  123. *PrintableOrigin: PAIR(0, 0)
  124. }
  125. *case: Option2
  126. {
  127. *PrintableArea: PAIR(6120, 6795)
  128. *PrintableOrigin: PAIR(0, 720)
  129. *switch: Resolution
  130. {
  131. *case: Option1
  132. {
  133. *PrintableArea: PAIR(6120, 6792)
  134. }
  135. *case: Option2
  136. {
  137. *PrintableArea: PAIR(6120, 6794)
  138. }
  139. *case: Option3
  140. {
  141. *PrintableArea: PAIR(6120, 6792)
  142. }
  143. *case: Option4
  144. {
  145. *PrintableArea: PAIR(6120, 6792)
  146. }
  147. }
  148. }
  149. *case: MANUAL
  150. {
  151. *PrintableArea: PAIR(6120, 6795)
  152. *PrintableOrigin: PAIR(0, 720)
  153. *switch: Resolution
  154. {
  155. *case: Option1
  156. {
  157. *PrintableArea: PAIR(6120, 6792)
  158. }
  159. *case: Option2
  160. {
  161. *PrintableArea: PAIR(6120, 6794)
  162. }
  163. *case: Option3
  164. {
  165. *PrintableArea: PAIR(6120, 6792)
  166. }
  167. *case: Option4
  168. {
  169. *PrintableArea: PAIR(6120, 6792)
  170. }
  171. }
  172. }
  173. }
  174. }
  175. *Option: LEGAL
  176. {
  177. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  178. *Command: CmdSelect
  179. {
  180. *Order: DOC_SETUP.4
  181. *Cmd: "<1B>2<1B>CT"
  182. }
  183. *switch: InputBin
  184. {
  185. *case: TRACTOR
  186. {
  187. *PrintableArea: PAIR(6120, 10080)
  188. *PrintableOrigin: PAIR(0, 0)
  189. }
  190. *case: Option2
  191. {
  192. *PrintableArea: PAIR(6120, 8955)
  193. *PrintableOrigin: PAIR(0, 720)
  194. *switch: Resolution
  195. {
  196. *case: Option1
  197. {
  198. *PrintableArea: PAIR(6120, 8952)
  199. }
  200. *case: Option2
  201. {
  202. *PrintableArea: PAIR(6120, 8954)
  203. }
  204. *case: Option3
  205. {
  206. *PrintableArea: PAIR(6120, 8952)
  207. }
  208. *case: Option4
  209. {
  210. *PrintableArea: PAIR(6120, 8952)
  211. }
  212. }
  213. }
  214. *case: MANUAL
  215. {
  216. *PrintableArea: PAIR(6120, 8955)
  217. *PrintableOrigin: PAIR(0, 720)
  218. *switch: Resolution
  219. {
  220. *case: Option1
  221. {
  222. *PrintableArea: PAIR(6120, 8952)
  223. }
  224. *case: Option2
  225. {
  226. *PrintableArea: PAIR(6120, 8954)
  227. }
  228. *case: Option3
  229. {
  230. *PrintableArea: PAIR(6120, 8952)
  231. }
  232. *case: Option4
  233. {
  234. *PrintableArea: PAIR(6120, 8952)
  235. }
  236. }
  237. }
  238. }
  239. }
  240. *Option: A3
  241. {
  242. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  243. *Command: CmdSelect
  244. {
  245. *Order: DOC_SETUP.4
  246. *Cmd: "<1B>2<1B>Cc"
  247. }
  248. *switch: InputBin
  249. {
  250. *case: TRACTOR
  251. {
  252. *PrintableArea: PAIR(8417, 11909)
  253. *PrintableOrigin: PAIR(0, 0)
  254. *switch: Resolution
  255. {
  256. *case: Option1
  257. {
  258. *PrintableArea: PAIR(8416, 11908)
  259. }
  260. *case: Option2
  261. {
  262. *PrintableArea: PAIR(8416, 11908)
  263. }
  264. *case: Option3
  265. {
  266. *PrintableArea: PAIR(8416, 11908)
  267. }
  268. *case: Option4
  269. {
  270. *PrintableArea: PAIR(8412, 11908)
  271. }
  272. }
  273. }
  274. *case: Option2
  275. {
  276. *PrintableArea: PAIR(8417, 10784)
  277. *PrintableOrigin: PAIR(0, 720)
  278. *switch: Resolution
  279. {
  280. *case: Option1
  281. {
  282. *PrintableArea: PAIR(8416, 10784)
  283. }
  284. *case: Option2
  285. {
  286. *PrintableArea: PAIR(8416, 10784)
  287. }
  288. *case: Option3
  289. {
  290. *PrintableArea: PAIR(8416, 10784)
  291. }
  292. *case: Option4
  293. {
  294. *PrintableArea: PAIR(8412, 10784)
  295. }
  296. }
  297. }
  298. *case: MANUAL
  299. {
  300. *PrintableArea: PAIR(8417, 10784)
  301. *PrintableOrigin: PAIR(0, 720)
  302. *switch: Resolution
  303. {
  304. *case: Option1
  305. {
  306. *PrintableArea: PAIR(8416, 10784)
  307. }
  308. *case: Option2
  309. {
  310. *PrintableArea: PAIR(8416, 10784)
  311. }
  312. *case: Option3
  313. {
  314. *PrintableArea: PAIR(8416, 10784)
  315. }
  316. *case: Option4
  317. {
  318. *PrintableArea: PAIR(8412, 10784)
  319. }
  320. }
  321. }
  322. }
  323. }
  324. *Option: A4
  325. {
  326. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  327. *Command: CmdSelect
  328. {
  329. *Order: DOC_SETUP.4
  330. *Cmd: "<1B>3<121B>Cu"
  331. }
  332. *switch: InputBin
  333. {
  334. *case: TRACTOR
  335. {
  336. *PrintableArea: PAIR(5954, 8417)
  337. *PrintableOrigin: PAIR(0, 0)
  338. *switch: Resolution
  339. {
  340. *case: Option1
  341. {
  342. *PrintableArea: PAIR(5952, 8416)
  343. }
  344. *case: Option2
  345. {
  346. *PrintableArea: PAIR(5954, 8416)
  347. }
  348. *case: Option3
  349. {
  350. *PrintableArea: PAIR(5954, 8416)
  351. }
  352. *case: Option4
  353. {
  354. *PrintableArea: PAIR(5952, 8416)
  355. }
  356. }
  357. }
  358. *case: Option2
  359. {
  360. *PrintableArea: PAIR(5954, 7292)
  361. *PrintableOrigin: PAIR(0, 720)
  362. *switch: Resolution
  363. {
  364. *case: Option1
  365. {
  366. *PrintableArea: PAIR(5952, 7292)
  367. }
  368. *case: Option4
  369. {
  370. *PrintableArea: PAIR(5952, 7292)
  371. }
  372. }
  373. }
  374. *case: MANUAL
  375. {
  376. *PrintableArea: PAIR(5954, 7292)
  377. *PrintableOrigin: PAIR(0, 720)
  378. *switch: Resolution
  379. {
  380. *case: Option1
  381. {
  382. *PrintableArea: PAIR(5952, 7292)
  383. }
  384. *case: Option4
  385. {
  386. *PrintableArea: PAIR(5952, 7292)
  387. }
  388. }
  389. }
  390. }
  391. }
  392. *Option: B4
  393. {
  394. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  395. *Command: CmdSelect
  396. {
  397. *Order: DOC_SETUP.4
  398. *Cmd: "<1B>2<1B>CT"
  399. }
  400. *switch: InputBin
  401. {
  402. *case: TRACTOR
  403. {
  404. *PrintableArea: PAIR(7085, 10037)
  405. *PrintableOrigin: PAIR(0, 0)
  406. *switch: Resolution
  407. {
  408. *case: Option1
  409. {
  410. *PrintableArea: PAIR(7084, 10036)
  411. }
  412. *case: Option2
  413. {
  414. *PrintableArea: PAIR(7084, 10036)
  415. }
  416. *case: Option3
  417. {
  418. *PrintableArea: PAIR(7084, 10036)
  419. }
  420. *case: Option4
  421. {
  422. *PrintableArea: PAIR(7080, 10036)
  423. }
  424. }
  425. }
  426. *case: Option2
  427. {
  428. *PrintableArea: PAIR(7085, 8912)
  429. *PrintableOrigin: PAIR(0, 720)
  430. *switch: Resolution
  431. {
  432. *case: Option1
  433. {
  434. *PrintableArea: PAIR(7084, 8912)
  435. }
  436. *case: Option2
  437. {
  438. *PrintableArea: PAIR(7084, 8912)
  439. }
  440. *case: Option3
  441. {
  442. *PrintableArea: PAIR(7084, 8912)
  443. }
  444. *case: Option4
  445. {
  446. *PrintableArea: PAIR(7080, 8912)
  447. }
  448. }
  449. }
  450. *case: MANUAL
  451. {
  452. *PrintableArea: PAIR(7085, 8912)
  453. *PrintableOrigin: PAIR(0, 720)
  454. *switch: Resolution
  455. {
  456. *case: Option1
  457. {
  458. *PrintableArea: PAIR(7084, 8912)
  459. }
  460. *case: Option2
  461. {
  462. *PrintableArea: PAIR(7084, 8912)
  463. }
  464. *case: Option3
  465. {
  466. *PrintableArea: PAIR(7084, 8912)
  467. }
  468. *case: Option4
  469. {
  470. *PrintableArea: PAIR(7080, 8912)
  471. }
  472. }
  473. }
  474. }
  475. }
  476. *Option: B5
  477. {
  478. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  479. *Command: CmdSelect
  480. {
  481. *Order: DOC_SETUP.4
  482. *Cmd: "<1B>2<1B>C="
  483. }
  484. *switch: InputBin
  485. {
  486. *case: TRACTOR
  487. {
  488. *PrintableArea: PAIR(5162, 7286)
  489. *PrintableOrigin: PAIR(0, 0)
  490. *switch: Resolution
  491. {
  492. *case: Option1
  493. {
  494. *PrintableArea: PAIR(5160, 7284)
  495. }
  496. *case: Option3
  497. {
  498. *PrintableArea: PAIR(5162, 7284)
  499. }
  500. *case: Option4
  501. {
  502. *PrintableArea: PAIR(5160, 7284)
  503. }
  504. }
  505. }
  506. *case: Option2
  507. {
  508. *PrintableArea: PAIR(5162, 6161)
  509. *PrintableOrigin: PAIR(0, 720)
  510. *switch: Resolution
  511. {
  512. *case: Option1
  513. {
  514. *PrintableArea: PAIR(5160, 6160)
  515. }
  516. *case: Option2
  517. {
  518. *PrintableArea: PAIR(5162, 6160)
  519. }
  520. *case: Option3
  521. {
  522. *PrintableArea: PAIR(5162, 6160)
  523. }
  524. *case: Option4
  525. {
  526. *PrintableArea: PAIR(5160, 6160)
  527. }
  528. }
  529. }
  530. *case: MANUAL
  531. {
  532. *PrintableArea: PAIR(5162, 6161)
  533. *PrintableOrigin: PAIR(0, 720)
  534. *switch: Resolution
  535. {
  536. *case: Option1
  537. {
  538. *PrintableArea: PAIR(5160, 6160)
  539. }
  540. *case: Option2
  541. {
  542. *PrintableArea: PAIR(5162, 6160)
  543. }
  544. *case: Option3
  545. {
  546. *PrintableArea: PAIR(5162, 6160)
  547. }
  548. *case: Option4
  549. {
  550. *PrintableArea: PAIR(5160, 6160)
  551. }
  552. }
  553. }
  554. }
  555. }
  556. *Option: EXECUTIVE
  557. {
  558. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  559. *Command: CmdSelect
  560. {
  561. *Order: DOC_SETUP.4
  562. *Cmd: "<1B>2<1B>C?"
  563. }
  564. *switch: InputBin
  565. {
  566. *case: TRACTOR
  567. {
  568. *PrintableArea: PAIR(5220, 7560)
  569. *PrintableOrigin: PAIR(0, 0)
  570. }
  571. *case: Option2
  572. {
  573. *PrintableArea: PAIR(5220, 6435)
  574. *PrintableOrigin: PAIR(0, 720)
  575. *switch: Resolution
  576. {
  577. *case: Option1
  578. {
  579. *PrintableArea: PAIR(5220, 6432)
  580. }
  581. *case: Option2
  582. {
  583. *PrintableArea: PAIR(5220, 6434)
  584. }
  585. *case: Option3
  586. {
  587. *PrintableArea: PAIR(5220, 6432)
  588. }
  589. *case: Option4
  590. {
  591. *PrintableArea: PAIR(5220, 6432)
  592. }
  593. }
  594. }
  595. *case: MANUAL
  596. {
  597. *PrintableArea: PAIR(5220, 6435)
  598. *PrintableOrigin: PAIR(0, 720)
  599. *switch: Resolution
  600. {
  601. *case: Option1
  602. {
  603. *PrintableArea: PAIR(5220, 6432)
  604. }
  605. *case: Option2
  606. {
  607. *PrintableArea: PAIR(5220, 6434)
  608. }
  609. *case: Option3
  610. {
  611. *PrintableArea: PAIR(5220, 6432)
  612. }
  613. *case: Option4
  614. {
  615. *PrintableArea: PAIR(5220, 6432)
  616. }
  617. }
  618. }
  619. }
  620. }
  621. *Option: Option8
  622. {
  623. *rcNameID: 259
  624. *PageDimensions: PAIR(6120, 8640)
  625. *Command: CmdSelect
  626. {
  627. *Order: DOC_SETUP.4
  628. *Cmd: "<1B>2<1B>CH"
  629. }
  630. *switch: InputBin
  631. {
  632. *case: TRACTOR
  633. {
  634. *PrintableArea: PAIR(6120, 8640)
  635. *PrintableOrigin: PAIR(0, 0)
  636. }
  637. *case: Option2
  638. {
  639. *PrintableArea: PAIR(6120, 7515)
  640. *PrintableOrigin: PAIR(0, 720)
  641. *switch: Resolution
  642. {
  643. *case: Option1
  644. {
  645. *PrintableArea: PAIR(6120, 7512)
  646. }
  647. *case: Option2
  648. {
  649. *PrintableArea: PAIR(6120, 7514)
  650. }
  651. *case: Option3
  652. {
  653. *PrintableArea: PAIR(6120, 7512)
  654. }
  655. *case: Option4
  656. {
  657. *PrintableArea: PAIR(6120, 7512)
  658. }
  659. }
  660. }
  661. *case: MANUAL
  662. {
  663. *PrintableArea: PAIR(6120, 7515)
  664. *PrintableOrigin: PAIR(0, 720)
  665. *switch: Resolution
  666. {
  667. *case: Option1
  668. {
  669. *PrintableArea: PAIR(6120, 7512)
  670. }
  671. *case: Option2
  672. {
  673. *PrintableArea: PAIR(6120, 7514)
  674. }
  675. *case: Option3
  676. {
  677. *PrintableArea: PAIR(6120, 7512)
  678. }
  679. *case: Option4
  680. {
  681. *PrintableArea: PAIR(6120, 7512)
  682. }
  683. }
  684. }
  685. }
  686. }
  687. *Option: Option9
  688. {
  689. *rcNameID: 260
  690. *PageDimensions: PAIR(10800, 8640)
  691. *Command: CmdSelect
  692. {
  693. *Order: DOC_SETUP.4
  694. *Cmd: "<1B>2<1B>CH"
  695. }
  696. *switch: InputBin
  697. {
  698. *case: TRACTOR
  699. {
  700. *PrintableArea: PAIR(9792, 8640)
  701. *PrintableOrigin: PAIR(0, 0)
  702. }
  703. *case: Option2
  704. {
  705. *PrintableArea: PAIR(9792, 7515)
  706. *PrintableOrigin: PAIR(0, 720)
  707. *switch: Resolution
  708. {
  709. *case: Option1
  710. {
  711. *PrintableArea: PAIR(9792, 7512)
  712. }
  713. *case: Option2
  714. {
  715. *PrintableArea: PAIR(9792, 7514)
  716. }
  717. *case: Option3
  718. {
  719. *PrintableArea: PAIR(9792, 7512)
  720. }
  721. *case: Option4
  722. {
  723. *PrintableArea: PAIR(9792, 7512)
  724. }
  725. }
  726. }
  727. *case: MANUAL
  728. {
  729. *PrintableArea: PAIR(9792, 7515)
  730. *PrintableOrigin: PAIR(0, 720)
  731. *switch: Resolution
  732. {
  733. *case: Option1
  734. {
  735. *PrintableArea: PAIR(9792, 7512)
  736. }
  737. *case: Option2
  738. {
  739. *PrintableArea: PAIR(9792, 7514)
  740. }
  741. *case: Option3
  742. {
  743. *PrintableArea: PAIR(9792, 7512)
  744. }
  745. *case: Option4
  746. {
  747. *PrintableArea: PAIR(9792, 7512)
  748. }
  749. }
  750. }
  751. }
  752. }
  753. *Option: Option10
  754. {
  755. *rcNameID: 261
  756. *PageDimensions: PAIR(10800, 7920)
  757. *Command: CmdSelect
  758. {
  759. *Order: DOC_SETUP.4
  760. *Cmd: "<1B>2<1B>CB"
  761. }
  762. *switch: InputBin
  763. {
  764. *case: TRACTOR
  765. {
  766. *PrintableArea: PAIR(9792, 7920)
  767. *PrintableOrigin: PAIR(0, 0)
  768. }
  769. *case: Option2
  770. {
  771. *PrintableArea: PAIR(9792, 6795)
  772. *PrintableOrigin: PAIR(0, 720)
  773. *switch: Resolution
  774. {
  775. *case: Option1
  776. {
  777. *PrintableArea: PAIR(9792, 6792)
  778. }
  779. *case: Option2
  780. {
  781. *PrintableArea: PAIR(9792, 6794)
  782. }
  783. *case: Option3
  784. {
  785. *PrintableArea: PAIR(9792, 6792)
  786. }
  787. *case: Option4
  788. {
  789. *PrintableArea: PAIR(9792, 6792)
  790. }
  791. }
  792. }
  793. *case: MANUAL
  794. {
  795. *PrintableArea: PAIR(9792, 6795)
  796. *PrintableOrigin: PAIR(0, 720)
  797. *switch: Resolution
  798. {
  799. *case: Option1
  800. {
  801. *PrintableArea: PAIR(9792, 6792)
  802. }
  803. *case: Option2
  804. {
  805. *PrintableArea: PAIR(9792, 6794)
  806. }
  807. *case: Option3
  808. {
  809. *PrintableArea: PAIR(9792, 6792)
  810. }
  811. *case: Option4
  812. {
  813. *PrintableArea: PAIR(9792, 6792)
  814. }
  815. }
  816. }
  817. }
  818. }
  819. *Option: CUSTOMSIZE
  820. {
  821. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  822. *MinSize: PAIR(720, 720)
  823. *MaxSize: PAIR(11880, 15840)
  824. *MaxPrintableWidth: 9792
  825. *MinLeftMargin: 0
  826. *CenterPrintable?: FALSE
  827. *switch: InputBin
  828. {
  829. *case: TRACTOR
  830. {
  831. *TopMargin: 0
  832. *BottomMargin: 0
  833. }
  834. *case: Option2
  835. {
  836. *TopMargin: 720
  837. *BottomMargin: 405
  838. }
  839. *case: MANUAL
  840. {
  841. *TopMargin: 720
  842. *BottomMargin: 405
  843. }
  844. }
  845. *Command: CmdSelect
  846. {
  847. *Order: DOC_SETUP.4
  848. *Cmd: "<1B>2"
  849. }
  850. }
  851. }
  852. *Feature: PrintQuality
  853. {
  854. *rcNameID: =TEXT_QUALITY_DISPLAY
  855. *DefaultOption: LETTER_QUALITY
  856. *Option: LETTER_QUALITY
  857. {
  858. *rcNameID: =LETTER_QUALITY_DISPLAY
  859. *Command: CmdSelect
  860. {
  861. *Order: DOC_SETUP.2
  862. *Cmd: "<1B>x1"
  863. }
  864. }
  865. *Option: DRAFT_QUALITY
  866. {
  867. *rcNameID: =DRAFT_QUALITY_DISPLAY
  868. *Command: CmdSelect
  869. {
  870. *Order: DOC_SETUP.2
  871. *Cmd: "<1B>x0"
  872. }
  873. }
  874. }
  875. *Feature: Halftone
  876. {
  877. *rcNameID: =HALFTONING_DISPLAY
  878. *DefaultOption: HT_PATSIZE_AUTO
  879. *Option: HT_PATSIZE_AUTO
  880. {
  881. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  882. }
  883. *Ifdef: WINNT_50
  884. *Option: HT_PATSIZE_SUPERCELL_M
  885. {
  886. *rcNameID: =HT_SUPERCELL_DISPLAY
  887. }
  888. *Endif:
  889. *Option: HT_PATSIZE_6x6_M
  890. {
  891. *rcNameID: =HT_DITHER6X6_DISPLAY
  892. }
  893. *Option: HT_PATSIZE_8x8_M
  894. {
  895. *rcNameID: =HT_DITHER8X8_DISPLAY
  896. }
  897. }
  898. *Command: CmdStartDoc
  899. {
  900. *Order: DOC_SETUP.1
  901. *Cmd: "<1B>@<1B>t<011B>6<1B>r<00>"
  902. }
  903. *Command: CmdStartPage
  904. {
  905. *Order: PAGE_SETUP.1
  906. *Cmd: "<0D>"
  907. }
  908. *Command: CmdEndJob
  909. {
  910. *Order: JOB_FINISH.1
  911. *Cmd: "<1B>@"
  912. }
  913. *RotateCoordinate?: FALSE
  914. *RotateRaster?: FALSE
  915. *RotateFont?: FALSE
  916. *switch: Orientation
  917. {
  918. *case: PORTRAIT
  919. {
  920. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  921. }
  922. *case: LANDSCAPE_CC270
  923. {
  924. *TextCaps: LIST(TC_RA_ABLE)
  925. }
  926. }
  927. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  928. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  929. *MaxLineSpacing: 255
  930. *XMoveThreshold: 0
  931. *YMoveThreshold: *
  932. *XMoveUnit: 60
  933. *YMoveUnit: 180
  934. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  935. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  936. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  937. *Command: CmdCR { *Cmd : "<0D>" }
  938. *Command: CmdLF { *Cmd : "<0A>" }
  939. *Command: CmdFF { *Cmd : "<0C>" }
  940. *Command: CmdBackSpace { *Cmd : "<08>" }
  941. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  942. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  943. *EjectPageWithFF?: TRUE
  944. *switch: PaperSize
  945. {
  946. *case: CUSTOMSIZE
  947. {
  948. *EjectPageWithFF?: FALSE
  949. *switch: InputBin
  950. {
  951. *case: Option2
  952. {
  953. *EjectPageWithFF?: TRUE
  954. }
  955. *case: MANUAL
  956. {
  957. *EjectPageWithFF?: TRUE
  958. }
  959. }
  960. }
  961. }
  962. *OutputDataFormat: V_BYTE
  963. *OptimizeLeftBound?: TRUE
  964. *CursorXAfterSendBlockData: AT_GRXDATA_END
  965. *CursorYAfterSendBlockData: NO_MOVE
  966. *DefaultFont: 56
  967. *DefaultCTT: 2
  968. *switch: Orientation
  969. {
  970. *case: PORTRAIT
  971. {
  972. *DeviceFonts: LIST(56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,
  973. + 72,73,74,75,76,77,78,79,80,81,82,83,84,85)
  974. }
  975. *case: LANDSCAPE_CC270
  976. {
  977. *DeviceFonts: LIST()
  978. }
  979. }
  980. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  981. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  982. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  983. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  984. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  985. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }