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.

1286 lines
40 KiB

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