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.

852 lines
25 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "Stlc7211.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Star LC-7211"
  10. *MasterUnits: PAIR(720, 432)
  11. *ResourceDLL: "Str9eres.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: MANUAL
  35. {
  36. *rcNameID: =MANUAL_FEED_DISPLAY
  37. }
  38. }
  39. *Feature: Resolution
  40. {
  41. *rcNameID: =RESOLUTION_DISPLAY
  42. *DefaultOption: Option1
  43. *Option: Option1
  44. {
  45. *Name: "240 x 144 " =DOTS_PER_INCH
  46. *DPI: PAIR(240, 144)
  47. *TextDPI: PAIR(240, 144)
  48. *PinsPerLogPass: 16
  49. *PinsPerPhysPass: 8
  50. *MinStripBlankPixels: 240
  51. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  52. *SpotDiameter: 170
  53. *Command: CmdSendBlockData { *Cmd : "<1B>Z" %l{NumOfDataBytes} }
  54. }
  55. *Option: Option2
  56. {
  57. *Name: "120 x 144 " =DOTS_PER_INCH
  58. *DPI: PAIR(120, 144)
  59. *TextDPI: PAIR(120, 144)
  60. *PinsPerLogPass: 16
  61. *PinsPerPhysPass: 8
  62. *MinStripBlankPixels: 120
  63. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  64. *SpotDiameter: 140
  65. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  66. }
  67. *Option: Option3
  68. {
  69. *Name: "120 x 72 " =DOTS_PER_INCH
  70. *DPI: PAIR(120, 72)
  71. *TextDPI: PAIR(120, 72)
  72. *PinsPerLogPass: 8
  73. *PinsPerPhysPass: 8
  74. *MinStripBlankPixels: 120
  75. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  76. *SpotDiameter: 100
  77. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  78. }
  79. }
  80. *Feature: PaperSize
  81. {
  82. *rcNameID: =PAPER_SIZE_DISPLAY
  83. *DefaultOption: A4
  84. *Option: LETTER
  85. {
  86. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  87. *Command: CmdSelect
  88. {
  89. *Order: DOC_SETUP.5
  90. *Cmd: "<1B>2<1B>CB"
  91. }
  92. *switch: InputBin
  93. {
  94. *case: TRACTOR
  95. {
  96. *PrintableArea: PAIR(5880, 4752)
  97. *PrintableOrigin: PAIR(120, 0)
  98. }
  99. *case: MANUAL
  100. {
  101. *PrintableArea: PAIR(5880, 4572)
  102. *PrintableOrigin: PAIR(120, 72)
  103. *switch: Resolution
  104. {
  105. *case: Option1
  106. {
  107. *PrintableArea: PAIR(5880, 4572)
  108. *PrintableOrigin: PAIR(120, 72)
  109. }
  110. *case: Option2
  111. {
  112. *PrintableArea: PAIR(5880, 4572)
  113. *PrintableOrigin: PAIR(120, 72)
  114. }
  115. *case: Option3
  116. {
  117. *PrintableArea: PAIR(5880, 4572)
  118. *PrintableOrigin: PAIR(120, 72)
  119. }
  120. }
  121. }
  122. }
  123. }
  124. *% "Letter Transverse 11 x 8.5 in"
  125. *Option: Option2
  126. {
  127. *rcNameID: 258
  128. *OptionID: 258
  129. *PageDimensions: PAIR(7920, 3672)
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.5
  133. *Cmd: "<1B>2<1B>C3"
  134. }
  135. *switch: InputBin
  136. {
  137. *case: TRACTOR
  138. {
  139. *PrintableArea: PAIR(7620, 3672)
  140. *PrintableOrigin: PAIR(120, 0)
  141. }
  142. *case: MANUAL
  143. {
  144. *PrintableArea: PAIR(7620, 3492)
  145. *PrintableOrigin: PAIR(120, 72)
  146. *switch: Resolution
  147. {
  148. *case: Option1
  149. {
  150. *PrintableArea: PAIR(7620, 3492)
  151. *PrintableOrigin: PAIR(120, 72)
  152. }
  153. *case: Option2
  154. {
  155. *PrintableArea: PAIR(7620, 3492)
  156. *PrintableOrigin: PAIR(120, 72)
  157. }
  158. *case: Option3
  159. {
  160. *PrintableArea: PAIR(7620, 3492)
  161. *PrintableOrigin: PAIR(120, 72)
  162. }
  163. }
  164. }
  165. }
  166. }
  167. *Option: LEGAL
  168. {
  169. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  170. *Command: CmdSelect
  171. {
  172. *Order: DOC_SETUP.5
  173. *Cmd: "<1B>2<1B>CT"
  174. }
  175. *switch: InputBin
  176. {
  177. *case: TRACTOR
  178. {
  179. *PrintableArea: PAIR(6000, 6048)
  180. *PrintableOrigin: PAIR(120, 0)
  181. }
  182. *case: MANUAL
  183. {
  184. *PrintableArea: PAIR(6000, 5868)
  185. *PrintableOrigin: PAIR(120, 72)
  186. *switch: Resolution
  187. {
  188. *case: Option1
  189. {
  190. *PrintableArea: PAIR(6000, 5868)
  191. *PrintableOrigin: PAIR(120, 72)
  192. }
  193. *case: Option2
  194. {
  195. *PrintableArea: PAIR(6000, 5868)
  196. *PrintableOrigin: PAIR(120, 72)
  197. }
  198. *case: Option3
  199. {
  200. *PrintableArea: PAIR(6000, 5868)
  201. *PrintableOrigin: PAIR(120, 72)
  202. }
  203. }
  204. }
  205. }
  206. }
  207. *Option: EXECUTIVE
  208. {
  209. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  210. *Command: CmdSelect
  211. {
  212. *Order: DOC_SETUP.5
  213. *Cmd: "<1B>2<1B>C?"
  214. }
  215. *switch: InputBin
  216. {
  217. *case: TRACTOR
  218. {
  219. *PrintableArea: PAIR(4980, 4536)
  220. *PrintableOrigin: PAIR(120, 0)
  221. }
  222. *case: MANUAL
  223. {
  224. *PrintableArea: PAIR(4980, 4356)
  225. *PrintableOrigin: PAIR(120, 72)
  226. *switch: Resolution
  227. {
  228. *case: Option1
  229. {
  230. *PrintableArea: PAIR(4980, 4356)
  231. *PrintableOrigin: PAIR(120, 72)
  232. }
  233. *case: Option2
  234. {
  235. *PrintableArea: PAIR(4980, 4356)
  236. *PrintableOrigin: PAIR(120, 72)
  237. }
  238. *case: Option3
  239. {
  240. *PrintableArea: PAIR(4980, 4356)
  241. *PrintableOrigin: PAIR(120, 72)
  242. }
  243. }
  244. }
  245. }
  246. }
  247. *Option: A3
  248. {
  249. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  250. *Command: CmdSelect
  251. {
  252. *Order: DOC_SETUP.4
  253. *Cmd: "<1B>2<1B>Cc"
  254. }
  255. *switch: InputBin
  256. {
  257. *case: TRACTOR
  258. {
  259. *PrintableArea: PAIR(8178, 7143)
  260. *PrintableOrigin: PAIR(120, 0)
  261. }
  262. *case: MANUAL
  263. {
  264. *PrintableArea: PAIR(8178, 6963)
  265. *PrintableOrigin: PAIR(120, 72)
  266. *switch: Resolution
  267. {
  268. *case: Option1
  269. {
  270. *PrintableArea: PAIR(8178, 6963)
  271. *PrintableOrigin: PAIR(120, 72)
  272. }
  273. *case: Option2
  274. {
  275. *PrintableArea: PAIR(8178, 6963)
  276. *PrintableOrigin: PAIR(120, 72)
  277. }
  278. *case: Option3
  279. {
  280. *PrintableArea: PAIR(8178, 6963)
  281. *PrintableOrigin: PAIR(120, 72)
  282. }
  283. }
  284. }
  285. }
  286. }
  287. *Option: A4
  288. {
  289. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  290. *Command: CmdSelect
  291. {
  292. *Order: DOC_SETUP.5
  293. *Cmd: "<1B>2<1B>CF"
  294. }
  295. *switch: InputBin
  296. {
  297. *case: TRACTOR
  298. {
  299. *PrintableArea: PAIR(5712, 5049)
  300. *PrintableOrigin: PAIR(120, 0)
  301. }
  302. *case: MANUAL
  303. {
  304. *PrintableArea: PAIR(5760, 4869)
  305. *PrintableOrigin: PAIR(120, 72)
  306. *switch: Resolution
  307. {
  308. *case: Option1
  309. {
  310. *PrintableArea: PAIR(5760, 4869)
  311. *PrintableOrigin: PAIR(120, 72)
  312. }
  313. *case: Option2
  314. {
  315. *PrintableArea: PAIR(5760, 4869)
  316. *PrintableOrigin: PAIR(120, 72)
  317. }
  318. *case: Option3
  319. {
  320. *PrintableArea: PAIR(5760, 4869)
  321. *PrintableOrigin: PAIR(120, 72)
  322. }
  323. }
  324. }
  325. }
  326. }
  327. *% "A4 Transverse 297 x 210mm"
  328. *Option: Option7
  329. {
  330. *rcNameID: 260
  331. *OptionID: 260
  332. *PageDimensions: PAIR(8418, 3571)
  333. *Command: CmdSelect
  334. {
  335. *Order: DOC_SETUP.5
  336. *Cmd: "<1B>2<1B>C1"
  337. }
  338. *switch: InputBin
  339. {
  340. *case: TRACTOR
  341. {
  342. *PrintableArea: PAIR(8178, 3570)
  343. *PrintableOrigin: PAIR(120, 0)
  344. }
  345. *case: MANUAL
  346. {
  347. *PrintableArea: PAIR(8178, 3390)
  348. *PrintableOrigin: PAIR(120, 72)
  349. *switch: Resolution
  350. {
  351. *case: Option1
  352. {
  353. *PrintableArea: PAIR(8178, 3390)
  354. *PrintableOrigin: PAIR(120, 72)
  355. }
  356. *case: Option2
  357. {
  358. *PrintableArea: PAIR(8178, 3390)
  359. *PrintableOrigin: PAIR(120, 72)
  360. }
  361. *case: Option3
  362. {
  363. *PrintableArea: PAIR(8178, 3390)
  364. *PrintableOrigin: PAIR(120, 72)
  365. }
  366. }
  367. }
  368. }
  369. }
  370. *Option: A5
  371. {
  372. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  373. *Command: CmdSelect
  374. {
  375. *Order: DOC_SETUP.5
  376. *Cmd: "<1B>2<1B>C1"
  377. }
  378. *switch: InputBin
  379. {
  380. *case: TRACTOR
  381. {
  382. *PrintableArea: PAIR(3954, 3570)
  383. *PrintableOrigin: PAIR(120, 0)
  384. }
  385. *case: MANUAL
  386. {
  387. *PrintableArea: PAIR(3954, 3390)
  388. *PrintableOrigin: PAIR(120, 72)
  389. *switch: Resolution
  390. {
  391. *case: Option1
  392. {
  393. *PrintableArea: PAIR(3954, 3390)
  394. *PrintableOrigin: PAIR(120, 72)
  395. }
  396. *case: Option2
  397. {
  398. *PrintableArea: PAIR(3954, 3390)
  399. *PrintableOrigin: PAIR(120, 72)
  400. }
  401. *case: Option3
  402. {
  403. *PrintableArea: PAIR(7045, 3390)
  404. *PrintableOrigin: PAIR(120, 72)
  405. }
  406. }
  407. }
  408. }
  409. }
  410. *Option: B4
  411. {
  412. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  413. *Command: CmdSelect
  414. {
  415. *Order: DOC_SETUP.5
  416. *Cmd: "<1B>2<1B>CU"
  417. }
  418. *switch: InputBin
  419. {
  420. *case: TRACTOR
  421. {
  422. *PrintableArea: PAIR(7044, 6189)
  423. *PrintableOrigin: PAIR(120, 0)
  424. }
  425. *case: MANUAL
  426. {
  427. *PrintableArea: PAIR(7045, 6009)
  428. *PrintableOrigin: PAIR(120, 72)
  429. *switch: Resolution
  430. {
  431. *case: Option1
  432. {
  433. *PrintableArea: PAIR(7044, 6006)
  434. *PrintableOrigin: PAIR(120, 72)
  435. }
  436. *case: Option2
  437. {
  438. *PrintableArea: PAIR(7045, 6009)
  439. *PrintableOrigin: PAIR(120, 72)
  440. }
  441. *case: Option3
  442. {
  443. *PrintableArea: PAIR(7045, 6009)
  444. *PrintableOrigin: PAIR(120, 72)
  445. }
  446. }
  447. }
  448. }
  449. }
  450. *Option: B5
  451. {
  452. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  453. *Command: CmdSelect
  454. {
  455. *Order: DOC_SETUP.5
  456. *Cmd: "<1B>2<1B>C<3C>"
  457. }
  458. *switch: InputBin
  459. {
  460. *case: TRACTOR
  461. {
  462. *PrintableArea: PAIR(4917, 4371)
  463. *PrintableOrigin: PAIR(120, 0)
  464. }
  465. *case: MANUAL
  466. {
  467. *PrintableArea: PAIR(4917, 4191)
  468. *PrintableOrigin: PAIR(120, 72)
  469. *switch: Resolution
  470. {
  471. *case: Option1
  472. {
  473. *PrintableArea: PAIR(4917, 4191)
  474. *PrintableOrigin: PAIR(120, 72)
  475. }
  476. *case: Option2
  477. {
  478. *PrintableArea: PAIR(4917, 4191)
  479. *PrintableOrigin: PAIR(120, 72)
  480. }
  481. *case: Option3
  482. {
  483. *PrintableArea: PAIR(4917, 4191)
  484. *PrintableOrigin: PAIR(120, 72)
  485. }
  486. }
  487. }
  488. }
  489. }
  490. *% "Fanfold 8.5 x 12 inch"
  491. *Option: Option11
  492. {
  493. *rcNameID: 263
  494. *OptionID: 263
  495. *PageDimensions: PAIR(6120, 5184)
  496. *Command: CmdSelect
  497. {
  498. *Order: DOC_SETUP.5
  499. *Cmd: "<1B>2<1B>CH"
  500. }
  501. *switch: InputBin
  502. {
  503. *case: TRACTOR
  504. {
  505. *PrintableArea: PAIR(5760, 5184)
  506. *PrintableOrigin: PAIR(360, 0)
  507. }
  508. *case: MANUAL
  509. {
  510. *PrintableArea: PAIR(5760, 5004)
  511. *PrintableOrigin: PAIR(360, 72)
  512. *switch: Resolution
  513. {
  514. *case: Option1
  515. {
  516. *PrintableArea: PAIR(5760, 5004)
  517. *PrintableOrigin: PAIR(360, 72)
  518. }
  519. *case: Option2
  520. {
  521. *PrintableArea: PAIR(5760, 5004)
  522. *PrintableOrigin: PAIR(360, 72)
  523. }
  524. *case: Option3
  525. {
  526. *PrintableArea: PAIR(5760, 5004)
  527. *PrintableOrigin: PAIR(360, 72)
  528. }
  529. }
  530. }
  531. }
  532. }
  533. *% "Fanfold 8.5 x 11 inch"
  534. *Option: Option12
  535. {
  536. *rcNameID: 281
  537. *OptionID: 281
  538. *PageDimensions: PAIR(6120, 4752)
  539. *Command: CmdSelect
  540. {
  541. *Order: DOC_SETUP.5
  542. *Cmd: "<1B>2<1B>CB"
  543. }
  544. *switch: InputBin
  545. {
  546. *case: TRACTOR
  547. {
  548. *PrintableArea: PAIR(5760, 4752)
  549. *PrintableOrigin: PAIR(360, 0)
  550. }
  551. *case: MANUAL
  552. {
  553. *PrintableArea: PAIR(5760, 4572)
  554. *PrintableOrigin: PAIR(360, 72)
  555. *switch: Resolution
  556. {
  557. *case: Option1
  558. {
  559. *PrintableArea: PAIR(5760, 4572)
  560. *PrintableOrigin: PAIR(360, 72)
  561. }
  562. *case: Option2
  563. {
  564. *PrintableArea: PAIR(5760, 4572)
  565. *PrintableOrigin: PAIR(360, 72)
  566. }
  567. *case: Option3
  568. {
  569. *PrintableArea: PAIR(5760, 4572)
  570. *PrintableOrigin: PAIR(360, 72)
  571. }
  572. }
  573. }
  574. }
  575. }
  576. *% "Fanfold 12 x 12 inch"
  577. *Option: Option13
  578. {
  579. *rcNameID: 282
  580. *OptionID: 282
  581. *PageDimensions: PAIR(8640, 5184)
  582. *Command: CmdSelect
  583. {
  584. *Order: DOC_SETUP.5
  585. *Cmd: "<1B>2<1B>CH"
  586. }
  587. *switch: InputBin
  588. {
  589. *case: TRACTOR
  590. {
  591. *PrintableArea: PAIR(7920, 5184)
  592. *PrintableOrigin: PAIR(360, 0)
  593. }
  594. *case: MANUAL
  595. {
  596. *PrintableArea: PAIR(7920, 5004)
  597. *PrintableOrigin: PAIR(360, 72)
  598. *switch: Resolution
  599. {
  600. *case: Option1
  601. {
  602. *PrintableArea: PAIR(7920, 5004)
  603. *PrintableOrigin: PAIR(360, 72)
  604. }
  605. *case: Option2
  606. {
  607. *PrintableArea: PAIR(7920, 5004)
  608. *PrintableOrigin: PAIR(360, 72)
  609. }
  610. *case: Option3
  611. {
  612. *PrintableArea: PAIR(7920, 5004)
  613. *PrintableOrigin: PAIR(360, 72)
  614. }
  615. }
  616. }
  617. }
  618. }
  619. *% "Fanfold 12 x 11 inch"
  620. *Option: Option14
  621. {
  622. *rcNameID: 283
  623. *OptionID: 283
  624. *PageDimensions: PAIR(8640, 4752)
  625. *Command: CmdSelect
  626. {
  627. *Order: DOC_SETUP.5
  628. *Cmd: "<1B>2<1B>CB"
  629. }
  630. *switch: InputBin
  631. {
  632. *case: TRACTOR
  633. {
  634. *PrintableArea: PAIR(7920, 4752)
  635. *PrintableOrigin: PAIR(360, 0)
  636. }
  637. *case: MANUAL
  638. {
  639. *PrintableArea: PAIR(7920, 4392)
  640. *PrintableOrigin: PAIR(360, 72)
  641. *switch: Resolution
  642. {
  643. *case: Option1
  644. {
  645. *PrintableArea: PAIR(7920, 4392)
  646. *PrintableOrigin: PAIR(360, 72)
  647. }
  648. *case: Option2
  649. {
  650. *PrintableArea: PAIR(7920, 4392)
  651. *PrintableOrigin: PAIR(360, 72)
  652. }
  653. *case: Option3
  654. {
  655. *PrintableArea: PAIR(7920, 4392)
  656. *PrintableOrigin: PAIR(360, 72)
  657. }
  658. }
  659. }
  660. }
  661. }
  662. *Option: ENV_10
  663. {
  664. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  665. *Command: CmdSelect
  666. {
  667. *Order: DOC_SETUP.5
  668. *Cmd: "<1B>2<1B>C9"
  669. }
  670. *switch: InputBin
  671. {
  672. *case: TRACTOR
  673. {
  674. *PrintableArea: PAIR(2730, 4104)
  675. *PrintableOrigin: PAIR(120, 0)
  676. }
  677. *case: MANUAL
  678. {
  679. *PrintableArea: PAIR(2730, 3924)
  680. *PrintableOrigin: PAIR(120, 72)
  681. *switch: Resolution
  682. {
  683. *case: Option1
  684. {
  685. *PrintableArea: PAIR(2730, 3924)
  686. *PrintableOrigin: PAIR(120, 72)
  687. }
  688. *case: Option2
  689. {
  690. *PrintableArea: PAIR(2730, 3924)
  691. *PrintableOrigin: PAIR(120, 72)
  692. }
  693. *case: Option3
  694. {
  695. *PrintableArea: PAIR(2730, 3924)
  696. *PrintableOrigin: PAIR(120, 72)
  697. }
  698. }
  699. }
  700. }
  701. }
  702. *Option: CUSTOMSIZE
  703. {
  704. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  705. *MinSize: PAIR(3240, 2376)
  706. *MaxSize: PAIR(8640, 32767)
  707. *MaxPrintableWidth: 7920
  708. *MinLeftMargin: 0
  709. *CenterPrintable?: FALSE
  710. *switch: InputBin
  711. {
  712. *case: TRACTOR
  713. {
  714. *TopMargin: 0
  715. *BottomMargin: 0
  716. }
  717. *case: MANUAL
  718. {
  719. *TopMargin: 72
  720. *BottomMargin: 108
  721. }
  722. }
  723. *Command: CmdSelect
  724. {
  725. *Order: DOC_SETUP.5
  726. *Cmd: "<1B>2<1B>C" %c{(PhysPaperLength / 72) }
  727. }
  728. }
  729. }
  730. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.LETTER)
  731. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.Option2)
  732. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.LEGAL)
  733. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.EXECUTIVE)
  734. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A3)
  735. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A4)
  736. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.Option7)
  737. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A5)
  738. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B4)
  739. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B5)
  740. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_10)
  741. *Feature: PrintQuality
  742. {
  743. *rcNameID: =TEXT_QUALITY_DISPLAY
  744. *DefaultOption: NEAR_LETTER_QUALITY
  745. *Option: NEAR_LETTER_QUALITY
  746. {
  747. *rcNameID: =NEAR_LETTER_QUALITY_DISPLAY
  748. *Command: CmdSelect
  749. {
  750. *Order: DOC_SETUP.3
  751. *Cmd: "<1B>x<01>"
  752. }
  753. }
  754. *Option: DRAFT_QUALITY
  755. {
  756. *rcNameID: =DRAFT_QUALITY_DISPLAY
  757. *Command: CmdSelect
  758. {
  759. *Order: DOC_SETUP.3
  760. *Cmd: "<1B>x<00>"
  761. }
  762. }
  763. }
  764. *Feature: Halftone
  765. {
  766. *rcNameID: =HALFTONING_DISPLAY
  767. *DefaultOption: HT_PATSIZE_AUTO
  768. *Option: HT_PATSIZE_AUTO
  769. {
  770. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  771. }
  772. *Ifdef: WINNT_50
  773. *Option: HT_PATSIZE_SUPERCELL_M
  774. {
  775. *rcNameID: =HT_SUPERCELL_DISPLAY
  776. }
  777. *Endif:
  778. *Option: HT_PATSIZE_6x6_M
  779. {
  780. *rcNameID: =HT_DITHER6X6_DISPLAY
  781. }
  782. *Option: HT_PATSIZE_8x8_M
  783. {
  784. *rcNameID: =HT_DITHER8X8_DISPLAY
  785. }
  786. }
  787. *Command: CmdStartDoc
  788. {
  789. *Order: DOC_SETUP.1
  790. *Cmd: "<1B>@<1B>t<011B>6<1B>[T<0400000003>R"
  791. }
  792. *Command: CmdStartPage
  793. {
  794. *Order: PAGE_SETUP.1
  795. *Cmd: "<0D>"
  796. }
  797. *RotateCoordinate?: FALSE
  798. *RotateRaster?: FALSE
  799. *RotateFont?: FALSE
  800. *switch: Orientation
  801. {
  802. *case: PORTRAIT
  803. {
  804. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  805. }
  806. *case: LANDSCAPE_CC270
  807. {
  808. *TextCaps: LIST(TC_RA_ABLE)
  809. }
  810. }
  811. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  812. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  813. *MaxLineSpacing: 255
  814. *XMoveThreshold: 0
  815. *YMoveThreshold: *
  816. *XMoveUnit: 60
  817. *YMoveUnit: 216
  818. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  819. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 2) )} }
  820. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[2,255]{(LinefeedSpacing / 2) } }
  821. *Command: CmdCR { *Cmd : "<0D>" }
  822. *Command: CmdLF { *Cmd : "<0A>" }
  823. *Command: CmdFF { *Cmd : "<0C>" }
  824. *Command: CmdBackSpace { *Cmd : "<08>" }
  825. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  826. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  827. *EjectPageWithFF?: TRUE
  828. *OutputDataFormat: V_BYTE
  829. *OptimizeLeftBound?: TRUE
  830. *CursorXAfterSendBlockData: AT_GRXDATA_END
  831. *CursorYAfterSendBlockData: NO_MOVE
  832. *DefaultFont: 1
  833. *DefaultCTT: 1
  834. *switch: Orientation
  835. {
  836. *case: PORTRAIT
  837. {
  838. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  839. + 17,18,19,20,21,150,151,152,153,154,155,156,157,
  840. + 158,159,160,161,162,163)
  841. }
  842. *case: LANDSCAPE_CC270
  843. {
  844. *DeviceFonts: LIST()
  845. }
  846. }
  847. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  848. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  849. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  850. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  851. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  852. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }