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.

998 lines
27 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "MT360-2T.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Mannesmann Tally MT 360-2T"
  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: Option2
  41. {
  42. *rcNameID: 263
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.7
  46. *Cmd: "<1B>[5;;0{"
  47. }
  48. }
  49. *Option: Option3
  50. {
  51. *rcNameID: 264
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.7
  55. *Cmd: "<1B>[6;;0{"
  56. }
  57. }
  58. *Option: MANUAL
  59. {
  60. *rcNameID: =MANUAL_FEED_DISPLAY
  61. *Command: CmdSelect
  62. {
  63. *Order: DOC_SETUP.7
  64. *Cmd: "<1B>[0;;0{"
  65. }
  66. }
  67. *Option: AUTO
  68. {
  69. *rcNameID: =AUTO_DISPLAY
  70. }
  71. *Option: Option6
  72. {
  73. *rcNameID: 265
  74. *Command: CmdSelect
  75. {
  76. *Order: DOC_SETUP.7
  77. *Cmd: "<1B>[21;;0{"
  78. }
  79. }
  80. *Option: Option7
  81. {
  82. *rcNameID: 266
  83. *Command: CmdSelect
  84. {
  85. *Order: DOC_SETUP.7
  86. *Cmd: "<1B>[22;;0{"
  87. }
  88. }
  89. }
  90. *Feature: Resolution
  91. {
  92. *rcNameID: =RESOLUTION_DISPLAY
  93. *DefaultOption: Option1
  94. *Option: Option1
  95. {
  96. *Name: "180 x 180 " =DOTS_PER_INCH
  97. *DPI: PAIR(180, 180)
  98. *TextDPI: PAIR(180, 180)
  99. *PinsPerLogPass: 24
  100. *PinsPerPhysPass: 24
  101. *MinStripBlankPixels: 135
  102. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  103. *SpotDiameter: 140
  104. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  105. }
  106. *Option: Option2
  107. {
  108. *Name: "360 x 360 " =DOTS_PER_INCH
  109. *DPI: PAIR(360, 360)
  110. *TextDPI: PAIR(360, 360)
  111. *PinsPerLogPass: 48
  112. *PinsPerPhysPass: 24
  113. *MinStripBlankPixels: 270
  114. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  115. *SpotDiameter: 283
  116. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  117. }
  118. *Option: Option3
  119. {
  120. *Name: "360 x 180 " =DOTS_PER_INCH
  121. *DPI: PAIR(360, 180)
  122. *TextDPI: PAIR(360, 180)
  123. *PinsPerLogPass: 24
  124. *PinsPerPhysPass: 24
  125. *MinStripBlankPixels: 270
  126. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  127. *SpotDiameter: 200
  128. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  129. }
  130. *Option: Option4
  131. {
  132. *Name: "120 x 180 " =DOTS_PER_INCH
  133. *DPI: PAIR(120, 180)
  134. *TextDPI: PAIR(120, 180)
  135. *PinsPerLogPass: 24
  136. *PinsPerPhysPass: 24
  137. *MinStripBlankPixels: 90
  138. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  139. *SpotDiameter: 115
  140. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  141. }
  142. }
  143. *Feature: PaperSize
  144. {
  145. *rcNameID: =PAPER_SIZE_DISPLAY
  146. *DefaultOption: A4
  147. *Option: A4
  148. {
  149. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  150. *Command: CmdSelect
  151. {
  152. *Order: DOC_SETUP.8
  153. *Cmd: "<1B>2<1B>CF"
  154. }
  155. *switch: InputBin
  156. {
  157. *case: TRACTOR
  158. {
  159. *PrintableArea: PAIR(2977, 4208)
  160. *PrintableOrigin: PAIR(0, 0)
  161. *switch: Resolution
  162. {
  163. *case: Option1
  164. {
  165. *PrintableArea: PAIR(2976, 4208)
  166. }
  167. *case: Option4
  168. {
  169. *PrintableArea: PAIR(2976, 4208)
  170. }
  171. }
  172. }
  173. *case: Option2
  174. {
  175. *PrintableArea: PAIR(2977, 4208)
  176. *PrintableOrigin: PAIR(0, 0)
  177. *switch: Resolution
  178. {
  179. *case: Option1
  180. {
  181. *PrintableArea: PAIR(2976, 4208)
  182. }
  183. *case: Option4
  184. {
  185. *PrintableArea: PAIR(2976, 4208)
  186. }
  187. }
  188. }
  189. *case: Option3
  190. {
  191. *PrintableArea: PAIR(2977, 4208)
  192. *PrintableOrigin: PAIR(0, 0)
  193. *switch: Resolution
  194. {
  195. *case: Option1
  196. {
  197. *PrintableArea: PAIR(2976, 4208)
  198. }
  199. *case: Option4
  200. {
  201. *PrintableArea: PAIR(2976, 4208)
  202. }
  203. }
  204. }
  205. *case: MANUAL
  206. {
  207. *PrintableArea: PAIR(2977, 4116)
  208. *PrintableOrigin: PAIR(0, 68)
  209. *switch: Resolution
  210. {
  211. *case: Option1
  212. {
  213. *PrintableArea: PAIR(2976, 4116)
  214. }
  215. *case: Option4
  216. {
  217. *PrintableArea: PAIR(2976, 4116)
  218. }
  219. }
  220. }
  221. *case: AUTO
  222. {
  223. *PrintableArea: PAIR(2977, 4028)
  224. *PrintableOrigin: PAIR(0, 180)
  225. *switch: Resolution
  226. {
  227. *case: Option1
  228. {
  229. *PrintableArea: PAIR(2976, 4028)
  230. }
  231. *case: Option4
  232. {
  233. *PrintableArea: PAIR(2976, 4028)
  234. }
  235. }
  236. }
  237. *case: Option6
  238. {
  239. *PrintableArea: PAIR(2977, 4208)
  240. *PrintableOrigin: PAIR(0, 0)
  241. *switch: Resolution
  242. {
  243. *case: Option1
  244. {
  245. *PrintableArea: PAIR(2976, 4208)
  246. }
  247. *case: Option4
  248. {
  249. *PrintableArea: PAIR(2976, 4208)
  250. }
  251. }
  252. }
  253. *case: Option7
  254. {
  255. *PrintableArea: PAIR(2977, 4208)
  256. *PrintableOrigin: PAIR(0, 0)
  257. *switch: Resolution
  258. {
  259. *case: Option1
  260. {
  261. *PrintableArea: PAIR(2976, 4208)
  262. }
  263. *case: Option4
  264. {
  265. *PrintableArea: PAIR(2976, 4208)
  266. }
  267. }
  268. }
  269. }
  270. }
  271. *Option: LETTER
  272. {
  273. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.8
  277. *Cmd: "<1B>C<000B>"
  278. }
  279. *switch: InputBin
  280. {
  281. *case: TRACTOR
  282. {
  283. *PrintableArea: PAIR(3060, 3960)
  284. *PrintableOrigin: PAIR(0, 0)
  285. }
  286. *case: Option2
  287. {
  288. *PrintableArea: PAIR(3060, 3960)
  289. *PrintableOrigin: PAIR(0, 0)
  290. }
  291. *case: Option3
  292. {
  293. *PrintableArea: PAIR(3060, 3960)
  294. *PrintableOrigin: PAIR(0, 0)
  295. }
  296. *case: MANUAL
  297. {
  298. *PrintableArea: PAIR(3060, 3868)
  299. *PrintableOrigin: PAIR(0, 68)
  300. }
  301. *case: AUTO
  302. {
  303. *PrintableArea: PAIR(3060, 3780)
  304. *PrintableOrigin: PAIR(0, 180)
  305. }
  306. *case: Option6
  307. {
  308. *PrintableArea: PAIR(3060, 3960)
  309. *PrintableOrigin: PAIR(0, 0)
  310. }
  311. *case: Option7
  312. {
  313. *PrintableArea: PAIR(3060, 3960)
  314. *PrintableOrigin: PAIR(0, 0)
  315. }
  316. }
  317. }
  318. *Option: A3
  319. {
  320. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  321. *Command: CmdSelect
  322. {
  323. *Order: DOC_SETUP.8
  324. *Cmd: "<1B>2<1B>Cc"
  325. }
  326. *switch: InputBin
  327. {
  328. *case: TRACTOR
  329. {
  330. *PrintableArea: PAIR(4208, 5954)
  331. *PrintableOrigin: PAIR(0, 0)
  332. *switch: Resolution
  333. {
  334. *case: Option4
  335. {
  336. *PrintableArea: PAIR(4206, 5954)
  337. }
  338. }
  339. }
  340. *case: Option2
  341. {
  342. *PrintableArea: PAIR(4208, 5954)
  343. *PrintableOrigin: PAIR(0, 0)
  344. *switch: Resolution
  345. {
  346. *case: Option4
  347. {
  348. *PrintableArea: PAIR(4206, 5954)
  349. }
  350. }
  351. }
  352. *case: Option3
  353. {
  354. *PrintableArea: PAIR(4208, 5954)
  355. *PrintableOrigin: PAIR(0, 0)
  356. *switch: Resolution
  357. {
  358. *case: Option4
  359. {
  360. *PrintableArea: PAIR(4206, 5954)
  361. }
  362. }
  363. }
  364. *case: MANUAL
  365. {
  366. *PrintableArea: PAIR(4208, 5862)
  367. *PrintableOrigin: PAIR(0, 68)
  368. *switch: Resolution
  369. {
  370. *case: Option4
  371. {
  372. *PrintableArea: PAIR(4206, 5862)
  373. }
  374. }
  375. }
  376. *case: AUTO
  377. {
  378. *PrintableArea: PAIR(4208, 5774)
  379. *PrintableOrigin: PAIR(0, 180)
  380. *switch: Resolution
  381. {
  382. *case: Option4
  383. {
  384. *PrintableArea: PAIR(4206, 5774)
  385. }
  386. }
  387. }
  388. *case: Option6
  389. {
  390. *PrintableArea: PAIR(4208, 5954)
  391. *PrintableOrigin: PAIR(0, 0)
  392. *switch: Resolution
  393. {
  394. *case: Option4
  395. {
  396. *PrintableArea: PAIR(4206, 5954)
  397. }
  398. }
  399. }
  400. *case: Option7
  401. {
  402. *PrintableArea: PAIR(4208, 5954)
  403. *PrintableOrigin: PAIR(0, 0)
  404. *switch: Resolution
  405. {
  406. *case: Option4
  407. {
  408. *PrintableArea: PAIR(4206, 5954)
  409. }
  410. }
  411. }
  412. }
  413. }
  414. *Option: A5
  415. {
  416. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  417. *Command: CmdSelect
  418. {
  419. *Order: DOC_SETUP.8
  420. *Cmd: "<1B>2<1B>C2"
  421. }
  422. *switch: InputBin
  423. {
  424. *case: TRACTOR
  425. {
  426. *PrintableArea: PAIR(2099, 2977)
  427. *PrintableOrigin: PAIR(0, 0)
  428. *switch: Resolution
  429. {
  430. *case: Option1
  431. {
  432. *PrintableArea: PAIR(2098, 2976)
  433. }
  434. *case: Option3
  435. {
  436. *PrintableArea: PAIR(2099, 2976)
  437. }
  438. *case: Option4
  439. {
  440. *PrintableArea: PAIR(2097, 2976)
  441. }
  442. }
  443. }
  444. *case: Option2
  445. {
  446. *PrintableArea: PAIR(2099, 2977)
  447. *PrintableOrigin: PAIR(0, 0)
  448. *switch: Resolution
  449. {
  450. *case: Option1
  451. {
  452. *PrintableArea: PAIR(2098, 2976)
  453. }
  454. *case: Option3
  455. {
  456. *PrintableArea: PAIR(2099, 2976)
  457. }
  458. *case: Option4
  459. {
  460. *PrintableArea: PAIR(2097, 2976)
  461. }
  462. }
  463. }
  464. *case: Option3
  465. {
  466. *PrintableArea: PAIR(2099, 2977)
  467. *PrintableOrigin: PAIR(0, 0)
  468. *switch: Resolution
  469. {
  470. *case: Option1
  471. {
  472. *PrintableArea: PAIR(2098, 2976)
  473. }
  474. *case: Option3
  475. {
  476. *PrintableArea: PAIR(2099, 2976)
  477. }
  478. *case: Option4
  479. {
  480. *PrintableArea: PAIR(2097, 2976)
  481. }
  482. }
  483. }
  484. *case: MANUAL
  485. {
  486. *PrintableArea: PAIR(2099, 2885)
  487. *PrintableOrigin: PAIR(0, 68)
  488. *switch: Resolution
  489. {
  490. *case: Option1
  491. {
  492. *PrintableArea: PAIR(2098, 2884)
  493. }
  494. *case: Option3
  495. {
  496. *PrintableArea: PAIR(2099, 2884)
  497. }
  498. *case: Option4
  499. {
  500. *PrintableArea: PAIR(2097, 2884)
  501. }
  502. }
  503. }
  504. *case: AUTO
  505. {
  506. *PrintableArea: PAIR(2099, 2797)
  507. *PrintableOrigin: PAIR(0, 180)
  508. *switch: Resolution
  509. {
  510. *case: Option1
  511. {
  512. *PrintableArea: PAIR(2098, 2796)
  513. }
  514. *case: Option3
  515. {
  516. *PrintableArea: PAIR(2099, 2796)
  517. }
  518. *case: Option4
  519. {
  520. *PrintableArea: PAIR(2097, 2796)
  521. }
  522. }
  523. }
  524. *case: Option6
  525. {
  526. *PrintableArea: PAIR(2099, 2977)
  527. *PrintableOrigin: PAIR(0, 0)
  528. *switch: Resolution
  529. {
  530. *case: Option1
  531. {
  532. *PrintableArea: PAIR(2098, 2976)
  533. }
  534. *case: Option3
  535. {
  536. *PrintableArea: PAIR(2099, 2976)
  537. }
  538. *case: Option4
  539. {
  540. *PrintableArea: PAIR(2097, 2976)
  541. }
  542. }
  543. }
  544. *case: Option7
  545. {
  546. *PrintableArea: PAIR(2099, 2977)
  547. *PrintableOrigin: PAIR(0, 0)
  548. *switch: Resolution
  549. {
  550. *case: Option1
  551. {
  552. *PrintableArea: PAIR(2098, 2976)
  553. }
  554. *case: Option3
  555. {
  556. *PrintableArea: PAIR(2099, 2976)
  557. }
  558. *case: Option4
  559. {
  560. *PrintableArea: PAIR(2097, 2976)
  561. }
  562. }
  563. }
  564. }
  565. }
  566. *Option: LEGAL
  567. {
  568. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  569. *Command: CmdSelect
  570. {
  571. *Order: DOC_SETUP.8
  572. *Cmd: "<1B>C<000E>"
  573. }
  574. *switch: InputBin
  575. {
  576. *case: TRACTOR
  577. {
  578. *PrintableArea: PAIR(3060, 5040)
  579. *PrintableOrigin: PAIR(0, 0)
  580. }
  581. *case: Option2
  582. {
  583. *PrintableArea: PAIR(3060, 5040)
  584. *PrintableOrigin: PAIR(0, 0)
  585. }
  586. *case: Option3
  587. {
  588. *PrintableArea: PAIR(3060, 5040)
  589. *PrintableOrigin: PAIR(0, 0)
  590. }
  591. *case: MANUAL
  592. {
  593. *PrintableArea: PAIR(3060, 4948)
  594. *PrintableOrigin: PAIR(0, 68)
  595. }
  596. *case: AUTO
  597. {
  598. *PrintableArea: PAIR(3060, 4860)
  599. *PrintableOrigin: PAIR(0, 180)
  600. }
  601. *case: Option6
  602. {
  603. *PrintableArea: PAIR(3060, 5040)
  604. *PrintableOrigin: PAIR(0, 0)
  605. }
  606. *case: Option7
  607. {
  608. *PrintableArea: PAIR(3060, 5040)
  609. *PrintableOrigin: PAIR(0, 0)
  610. }
  611. }
  612. }
  613. *Option: EXECUTIVE
  614. {
  615. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  616. *Command: CmdSelect
  617. {
  618. *Order: DOC_SETUP.8
  619. *Cmd: "<1B>2<1B>Cc"
  620. }
  621. *switch: InputBin
  622. {
  623. *case: TRACTOR
  624. {
  625. *PrintableArea: PAIR(2610, 3780)
  626. *PrintableOrigin: PAIR(0, 0)
  627. }
  628. *case: Option2
  629. {
  630. *PrintableArea: PAIR(2610, 3780)
  631. *PrintableOrigin: PAIR(0, 0)
  632. }
  633. *case: Option3
  634. {
  635. *PrintableArea: PAIR(2610, 3780)
  636. *PrintableOrigin: PAIR(0, 0)
  637. }
  638. *case: MANUAL
  639. {
  640. *PrintableArea: PAIR(2610, 3688)
  641. *PrintableOrigin: PAIR(0, 68)
  642. }
  643. *case: AUTO
  644. {
  645. *PrintableArea: PAIR(2610, 3600)
  646. *PrintableOrigin: PAIR(0, 180)
  647. }
  648. *case: Option6
  649. {
  650. *PrintableArea: PAIR(2610, 3780)
  651. *PrintableOrigin: PAIR(0, 0)
  652. }
  653. *case: Option7
  654. {
  655. *PrintableArea: PAIR(2610, 3780)
  656. *PrintableOrigin: PAIR(0, 0)
  657. }
  658. }
  659. }
  660. *Option: FANFOLD_STD_GERMAN
  661. {
  662. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  663. *Command: CmdSelect
  664. {
  665. *Order: DOC_SETUP.8
  666. *Cmd: "<1B>C<000C>"
  667. }
  668. *switch: InputBin
  669. {
  670. *case: TRACTOR
  671. {
  672. *PrintableArea: PAIR(3060, 4320)
  673. *PrintableOrigin: PAIR(0, 0)
  674. }
  675. *case: Option2
  676. {
  677. *PrintableArea: PAIR(3060, 4320)
  678. *PrintableOrigin: PAIR(0, 0)
  679. }
  680. *case: Option3
  681. {
  682. *PrintableArea: PAIR(3060, 4320)
  683. *PrintableOrigin: PAIR(0, 0)
  684. }
  685. *case: MANUAL
  686. {
  687. *PrintableArea: PAIR(3060, 4228)
  688. *PrintableOrigin: PAIR(0, 68)
  689. }
  690. *case: AUTO
  691. {
  692. *PrintableArea: PAIR(3060, 4140)
  693. *PrintableOrigin: PAIR(0, 180)
  694. }
  695. *case: Option6
  696. {
  697. *PrintableArea: PAIR(3060, 4320)
  698. *PrintableOrigin: PAIR(0, 0)
  699. }
  700. *case: Option7
  701. {
  702. *PrintableArea: PAIR(3060, 4320)
  703. *PrintableOrigin: PAIR(0, 0)
  704. }
  705. }
  706. }
  707. *Option: FANFOLD_LGL_GERMAN
  708. {
  709. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  710. *Command: CmdSelect
  711. {
  712. *Order: DOC_SETUP.8
  713. *Cmd: "<1B>C<000D>"
  714. }
  715. *switch: InputBin
  716. {
  717. *case: TRACTOR
  718. {
  719. *PrintableArea: PAIR(3060, 4680)
  720. *PrintableOrigin: PAIR(0, 0)
  721. }
  722. *case: Option2
  723. {
  724. *PrintableArea: PAIR(3060, 4680)
  725. *PrintableOrigin: PAIR(0, 0)
  726. }
  727. *case: Option3
  728. {
  729. *PrintableArea: PAIR(3060, 4680)
  730. *PrintableOrigin: PAIR(0, 0)
  731. }
  732. *case: MANUAL
  733. {
  734. *PrintableArea: PAIR(3060, 4588)
  735. *PrintableOrigin: PAIR(0, 68)
  736. }
  737. *case: AUTO
  738. {
  739. *PrintableArea: PAIR(3060, 4500)
  740. *PrintableOrigin: PAIR(0, 180)
  741. }
  742. *case: Option6
  743. {
  744. *PrintableArea: PAIR(3060, 4680)
  745. *PrintableOrigin: PAIR(0, 0)
  746. }
  747. *case: Option7
  748. {
  749. *PrintableArea: PAIR(3060, 4680)
  750. *PrintableOrigin: PAIR(0, 0)
  751. }
  752. }
  753. }
  754. *Option: FANFOLD_US
  755. {
  756. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  757. *Command: CmdSelect
  758. {
  759. *Order: DOC_SETUP.8
  760. *Cmd: "<1B>C<000B>"
  761. }
  762. *switch: InputBin
  763. {
  764. *case: TRACTOR
  765. {
  766. *PrintableArea: PAIR(4896, 3960)
  767. *PrintableOrigin: PAIR(0, 0)
  768. }
  769. *case: Option2
  770. {
  771. *PrintableArea: PAIR(4896, 3960)
  772. *PrintableOrigin: PAIR(0, 0)
  773. }
  774. *case: Option3
  775. {
  776. *PrintableArea: PAIR(4896, 3960)
  777. *PrintableOrigin: PAIR(0, 0)
  778. }
  779. *case: MANUAL
  780. {
  781. *PrintableArea: PAIR(4896, 3868)
  782. *PrintableOrigin: PAIR(0, 68)
  783. }
  784. *case: AUTO
  785. {
  786. *PrintableArea: PAIR(4896, 3780)
  787. *PrintableOrigin: PAIR(0, 180)
  788. }
  789. *case: Option6
  790. {
  791. *PrintableArea: PAIR(4896, 3960)
  792. *PrintableOrigin: PAIR(0, 0)
  793. }
  794. *case: Option7
  795. {
  796. *PrintableArea: PAIR(4896, 3960)
  797. *PrintableOrigin: PAIR(0, 0)
  798. }
  799. }
  800. }
  801. *Option: CUSTOMSIZE
  802. {
  803. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  804. *MinSize: PAIR(360, 360)
  805. *MaxSize: PAIR(5760, 7920)
  806. *MaxPrintableWidth: 4896
  807. *MinLeftMargin: 0
  808. *CenterPrintable?: FALSE
  809. *switch: InputBin
  810. {
  811. *case: TRACTOR
  812. {
  813. *TopMargin: 0
  814. *BottomMargin: 0
  815. }
  816. *case: Option2
  817. {
  818. *TopMargin: 0
  819. *BottomMargin: 0
  820. }
  821. *case: Option3
  822. {
  823. *TopMargin: 0
  824. *BottomMargin: 0
  825. }
  826. *case: MANUAL
  827. {
  828. *TopMargin: 68
  829. *BottomMargin: 24
  830. }
  831. *case: AUTO
  832. {
  833. *TopMargin: 180
  834. *BottomMargin: 0
  835. }
  836. *case: Option6
  837. {
  838. *TopMargin: 0
  839. *BottomMargin: 0
  840. }
  841. *case: Option7
  842. {
  843. *TopMargin: 0
  844. *BottomMargin: 0
  845. }
  846. }
  847. }
  848. }
  849. *Feature: PrintQuality
  850. {
  851. *rcNameID: =TEXT_QUALITY_DISPLAY
  852. *DefaultOption: Option1
  853. *Option: Option1
  854. {
  855. *rcNameID: 269
  856. *Command: CmdSelect
  857. {
  858. *Order: DOC_SETUP.6
  859. *Cmd: "<1B>[11y"
  860. }
  861. }
  862. *Option: DRAFT_QUALITY
  863. {
  864. *rcNameID: =DRAFT_QUALITY_DISPLAY
  865. *Command: CmdSelect
  866. {
  867. *Order: DOC_SETUP.6
  868. *Cmd: "<1B>x<00>"
  869. }
  870. }
  871. *Option: NEAR_LETTER_QUALITY
  872. {
  873. *rcNameID: =NEAR_LETTER_QUALITY_DISPLAY
  874. *Command: CmdSelect
  875. {
  876. *Order: DOC_SETUP.6
  877. *Cmd: "<1B>[1y"
  878. }
  879. }
  880. *Option: LETTER_QUALITY
  881. {
  882. *rcNameID: =LETTER_QUALITY_DISPLAY
  883. *Command: CmdSelect
  884. {
  885. *Order: DOC_SETUP.6
  886. *Cmd: "<1B>x<01>"
  887. }
  888. }
  889. }
  890. *Feature: Halftone
  891. {
  892. *rcNameID: =HALFTONING_DISPLAY
  893. *DefaultOption: HT_PATSIZE_AUTO
  894. *Option: HT_PATSIZE_AUTO
  895. {
  896. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  897. }
  898. *Ifdef: WINNT_50
  899. *Option: HT_PATSIZE_SUPERCELL_M
  900. {
  901. *rcNameID: =HT_SUPERCELL_DISPLAY
  902. }
  903. *Endif:
  904. *Option: HT_PATSIZE_6x6_M
  905. {
  906. *rcNameID: =HT_DITHER6X6_DISPLAY
  907. }
  908. *Option: HT_PATSIZE_8x8_M
  909. {
  910. *rcNameID: =HT_DITHER8X8_DISPLAY
  911. }
  912. }
  913. *Command: CmdStartDoc
  914. {
  915. *Order: DOC_SETUP.1
  916. *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>"
  917. + "[5;5 D<1B>[6;6 D<1B>[?52h"
  918. }
  919. *Command: CmdEndJob
  920. {
  921. *Order: JOB_FINISH.1
  922. *Cmd: "<1B>[54{<1B>@"
  923. }
  924. *RotateCoordinate?: FALSE
  925. *RotateRaster?: FALSE
  926. *RotateFont?: FALSE
  927. *switch: Orientation
  928. {
  929. *case: PORTRAIT
  930. {
  931. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  932. }
  933. *case: LANDSCAPE_CC270
  934. {
  935. *TextCaps: LIST(TC_RA_ABLE)
  936. }
  937. }
  938. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  939. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  940. *MaxLineSpacing: 255
  941. *XMoveThreshold: 0
  942. *YMoveThreshold: *
  943. *XMoveUnit: 60
  944. *YMoveUnit: 180
  945. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,816]{max_repeat((DestX / 6) )} }
  946. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  947. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  948. *Command: CmdCR { *Cmd : "<0D>" }
  949. *Command: CmdLF { *Cmd : "<0A>" }
  950. *Command: CmdFF { *Cmd : "<0C>" }
  951. *Command: CmdBackSpace { *Cmd : "<08>" }
  952. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  953. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  954. *EjectPageWithFF?: FALSE
  955. *switch: InputBin
  956. {
  957. *case: MANUAL
  958. {
  959. *EjectPageWithFF?: TRUE
  960. }
  961. *case: AUTO
  962. {
  963. *EjectPageWithFF?: TRUE
  964. }
  965. }
  966. *OutputDataFormat: V_BYTE
  967. *OptimizeLeftBound?: FALSE
  968. *CursorXAfterSendBlockData: AT_GRXDATA_END
  969. *CursorYAfterSendBlockData: NO_MOVE
  970. *DefaultFont: 73
  971. *DefaultCTT: 1
  972. *switch: Orientation
  973. {
  974. *case: PORTRAIT
  975. {
  976. *DeviceFonts: LIST(73,74,75,76,77,78,79,80,81,91,92,103,104,105,106,107,
  977. + 108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,
  978. + 124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,
  979. + 140,141,142)
  980. }
  981. *case: LANDSCAPE_CC270
  982. {
  983. *DeviceFonts: LIST()
  984. }
  985. }
  986. *FontCartridge: FC1
  987. {
  988. *rcCartridgeNameID: 276
  989. *PortraitFonts: LIST(82,83,84,85,86,87,88,89,90,93,94,95,96,97,98,99,
  990. + 100,101,102,143,144,145,146,147,148,149,150,151)
  991. *LandscapeFonts: LIST()
  992. }
  993. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  994. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  995. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  996. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  997. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  998. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }