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.

1408 lines
41 KiB

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