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.

845 lines
24 KiB

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