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.

846 lines
23 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "MT360.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Mannesmann Tally MT 360"
  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: A4
  129. *Option: A4
  130. {
  131. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  132. *Command: CmdSelect
  133. {
  134. *Order: DOC_SETUP.8
  135. *Cmd: "<1B>2<1B>CF"
  136. }
  137. *switch: InputBin
  138. {
  139. *case: TRACTOR
  140. {
  141. *PrintableArea: PAIR(2977, 4208)
  142. *PrintableOrigin: PAIR(0, 0)
  143. *switch: Resolution
  144. {
  145. *case: Option1
  146. {
  147. *PrintableArea: PAIR(2976, 4208)
  148. }
  149. *case: Option4
  150. {
  151. *PrintableArea: PAIR(2976, 4208)
  152. }
  153. }
  154. }
  155. *case: MANUAL
  156. {
  157. *PrintableArea: PAIR(2977, 4116)
  158. *PrintableOrigin: PAIR(0, 68)
  159. *switch: Resolution
  160. {
  161. *case: Option1
  162. {
  163. *PrintableArea: PAIR(2976, 4116)
  164. }
  165. *case: Option4
  166. {
  167. *PrintableArea: PAIR(2976, 4116)
  168. }
  169. }
  170. }
  171. *case: AUTO
  172. {
  173. *PrintableArea: PAIR(2977, 4028)
  174. *PrintableOrigin: PAIR(0, 180)
  175. *switch: Resolution
  176. {
  177. *case: Option1
  178. {
  179. *PrintableArea: PAIR(2976, 4028)
  180. }
  181. *case: Option4
  182. {
  183. *PrintableArea: PAIR(2976, 4028)
  184. }
  185. }
  186. }
  187. *case: Option4
  188. {
  189. *PrintableArea: PAIR(2977, 4208)
  190. *PrintableOrigin: PAIR(0, 0)
  191. *switch: Resolution
  192. {
  193. *case: Option1
  194. {
  195. *PrintableArea: PAIR(2976, 4208)
  196. }
  197. *case: Option4
  198. {
  199. *PrintableArea: PAIR(2976, 4208)
  200. }
  201. }
  202. }
  203. *case: Option5
  204. {
  205. *PrintableArea: PAIR(2977, 4208)
  206. *PrintableOrigin: PAIR(0, 0)
  207. *switch: Resolution
  208. {
  209. *case: Option1
  210. {
  211. *PrintableArea: PAIR(2976, 4208)
  212. }
  213. *case: Option4
  214. {
  215. *PrintableArea: PAIR(2976, 4208)
  216. }
  217. }
  218. }
  219. }
  220. }
  221. *Option: LETTER
  222. {
  223. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  224. *Command: CmdSelect
  225. {
  226. *Order: DOC_SETUP.8
  227. *Cmd: "<1B>C<000B>"
  228. }
  229. *switch: InputBin
  230. {
  231. *case: TRACTOR
  232. {
  233. *PrintableArea: PAIR(3060, 3960)
  234. *PrintableOrigin: PAIR(0, 0)
  235. }
  236. *case: MANUAL
  237. {
  238. *PrintableArea: PAIR(3060, 3868)
  239. *PrintableOrigin: PAIR(0, 68)
  240. }
  241. *case: AUTO
  242. {
  243. *PrintableArea: PAIR(3060, 3780)
  244. *PrintableOrigin: PAIR(0, 180)
  245. }
  246. *case: Option4
  247. {
  248. *PrintableArea: PAIR(3060, 3960)
  249. *PrintableOrigin: PAIR(0, 0)
  250. }
  251. *case: Option5
  252. {
  253. *PrintableArea: PAIR(3060, 3960)
  254. *PrintableOrigin: PAIR(0, 0)
  255. }
  256. }
  257. }
  258. *Option: A3
  259. {
  260. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  261. *Command: CmdSelect
  262. {
  263. *Order: DOC_SETUP.8
  264. *Cmd: "<1B>2<1B>Cc"
  265. }
  266. *switch: InputBin
  267. {
  268. *case: TRACTOR
  269. {
  270. *PrintableArea: PAIR(4208, 5954)
  271. *PrintableOrigin: PAIR(0, 0)
  272. *switch: Resolution
  273. {
  274. *case: Option4
  275. {
  276. *PrintableArea: PAIR(4206, 5954)
  277. }
  278. }
  279. }
  280. *case: MANUAL
  281. {
  282. *PrintableArea: PAIR(4208, 5862)
  283. *PrintableOrigin: PAIR(0, 68)
  284. *switch: Resolution
  285. {
  286. *case: Option4
  287. {
  288. *PrintableArea: PAIR(4206, 5862)
  289. }
  290. }
  291. }
  292. *case: AUTO
  293. {
  294. *PrintableArea: PAIR(4208, 5774)
  295. *PrintableOrigin: PAIR(0, 180)
  296. *switch: Resolution
  297. {
  298. *case: Option4
  299. {
  300. *PrintableArea: PAIR(4206, 5774)
  301. }
  302. }
  303. }
  304. *case: Option4
  305. {
  306. *PrintableArea: PAIR(4208, 5954)
  307. *PrintableOrigin: PAIR(0, 0)
  308. *switch: Resolution
  309. {
  310. *case: Option4
  311. {
  312. *PrintableArea: PAIR(4206, 5954)
  313. }
  314. }
  315. }
  316. *case: Option5
  317. {
  318. *PrintableArea: PAIR(4208, 5954)
  319. *PrintableOrigin: PAIR(0, 0)
  320. *switch: Resolution
  321. {
  322. *case: Option4
  323. {
  324. *PrintableArea: PAIR(4206, 5954)
  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: Option1
  669. *Option: Option1
  670. {
  671. *rcNameID: 269
  672. *Command: CmdSelect
  673. {
  674. *Order: DOC_SETUP.6
  675. *Cmd: "<1B>[11y"
  676. }
  677. }
  678. *Option: DRAFT_QUALITY
  679. {
  680. *rcNameID: =DRAFT_QUALITY_DISPLAY
  681. *Command: CmdSelect
  682. {
  683. *Order: DOC_SETUP.6
  684. *Cmd: "<1B>x<00>"
  685. }
  686. }
  687. *Option: NEAR_LETTER_QUALITY
  688. {
  689. *rcNameID: =NEAR_LETTER_QUALITY_DISPLAY
  690. *Command: CmdSelect
  691. {
  692. *Order: DOC_SETUP.6
  693. *Cmd: "<1B>[1y"
  694. }
  695. }
  696. *Option: LETTER_QUALITY
  697. {
  698. *rcNameID: =LETTER_QUALITY_DISPLAY
  699. *Command: CmdSelect
  700. {
  701. *Order: DOC_SETUP.6
  702. *Cmd: "<1B>x<01>"
  703. }
  704. }
  705. }
  706. *Feature: ColorMode
  707. {
  708. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  709. *DefaultOption: Color
  710. *Option: Mono
  711. {
  712. *rcNameID: =MONO_DISPLAY
  713. *DevNumOfPlanes: 1
  714. *DevBPP: 1
  715. *Color? : FALSE
  716. }
  717. *Option: Color
  718. {
  719. *rcNameID: =COLOR_DISPLAY
  720. *DevNumOfPlanes: 4
  721. *DevBPP: 1
  722. *DrvBPP: 4
  723. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  724. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  725. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  726. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  727. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  728. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  729. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  730. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  731. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  732. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  733. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<02>" }
  734. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  735. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  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: "<1B>[?6~<1B>t<011B>6<1B>R<001B>[0;0 D<1B>[1;1 D<1B>[2;2 D<1B>[3;3 D<1B>[4;4 D<1B>"
  765. + "[5;5 D<1B>[6;6 D<1B>[?52h"
  766. }
  767. *Command: CmdEndJob
  768. {
  769. *Order: JOB_FINISH.1
  770. *Cmd: "<1B>[54{<1B>@"
  771. }
  772. *RotateCoordinate?: FALSE
  773. *RotateRaster?: FALSE
  774. *RotateFont?: FALSE
  775. *switch: Orientation
  776. {
  777. *case: PORTRAIT
  778. {
  779. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  780. }
  781. *case: LANDSCAPE_CC270
  782. {
  783. *TextCaps: LIST(TC_RA_ABLE)
  784. }
  785. }
  786. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  787. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  788. *MaxLineSpacing: 255
  789. *XMoveThreshold: 0
  790. *YMoveThreshold: *
  791. *XMoveUnit: 60
  792. *YMoveUnit: 180
  793. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,816]{max_repeat((DestX / 6) )} }
  794. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  795. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  796. *Command: CmdCR { *Cmd : "<0D>" }
  797. *Command: CmdLF { *Cmd : "<0A>" }
  798. *Command: CmdFF { *Cmd : "<0C>" }
  799. *Command: CmdBackSpace { *Cmd : "<08>" }
  800. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  801. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  802. *EjectPageWithFF?: FALSE
  803. *switch: InputBin
  804. {
  805. *case: MANUAL
  806. {
  807. *EjectPageWithFF?: TRUE
  808. }
  809. *case: AUTO
  810. {
  811. *EjectPageWithFF?: TRUE
  812. }
  813. }
  814. *OutputDataFormat: V_BYTE
  815. *OptimizeLeftBound?: FALSE
  816. *CursorXAfterSendBlockData: AT_GRXDATA_END
  817. *CursorYAfterSendBlockData: NO_MOVE
  818. *DefaultFont: 73
  819. *DefaultCTT: 1
  820. *switch: Orientation
  821. {
  822. *case: PORTRAIT
  823. {
  824. *DeviceFonts: LIST(73,74,75,76,77,78,79,80,81,91,92,103,104,105,106,107,
  825. + 108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,
  826. + 124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,
  827. + 140,141,142)
  828. }
  829. *case: LANDSCAPE_CC270
  830. {
  831. *DeviceFonts: LIST()
  832. }
  833. }
  834. *FontCartridge: FC1
  835. {
  836. *rcCartridgeNameID: 276
  837. *PortraitFonts: LIST(82,83,84,85,86,87,88,89,90,93,94,95,96,97,98,99,
  838. + 100,101,102,143,144,145,146,147,148,149,150,151)
  839. *LandscapeFonts: LIST()
  840. }
  841. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  842. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  843. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  844. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  845. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  846. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }