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.

845 lines
23 KiB

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