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.

813 lines
24 KiB

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