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.

1362 lines
38 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: "pakx2023.GPD"
  9. *ModelName: "Panasonic KX-P2023"
  10. *MasterUnits: PAIR(720, 720)
  11. *ResourceDLL: "pa24w9x.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: TRACTOR
  30. *Option: AUTO
  31. {
  32. *rcNameID: =AUTO_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.3
  36. *Cmd: "<1B19>4"
  37. }
  38. }
  39. *Option: TRACTOR
  40. {
  41. *rcNameID: =TRACTOR_DISPLAY
  42. }
  43. *Option: MANUAL
  44. {
  45. *rcNameID: =MANUAL_FEED_DISPLAY
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.3
  49. *Cmd: "<1B19>0"
  50. }
  51. }
  52. }
  53. *Feature: Resolution
  54. {
  55. *rcNameID: =RESOLUTION_DISPLAY
  56. *DefaultOption: Option3
  57. *Option: Option1
  58. {
  59. *Name: "360 x 180 " =DOTS_PER_INCH
  60. *DPI: PAIR(360, 180)
  61. *TextDPI: PAIR(360, 180)
  62. *PinsPerLogPass: 24
  63. *PinsPerPhysPass: 24
  64. *MinStripBlankPixels: 270
  65. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  66. *SpotDiameter: 170
  67. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  68. }
  69. *Option: Option2
  70. {
  71. *Name: "360 x 360 " =DOTS_PER_INCH
  72. *DPI: PAIR(360, 360)
  73. *TextDPI: PAIR(360, 360)
  74. *PinsPerLogPass: 48
  75. *PinsPerPhysPass: 24
  76. *MinStripBlankPixels: 270
  77. *RequireUniDir?: TRUE
  78. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  79. *SpotDiameter: 170
  80. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  81. }
  82. *Option: Option3
  83. {
  84. *Name: "180 x 180 " =DOTS_PER_INCH
  85. *DPI: PAIR(180, 180)
  86. *TextDPI: PAIR(180, 180)
  87. *PinsPerLogPass: 24
  88. *PinsPerPhysPass: 24
  89. *MinStripBlankPixels: 135
  90. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  91. *SpotDiameter: 140
  92. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  93. }
  94. *Option: Option4
  95. {
  96. *Name: "120 x 180 " =DOTS_PER_INCH
  97. *DPI: PAIR(120, 180)
  98. *TextDPI: PAIR(120, 180)
  99. *PinsPerLogPass: 24
  100. *PinsPerPhysPass: 24
  101. *MinStripBlankPixels: 90
  102. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  103. *SpotDiameter: 100
  104. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  105. }
  106. }
  107. *Feature: PaperSize
  108. {
  109. *rcNameID: =PAPER_SIZE_DISPLAY
  110. *DefaultOption: LETTER
  111. *Option: LETTER
  112. {
  113. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  114. *Command: CmdSelect
  115. {
  116. *Order: DOC_SETUP.4
  117. *Cmd: "<1B>C<000B>"
  118. }
  119. *switch: InputBin
  120. {
  121. *case: AUTO
  122. {
  123. *PrintableArea: PAIR(5760, 7128)
  124. *PrintableOrigin: PAIR(180, 72)
  125. }
  126. *case: TRACTOR
  127. {
  128. *PrintableArea: PAIR(5760, 7920)
  129. *PrintableOrigin: PAIR(180, 0)
  130. }
  131. *case: MANUAL
  132. {
  133. *PrintableArea: PAIR(5760, 7200)
  134. *PrintableOrigin: PAIR(180, 612)
  135. }
  136. }
  137. }
  138. *Option: LEGAL
  139. {
  140. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  141. *Command: CmdSelect
  142. {
  143. *Order: DOC_SETUP.4
  144. *Cmd: "<1B>C<000E>"
  145. }
  146. *switch: InputBin
  147. {
  148. *case: AUTO
  149. {
  150. *PrintableArea: PAIR(5760, 9288)
  151. *PrintableOrigin: PAIR(180, 72)
  152. }
  153. *case: TRACTOR
  154. {
  155. *PrintableArea: PAIR(5760, 10080)
  156. *PrintableOrigin: PAIR(180, 0)
  157. }
  158. *case: MANUAL
  159. {
  160. *PrintableArea: PAIR(5760, 9360)
  161. *PrintableOrigin: PAIR(180, 612)
  162. }
  163. }
  164. }
  165. *Option: EXECUTIVE
  166. {
  167. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  168. *Command: CmdSelect
  169. {
  170. *Order: DOC_SETUP.4
  171. *Cmd: "<1B>2<1B>C?"
  172. }
  173. *switch: InputBin
  174. {
  175. *case: AUTO
  176. {
  177. *PrintableArea: PAIR(5040, 6768)
  178. *PrintableOrigin: PAIR(180, 72)
  179. }
  180. *case: TRACTOR
  181. {
  182. *PrintableArea: PAIR(5040, 7560)
  183. *PrintableOrigin: PAIR(180, 0)
  184. }
  185. *case: MANUAL
  186. {
  187. *PrintableArea: PAIR(5040, 6840)
  188. *PrintableOrigin: PAIR(180, 612)
  189. }
  190. }
  191. }
  192. *Option: Option4
  193. {
  194. *rcNameID: 259
  195. *OptionID: 259
  196. *PageDimensions: PAIR(6120, 8640)
  197. *Command: CmdSelect
  198. {
  199. *Order: DOC_SETUP.4
  200. *Cmd: "<1B>C<000C>"
  201. }
  202. *switch: InputBin
  203. {
  204. *case: AUTO
  205. {
  206. *PrintableArea: PAIR(5760, 7848)
  207. *PrintableOrigin: PAIR(180, 72)
  208. }
  209. *case: TRACTOR
  210. {
  211. *PrintableArea: PAIR(5760, 8640)
  212. *PrintableOrigin: PAIR(180, 0)
  213. }
  214. *case: MANUAL
  215. {
  216. *PrintableArea: PAIR(5760, 7920)
  217. *PrintableOrigin: PAIR(180, 612)
  218. }
  219. }
  220. }
  221. *Option: Option5
  222. {
  223. *rcNameID: 260
  224. *OptionID: 260
  225. *PageDimensions: PAIR(6120, 9360)
  226. *Command: CmdSelect
  227. {
  228. *Order: DOC_SETUP.4
  229. *Cmd: "<1B>C<000D>"
  230. }
  231. *switch: InputBin
  232. {
  233. *case: AUTO
  234. {
  235. *PrintableArea: PAIR(5760, 8568)
  236. *PrintableOrigin: PAIR(180, 72)
  237. }
  238. *case: TRACTOR
  239. {
  240. *PrintableArea: PAIR(5760, 9360)
  241. *PrintableOrigin: PAIR(180, 0)
  242. }
  243. *case: MANUAL
  244. {
  245. *PrintableArea: PAIR(5760, 8640)
  246. *PrintableOrigin: PAIR(180, 612)
  247. }
  248. }
  249. }
  250. *Option: A4
  251. {
  252. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  253. *Command: CmdSelect
  254. {
  255. *Order: DOC_SETUP.4
  256. *Cmd: "<1B>3<121B>Cu"
  257. }
  258. *switch: InputBin
  259. {
  260. *case: AUTO
  261. {
  262. *PrintableArea: PAIR(5760, 7625)
  263. *PrintableOrigin: PAIR(180, 72)
  264. *switch: Resolution
  265. {
  266. *case: Option1
  267. {
  268. *PrintableArea: PAIR(5760, 7624)
  269. }
  270. *case: Option2
  271. {
  272. *PrintableArea: PAIR(5760, 7624)
  273. }
  274. *case: Option3
  275. {
  276. *PrintableArea: PAIR(5760, 7624)
  277. }
  278. *case: Option4
  279. {
  280. *PrintableArea: PAIR(5760, 7624)
  281. }
  282. }
  283. }
  284. *case: TRACTOR
  285. {
  286. *PrintableArea: PAIR(5760, 8417)
  287. *PrintableOrigin: PAIR(180, 0)
  288. *switch: Resolution
  289. {
  290. *case: Option1
  291. {
  292. *PrintableArea: PAIR(5760, 8416)
  293. }
  294. *case: Option2
  295. {
  296. *PrintableArea: PAIR(5760, 8416)
  297. }
  298. *case: Option3
  299. {
  300. *PrintableArea: PAIR(5760, 8416)
  301. }
  302. *case: Option4
  303. {
  304. *PrintableArea: PAIR(5760, 8416)
  305. }
  306. }
  307. }
  308. *case: MANUAL
  309. {
  310. *PrintableArea: PAIR(5760, 7697)
  311. *PrintableOrigin: PAIR(180, 612)
  312. *switch: Resolution
  313. {
  314. *case: Option1
  315. {
  316. *PrintableArea: PAIR(5760, 7696)
  317. }
  318. *case: Option2
  319. {
  320. *PrintableArea: PAIR(5760, 7696)
  321. }
  322. *case: Option3
  323. {
  324. *PrintableArea: PAIR(5760, 7696)
  325. }
  326. *case: Option4
  327. {
  328. *PrintableArea: PAIR(5760, 7696)
  329. }
  330. }
  331. }
  332. }
  333. }
  334. *Option: A5
  335. {
  336. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  337. *Command: CmdSelect
  338. {
  339. *Order: DOC_SETUP.4
  340. *Cmd: "<1B>A<041B>C|"
  341. }
  342. *switch: InputBin
  343. {
  344. *case: AUTO
  345. {
  346. *PrintableArea: PAIR(4018, 5162)
  347. *PrintableOrigin: PAIR(180, 72)
  348. *switch: Resolution
  349. {
  350. *case: Option1
  351. {
  352. *PrintableArea: PAIR(4018, 5160)
  353. }
  354. *case: Option3
  355. {
  356. *PrintableArea: PAIR(4016, 5160)
  357. }
  358. *case: Option4
  359. {
  360. *PrintableArea: PAIR(4014, 5160)
  361. }
  362. }
  363. }
  364. *case: TRACTOR
  365. {
  366. *PrintableArea: PAIR(4018, 5954)
  367. *PrintableOrigin: PAIR(180, 0)
  368. *switch: Resolution
  369. {
  370. *case: Option1
  371. {
  372. *PrintableArea: PAIR(4018, 5952)
  373. }
  374. *case: Option3
  375. {
  376. *PrintableArea: PAIR(4016, 5952)
  377. }
  378. *case: Option4
  379. {
  380. *PrintableArea: PAIR(4014, 5952)
  381. }
  382. }
  383. }
  384. *case: MANUAL
  385. {
  386. *PrintableArea: PAIR(4018, 5234)
  387. *PrintableOrigin: PAIR(180, 612)
  388. *switch: Resolution
  389. {
  390. *case: Option1
  391. {
  392. *PrintableArea: PAIR(4018, 5232)
  393. }
  394. *case: Option3
  395. {
  396. *PrintableArea: PAIR(4016, 5232)
  397. }
  398. *case: Option4
  399. {
  400. *PrintableArea: PAIR(4014, 5232)
  401. }
  402. }
  403. }
  404. }
  405. }
  406. *Option: B4
  407. {
  408. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  409. *Command: CmdSelect
  410. {
  411. *Order: DOC_SETUP.4
  412. *Cmd: "<1B>2<1B>CS"
  413. }
  414. *switch: InputBin
  415. {
  416. *case: AUTO
  417. {
  418. *PrintableArea: PAIR(5760, 9526)
  419. *PrintableOrigin: PAIR(180, 72)
  420. *switch: Resolution
  421. {
  422. *case: Option1
  423. {
  424. *PrintableArea: PAIR(5760, 9524)
  425. }
  426. *case: Option3
  427. {
  428. *PrintableArea: PAIR(5760, 9524)
  429. }
  430. *case: Option4
  431. {
  432. *PrintableArea: PAIR(5760, 9524)
  433. }
  434. }
  435. }
  436. *case: TRACTOR
  437. {
  438. *PrintableArea: PAIR(5760, 10318)
  439. *PrintableOrigin: PAIR(180, 0)
  440. *switch: Resolution
  441. {
  442. *case: Option1
  443. {
  444. *PrintableArea: PAIR(5760, 10316)
  445. }
  446. *case: Option3
  447. {
  448. *PrintableArea: PAIR(5760, 10316)
  449. }
  450. *case: Option4
  451. {
  452. *PrintableArea: PAIR(5760, 10316)
  453. }
  454. }
  455. }
  456. *case: MANUAL
  457. {
  458. *PrintableArea: PAIR(5760, 9598)
  459. *PrintableOrigin: PAIR(180, 612)
  460. *switch: Resolution
  461. {
  462. *case: Option1
  463. {
  464. *PrintableArea: PAIR(5760, 9596)
  465. }
  466. *case: Option3
  467. {
  468. *PrintableArea: PAIR(5760, 9596)
  469. }
  470. *case: Option4
  471. {
  472. *PrintableArea: PAIR(5760, 9596)
  473. }
  474. }
  475. }
  476. }
  477. }
  478. *Option: FOLIO
  479. {
  480. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  481. *Command: CmdSelect
  482. {
  483. *Order: DOC_SETUP.4
  484. *Cmd: "<1B>2<1B>CN"
  485. }
  486. *switch: InputBin
  487. {
  488. *case: AUTO
  489. {
  490. *PrintableArea: PAIR(5760, 8568)
  491. *PrintableOrigin: PAIR(180, 72)
  492. }
  493. *case: TRACTOR
  494. {
  495. *PrintableArea: PAIR(5760, 9360)
  496. *PrintableOrigin: PAIR(180, 0)
  497. }
  498. *case: MANUAL
  499. {
  500. *PrintableArea: PAIR(5760, 8640)
  501. *PrintableOrigin: PAIR(180, 612)
  502. }
  503. }
  504. }
  505. *Option: Option10
  506. {
  507. *rcNameID: 265
  508. *OptionID: 265
  509. *PageDimensions: PAIR(5760, 4320)
  510. *Command: CmdSelect
  511. {
  512. *Order: DOC_SETUP.4
  513. *Cmd: "<1B>2<1B>C$"
  514. }
  515. *switch: InputBin
  516. {
  517. *case: AUTO
  518. {
  519. *PrintableArea: PAIR(5580, 3528)
  520. *PrintableOrigin: PAIR(180, 72)
  521. }
  522. *case: TRACTOR
  523. {
  524. *PrintableArea: PAIR(5580, 4320)
  525. *PrintableOrigin: PAIR(180, 0)
  526. }
  527. *case: MANUAL
  528. {
  529. *PrintableArea: PAIR(5580, 3600)
  530. *PrintableOrigin: PAIR(180, 612)
  531. }
  532. }
  533. }
  534. *Option: 10X14
  535. {
  536. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  537. *Command: CmdSelect
  538. {
  539. *Order: DOC_SETUP.4
  540. *Cmd: "<1B>2<1B>CT"
  541. }
  542. *switch: InputBin
  543. {
  544. *case: AUTO
  545. {
  546. *PrintableArea: PAIR(5760, 9288)
  547. *PrintableOrigin: PAIR(180, 72)
  548. }
  549. *case: TRACTOR
  550. {
  551. *PrintableArea: PAIR(5760, 10080)
  552. *PrintableOrigin: PAIR(180, 0)
  553. }
  554. *case: MANUAL
  555. {
  556. *PrintableArea: PAIR(5760, 9360)
  557. *PrintableOrigin: PAIR(180, 612)
  558. }
  559. }
  560. }
  561. *Option: B5
  562. {
  563. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  564. *Command: CmdSelect
  565. {
  566. *Order: DOC_SETUP.4
  567. *Cmd: "<1B>2<1B>C="
  568. }
  569. *switch: InputBin
  570. {
  571. *case: AUTO
  572. {
  573. *PrintableArea: PAIR(4982, 6494)
  574. *PrintableOrigin: PAIR(180, 72)
  575. *switch: Resolution
  576. {
  577. *case: Option1
  578. {
  579. *PrintableArea: PAIR(4982, 6492)
  580. }
  581. *case: Option3
  582. {
  583. *PrintableArea: PAIR(4980, 6492)
  584. }
  585. *case: Option4
  586. {
  587. *PrintableArea: PAIR(4980, 6492)
  588. }
  589. }
  590. }
  591. *case: TRACTOR
  592. {
  593. *PrintableArea: PAIR(4982, 7286)
  594. *PrintableOrigin: PAIR(180, 0)
  595. *switch: Resolution
  596. {
  597. *case: Option1
  598. {
  599. *PrintableArea: PAIR(4982, 7284)
  600. }
  601. *case: Option3
  602. {
  603. *PrintableArea: PAIR(4980, 7284)
  604. }
  605. *case: Option4
  606. {
  607. *PrintableArea: PAIR(4980, 7284)
  608. }
  609. }
  610. }
  611. *case: MANUAL
  612. {
  613. *PrintableArea: PAIR(4982, 6566)
  614. *PrintableOrigin: PAIR(180, 612)
  615. *switch: Resolution
  616. {
  617. *case: Option1
  618. {
  619. *PrintableArea: PAIR(4982, 6564)
  620. }
  621. *case: Option3
  622. {
  623. *PrintableArea: PAIR(4980, 6564)
  624. }
  625. *case: Option4
  626. {
  627. *PrintableArea: PAIR(4980, 6564)
  628. }
  629. }
  630. }
  631. }
  632. }
  633. *Option: Option13
  634. {
  635. *rcNameID: 266
  636. *OptionID: 266
  637. *PageDimensions: PAIR(5954, 8640)
  638. *Command: CmdSelect
  639. {
  640. *Order: DOC_SETUP.4
  641. *Cmd: "<1B>2<1B>CH"
  642. }
  643. *switch: InputBin
  644. {
  645. *case: AUTO
  646. {
  647. *PrintableArea: PAIR(5760, 7848)
  648. *PrintableOrigin: PAIR(180, 72)
  649. }
  650. *case: TRACTOR
  651. {
  652. *PrintableArea: PAIR(5760, 8640)
  653. *PrintableOrigin: PAIR(180, 0)
  654. }
  655. *case: MANUAL
  656. {
  657. *PrintableArea: PAIR(5760, 7920)
  658. *PrintableOrigin: PAIR(180, 612)
  659. }
  660. }
  661. }
  662. *Option: ENV_MONARCH
  663. {
  664. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  665. *RotateSize? : TRUE
  666. *Command: CmdSelect
  667. {
  668. *Order: DOC_SETUP.4
  669. *Cmd: "<1B>2<1B>C<16>"
  670. }
  671. *switch: InputBin
  672. {
  673. *case: AUTO
  674. {
  675. *PrintableArea: PAIR(5220, 2002)
  676. *PrintableOrigin: PAIR(180, 72)
  677. *switch: Resolution
  678. {
  679. *case: Option1
  680. {
  681. *PrintableArea: PAIR(5220, 2000)
  682. }
  683. *case: Option3
  684. {
  685. *PrintableArea: PAIR(5220, 2000)
  686. }
  687. *case: Option4
  688. {
  689. *PrintableArea: PAIR(5220, 2000)
  690. }
  691. }
  692. }
  693. *case: TRACTOR
  694. {
  695. *PrintableArea: PAIR(5220, 2794)
  696. *PrintableOrigin: PAIR(180, 0)
  697. *switch: Resolution
  698. {
  699. *case: Option1
  700. {
  701. *PrintableArea: PAIR(5220, 2792)
  702. }
  703. *case: Option3
  704. {
  705. *PrintableArea: PAIR(5220, 2792)
  706. }
  707. *case: Option4
  708. {
  709. *PrintableArea: PAIR(5220, 2792)
  710. }
  711. }
  712. }
  713. *case: MANUAL
  714. {
  715. *PrintableArea: PAIR(5220, 2074)
  716. *PrintableOrigin: PAIR(180, 612)
  717. *switch: Resolution
  718. {
  719. *case: Option1
  720. {
  721. *PrintableArea: PAIR(5220, 2072)
  722. }
  723. *case: Option3
  724. {
  725. *PrintableArea: PAIR(5220, 2072)
  726. }
  727. *case: Option4
  728. {
  729. *PrintableArea: PAIR(5220, 2072)
  730. }
  731. }
  732. }
  733. }
  734. }
  735. *Option: ENV_9
  736. {
  737. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  738. *RotateSize? : TRUE
  739. *Command: CmdSelect
  740. {
  741. *Order: DOC_SETUP.4
  742. *Cmd: "<1B>2<1B>C<16>"
  743. }
  744. *switch: InputBin
  745. {
  746. *case: AUTO
  747. {
  748. *PrintableArea: PAIR(5760, 2002)
  749. *PrintableOrigin: PAIR(180, 72)
  750. *switch: Resolution
  751. {
  752. *case: Option1
  753. {
  754. *PrintableArea: PAIR(5760, 2000)
  755. }
  756. *case: Option3
  757. {
  758. *PrintableArea: PAIR(5760, 2000)
  759. }
  760. *case: Option4
  761. {
  762. *PrintableArea: PAIR(5760, 2000)
  763. }
  764. }
  765. }
  766. *case: TRACTOR
  767. {
  768. *PrintableArea: PAIR(5760, 2794)
  769. *PrintableOrigin: PAIR(180, 0)
  770. *switch: Resolution
  771. {
  772. *case: Option1
  773. {
  774. *PrintableArea: PAIR(5760, 2792)
  775. }
  776. *case: Option3
  777. {
  778. *PrintableArea: PAIR(5760, 2792)
  779. }
  780. *case: Option4
  781. {
  782. *PrintableArea: PAIR(5760, 2792)
  783. }
  784. }
  785. }
  786. *case: MANUAL
  787. {
  788. *PrintableArea: PAIR(5760, 2074)
  789. *PrintableOrigin: PAIR(180, 612)
  790. *switch: Resolution
  791. {
  792. *case: Option1
  793. {
  794. *PrintableArea: PAIR(5760, 2072)
  795. }
  796. *case: Option3
  797. {
  798. *PrintableArea: PAIR(5760, 2072)
  799. }
  800. *case: Option4
  801. {
  802. *PrintableArea: PAIR(5760, 2072)
  803. }
  804. }
  805. }
  806. }
  807. }
  808. *Option: ENV_10
  809. {
  810. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  811. *RotateSize? : TRUE
  812. *Command: CmdSelect
  813. {
  814. *Order: DOC_SETUP.4
  815. *Cmd: "<1B>2<1B>C<19>"
  816. }
  817. *switch: InputBin
  818. {
  819. *case: AUTO
  820. {
  821. *PrintableArea: PAIR(5760, 2182)
  822. *PrintableOrigin: PAIR(180, 72)
  823. *switch: Resolution
  824. {
  825. *case: Option1
  826. {
  827. *PrintableArea: PAIR(5760, 2180)
  828. }
  829. *case: Option3
  830. {
  831. *PrintableArea: PAIR(5760, 2180)
  832. }
  833. *case: Option4
  834. {
  835. *PrintableArea: PAIR(5760, 2180)
  836. }
  837. }
  838. }
  839. *case: TRACTOR
  840. {
  841. *PrintableArea: PAIR(5760, 2974)
  842. *PrintableOrigin: PAIR(180, 0)
  843. *switch: Resolution
  844. {
  845. *case: Option1
  846. {
  847. *PrintableArea: PAIR(5760, 2972)
  848. }
  849. *case: Option3
  850. {
  851. *PrintableArea: PAIR(5760, 2972)
  852. }
  853. *case: Option4
  854. {
  855. *PrintableArea: PAIR(5760, 2972)
  856. }
  857. }
  858. }
  859. *case: MANUAL
  860. {
  861. *PrintableArea: PAIR(5760, 2254)
  862. *PrintableOrigin: PAIR(180, 612)
  863. *switch: Resolution
  864. {
  865. *case: Option1
  866. {
  867. *PrintableArea: PAIR(5760, 2252)
  868. }
  869. *case: Option3
  870. {
  871. *PrintableArea: PAIR(5760, 2252)
  872. }
  873. *case: Option4
  874. {
  875. *PrintableArea: PAIR(5760, 2252)
  876. }
  877. }
  878. }
  879. }
  880. }
  881. *Option: ENV_11
  882. {
  883. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  884. *RotateSize? : TRUE
  885. *Command: CmdSelect
  886. {
  887. *Order: DOC_SETUP.4
  888. *Cmd: "<1B>0<1B>C$"
  889. }
  890. *switch: InputBin
  891. {
  892. *case: AUTO
  893. {
  894. *PrintableArea: PAIR(5760, 2448)
  895. *PrintableOrigin: PAIR(180, 72)
  896. }
  897. *case: TRACTOR
  898. {
  899. *PrintableArea: PAIR(5760, 3240)
  900. *PrintableOrigin: PAIR(180, 0)
  901. }
  902. *case: MANUAL
  903. {
  904. *PrintableArea: PAIR(5760, 2520)
  905. *PrintableOrigin: PAIR(180, 612)
  906. }
  907. }
  908. }
  909. *Option: ENV_DL
  910. {
  911. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  912. *RotateSize? : TRUE
  913. *Command: CmdSelect
  914. {
  915. *Order: DOC_SETUP.4
  916. *Cmd: "<1B>2<1B>C<1A>"
  917. }
  918. *switch: InputBin
  919. {
  920. *case: AUTO
  921. {
  922. *PrintableArea: PAIR(5760, 2326)
  923. *PrintableOrigin: PAIR(180, 72)
  924. *switch: Resolution
  925. {
  926. *case: Option1
  927. {
  928. *PrintableArea: PAIR(5760, 2324)
  929. }
  930. *case: Option3
  931. {
  932. *PrintableArea: PAIR(5760, 2324)
  933. }
  934. *case: Option4
  935. {
  936. *PrintableArea: PAIR(5760, 2324)
  937. }
  938. }
  939. }
  940. *case: TRACTOR
  941. {
  942. *PrintableArea: PAIR(5760, 3118)
  943. *PrintableOrigin: PAIR(180, 0)
  944. *switch: Resolution
  945. {
  946. *case: Option1
  947. {
  948. *PrintableArea: PAIR(5760, 3116)
  949. }
  950. *case: Option3
  951. {
  952. *PrintableArea: PAIR(5760, 3116)
  953. }
  954. *case: Option4
  955. {
  956. *PrintableArea: PAIR(5760, 3116)
  957. }
  958. }
  959. }
  960. *case: MANUAL
  961. {
  962. *PrintableArea: PAIR(5760, 2398)
  963. *PrintableOrigin: PAIR(180, 612)
  964. *switch: Resolution
  965. {
  966. *case: Option1
  967. {
  968. *PrintableArea: PAIR(5760, 2396)
  969. }
  970. *case: Option3
  971. {
  972. *PrintableArea: PAIR(5760, 2396)
  973. }
  974. *case: Option4
  975. {
  976. *PrintableArea: PAIR(5760, 2396)
  977. }
  978. }
  979. }
  980. }
  981. }
  982. *Option: ENV_C6
  983. {
  984. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  985. *RotateSize? : TRUE
  986. *Command: CmdSelect
  987. {
  988. *Order: DOC_SETUP.4
  989. *Cmd: "<1B>2<1B>C<1B>"
  990. }
  991. *switch: InputBin
  992. {
  993. *case: AUTO
  994. {
  995. *PrintableArea: PAIR(4414, 2441)
  996. *PrintableOrigin: PAIR(180, 72)
  997. *switch: Resolution
  998. {
  999. *case: Option1
  1000. {
  1001. *PrintableArea: PAIR(4414, 2440)
  1002. }
  1003. *case: Option2
  1004. {
  1005. *PrintableArea: PAIR(4414, 2440)
  1006. }
  1007. *case: Option3
  1008. {
  1009. *PrintableArea: PAIR(4412, 2440)
  1010. }
  1011. *case: Option4
  1012. {
  1013. *PrintableArea: PAIR(4410, 2440)
  1014. }
  1015. }
  1016. }
  1017. *case: TRACTOR
  1018. {
  1019. *PrintableArea: PAIR(4414, 3233)
  1020. *PrintableOrigin: PAIR(180, 0)
  1021. *switch: Resolution
  1022. {
  1023. *case: Option1
  1024. {
  1025. *PrintableArea: PAIR(4414, 3232)
  1026. }
  1027. *case: Option2
  1028. {
  1029. *PrintableArea: PAIR(4414, 3232)
  1030. }
  1031. *case: Option3
  1032. {
  1033. *PrintableArea: PAIR(4412, 3232)
  1034. }
  1035. *case: Option4
  1036. {
  1037. *PrintableArea: PAIR(4410, 3232)
  1038. }
  1039. }
  1040. }
  1041. *case: MANUAL
  1042. {
  1043. *PrintableArea: PAIR(4414, 2513)
  1044. *PrintableOrigin: PAIR(180, 612)
  1045. *switch: Resolution
  1046. {
  1047. *case: Option1
  1048. {
  1049. *PrintableArea: PAIR(4414, 2512)
  1050. }
  1051. *case: Option2
  1052. {
  1053. *PrintableArea: PAIR(4414, 2512)
  1054. }
  1055. *case: Option3
  1056. {
  1057. *PrintableArea: PAIR(4412, 2512)
  1058. }
  1059. *case: Option4
  1060. {
  1061. *PrintableArea: PAIR(4410, 2512)
  1062. }
  1063. }
  1064. }
  1065. }
  1066. }
  1067. *Option: ENV_ITALY
  1068. {
  1069. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1070. *RotateSize? : TRUE
  1071. *Command: CmdSelect
  1072. {
  1073. *Order: DOC_SETUP.4
  1074. *Cmd: "<1B>2<1B>C<1A>"
  1075. }
  1076. *switch: InputBin
  1077. {
  1078. *case: AUTO
  1079. {
  1080. *PrintableArea: PAIR(5760, 2326)
  1081. *PrintableOrigin: PAIR(180, 72)
  1082. *switch: Resolution
  1083. {
  1084. *case: Option1
  1085. {
  1086. *PrintableArea: PAIR(5760, 2324)
  1087. }
  1088. *case: Option3
  1089. {
  1090. *PrintableArea: PAIR(5760, 2324)
  1091. }
  1092. *case: Option4
  1093. {
  1094. *PrintableArea: PAIR(5760, 2324)
  1095. }
  1096. }
  1097. }
  1098. *case: TRACTOR
  1099. {
  1100. *PrintableArea: PAIR(5760, 3118)
  1101. *PrintableOrigin: PAIR(180, 0)
  1102. *switch: Resolution
  1103. {
  1104. *case: Option1
  1105. {
  1106. *PrintableArea: PAIR(5760, 3116)
  1107. }
  1108. *case: Option3
  1109. {
  1110. *PrintableArea: PAIR(5760, 3116)
  1111. }
  1112. *case: Option4
  1113. {
  1114. *PrintableArea: PAIR(5760, 3116)
  1115. }
  1116. }
  1117. }
  1118. *case: MANUAL
  1119. {
  1120. *PrintableArea: PAIR(5760, 2398)
  1121. *PrintableOrigin: PAIR(180, 612)
  1122. *switch: Resolution
  1123. {
  1124. *case: Option1
  1125. {
  1126. *PrintableArea: PAIR(5760, 2396)
  1127. }
  1128. *case: Option3
  1129. {
  1130. *PrintableArea: PAIR(5760, 2396)
  1131. }
  1132. *case: Option4
  1133. {
  1134. *PrintableArea: PAIR(5760, 2396)
  1135. }
  1136. }
  1137. }
  1138. }
  1139. }
  1140. *Option: ENV_B5
  1141. {
  1142. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1143. *RotateSize? : TRUE
  1144. *Command: CmdSelect
  1145. {
  1146. *Order: DOC_SETUP.4
  1147. *Cmd: "<1B>2<1B>C*"
  1148. }
  1149. *switch: InputBin
  1150. {
  1151. *case: AUTO
  1152. {
  1153. *PrintableArea: PAIR(5760, 4198)
  1154. *PrintableOrigin: PAIR(180, 72)
  1155. *switch: Resolution
  1156. {
  1157. *case: Option1
  1158. {
  1159. *PrintableArea: PAIR(5760, 4196)
  1160. }
  1161. *case: Option3
  1162. {
  1163. *PrintableArea: PAIR(5760, 4196)
  1164. }
  1165. *case: Option4
  1166. {
  1167. *PrintableArea: PAIR(5760, 4196)
  1168. }
  1169. }
  1170. }
  1171. *case: TRACTOR
  1172. {
  1173. *PrintableArea: PAIR(5760, 4990)
  1174. *PrintableOrigin: PAIR(180, 0)
  1175. *switch: Resolution
  1176. {
  1177. *case: Option1
  1178. {
  1179. *PrintableArea: PAIR(5760, 4988)
  1180. }
  1181. *case: Option3
  1182. {
  1183. *PrintableArea: PAIR(5760, 4988)
  1184. }
  1185. *case: Option4
  1186. {
  1187. *PrintableArea: PAIR(5760, 4988)
  1188. }
  1189. }
  1190. }
  1191. *case: MANUAL
  1192. {
  1193. *PrintableArea: PAIR(5760, 4270)
  1194. *PrintableOrigin: PAIR(180, 612)
  1195. *switch: Resolution
  1196. {
  1197. *case: Option1
  1198. {
  1199. *PrintableArea: PAIR(5760, 4268)
  1200. }
  1201. *case: Option3
  1202. {
  1203. *PrintableArea: PAIR(5760, 4268)
  1204. }
  1205. *case: Option4
  1206. {
  1207. *PrintableArea: PAIR(5760, 4268)
  1208. }
  1209. }
  1210. }
  1211. }
  1212. }
  1213. *Option: CUSTOMSIZE
  1214. {
  1215. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1216. *MinSize: PAIR(360, 360)
  1217. *MaxSize: PAIR(7200, 30240)
  1218. *MaxPrintableWidth: 5760
  1219. *MinLeftMargin: 180
  1220. *CenterPrintable?: FALSE
  1221. *switch: InputBin
  1222. {
  1223. *case: AUTO
  1224. {
  1225. *TopMargin: 72
  1226. *BottomMargin: 720
  1227. }
  1228. *case: TRACTOR
  1229. {
  1230. *TopMargin: 0
  1231. *BottomMargin: 0
  1232. }
  1233. *case: MANUAL
  1234. {
  1235. *TopMargin: 612
  1236. *BottomMargin: 108
  1237. }
  1238. }
  1239. *Command: CmdSelect
  1240. {
  1241. *Order: DOC_SETUP.4
  1242. *Cmd: "<1B>2<1B>C" %c{(PhysPaperLength / 120) }
  1243. }
  1244. }
  1245. }
  1246. *Feature: PrintQuality
  1247. {
  1248. *rcNameID: =TEXT_QUALITY_DISPLAY
  1249. *DefaultOption: LETTER_QUALITY
  1250. *Option: LETTER_QUALITY
  1251. {
  1252. *rcNameID: =LETTER_QUALITY_DISPLAY
  1253. *Command: CmdSelect
  1254. {
  1255. *Order: DOC_SETUP.2
  1256. *Cmd: "<1B>x<01>"
  1257. }
  1258. }
  1259. *Option: DRAFT_QUALITY
  1260. {
  1261. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1262. *Command: CmdSelect
  1263. {
  1264. *Order: DOC_SETUP.2
  1265. *Cmd: "<1B>x<00>"
  1266. }
  1267. }
  1268. }
  1269. *Feature: Halftone
  1270. {
  1271. *rcNameID: =HALFTONING_DISPLAY
  1272. *DefaultOption: HT_PATSIZE_AUTO
  1273. *Option: HT_PATSIZE_AUTO
  1274. {
  1275. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1276. }
  1277. *Ifdef: WINNT_50
  1278. *Option: HT_PATSIZE_SUPERCELL_M
  1279. {
  1280. *rcNameID: =HT_SUPERCELL_DISPLAY
  1281. }
  1282. *Endif:
  1283. *Option: HT_PATSIZE_6x6_M
  1284. {
  1285. *rcNameID: =HT_DITHER6X6_DISPLAY
  1286. }
  1287. *Option: HT_PATSIZE_8x8_M
  1288. {
  1289. *rcNameID: =HT_DITHER8X8_DISPLAY
  1290. }
  1291. }
  1292. *Command: CmdStartDoc
  1293. {
  1294. *Order: DOC_SETUP.1
  1295. *Cmd: "<1B>@<1B>t<011B>6"
  1296. }
  1297. *Command: CmdStartPage
  1298. {
  1299. *Order: PAGE_SETUP.1
  1300. *Cmd: "<0D>"
  1301. }
  1302. *Command: CmdEndJob
  1303. {
  1304. *Order: JOB_FINISH.1
  1305. *Cmd: "<0D1B>@<1B>t<00>"
  1306. }
  1307. *RotateCoordinate?: FALSE
  1308. *RotateRaster?: FALSE
  1309. *RotateFont?: FALSE
  1310. *switch: Orientation
  1311. {
  1312. *case: PORTRAIT
  1313. {
  1314. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1315. }
  1316. *case: LANDSCAPE_CC270
  1317. {
  1318. *TextCaps: LIST(TC_RA_ABLE)
  1319. }
  1320. }
  1321. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1322. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1323. *MaxLineSpacing: 255
  1324. *XMoveThreshold: 0
  1325. *YMoveThreshold: *
  1326. *XMoveUnit: 60
  1327. *YMoveUnit: 180
  1328. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  1329. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 4) )} }
  1330. *Command: CmdSetLineSpacing { *Cmd : "<1B>+" %c[0,255]{(LinefeedSpacing / 2) } }
  1331. *Command: CmdCR { *Cmd : "<0D>" }
  1332. *Command: CmdLF { *Cmd : "<0A>" }
  1333. *Command: CmdFF { *Cmd : "<0C>" }
  1334. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1335. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1336. *EjectPageWithFF?: TRUE
  1337. *OutputDataFormat: V_BYTE
  1338. *OptimizeLeftBound?: FALSE
  1339. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1340. *CursorYAfterSendBlockData: NO_MOVE
  1341. *DefaultFont: 5
  1342. *DefaultCTT: 2
  1343. *switch: Orientation
  1344. {
  1345. *case: PORTRAIT
  1346. {
  1347. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  1348. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,41,42,
  1349. + 43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,
  1350. + 59,60)
  1351. }
  1352. *case: LANDSCAPE_CC270
  1353. {
  1354. *DeviceFonts: LIST()
  1355. }
  1356. }
  1357. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  1358. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  1359. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1360. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1361. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1362. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }