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.

859 lines
24 KiB

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