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.

883 lines
25 KiB

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