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.

792 lines
22 KiB

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