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.

879 lines
25 KiB

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