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.

1407 lines
41 KiB

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