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.

934 lines
26 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "EP860P.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Epson LQ-860+"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "ep24res.dll"
  12. *PrintRate: 300
  13. *PrintRateUnit: CPS
  14. *PrinterType: SERIAL
  15. *FontCartSlots: 2
  16. *Feature: Orientation
  17. {
  18. *rcNameID: =ORIENTATION_DISPLAY
  19. *DefaultOption: PORTRAIT
  20. *Option: PORTRAIT
  21. {
  22. *rcNameID: =PORTRAIT_DISPLAY
  23. }
  24. *Option: LANDSCAPE_CC270
  25. {
  26. *rcNameID: =LANDSCAPE_DISPLAY
  27. }
  28. }
  29. *Feature: InputBin
  30. {
  31. *rcNameID: =PAPER_SOURCE_DISPLAY
  32. *DefaultOption: TRACTOR
  33. *Option: TRACTOR
  34. {
  35. *rcNameID: =TRACTOR_DISPLAY
  36. *Command: CmdSelect
  37. {
  38. *Order: DOC_SETUP.3
  39. *Cmd: "<1B19>0"
  40. }
  41. }
  42. *Option: MANUAL
  43. {
  44. *rcNameID: =MANUAL_FEED_DISPLAY
  45. *Command: CmdSelect
  46. {
  47. *Order: DOC_SETUP.3
  48. *Cmd: "<1B19>0"
  49. }
  50. }
  51. *Option: Option3
  52. {
  53. *rcNameID: 263
  54. *Command: CmdSelect
  55. {
  56. *Order: DOC_SETUP.3
  57. *Cmd: "<1B19>4<1B19>1"
  58. }
  59. }
  60. *Option: Option4
  61. {
  62. *rcNameID: 264
  63. *Command: CmdSelect
  64. {
  65. *Order: DOC_SETUP.3
  66. *Cmd: "<1B19>4<1B19>2"
  67. }
  68. }
  69. }
  70. *Feature: Resolution
  71. {
  72. *rcNameID: =RESOLUTION_DISPLAY
  73. *DefaultOption: Option1
  74. *Option: Option1
  75. {
  76. *Name: "180 x 180 " =DOTS_PER_INCH
  77. *DPI: PAIR(180, 180)
  78. *TextDPI: PAIR(180, 180)
  79. *PinsPerLogPass: 24
  80. *PinsPerPhysPass: 24
  81. *MinStripBlankPixels: 180
  82. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  83. *SpotDiameter: 120
  84. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  85. }
  86. *Option: Option2
  87. {
  88. *Name: "360 x 180 " =DOTS_PER_INCH
  89. *DPI: PAIR(360, 180)
  90. *TextDPI: PAIR(360, 180)
  91. *PinsPerLogPass: 24
  92. *PinsPerPhysPass: 24
  93. *MinStripBlankPixels: 360
  94. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  95. *SpotDiameter: 170
  96. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  97. }
  98. *Option: Option3
  99. {
  100. *Name: "360 x 360 " =DOTS_PER_INCH
  101. *DPI: PAIR(360, 360)
  102. *TextDPI: PAIR(360, 360)
  103. *PinsPerLogPass: 48
  104. *PinsPerPhysPass: 24
  105. *MinStripBlankPixels: 360
  106. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  107. *SpotDiameter: 170
  108. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  109. }
  110. *Option: Option4
  111. {
  112. *Name: "120 x 180 " =DOTS_PER_INCH
  113. *DPI: PAIR(120, 180)
  114. *TextDPI: PAIR(120, 180)
  115. *PinsPerLogPass: 24
  116. *PinsPerPhysPass: 24
  117. *MinStripBlankPixels: 120
  118. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  119. *SpotDiameter: 100
  120. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  121. }
  122. }
  123. *Feature: PaperSize
  124. {
  125. *rcNameID: =PAPER_SIZE_DISPLAY
  126. *DefaultOption: LETTER
  127. *Option: LETTER
  128. {
  129. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.4
  133. *Cmd: "<1B>2<1B>CB"
  134. }
  135. *switch: InputBin
  136. {
  137. *case: TRACTOR
  138. {
  139. *PrintableArea: PAIR(2880, 3640)
  140. *PrintableOrigin: PAIR(90, 120)
  141. }
  142. *case: MANUAL
  143. {
  144. *PrintableArea: PAIR(2880, 3615)
  145. *PrintableOrigin: PAIR(90, 120)
  146. *switch: Resolution
  147. {
  148. *case: Option1
  149. {
  150. *PrintableArea: PAIR(2880, 3614)
  151. }
  152. *case: Option2
  153. {
  154. *PrintableArea: PAIR(2880, 3614)
  155. }
  156. *case: Option4
  157. {
  158. *PrintableArea: PAIR(2880, 3614)
  159. }
  160. }
  161. }
  162. *case: Option3
  163. {
  164. *PrintableArea: PAIR(2880, 3615)
  165. *PrintableOrigin: PAIR(90, 120)
  166. *switch: Resolution
  167. {
  168. *case: Option1
  169. {
  170. *PrintableArea: PAIR(2880, 3614)
  171. }
  172. *case: Option2
  173. {
  174. *PrintableArea: PAIR(2880, 3614)
  175. }
  176. *case: Option4
  177. {
  178. *PrintableArea: PAIR(2880, 3614)
  179. }
  180. }
  181. }
  182. *case: Option4
  183. {
  184. *PrintableArea: PAIR(2880, 3615)
  185. *PrintableOrigin: PAIR(90, 120)
  186. *switch: Resolution
  187. {
  188. *case: Option1
  189. {
  190. *PrintableArea: PAIR(2880, 3614)
  191. }
  192. *case: Option2
  193. {
  194. *PrintableArea: PAIR(2880, 3614)
  195. }
  196. *case: Option4
  197. {
  198. *PrintableArea: PAIR(2880, 3614)
  199. }
  200. }
  201. }
  202. }
  203. }
  204. *Option: LEGAL
  205. {
  206. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.4
  210. *Cmd: "<1B>2<1B>CT"
  211. }
  212. *switch: InputBin
  213. {
  214. *case: TRACTOR
  215. {
  216. *PrintableArea: PAIR(2880, 4720)
  217. *PrintableOrigin: PAIR(90, 120)
  218. }
  219. *case: MANUAL
  220. {
  221. *PrintableArea: PAIR(2880, 4695)
  222. *PrintableOrigin: PAIR(90, 120)
  223. *switch: Resolution
  224. {
  225. *case: Option1
  226. {
  227. *PrintableArea: PAIR(2880, 4694)
  228. }
  229. *case: Option2
  230. {
  231. *PrintableArea: PAIR(2880, 4694)
  232. }
  233. *case: Option4
  234. {
  235. *PrintableArea: PAIR(2880, 4694)
  236. }
  237. }
  238. }
  239. *case: Option3
  240. {
  241. *PrintableArea: PAIR(2880, 4695)
  242. *PrintableOrigin: PAIR(90, 120)
  243. *switch: Resolution
  244. {
  245. *case: Option1
  246. {
  247. *PrintableArea: PAIR(2880, 4694)
  248. }
  249. *case: Option2
  250. {
  251. *PrintableArea: PAIR(2880, 4694)
  252. }
  253. *case: Option4
  254. {
  255. *PrintableArea: PAIR(2880, 4694)
  256. }
  257. }
  258. }
  259. *case: Option4
  260. {
  261. *PrintableArea: PAIR(2880, 4695)
  262. *PrintableOrigin: PAIR(90, 120)
  263. *switch: Resolution
  264. {
  265. *case: Option1
  266. {
  267. *PrintableArea: PAIR(2880, 4694)
  268. }
  269. *case: Option2
  270. {
  271. *PrintableArea: PAIR(2880, 4694)
  272. }
  273. *case: Option4
  274. {
  275. *PrintableArea: PAIR(2880, 4694)
  276. }
  277. }
  278. }
  279. }
  280. }
  281. *Option: A4
  282. {
  283. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.4
  287. *Cmd: "<1B>2<1B>CF"
  288. }
  289. *switch: InputBin
  290. {
  291. *case: TRACTOR
  292. {
  293. *PrintableArea: PAIR(2880, 3888)
  294. *PrintableOrigin: PAIR(90, 120)
  295. }
  296. *case: MANUAL
  297. {
  298. *PrintableArea: PAIR(2880, 3863)
  299. *PrintableOrigin: PAIR(90, 120)
  300. *switch: Resolution
  301. {
  302. *case: Option1
  303. {
  304. *PrintableArea: PAIR(2880, 3862)
  305. }
  306. *case: Option2
  307. {
  308. *PrintableArea: PAIR(2880, 3862)
  309. }
  310. *case: Option4
  311. {
  312. *PrintableArea: PAIR(2880, 3862)
  313. }
  314. }
  315. }
  316. *case: Option3
  317. {
  318. *PrintableArea: PAIR(2880, 3863)
  319. *PrintableOrigin: PAIR(90, 120)
  320. *switch: Resolution
  321. {
  322. *case: Option1
  323. {
  324. *PrintableArea: PAIR(2880, 3862)
  325. }
  326. *case: Option2
  327. {
  328. *PrintableArea: PAIR(2880, 3862)
  329. }
  330. *case: Option4
  331. {
  332. *PrintableArea: PAIR(2880, 3862)
  333. }
  334. }
  335. }
  336. *case: Option4
  337. {
  338. *PrintableArea: PAIR(2880, 3863)
  339. *PrintableOrigin: PAIR(90, 120)
  340. *switch: Resolution
  341. {
  342. *case: Option1
  343. {
  344. *PrintableArea: PAIR(2880, 3862)
  345. }
  346. *case: Option2
  347. {
  348. *PrintableArea: PAIR(2880, 3862)
  349. }
  350. *case: Option4
  351. {
  352. *PrintableArea: PAIR(2880, 3862)
  353. }
  354. }
  355. }
  356. }
  357. }
  358. *Option: A5
  359. {
  360. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  361. *Command: CmdSelect
  362. {
  363. *Order: DOC_SETUP.4
  364. *Cmd: "<1B>2<1B>C2"
  365. }
  366. *switch: InputBin
  367. {
  368. *case: TRACTOR
  369. {
  370. *PrintableArea: PAIR(2009, 2657)
  371. *PrintableOrigin: PAIR(90, 140)
  372. *switch: Resolution
  373. {
  374. *case: Option1
  375. {
  376. *PrintableArea: PAIR(2008, 2656)
  377. }
  378. *case: Option2
  379. {
  380. *PrintableArea: PAIR(2009, 2656)
  381. }
  382. *case: Option4
  383. {
  384. *PrintableArea: PAIR(2007, 2656)
  385. }
  386. }
  387. }
  388. *case: MANUAL
  389. {
  390. *PrintableArea: PAIR(2009, 2612)
  391. *PrintableOrigin: PAIR(90, 140)
  392. *switch: Resolution
  393. {
  394. *case: Option1
  395. {
  396. *PrintableArea: PAIR(2008, 2612)
  397. }
  398. *case: Option4
  399. {
  400. *PrintableArea: PAIR(2007, 2612)
  401. }
  402. }
  403. }
  404. *case: Option3
  405. {
  406. *PrintableArea: PAIR(2009, 2612)
  407. *PrintableOrigin: PAIR(90, 140)
  408. *switch: Resolution
  409. {
  410. *case: Option1
  411. {
  412. *PrintableArea: PAIR(2008, 2612)
  413. }
  414. *case: Option4
  415. {
  416. *PrintableArea: PAIR(2007, 2612)
  417. }
  418. }
  419. }
  420. *case: Option4
  421. {
  422. *PrintableArea: PAIR(2009, 2612)
  423. *PrintableOrigin: PAIR(90, 140)
  424. *switch: Resolution
  425. {
  426. *case: Option1
  427. {
  428. *PrintableArea: PAIR(2008, 2612)
  429. }
  430. *case: Option4
  431. {
  432. *PrintableArea: PAIR(2007, 2612)
  433. }
  434. }
  435. }
  436. }
  437. }
  438. *Option: B5
  439. {
  440. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  441. *Command: CmdSelect
  442. {
  443. *Order: DOC_SETUP.4
  444. *Cmd: "<1B>2<1B>C="
  445. }
  446. *switch: InputBin
  447. {
  448. *case: TRACTOR
  449. {
  450. *PrintableArea: PAIR(2391, 3203)
  451. *PrintableOrigin: PAIR(90, 140)
  452. *switch: Resolution
  453. {
  454. *case: Option1
  455. {
  456. *PrintableArea: PAIR(2390, 3202)
  457. }
  458. *case: Option2
  459. {
  460. *PrintableArea: PAIR(2391, 3202)
  461. }
  462. *case: Option4
  463. {
  464. *PrintableArea: PAIR(2391, 3202)
  465. }
  466. }
  467. }
  468. *case: MANUAL
  469. {
  470. *PrintableArea: PAIR(2391, 3203)
  471. *PrintableOrigin: PAIR(90, 140)
  472. *switch: Resolution
  473. {
  474. *case: Option1
  475. {
  476. *PrintableArea: PAIR(2390, 3202)
  477. }
  478. *case: Option2
  479. {
  480. *PrintableArea: PAIR(2391, 3202)
  481. }
  482. *case: Option4
  483. {
  484. *PrintableArea: PAIR(2391, 3202)
  485. }
  486. }
  487. }
  488. *case: Option3
  489. {
  490. *PrintableArea: PAIR(2391, 3203)
  491. *PrintableOrigin: PAIR(90, 140)
  492. *switch: Resolution
  493. {
  494. *case: Option1
  495. {
  496. *PrintableArea: PAIR(2390, 3202)
  497. }
  498. *case: Option2
  499. {
  500. *PrintableArea: PAIR(2391, 3202)
  501. }
  502. *case: Option4
  503. {
  504. *PrintableArea: PAIR(2391, 3202)
  505. }
  506. }
  507. }
  508. *case: Option4
  509. {
  510. *PrintableArea: PAIR(2391, 3203)
  511. *PrintableOrigin: PAIR(90, 140)
  512. *switch: Resolution
  513. {
  514. *case: Option1
  515. {
  516. *PrintableArea: PAIR(2390, 3202)
  517. }
  518. *case: Option2
  519. {
  520. *PrintableArea: PAIR(2391, 3202)
  521. }
  522. *case: Option4
  523. {
  524. *PrintableArea: PAIR(2391, 3202)
  525. }
  526. }
  527. }
  528. }
  529. }
  530. *Option: Option6
  531. {
  532. *rcNameID: 261
  533. *PageDimensions: PAIR(3060, 4320)
  534. *Command: CmdSelect
  535. {
  536. *Order: DOC_SETUP.4
  537. *Cmd: "<1B>2<1B>CH"
  538. }
  539. *switch: InputBin
  540. {
  541. *case: TRACTOR
  542. {
  543. *PrintableArea: PAIR(2880, 4320)
  544. *PrintableOrigin: PAIR(90, 0)
  545. }
  546. *case: MANUAL
  547. {
  548. *PrintableArea: PAIR(2880, 3975)
  549. *PrintableOrigin: PAIR(90, 120)
  550. *switch: Resolution
  551. {
  552. *case: Option1
  553. {
  554. *PrintableArea: PAIR(2880, 3974)
  555. }
  556. *case: Option2
  557. {
  558. *PrintableArea: PAIR(2880, 3974)
  559. }
  560. *case: Option4
  561. {
  562. *PrintableArea: PAIR(2880, 3974)
  563. }
  564. }
  565. }
  566. *case: Option3
  567. {
  568. *PrintableArea: PAIR(2880, 3975)
  569. *PrintableOrigin: PAIR(90, 120)
  570. *switch: Resolution
  571. {
  572. *case: Option1
  573. {
  574. *PrintableArea: PAIR(2880, 3974)
  575. }
  576. *case: Option2
  577. {
  578. *PrintableArea: PAIR(2880, 3974)
  579. }
  580. *case: Option4
  581. {
  582. *PrintableArea: PAIR(2880, 3974)
  583. }
  584. }
  585. }
  586. *case: Option4
  587. {
  588. *PrintableArea: PAIR(2880, 3975)
  589. *PrintableOrigin: PAIR(90, 120)
  590. *switch: Resolution
  591. {
  592. *case: Option1
  593. {
  594. *PrintableArea: PAIR(2880, 3974)
  595. }
  596. *case: Option2
  597. {
  598. *PrintableArea: PAIR(2880, 3974)
  599. }
  600. *case: Option4
  601. {
  602. *PrintableArea: PAIR(2880, 3974)
  603. }
  604. }
  605. }
  606. }
  607. }
  608. *Option: Option7
  609. {
  610. *rcNameID: 262
  611. *PageDimensions: PAIR(3060, 4680)
  612. *Command: CmdSelect
  613. {
  614. *Order: DOC_SETUP.4
  615. *Cmd: "<1B>2<1B>CN"
  616. }
  617. *switch: InputBin
  618. {
  619. *case: TRACTOR
  620. {
  621. *PrintableArea: PAIR(2880, 4680)
  622. *PrintableOrigin: PAIR(90, 0)
  623. }
  624. *case: MANUAL
  625. {
  626. *PrintableArea: PAIR(2880, 4335)
  627. *PrintableOrigin: PAIR(90, 120)
  628. *switch: Resolution
  629. {
  630. *case: Option1
  631. {
  632. *PrintableArea: PAIR(2880, 4334)
  633. }
  634. *case: Option2
  635. {
  636. *PrintableArea: PAIR(2880, 4334)
  637. }
  638. *case: Option4
  639. {
  640. *PrintableArea: PAIR(2880, 4334)
  641. }
  642. }
  643. }
  644. *case: Option3
  645. {
  646. *PrintableArea: PAIR(2880, 4335)
  647. *PrintableOrigin: PAIR(90, 120)
  648. *switch: Resolution
  649. {
  650. *case: Option1
  651. {
  652. *PrintableArea: PAIR(2880, 4334)
  653. }
  654. *case: Option2
  655. {
  656. *PrintableArea: PAIR(2880, 4334)
  657. }
  658. *case: Option4
  659. {
  660. *PrintableArea: PAIR(2880, 4334)
  661. }
  662. }
  663. }
  664. *case: Option4
  665. {
  666. *PrintableArea: PAIR(2880, 4335)
  667. *PrintableOrigin: PAIR(90, 120)
  668. *switch: Resolution
  669. {
  670. *case: Option1
  671. {
  672. *PrintableArea: PAIR(2880, 4334)
  673. }
  674. *case: Option2
  675. {
  676. *PrintableArea: PAIR(2880, 4334)
  677. }
  678. *case: Option4
  679. {
  680. *PrintableArea: PAIR(2880, 4334)
  681. }
  682. }
  683. }
  684. }
  685. }
  686. *Option: CUSTOMSIZE
  687. {
  688. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  689. *MinSize: PAIR(180, 360)
  690. *MaxSize: PAIR(3060, 7920)
  691. *MaxPrintableWidth: 2880
  692. *MinLeftMargin: 90
  693. *CenterPrintable?: FALSE
  694. *switch: InputBin
  695. {
  696. *case: TRACTOR
  697. {
  698. *TopMargin: 0
  699. *BottomMargin: 0
  700. }
  701. *case: MANUAL
  702. {
  703. *TopMargin: 120
  704. *BottomMargin: 225
  705. }
  706. *case: Option3
  707. {
  708. *TopMargin: 120
  709. *BottomMargin: 225
  710. }
  711. *case: Option4
  712. {
  713. *TopMargin: 120
  714. *BottomMargin: 225
  715. }
  716. }
  717. *Command: CmdSelect
  718. {
  719. *Order: DOC_SETUP.4
  720. *Cmd: "<1B>2"
  721. }
  722. }
  723. }
  724. *Feature: PrintQuality
  725. {
  726. *rcNameID: =TEXT_QUALITY_DISPLAY
  727. *DefaultOption: LETTER_QUALITY
  728. *Option: LETTER_QUALITY
  729. {
  730. *rcNameID: =LETTER_QUALITY_DISPLAY
  731. *Command: CmdSelect
  732. {
  733. *Order: DOC_SETUP.2
  734. *Cmd: "<1B>x<01>"
  735. }
  736. }
  737. *Option: DRAFT_QUALITY
  738. {
  739. *rcNameID: =DRAFT_QUALITY_DISPLAY
  740. *Command: CmdSelect
  741. {
  742. *Order: DOC_SETUP.2
  743. *Cmd: "<1B>x<00>"
  744. }
  745. }
  746. }
  747. *Feature: ColorMode
  748. {
  749. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  750. *DefaultOption: Color
  751. *Option: Mono
  752. {
  753. *rcNameID: =MONO_DISPLAY
  754. *DevNumOfPlanes: 1
  755. *DevBPP: 1
  756. *Color? : FALSE
  757. }
  758. *Option: Color
  759. {
  760. *rcNameID: =COLOR_DISPLAY
  761. *DevNumOfPlanes: 4
  762. *DevBPP: 1
  763. *DrvBPP: 4
  764. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  765. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  766. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  767. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  768. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  769. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  770. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  771. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  772. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  773. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  774. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<02>" }
  775. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  776. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  777. }
  778. }
  779. *Feature: Halftone
  780. {
  781. *rcNameID: =HALFTONING_DISPLAY
  782. *DefaultOption: HT_PATSIZE_AUTO
  783. *Option: HT_PATSIZE_AUTO
  784. {
  785. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  786. }
  787. *Ifdef: WINNT_50
  788. *Option: HT_PATSIZE_SUPERCELL_M
  789. {
  790. *rcNameID: =HT_SUPERCELL_DISPLAY
  791. }
  792. *Endif:
  793. *Option: HT_PATSIZE_6x6_M
  794. {
  795. *rcNameID: =HT_DITHER6X6_DISPLAY
  796. }
  797. *Option: HT_PATSIZE_8x8_M
  798. {
  799. *rcNameID: =HT_DITHER8X8_DISPLAY
  800. }
  801. }
  802. *Command: CmdStartDoc
  803. {
  804. *Order: DOC_SETUP.1
  805. *Cmd: "<1B>@<1B>t<011B>6<1B>R<001B>r<001B>U<01>"
  806. }
  807. *Command: CmdStartPage
  808. {
  809. *Order: PAGE_SETUP.1
  810. *Cmd: "<0D>"
  811. }
  812. *Command: CmdEndJob
  813. {
  814. *Order: JOB_FINISH.1
  815. *Cmd: "<1B>@"
  816. }
  817. *RotateCoordinate?: FALSE
  818. *RotateRaster?: FALSE
  819. *RotateFont?: FALSE
  820. *switch: Orientation
  821. {
  822. *case: PORTRAIT
  823. {
  824. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  825. }
  826. *case: LANDSCAPE_CC270
  827. {
  828. *TextCaps: LIST(TC_RA_ABLE)
  829. }
  830. }
  831. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  832. *YMoveAttributes: LIST(SEND_CR_FIRST)
  833. *MaxLineSpacing: 255
  834. *XMoveThreshold: 0
  835. *YMoveThreshold: *
  836. *XMoveUnit: 60
  837. *YMoveUnit: 180
  838. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 6) } }
  839. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  840. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  841. *Command: CmdCR { *Cmd : "<0D>" }
  842. *Command: CmdLF { *Cmd : "<0A>" }
  843. *Command: CmdFF { *Cmd : "<0C>" }
  844. *Command: CmdBackSpace { *Cmd : "<08>" }
  845. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  846. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  847. *EjectPageWithFF?: TRUE
  848. *switch: PaperSize
  849. {
  850. *case: CUSTOMSIZE
  851. {
  852. *EjectPageWithFF?: FALSE
  853. *switch: InputBin
  854. {
  855. *case: MANUAL
  856. {
  857. *EjectPageWithFF?: TRUE
  858. }
  859. *case: Option3
  860. {
  861. *EjectPageWithFF?: TRUE
  862. }
  863. *case: Option4
  864. {
  865. *EjectPageWithFF?: TRUE
  866. }
  867. }
  868. }
  869. }
  870. *OutputDataFormat: V_BYTE
  871. *OptimizeLeftBound?: FALSE
  872. *CursorXAfterSendBlockData: AT_GRXDATA_END
  873. *CursorYAfterSendBlockData: NO_MOVE
  874. *DefaultFont: 3
  875. *DefaultCTT: 1
  876. *switch: Orientation
  877. {
  878. *case: PORTRAIT
  879. {
  880. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16)
  881. }
  882. *case: LANDSCAPE_CC270
  883. {
  884. *DeviceFonts: LIST()
  885. }
  886. }
  887. *FontCartridge: FC1
  888. {
  889. *rcCartridgeNameID: 266
  890. *PortraitFonts: LIST(17,18,19,20,21,22,23)
  891. *LandscapeFonts: LIST()
  892. }
  893. *FontCartridge: FC2
  894. {
  895. *rcCartridgeNameID: 267
  896. *PortraitFonts: LIST(24,25,26,27,28,29,30)
  897. *LandscapeFonts: LIST()
  898. }
  899. *FontCartridge: FC3
  900. {
  901. *rcCartridgeNameID: 268
  902. *PortraitFonts: LIST(31,32,33,34,35,36,37)
  903. *LandscapeFonts: LIST()
  904. }
  905. *FontCartridge: FC4
  906. {
  907. *rcCartridgeNameID: 269
  908. *PortraitFonts: LIST(39)
  909. *LandscapeFonts: LIST()
  910. }
  911. *FontCartridge: FC5
  912. {
  913. *rcCartridgeNameID: 270
  914. *PortraitFonts: LIST(38)
  915. *LandscapeFonts: LIST()
  916. }
  917. *FontCartridge: FC6
  918. {
  919. *rcCartridgeNameID: 271
  920. *PortraitFonts: LIST(40)
  921. *LandscapeFonts: LIST()
  922. }
  923. *FontCartridge: FC7
  924. {
  925. *rcCartridgeNameID: 272
  926. *PortraitFonts: LIST(41)
  927. *LandscapeFonts: LIST()
  928. }
  929. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  930. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  931. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  932. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  933. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  934. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }