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.

826 lines
25 KiB

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