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.

798 lines
23 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "GW4000C.GPD"
  7. *Include: "STDNAMES.GPD"
  8. *GPDFileVersion: "1.000"
  9. *CodePage: 1252
  10. *ModelName: "Great Wall 4000"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "GW63CRES.DLL"
  13. *PrinterType: SERIAL
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. }
  22. *Option: LANDSCAPE_CC270
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. }
  26. }
  27. *Feature: InputBin
  28. {
  29. *rcNameID: =PAPER_SOURCE_DISPLAY
  30. *DefaultOption: TRACTOR
  31. *Option: TRACTOR
  32. {
  33. *rcNameID: =TRACTOR_DISPLAY
  34. }
  35. *Option: MANUAL
  36. {
  37. *rcNameID: =MANUAL_FEED_DISPLAY
  38. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  39. }
  40. }
  41. *Feature: Resolution
  42. {
  43. *rcNameID: =RESOLUTION_DISPLAY
  44. *DefaultOption: Option2
  45. *Option: Option1
  46. {
  47. *Name: "360 x 180 dots per inch"
  48. *DPI: PAIR(360, 180)
  49. *TextDPI: PAIR(360, 180)
  50. *PinsPerLogPass: 24
  51. *PinsPerPhysPass: 24
  52. *MinStripBlankPixels: 360
  53. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  54. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  55. *SpotDiameter: 170
  56. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{(NumOfDataBytes / 3) } }
  57. }
  58. *Option: Option2
  59. {
  60. *Name: "180 x 180 dots per inch"
  61. *DPI: PAIR(180, 180)
  62. *TextDPI: PAIR(180, 180)
  63. *PinsPerLogPass: 24
  64. *PinsPerPhysPass: 24
  65. *MinStripBlankPixels: 180
  66. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  67. *SpotDiameter: 120
  68. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{(NumOfDataBytes / 3) } }
  69. }
  70. }
  71. *Feature: PaperSize
  72. {
  73. *rcNameID: =PAPER_SIZE_DISPLAY
  74. *DefaultOption: A4
  75. *Option: LETTER
  76. {
  77. *rcNameID: =LETTER_DISPLAY
  78. *switch: InputBin
  79. {
  80. *case: TRACTOR
  81. {
  82. *PrintableArea: PAIR(2820, 3800)
  83. *PrintableOrigin: PAIR(120, 0)
  84. }
  85. *case: MANUAL
  86. {
  87. *PrintableArea: PAIR(2820, 3616)
  88. *PrintableOrigin: PAIR(120, 120)
  89. }
  90. }
  91. }
  92. *Option: LEGAL
  93. {
  94. *rcNameID: =LEGAL_DISPLAY
  95. *switch: InputBin
  96. {
  97. *case: TRACTOR
  98. {
  99. *PrintableArea: PAIR(2820, 4880)
  100. *PrintableOrigin: PAIR(120, 0)
  101. }
  102. *case: MANUAL
  103. {
  104. *PrintableArea: PAIR(2820, 4696)
  105. *PrintableOrigin: PAIR(120, 120)
  106. }
  107. }
  108. }
  109. *Option: A3
  110. {
  111. *rcNameID: =A3_DISPLAY
  112. *switch: InputBin
  113. {
  114. *case: TRACTOR
  115. {
  116. *PrintableArea: PAIR(3968, 5794)
  117. *PrintableOrigin: PAIR(120, 0)
  118. }
  119. *case: MANUAL
  120. {
  121. *PrintableArea: PAIR(3968, 5610)
  122. *PrintableOrigin: PAIR(120, 120)
  123. }
  124. }
  125. }
  126. *Option: A4
  127. {
  128. *rcNameID: =A4_DISPLAY
  129. *switch: InputBin
  130. {
  131. *case: TRACTOR
  132. {
  133. *PrintableArea: PAIR(2737, 4048)
  134. *PrintableOrigin: PAIR(120, 0)
  135. *switch: Resolution
  136. {
  137. *case: Option2
  138. {
  139. *% Warning: the following printable width is adjusted (2737->2736) so it is divisible by the resolution X scale.
  140. *PrintableArea: PAIR(2736, 4048)
  141. }
  142. }
  143. }
  144. *case: MANUAL
  145. {
  146. *PrintableArea: PAIR(2737, 3864)
  147. *PrintableOrigin: PAIR(120, 120)
  148. *switch: Resolution
  149. {
  150. *case: Option2
  151. {
  152. *% Warning: the following printable width is adjusted (2737->2736) so it is divisible by the resolution X scale.
  153. *PrintableArea: PAIR(2736, 3864)
  154. }
  155. }
  156. }
  157. }
  158. }
  159. *Option: A5
  160. {
  161. *rcNameID: =A5_DISPLAY
  162. *switch: InputBin
  163. {
  164. *case: TRACTOR
  165. {
  166. *PrintableArea: PAIR(1859, 2817)
  167. *PrintableOrigin: PAIR(120, 0)
  168. *switch: Resolution
  169. {
  170. *case: Option1
  171. {
  172. *% Warning: the following printable length is adjusted (2817->2816) so it is divisible by the resolution Y scale.
  173. *PrintableArea: PAIR(1859, 2816)
  174. }
  175. *case: Option2
  176. {
  177. *% Warning: the following printable width is adjusted (1859->1858) so it is divisible by the resolution X scale.
  178. *% Warning: the following printable length is adjusted (2817->2816) so it is divisible by the resolution Y scale.
  179. *PrintableArea: PAIR(1858, 2816)
  180. }
  181. }
  182. }
  183. *case: MANUAL
  184. {
  185. *PrintableArea: PAIR(1859, 2633)
  186. *PrintableOrigin: PAIR(120, 120)
  187. *switch: Resolution
  188. {
  189. *case: Option1
  190. {
  191. *% Warning: the following printable length is adjusted (2633->2632) so it is divisible by the resolution Y scale.
  192. *PrintableArea: PAIR(1859, 2632)
  193. }
  194. *case: Option2
  195. {
  196. *% Warning: the following printable width is adjusted (1859->1858) so it is divisible by the resolution X scale.
  197. *% Warning: the following printable length is adjusted (2633->2632) so it is divisible by the resolution Y scale.
  198. *PrintableArea: PAIR(1858, 2632)
  199. }
  200. }
  201. }
  202. }
  203. }
  204. *Option: B4
  205. {
  206. *rcNameID: =B4_DISPLAY
  207. *switch: InputBin
  208. {
  209. *case: TRACTOR
  210. {
  211. *PrintableArea: PAIR(3403, 4999)
  212. *PrintableOrigin: PAIR(120, 0)
  213. *switch: Resolution
  214. {
  215. *case: Option1
  216. {
  217. *% Warning: the following printable length is adjusted (4999->4998) so it is divisible by the resolution Y scale.
  218. *PrintableArea: PAIR(3403, 4998)
  219. }
  220. *case: Option2
  221. {
  222. *% Warning: the following printable width is adjusted (3403->3402) so it is divisible by the resolution X scale.
  223. *% Warning: the following printable length is adjusted (4999->4998) so it is divisible by the resolution Y scale.
  224. *PrintableArea: PAIR(3402, 4998)
  225. }
  226. }
  227. }
  228. *case: MANUAL
  229. {
  230. *PrintableArea: PAIR(3403, 4815)
  231. *PrintableOrigin: PAIR(120, 120)
  232. *switch: Resolution
  233. {
  234. *case: Option1
  235. {
  236. *% Warning: the following printable length is adjusted (4815->4814) so it is divisible by the resolution Y scale.
  237. *PrintableArea: PAIR(3403, 4814)
  238. }
  239. *case: Option2
  240. {
  241. *% Warning: the following printable width is adjusted (3403->3402) so it is divisible by the resolution X scale.
  242. *% Warning: the following printable length is adjusted (4815->4814) so it is divisible by the resolution Y scale.
  243. *PrintableArea: PAIR(3402, 4814)
  244. }
  245. }
  246. }
  247. }
  248. }
  249. *Option: B5
  250. {
  251. *rcNameID: =B5_DISPLAY
  252. *switch: InputBin
  253. {
  254. *case: TRACTOR
  255. {
  256. *PrintableArea: PAIR(2341, 3483)
  257. *PrintableOrigin: PAIR(120, 0)
  258. *switch: Resolution
  259. {
  260. *case: Option1
  261. {
  262. *% Warning: the following printable length is adjusted (3483->3482) so it is divisible by the resolution Y scale.
  263. *PrintableArea: PAIR(2341, 3482)
  264. }
  265. *case: Option2
  266. {
  267. *% Warning: the following printable width is adjusted (2341->2340) so it is divisible by the resolution X scale.
  268. *% Warning: the following printable length is adjusted (3483->3482) so it is divisible by the resolution Y scale.
  269. *PrintableArea: PAIR(2340, 3482)
  270. }
  271. }
  272. }
  273. *case: MANUAL
  274. {
  275. *PrintableArea: PAIR(2341, 3299)
  276. *PrintableOrigin: PAIR(120, 120)
  277. *switch: Resolution
  278. {
  279. *case: Option1
  280. {
  281. *% Warning: the following printable length is adjusted (3299->3298) so it is divisible by the resolution Y scale.
  282. *PrintableArea: PAIR(2341, 3298)
  283. }
  284. *case: Option2
  285. {
  286. *% Warning: the following printable width is adjusted (2341->2340) so it is divisible by the resolution X scale.
  287. *% Warning: the following printable length is adjusted (3299->3298) so it is divisible by the resolution Y scale.
  288. *PrintableArea: PAIR(2340, 3298)
  289. }
  290. }
  291. }
  292. }
  293. }
  294. *Option: Option8
  295. {
  296. *rcNameID: 258
  297. *PageDimensions: PAIR(2340, 1446)
  298. *switch: InputBin
  299. {
  300. *case: TRACTOR
  301. {
  302. *PrintableArea: PAIR(2100, 1286)
  303. *PrintableOrigin: PAIR(120, 0)
  304. }
  305. *case: MANUAL
  306. {
  307. *PrintableArea: PAIR(2100, 1102)
  308. *PrintableOrigin: PAIR(120, 120)
  309. }
  310. }
  311. }
  312. *Option: Option9
  313. {
  314. *rcNameID: 259
  315. *PageDimensions: PAIR(2340, 1446)
  316. *switch: InputBin
  317. {
  318. *case: TRACTOR
  319. {
  320. *PrintableArea: PAIR(2100, 1286)
  321. *PrintableOrigin: PAIR(120, 0)
  322. }
  323. *case: MANUAL
  324. {
  325. *PrintableArea: PAIR(2100, 1102)
  326. *PrintableOrigin: PAIR(120, 120)
  327. }
  328. }
  329. }
  330. *Option: Option10
  331. {
  332. *rcNameID: 260
  333. *PageDimensions: PAIR(2496, 1560)
  334. *switch: InputBin
  335. {
  336. *case: TRACTOR
  337. {
  338. *PrintableArea: PAIR(2256, 1400)
  339. *PrintableOrigin: PAIR(120, 0)
  340. }
  341. *case: MANUAL
  342. {
  343. *PrintableArea: PAIR(2256, 1216)
  344. *PrintableOrigin: PAIR(120, 120)
  345. }
  346. }
  347. }
  348. *Option: Option11
  349. {
  350. *rcNameID: 261
  351. *PageDimensions: PAIR(2496, 1560)
  352. *switch: InputBin
  353. {
  354. *case: TRACTOR
  355. {
  356. *PrintableArea: PAIR(2256, 1400)
  357. *PrintableOrigin: PAIR(120, 0)
  358. }
  359. *case: MANUAL
  360. {
  361. *PrintableArea: PAIR(2256, 1216)
  362. *PrintableOrigin: PAIR(120, 120)
  363. }
  364. }
  365. }
  366. *Option: Option12
  367. {
  368. *rcNameID: 262
  369. *PageDimensions: PAIR(2496, 1774)
  370. *switch: InputBin
  371. {
  372. *case: TRACTOR
  373. {
  374. *PrintableArea: PAIR(2256, 1614)
  375. *PrintableOrigin: PAIR(120, 0)
  376. }
  377. *case: MANUAL
  378. {
  379. *PrintableArea: PAIR(2256, 1430)
  380. *PrintableOrigin: PAIR(120, 120)
  381. }
  382. }
  383. }
  384. *Option: Option13
  385. {
  386. *rcNameID: 263
  387. *PageDimensions: PAIR(2496, 1774)
  388. *switch: InputBin
  389. {
  390. *case: TRACTOR
  391. {
  392. *PrintableArea: PAIR(2256, 1614)
  393. *PrintableOrigin: PAIR(120, 0)
  394. }
  395. *case: MANUAL
  396. {
  397. *PrintableArea: PAIR(2256, 1430)
  398. *PrintableOrigin: PAIR(120, 120)
  399. }
  400. }
  401. }
  402. *Option: Option14
  403. {
  404. *rcNameID: 264
  405. *PageDimensions: PAIR(2950, 1560)
  406. *switch: InputBin
  407. {
  408. *case: TRACTOR
  409. {
  410. *PrintableArea: PAIR(2710, 1400)
  411. *PrintableOrigin: PAIR(120, 0)
  412. }
  413. *case: MANUAL
  414. {
  415. *PrintableArea: PAIR(2710, 1216)
  416. *PrintableOrigin: PAIR(120, 120)
  417. }
  418. }
  419. }
  420. *Option: Option15
  421. {
  422. *rcNameID: 265
  423. *PageDimensions: PAIR(2950, 1560)
  424. *switch: InputBin
  425. {
  426. *case: TRACTOR
  427. {
  428. *PrintableArea: PAIR(2710, 1400)
  429. *PrintableOrigin: PAIR(120, 0)
  430. }
  431. *case: MANUAL
  432. {
  433. *PrintableArea: PAIR(2710, 1216)
  434. *PrintableOrigin: PAIR(120, 120)
  435. }
  436. }
  437. }
  438. *Option: Option16
  439. {
  440. *rcNameID: 266
  441. *PageDimensions: PAIR(3120, 1560)
  442. *switch: InputBin
  443. {
  444. *case: TRACTOR
  445. {
  446. *PrintableArea: PAIR(2880, 1400)
  447. *PrintableOrigin: PAIR(120, 0)
  448. }
  449. *case: MANUAL
  450. {
  451. *PrintableArea: PAIR(2880, 1216)
  452. *PrintableOrigin: PAIR(120, 120)
  453. }
  454. }
  455. }
  456. *Option: Option17
  457. {
  458. *rcNameID: 267
  459. *PageDimensions: PAIR(3120, 1560)
  460. *switch: InputBin
  461. {
  462. *case: TRACTOR
  463. {
  464. *PrintableArea: PAIR(2880, 1400)
  465. *PrintableOrigin: PAIR(120, 0)
  466. }
  467. *case: MANUAL
  468. {
  469. *PrintableArea: PAIR(2880, 1216)
  470. *PrintableOrigin: PAIR(120, 120)
  471. }
  472. }
  473. }
  474. *Option: Option18
  475. {
  476. *rcNameID: 268
  477. *PageDimensions: PAIR(3120, 1560)
  478. *switch: InputBin
  479. {
  480. *case: TRACTOR
  481. {
  482. *PrintableArea: PAIR(2880, 1400)
  483. *PrintableOrigin: PAIR(120, 0)
  484. }
  485. *case: MANUAL
  486. {
  487. *PrintableArea: PAIR(2880, 1216)
  488. *PrintableOrigin: PAIR(120, 120)
  489. }
  490. }
  491. }
  492. *Option: Option19
  493. {
  494. *rcNameID: 269
  495. *PageDimensions: PAIR(3120, 1560)
  496. *switch: InputBin
  497. {
  498. *case: TRACTOR
  499. {
  500. *PrintableArea: PAIR(2880, 1400)
  501. *PrintableOrigin: PAIR(120, 0)
  502. }
  503. *case: MANUAL
  504. {
  505. *PrintableArea: PAIR(2880, 1216)
  506. *PrintableOrigin: PAIR(120, 120)
  507. }
  508. }
  509. }
  510. *Option: Option20
  511. {
  512. *rcNameID: 270
  513. *PageDimensions: PAIR(2496, 1560)
  514. *switch: InputBin
  515. {
  516. *case: TRACTOR
  517. {
  518. *PrintableArea: PAIR(2256, 1400)
  519. *PrintableOrigin: PAIR(120, 0)
  520. }
  521. *case: MANUAL
  522. {
  523. *PrintableArea: PAIR(2256, 1216)
  524. *PrintableOrigin: PAIR(120, 120)
  525. }
  526. }
  527. }
  528. *Option: Option21
  529. {
  530. *rcNameID: 271
  531. *PageDimensions: PAIR(2496, 1560)
  532. *switch: InputBin
  533. {
  534. *case: TRACTOR
  535. {
  536. *PrintableArea: PAIR(2256, 1400)
  537. *PrintableOrigin: PAIR(120, 0)
  538. }
  539. *case: MANUAL
  540. {
  541. *PrintableArea: PAIR(2256, 1216)
  542. *PrintableOrigin: PAIR(120, 120)
  543. }
  544. }
  545. }
  546. *Option: Option22
  547. {
  548. *rcNameID: 272
  549. *PageDimensions: PAIR(3262, 2270)
  550. *switch: InputBin
  551. {
  552. *case: TRACTOR
  553. {
  554. *PrintableArea: PAIR(3022, 2110)
  555. *PrintableOrigin: PAIR(120, 0)
  556. }
  557. *case: MANUAL
  558. {
  559. *PrintableArea: PAIR(3022, 1926)
  560. *PrintableOrigin: PAIR(120, 120)
  561. }
  562. }
  563. }
  564. *Option: Option23
  565. {
  566. *rcNameID: 273
  567. *PageDimensions: PAIR(3262, 2270)
  568. *switch: InputBin
  569. {
  570. *case: TRACTOR
  571. {
  572. *PrintableArea: PAIR(3022, 2110)
  573. *PrintableOrigin: PAIR(120, 0)
  574. }
  575. *case: MANUAL
  576. {
  577. *PrintableArea: PAIR(3022, 1926)
  578. *PrintableOrigin: PAIR(120, 120)
  579. }
  580. }
  581. }
  582. *Option: Option24
  583. {
  584. *rcNameID: 274
  585. *PageDimensions: PAIR(4382, 1702)
  586. *switch: InputBin
  587. {
  588. *case: TRACTOR
  589. {
  590. *PrintableArea: PAIR(4142, 1542)
  591. *PrintableOrigin: PAIR(120, 0)
  592. }
  593. *case: MANUAL
  594. {
  595. *PrintableArea: PAIR(4142, 1358)
  596. *PrintableOrigin: PAIR(120, 120)
  597. }
  598. }
  599. }
  600. *Option: Option25
  601. {
  602. *rcNameID: 275
  603. *PageDimensions: PAIR(4382, 1702)
  604. *switch: InputBin
  605. {
  606. *case: TRACTOR
  607. {
  608. *PrintableArea: PAIR(4142, 1542)
  609. *PrintableOrigin: PAIR(120, 0)
  610. }
  611. *case: MANUAL
  612. {
  613. *PrintableArea: PAIR(4142, 1358)
  614. *PrintableOrigin: PAIR(120, 120)
  615. }
  616. }
  617. }
  618. *Option: Option26
  619. {
  620. *rcNameID: 276
  621. *PageDimensions: PAIR(4595, 3248)
  622. *switch: InputBin
  623. {
  624. *case: TRACTOR
  625. {
  626. *PrintableArea: PAIR(4355, 3088)
  627. *PrintableOrigin: PAIR(120, 0)
  628. *switch: Resolution
  629. {
  630. *case: Option2
  631. {
  632. *% Warning: the following printable width is adjusted (4355->4354) so it is divisible by the resolution X scale.
  633. *PrintableArea: PAIR(4354, 3088)
  634. }
  635. }
  636. }
  637. *case: MANUAL
  638. {
  639. *PrintableArea: PAIR(4355, 2904)
  640. *PrintableOrigin: PAIR(120, 120)
  641. *switch: Resolution
  642. {
  643. *case: Option2
  644. {
  645. *% Warning: the following printable width is adjusted (4355->4354) so it is divisible by the resolution X scale.
  646. *PrintableArea: PAIR(4354, 2904)
  647. }
  648. }
  649. }
  650. }
  651. }
  652. *Option: Option27
  653. {
  654. *rcNameID: 277
  655. *PageDimensions: PAIR(4595, 3248)
  656. *switch: InputBin
  657. {
  658. *case: TRACTOR
  659. {
  660. *PrintableArea: PAIR(4355, 3088)
  661. *PrintableOrigin: PAIR(120, 0)
  662. *switch: Resolution
  663. {
  664. *case: Option2
  665. {
  666. *% Warning: the following printable width is adjusted (4355->4354) so it is divisible by the resolution X scale.
  667. *PrintableArea: PAIR(4354, 3088)
  668. }
  669. }
  670. }
  671. *case: MANUAL
  672. {
  673. *PrintableArea: PAIR(4355, 2904)
  674. *PrintableOrigin: PAIR(120, 120)
  675. *switch: Resolution
  676. {
  677. *case: Option2
  678. {
  679. *% Warning: the following printable width is adjusted (4355->4354) so it is divisible by the resolution X scale.
  680. *PrintableArea: PAIR(4354, 2904)
  681. }
  682. }
  683. }
  684. }
  685. }
  686. *Option: CUSTOMSIZE
  687. {
  688. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  689. *MinSize: PAIR(180, 180)
  690. *MaxSize: PAIR(4896, 32767)
  691. *MaxPrintableWidth: 4896
  692. *MinLeftMargin: 0
  693. *CenterPrintable?: FALSE
  694. *switch: InputBin
  695. {
  696. *case: TRACTOR
  697. {
  698. *TopMargin: 0
  699. *BottomMargin: 0
  700. }
  701. *case: MANUAL
  702. {
  703. *TopMargin: 120
  704. *BottomMargin: 224
  705. }
  706. }
  707. }
  708. }
  709. *Feature: PrintQuality
  710. {
  711. *rcNameID: =TEXT_QUALITY_DISPLAY
  712. *DefaultOption: LETTER_QUALITY
  713. *Option: DRAFT_QUALITY
  714. {
  715. *rcNameID: =DRAFT_QUALITY_DISPLAY
  716. }
  717. *Option: LETTER_QUALITY
  718. {
  719. *rcNameID: =LETTER_QUALITY_DISPLAY
  720. }
  721. }
  722. *Feature: Halftone
  723. {
  724. *rcNameID: =HALFTONING_DISPLAY
  725. *DefaultOption: HT_PATSIZE_AUTO
  726. *Option: HT_PATSIZE_AUTO
  727. {
  728. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  729. }
  730. *Option: HT_PATSIZE_SUPERCELL_M
  731. {
  732. *rcNameID: =HT_SUPERCELL_DISPLAY
  733. }
  734. *Option: HT_PATSIZE_6x6_M
  735. {
  736. *rcNameID: =HT_DITHER6X6_DISPLAY
  737. }
  738. *Option: HT_PATSIZE_8x8_M
  739. {
  740. *rcNameID: =HT_DITHER8X8_DISPLAY
  741. }
  742. }
  743. *Command: CmdStartPage
  744. {
  745. *Order: PAGE_SETUP.1
  746. *Cmd: "<0D>"
  747. }
  748. *Command: CmdEndJob
  749. {
  750. *Order: JOB_FINISH.1
  751. *Cmd: "<1B>@"
  752. }
  753. *RotateCoordinate?: FALSE
  754. *RotateRaster?: FALSE
  755. *RotateFont?: TRUE
  756. *switch: Orientation
  757. {
  758. *case: PORTRAIT
  759. {
  760. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE,TC_RA_ABLE)
  761. }
  762. *case: LANDSCAPE_CC270
  763. {
  764. *TextCaps: LIST(TC_RA_ABLE)
  765. }
  766. }
  767. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  768. *YMoveAttributes: LIST(SEND_CR_FIRST)
  769. *MaxLineSpacing: 255
  770. *XMoveThreshold: 0
  771. *YMoveThreshold: *
  772. *XMoveUnit: 60
  773. *YMoveUnit: 180
  774. *Command: CmdXMoveAbsolute{ *Cmd : "<1B>$" %l{(DestXRel / 6)} }
  775. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat(DestYRel / 2)} }
  776. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{LinefeedSpacing / 2} }
  777. *Command: CmdCR { *Cmd : "<0D>" }
  778. *Command: CmdLF { *Cmd : "<0A>" }
  779. *Command: CmdFF { *Cmd : "<0C>" }
  780. *Command: CmdBackSpace { *Cmd : "<08>" }
  781. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  782. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  783. *EjectPageWithFF?: TRUE
  784. *OutputDataFormat: V_BYTE
  785. *OptimizeLeftBound?: FALSE
  786. *CursorXAfterSendBlockData: AT_GRXDATA_END
  787. *CursorYAfterSendBlockData: NO_MOVE
  788. *DefaultFont: 62
  789. *DefaultCTT: 0
  790. *DeviceFonts: LIST(62,63,64,65)
  791. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  792. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  793. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  794. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  795. *Command: CmdSelectSingleByteMode { *Cmd : "<1C>." }
  796. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C>&" }
  797. *Command: CmdVerticalPrintingOn { *Cmd : "<1C>J" }
  798. *Command: CmdVerticalPrintingOff { *Cmd : "<1C>K" }