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.

1350 lines
41 KiB

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