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.

782 lines
22 KiB

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