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.

902 lines
27 KiB

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