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.

1005 lines
28 KiB

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