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.

691 lines
23 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *Include: "StdNames.gpd"
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "epl570mk.gpd"
  9. *ModelName: "EPSON LQ-570HD (KSSM)"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "kssmkres.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.3
  36. *Cmd: "<1B19>0"
  37. }
  38. }
  39. *Option: MANUAL
  40. {
  41. *rcNameID: =MANUAL_FEED_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.3
  45. *Cmd: "<1B19>0"
  46. }
  47. }
  48. *Option: UPPER
  49. {
  50. *rcNameID: =UPPER_TRAY_DISPLAY
  51. *Command: CmdSelect
  52. {
  53. *Order: DOC_SETUP.3
  54. *Cmd: "<1B19>4<1B19>1"
  55. }
  56. }
  57. *Option: LOWER
  58. {
  59. *rcNameID: =LOWER_TRAY_DISPLAY
  60. *Command: CmdSelect
  61. {
  62. *Order: DOC_SETUP.3
  63. *Cmd: "<1B19>4<1B19>2"
  64. }
  65. }
  66. }
  67. *Feature: Resolution
  68. {
  69. *rcNameID: =RESOLUTION_DISPLAY
  70. *DefaultOption: Option2
  71. *Option: Option1
  72. {
  73. *Name: "360 x 180 " =DOTS_PER_INCH
  74. *DPI: PAIR(360, 180)
  75. *TextDPI: PAIR(360, 180)
  76. *PinsPerLogPass: 24
  77. *PinsPerPhysPass: 24
  78. *MinStripBlankPixels: 360
  79. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  80. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  81. *SpotDiameter: 170
  82. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  83. }
  84. *Option: Option2
  85. {
  86. *Name: "180 x 180 " =DOTS_PER_INCH
  87. *DPI: PAIR(180, 180)
  88. *TextDPI: PAIR(180, 180)
  89. *PinsPerLogPass: 24
  90. *PinsPerPhysPass: 24
  91. *MinStripBlankPixels: 180
  92. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  93. *SpotDiameter: 120
  94. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  95. }
  96. *Option: Option3
  97. {
  98. *Name: "120 x 180 " =DOTS_PER_INCH
  99. *DPI: PAIR(120, 180)
  100. *TextDPI: PAIR(120, 180)
  101. *PinsPerLogPass: 24
  102. *PinsPerPhysPass: 24
  103. *MinStripBlankPixels: 120
  104. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  105. *SpotDiameter: 100
  106. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  107. }
  108. }
  109. *Feature: PaperSize
  110. {
  111. *rcNameID: =PAPER_SIZE_DISPLAY
  112. *DefaultOption: A4
  113. *Option: LETTER
  114. {
  115. *rcNameID: =LETTER_DISPLAY
  116. *Command: CmdSelect
  117. {
  118. *Order: DOC_SETUP.4
  119. *Cmd: "<1B>2"
  120. }
  121. *switch: InputBin
  122. {
  123. *case: TRACTOR
  124. {
  125. *PrintableArea: PAIR(3060, 3960)
  126. *PrintableOrigin: PAIR(0, 0)
  127. }
  128. *case: MANUAL
  129. {
  130. *PrintableArea: PAIR(3060, 3648)
  131. *PrintableOrigin: PAIR(0, 120)
  132. }
  133. *case: UPPER
  134. {
  135. *PrintableArea: PAIR(3060, 3648)
  136. *PrintableOrigin: PAIR(0, 120)
  137. }
  138. *case: LOWER
  139. {
  140. *PrintableArea: PAIR(3060, 3648)
  141. *PrintableOrigin: PAIR(0, 120)
  142. }
  143. }
  144. }
  145. *Option: LEGAL
  146. {
  147. *rcNameID: =LEGAL_DISPLAY
  148. *Command: CmdSelect
  149. {
  150. *Order: DOC_SETUP.4
  151. *Cmd: "<1B>2"
  152. }
  153. *switch: InputBin
  154. {
  155. *case: TRACTOR
  156. {
  157. *PrintableArea: PAIR(3060, 5040)
  158. *PrintableOrigin: PAIR(0, 0)
  159. }
  160. *case: MANUAL
  161. {
  162. *PrintableArea: PAIR(3060, 4728)
  163. *PrintableOrigin: PAIR(0, 120)
  164. }
  165. *case: UPPER
  166. {
  167. *PrintableArea: PAIR(3060, 4728)
  168. *PrintableOrigin: PAIR(0, 120)
  169. }
  170. *case: LOWER
  171. {
  172. *PrintableArea: PAIR(3060, 4728)
  173. *PrintableOrigin: PAIR(0, 120)
  174. }
  175. }
  176. }
  177. *Option: A4
  178. {
  179. *rcNameID: =A4_DISPLAY
  180. *Command: CmdSelect
  181. {
  182. *Order: DOC_SETUP.4
  183. *Cmd: "<1B>2"
  184. }
  185. *switch: InputBin
  186. {
  187. *case: TRACTOR
  188. {
  189. *PrintableArea: PAIR(2977, 4208)
  190. *PrintableOrigin: PAIR(0, 0)
  191. *switch: Resolution
  192. {
  193. *case: Option2
  194. {
  195. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  196. *PrintableArea: PAIR(2976, 4208)
  197. }
  198. *case: Option3
  199. {
  200. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  201. *PrintableArea: PAIR(2976, 4208)
  202. }
  203. }
  204. }
  205. *case: MANUAL
  206. {
  207. *PrintableArea: PAIR(2977, 3896)
  208. *PrintableOrigin: PAIR(0, 120)
  209. *switch: Resolution
  210. {
  211. *case: Option2
  212. {
  213. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  214. *PrintableArea: PAIR(2976, 3896)
  215. }
  216. *case: Option3
  217. {
  218. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  219. *PrintableArea: PAIR(2976, 3896)
  220. }
  221. }
  222. }
  223. *case: UPPER
  224. {
  225. *PrintableArea: PAIR(2977, 3896)
  226. *PrintableOrigin: PAIR(0, 120)
  227. *switch: Resolution
  228. {
  229. *case: Option2
  230. {
  231. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  232. *PrintableArea: PAIR(2976, 3896)
  233. }
  234. *case: Option3
  235. {
  236. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  237. *PrintableArea: PAIR(2976, 3896)
  238. }
  239. }
  240. }
  241. *case: LOWER
  242. {
  243. *PrintableArea: PAIR(2977, 3896)
  244. *PrintableOrigin: PAIR(0, 120)
  245. *switch: Resolution
  246. {
  247. *case: Option2
  248. {
  249. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  250. *PrintableArea: PAIR(2976, 3896)
  251. }
  252. *case: Option3
  253. {
  254. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  255. *PrintableArea: PAIR(2976, 3896)
  256. }
  257. }
  258. }
  259. }
  260. }
  261. *Option: A5
  262. {
  263. *rcNameID: =A5_DISPLAY
  264. *Command: CmdSelect
  265. {
  266. *Order: DOC_SETUP.4
  267. *Cmd: "<1B>2"
  268. }
  269. *switch: InputBin
  270. {
  271. *case: TRACTOR
  272. {
  273. *PrintableArea: PAIR(2099, 2977)
  274. *PrintableOrigin: PAIR(0, 0)
  275. *switch: Resolution
  276. {
  277. *case: Option1
  278. {
  279. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  280. *PrintableArea: PAIR(2099, 2976)
  281. }
  282. *case: Option2
  283. {
  284. *% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
  285. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  286. *PrintableArea: PAIR(2098, 2976)
  287. }
  288. *case: Option3
  289. {
  290. *% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
  291. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  292. *PrintableArea: PAIR(2097, 2976)
  293. }
  294. }
  295. }
  296. *case: MANUAL
  297. {
  298. *PrintableArea: PAIR(2099, 2665)
  299. *PrintableOrigin: PAIR(0, 120)
  300. *switch: Resolution
  301. {
  302. *case: Option1
  303. {
  304. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  305. *PrintableArea: PAIR(2099, 2664)
  306. }
  307. *case: Option2
  308. {
  309. *% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
  310. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  311. *PrintableArea: PAIR(2098, 2664)
  312. }
  313. *case: Option3
  314. {
  315. *% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
  316. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  317. *PrintableArea: PAIR(2097, 2664)
  318. }
  319. }
  320. }
  321. *case: UPPER
  322. {
  323. *PrintableArea: PAIR(2099, 2665)
  324. *PrintableOrigin: PAIR(0, 120)
  325. *switch: Resolution
  326. {
  327. *case: Option1
  328. {
  329. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  330. *PrintableArea: PAIR(2099, 2664)
  331. }
  332. *case: Option2
  333. {
  334. *% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
  335. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  336. *PrintableArea: PAIR(2098, 2664)
  337. }
  338. *case: Option3
  339. {
  340. *% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
  341. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  342. *PrintableArea: PAIR(2097, 2664)
  343. }
  344. }
  345. }
  346. *case: LOWER
  347. {
  348. *PrintableArea: PAIR(2099, 2665)
  349. *PrintableOrigin: PAIR(0, 120)
  350. *switch: Resolution
  351. {
  352. *case: Option1
  353. {
  354. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  355. *PrintableArea: PAIR(2099, 2664)
  356. }
  357. *case: Option2
  358. {
  359. *% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
  360. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  361. *PrintableArea: PAIR(2098, 2664)
  362. }
  363. *case: Option3
  364. {
  365. *% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
  366. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  367. *PrintableArea: PAIR(2097, 2664)
  368. }
  369. }
  370. }
  371. }
  372. }
  373. *Option: B5
  374. {
  375. *rcNameID: =B5_DISPLAY
  376. *Command: CmdSelect
  377. {
  378. *Order: DOC_SETUP.4
  379. *Cmd: "<1B>2"
  380. }
  381. *switch: InputBin
  382. {
  383. *case: TRACTOR
  384. {
  385. *PrintableArea: PAIR(2581, 3643)
  386. *PrintableOrigin: PAIR(0, 0)
  387. *switch: Resolution
  388. {
  389. *case: Option1
  390. {
  391. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  392. *PrintableArea: PAIR(2581, 3642)
  393. }
  394. *case: Option2
  395. {
  396. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  397. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  398. *PrintableArea: PAIR(2580, 3642)
  399. }
  400. *case: Option3
  401. {
  402. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  403. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  404. *PrintableArea: PAIR(2580, 3642)
  405. }
  406. }
  407. }
  408. *case: MANUAL
  409. {
  410. *PrintableArea: PAIR(2581, 3331)
  411. *PrintableOrigin: PAIR(0, 120)
  412. *switch: Resolution
  413. {
  414. *case: Option1
  415. {
  416. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  417. *PrintableArea: PAIR(2581, 3330)
  418. }
  419. *case: Option2
  420. {
  421. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  422. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  423. *PrintableArea: PAIR(2580, 3330)
  424. }
  425. *case: Option3
  426. {
  427. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  428. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  429. *PrintableArea: PAIR(2580, 3330)
  430. }
  431. }
  432. }
  433. *case: UPPER
  434. {
  435. *PrintableArea: PAIR(2581, 3331)
  436. *PrintableOrigin: PAIR(0, 120)
  437. *switch: Resolution
  438. {
  439. *case: Option1
  440. {
  441. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  442. *PrintableArea: PAIR(2581, 3330)
  443. }
  444. *case: Option2
  445. {
  446. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  447. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  448. *PrintableArea: PAIR(2580, 3330)
  449. }
  450. *case: Option3
  451. {
  452. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  453. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  454. *PrintableArea: PAIR(2580, 3330)
  455. }
  456. }
  457. }
  458. *case: LOWER
  459. {
  460. *PrintableArea: PAIR(2581, 3331)
  461. *PrintableOrigin: PAIR(0, 120)
  462. *switch: Resolution
  463. {
  464. *case: Option1
  465. {
  466. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  467. *PrintableArea: PAIR(2581, 3330)
  468. }
  469. *case: Option2
  470. {
  471. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  472. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  473. *PrintableArea: PAIR(2580, 3330)
  474. }
  475. *case: Option3
  476. {
  477. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  478. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  479. *PrintableArea: PAIR(2580, 3330)
  480. }
  481. }
  482. }
  483. }
  484. }
  485. *Option: Option6
  486. {
  487. *rcNameID: 258
  488. *OptionID: 258
  489. *PageDimensions: PAIR(3060, 3960)
  490. *Command: CmdSelect
  491. {
  492. *Order: DOC_SETUP.4
  493. *Cmd: "<1B>2"
  494. }
  495. *switch: InputBin
  496. {
  497. *case: TRACTOR
  498. {
  499. *PrintableArea: PAIR(3060, 3960)
  500. *PrintableOrigin: PAIR(0, 0)
  501. }
  502. *case: MANUAL
  503. {
  504. *PrintableArea: PAIR(3060, 3648)
  505. *PrintableOrigin: PAIR(0, 120)
  506. }
  507. *case: UPPER
  508. {
  509. *PrintableArea: PAIR(3060, 3648)
  510. *PrintableOrigin: PAIR(0, 120)
  511. }
  512. *case: LOWER
  513. {
  514. *PrintableArea: PAIR(3060, 3648)
  515. *PrintableOrigin: PAIR(0, 120)
  516. }
  517. }
  518. }
  519. *Option: CUSTOMSIZE
  520. {
  521. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  522. *MinSize: PAIR(360, 360)
  523. *MaxSize: PAIR(5040, 7920)
  524. *MaxPrintableWidth: 4896
  525. *MinLeftMargin: 0
  526. *CenterPrintable?: FALSE
  527. *switch: InputBin
  528. {
  529. *case: TRACTOR
  530. {
  531. *TopMargin: 0
  532. *BottomMargin: 0
  533. *CustCursorOriginX: %d{43}
  534. *CustCursorOriginY: %d{0}
  535. *CustPrintableOriginX: %d{43}
  536. *CustPrintableOriginY: %d{0}
  537. *CustPrintableSizeX: %d{PhysPaperWidth-86}
  538. *CustPrintableSizeY: %d{PhysPaperLength}
  539. }
  540. *case: MANUAL
  541. {
  542. *TopMargin: 120
  543. *BottomMargin: 192
  544. *CustCursorOriginX: %d{43}
  545. *CustCursorOriginY: %d{120}
  546. *CustPrintableOriginX: %d{43}
  547. *CustPrintableOriginY: %d{120}
  548. *CustPrintableSizeX: %d{PhysPaperWidth-86}
  549. *CustPrintableSizeY: %d{PhysPaperLength-312}
  550. }
  551. *case: UPPER
  552. {
  553. *TopMargin: 120
  554. *BottomMargin: 192
  555. *CustCursorOriginX: %d{43}
  556. *CustCursorOriginY: %d{120}
  557. *CustPrintableOriginX: %d{43}
  558. *CustPrintableOriginY: %d{120}
  559. *CustPrintableSizeX: %d{PhysPaperWidth-86}
  560. *CustPrintableSizeY: %d{PhysPaperLength-312}
  561. }
  562. *case: LOWER
  563. {
  564. *TopMargin: 120
  565. *BottomMargin: 192
  566. *CustCursorOriginX: %d{43}
  567. *CustCursorOriginY: %d{120}
  568. *CustPrintableOriginX: %d{43}
  569. *CustPrintableOriginY: %d{120}
  570. *CustPrintableSizeX: %d{PhysPaperWidth-86}
  571. *CustPrintableSizeY: %d{PhysPaperLength-312}
  572. }
  573. }
  574. *Command: CmdSelect
  575. {
  576. *Order: DOC_SETUP.4
  577. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  578. }
  579. }
  580. }
  581. *Feature: PrintQuality
  582. {
  583. *rcNameID: =TEXT_QUALITY_DISPLAY
  584. *DefaultOption: LETTER_QUALITY
  585. *Option: LETTER_QUALITY
  586. {
  587. *rcNameID: =LETTER_QUALITY_DISPLAY
  588. *Command: CmdSelect
  589. {
  590. *Order: DOC_SETUP.2
  591. *Cmd: "<1B>x<01>"
  592. }
  593. }
  594. *Option: DRAFT_QUALITY
  595. {
  596. *rcNameID: =DRAFT_QUALITY_DISPLAY
  597. *Command: CmdSelect
  598. {
  599. *Order: DOC_SETUP.2
  600. *Cmd: "<1B>x<00>"
  601. }
  602. }
  603. }
  604. *Feature: Halftone
  605. {
  606. *rcNameID: =HALFTONING_DISPLAY
  607. *DefaultOption: HT_PATSIZE_AUTO
  608. *Option: HT_PATSIZE_AUTO
  609. {
  610. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  611. }
  612. *Option: HT_PATSIZE_SUPERCELL_M
  613. {
  614. *rcNameID: =HT_SUPERCELL_DISPLAY
  615. }
  616. *Option: HT_PATSIZE_6x6_M
  617. {
  618. *rcNameID: =HT_DITHER6X6_DISPLAY
  619. }
  620. *Option: HT_PATSIZE_8x8_M
  621. {
  622. *rcNameID: =HT_DITHER8X8_DISPLAY
  623. }
  624. }
  625. *Command: CmdStartDoc
  626. {
  627. *Order: DOC_SETUP.1
  628. *Cmd: "<1B>@"
  629. }
  630. *Command: CmdStartPage
  631. {
  632. *Order: PAGE_SETUP.1
  633. *Cmd: "<0D>"
  634. }
  635. *RotateCoordinate?: FALSE
  636. *RotateRaster?: FALSE
  637. *RotateFont?: FALSE
  638. *switch: Orientation
  639. {
  640. *case: PORTRAIT
  641. {
  642. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  643. }
  644. *case: LANDSCAPE_CC270
  645. {
  646. *TextCaps: LIST(TC_RA_ABLE)
  647. }
  648. }
  649. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  650. *YMoveAttributes: LIST(SEND_CR_FIRST)
  651. *MaxLineSpacing: 255
  652. *XMoveThreshold: 0
  653. *YMoveThreshold: *
  654. *XMoveUnit: 60
  655. *YMoveUnit: 180
  656. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,816]{max_repeat((DestX / 6) )} }
  657. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  658. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  659. *Command: CmdCR { *Cmd : "<0D>" }
  660. *Command: CmdLF { *Cmd : "<0A>" }
  661. *Command: CmdFF { *Cmd : "<0C>" }
  662. *Command: CmdBackSpace { *Cmd : "<08>" }
  663. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  664. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  665. *EjectPageWithFF?: FALSE
  666. *switch: InputBin
  667. {
  668. *case: MANUAL
  669. {
  670. *EjectPageWithFF?: TRUE
  671. }
  672. *case: UPPER
  673. {
  674. *EjectPageWithFF?: TRUE
  675. }
  676. *case: LOWER
  677. {
  678. *EjectPageWithFF?: TRUE
  679. }
  680. }
  681. *OutputDataFormat: V_BYTE
  682. *OptimizeLeftBound?: FALSE
  683. *CursorXAfterSendBlockData: AT_GRXDATA_END
  684. *CursorYAfterSendBlockData: NO_MOVE
  685. *DefaultCTT: 2
  686. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  687. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  688. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  689. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  690. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  691. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }