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.

1043 lines
32 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "OKI390E.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Oki ML 390 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(5760, 7967)
  132. *PrintableOrigin: PAIR(180, 450)
  133. *switch: Resolution
  134. {
  135. *case: Option1
  136. {
  137. *PrintableArea: PAIR(5760, 7964)
  138. *PrintableOrigin: PAIR(180, 452)
  139. }
  140. *case: Option2
  141. {
  142. *PrintableArea: PAIR(5760, 7966)
  143. }
  144. *case: Option3
  145. {
  146. *PrintableArea: PAIR(5760, 7964)
  147. *PrintableOrigin: PAIR(180, 452)
  148. }
  149. *case: Option4
  150. {
  151. *PrintableArea: PAIR(5760, 7964)
  152. *PrintableOrigin: PAIR(180, 452)
  153. }
  154. }
  155. }
  156. *case: MANUAL
  157. {
  158. *PrintableArea: PAIR(5760, 7067)
  159. *PrintableOrigin: PAIR(180, 630)
  160. *switch: Resolution
  161. {
  162. *case: Option1
  163. {
  164. *PrintableArea: PAIR(5760, 7064)
  165. *PrintableOrigin: PAIR(180, 632)
  166. }
  167. *case: Option2
  168. {
  169. *PrintableArea: PAIR(5760, 7066)
  170. }
  171. *case: Option3
  172. {
  173. *PrintableArea: PAIR(5760, 7064)
  174. *PrintableOrigin: PAIR(180, 632)
  175. }
  176. *case: Option4
  177. {
  178. *PrintableArea: PAIR(5760, 7064)
  179. *PrintableOrigin: PAIR(180, 632)
  180. }
  181. }
  182. }
  183. *case: Option3
  184. {
  185. *PrintableArea: PAIR(5760, 7067)
  186. *PrintableOrigin: PAIR(180, 630)
  187. *switch: Resolution
  188. {
  189. *case: Option1
  190. {
  191. *PrintableArea: PAIR(5760, 7064)
  192. *PrintableOrigin: PAIR(180, 632)
  193. }
  194. *case: Option2
  195. {
  196. *PrintableArea: PAIR(5760, 7066)
  197. }
  198. *case: Option3
  199. {
  200. *PrintableArea: PAIR(5760, 7064)
  201. *PrintableOrigin: PAIR(180, 632)
  202. }
  203. *case: Option4
  204. {
  205. *PrintableArea: PAIR(5760, 7064)
  206. *PrintableOrigin: PAIR(180, 632)
  207. }
  208. }
  209. }
  210. *case: Option4
  211. {
  212. *PrintableArea: PAIR(5760, 7067)
  213. *PrintableOrigin: PAIR(180, 630)
  214. *switch: Resolution
  215. {
  216. *case: Option1
  217. {
  218. *PrintableArea: PAIR(5760, 7064)
  219. *PrintableOrigin: PAIR(180, 632)
  220. }
  221. *case: Option2
  222. {
  223. *PrintableArea: PAIR(5760, 7066)
  224. }
  225. *case: Option3
  226. {
  227. *PrintableArea: PAIR(5760, 7064)
  228. *PrintableOrigin: PAIR(180, 632)
  229. }
  230. *case: Option4
  231. {
  232. *PrintableArea: PAIR(5760, 7064)
  233. *PrintableOrigin: PAIR(180, 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(5760, 7470)
  252. *PrintableOrigin: PAIR(180, 450)
  253. *switch: Resolution
  254. {
  255. *case: Option1
  256. {
  257. *PrintableArea: PAIR(5760, 7468)
  258. *PrintableOrigin: PAIR(180, 452)
  259. }
  260. *case: Option3
  261. {
  262. *PrintableArea: PAIR(5760, 7468)
  263. *PrintableOrigin: PAIR(180, 452)
  264. }
  265. *case: Option4
  266. {
  267. *PrintableArea: PAIR(5760, 7468)
  268. *PrintableOrigin: PAIR(180, 452)
  269. }
  270. }
  271. }
  272. *case: MANUAL
  273. {
  274. *PrintableArea: PAIR(5760, 6570)
  275. *PrintableOrigin: PAIR(180, 630)
  276. *switch: Resolution
  277. {
  278. *case: Option1
  279. {
  280. *PrintableArea: PAIR(5760, 6568)
  281. *PrintableOrigin: PAIR(180, 632)
  282. }
  283. *case: Option3
  284. {
  285. *PrintableArea: PAIR(5760, 6568)
  286. *PrintableOrigin: PAIR(180, 632)
  287. }
  288. *case: Option4
  289. {
  290. *PrintableArea: PAIR(5760, 6568)
  291. *PrintableOrigin: PAIR(180, 632)
  292. }
  293. }
  294. }
  295. *case: Option3
  296. {
  297. *PrintableArea: PAIR(5760, 6570)
  298. *PrintableOrigin: PAIR(180, 630)
  299. *switch: Resolution
  300. {
  301. *case: Option1
  302. {
  303. *PrintableArea: PAIR(5760, 6568)
  304. *PrintableOrigin: PAIR(180, 632)
  305. }
  306. *case: Option3
  307. {
  308. *PrintableArea: PAIR(5760, 6568)
  309. *PrintableOrigin: PAIR(180, 632)
  310. }
  311. *case: Option4
  312. {
  313. *PrintableArea: PAIR(5760, 6568)
  314. *PrintableOrigin: PAIR(180, 632)
  315. }
  316. }
  317. }
  318. *case: Option4
  319. {
  320. *PrintableArea: PAIR(5760, 6570)
  321. *PrintableOrigin: PAIR(180, 630)
  322. *switch: Resolution
  323. {
  324. *case: Option1
  325. {
  326. *PrintableArea: PAIR(5760, 6568)
  327. *PrintableOrigin: PAIR(180, 632)
  328. }
  329. *case: Option3
  330. {
  331. *PrintableArea: PAIR(5760, 6568)
  332. *PrintableOrigin: PAIR(180, 632)
  333. }
  334. *case: Option4
  335. {
  336. *PrintableArea: PAIR(5760, 6568)
  337. *PrintableOrigin: PAIR(180, 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(5760, 9630)
  356. *PrintableOrigin: PAIR(180, 450)
  357. *switch: Resolution
  358. {
  359. *case: Option1
  360. {
  361. *PrintableArea: PAIR(5760, 9628)
  362. *PrintableOrigin: PAIR(180, 452)
  363. }
  364. *case: Option3
  365. {
  366. *PrintableArea: PAIR(5760, 9628)
  367. *PrintableOrigin: PAIR(180, 452)
  368. }
  369. *case: Option4
  370. {
  371. *PrintableArea: PAIR(5760, 9628)
  372. *PrintableOrigin: PAIR(180, 452)
  373. }
  374. }
  375. }
  376. *case: MANUAL
  377. {
  378. *PrintableArea: PAIR(5760, 8730)
  379. *PrintableOrigin: PAIR(180, 630)
  380. *switch: Resolution
  381. {
  382. *case: Option1
  383. {
  384. *PrintableArea: PAIR(5760, 8728)
  385. *PrintableOrigin: PAIR(180, 632)
  386. }
  387. *case: Option3
  388. {
  389. *PrintableArea: PAIR(5760, 8728)
  390. *PrintableOrigin: PAIR(180, 632)
  391. }
  392. *case: Option4
  393. {
  394. *PrintableArea: PAIR(5760, 8728)
  395. *PrintableOrigin: PAIR(180, 632)
  396. }
  397. }
  398. }
  399. *case: Option3
  400. {
  401. *PrintableArea: PAIR(5760, 8730)
  402. *PrintableOrigin: PAIR(180, 630)
  403. *switch: Resolution
  404. {
  405. *case: Option1
  406. {
  407. *PrintableArea: PAIR(5760, 8728)
  408. *PrintableOrigin: PAIR(180, 632)
  409. }
  410. *case: Option3
  411. {
  412. *PrintableArea: PAIR(5760, 8728)
  413. *PrintableOrigin: PAIR(180, 632)
  414. }
  415. *case: Option4
  416. {
  417. *PrintableArea: PAIR(5760, 8728)
  418. *PrintableOrigin: PAIR(180, 632)
  419. }
  420. }
  421. }
  422. *case: Option4
  423. {
  424. *PrintableArea: PAIR(5760, 8730)
  425. *PrintableOrigin: PAIR(180, 630)
  426. *switch: Resolution
  427. {
  428. *case: Option1
  429. {
  430. *PrintableArea: PAIR(5760, 8728)
  431. *PrintableOrigin: PAIR(180, 632)
  432. }
  433. *case: Option3
  434. {
  435. *PrintableArea: PAIR(5760, 8728)
  436. *PrintableOrigin: PAIR(180, 632)
  437. }
  438. *case: Option4
  439. {
  440. *PrintableArea: PAIR(5760, 8728)
  441. *PrintableOrigin: PAIR(180, 632)
  442. }
  443. }
  444. }
  445. }
  446. }
  447. *Option: B5
  448. {
  449. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  450. *Command: CmdSelect
  451. {
  452. *Order: DOC_SETUP.3
  453. *Cmd: "<1B>2<1B>C%<"
  454. }
  455. *switch: InputBin
  456. {
  457. *case: TRACTOR
  458. {
  459. *PrintableArea: PAIR(4982, 6836)
  460. *PrintableOrigin: PAIR(180, 450)
  461. *switch: Resolution
  462. {
  463. *case: Option1
  464. {
  465. *PrintableArea: PAIR(4980, 6832)
  466. *PrintableOrigin: PAIR(180, 452)
  467. }
  468. *case: Option3
  469. {
  470. *PrintableArea: PAIR(4982, 6832)
  471. *PrintableOrigin: PAIR(180, 452)
  472. }
  473. *case: Option4
  474. {
  475. *PrintableArea: PAIR(4980, 6832)
  476. *PrintableOrigin: PAIR(180, 452)
  477. }
  478. }
  479. }
  480. *case: MANUAL
  481. {
  482. *PrintableArea: PAIR(4982, 5936)
  483. *PrintableOrigin: PAIR(180, 630)
  484. *switch: Resolution
  485. {
  486. *case: Option1
  487. {
  488. *PrintableArea: PAIR(4980, 5932)
  489. *PrintableOrigin: PAIR(180, 632)
  490. }
  491. *case: Option3
  492. {
  493. *PrintableArea: PAIR(4982, 5932)
  494. *PrintableOrigin: PAIR(180, 632)
  495. }
  496. *case: Option4
  497. {
  498. *PrintableArea: PAIR(4980, 5932)
  499. *PrintableOrigin: PAIR(180, 632)
  500. }
  501. }
  502. }
  503. *case: Option3
  504. {
  505. *PrintableArea: PAIR(4982, 5936)
  506. *PrintableOrigin: PAIR(180, 630)
  507. *switch: Resolution
  508. {
  509. *case: Option1
  510. {
  511. *PrintableArea: PAIR(4980, 5932)
  512. *PrintableOrigin: PAIR(180, 632)
  513. }
  514. *case: Option3
  515. {
  516. *PrintableArea: PAIR(4982, 5932)
  517. *PrintableOrigin: PAIR(180, 632)
  518. }
  519. *case: Option4
  520. {
  521. *PrintableArea: PAIR(4980, 5932)
  522. *PrintableOrigin: PAIR(180, 632)
  523. }
  524. }
  525. }
  526. *case: Option4
  527. {
  528. *PrintableArea: PAIR(4982, 5936)
  529. *PrintableOrigin: PAIR(180, 630)
  530. *switch: Resolution
  531. {
  532. *case: Option1
  533. {
  534. *PrintableArea: PAIR(4980, 5932)
  535. *PrintableOrigin: PAIR(180, 632)
  536. }
  537. *case: Option3
  538. {
  539. *PrintableArea: PAIR(4982, 5932)
  540. *PrintableOrigin: PAIR(180, 632)
  541. }
  542. *case: Option4
  543. {
  544. *PrintableArea: PAIR(4980, 5932)
  545. *PrintableOrigin: PAIR(180, 632)
  546. }
  547. }
  548. }
  549. }
  550. }
  551. *Option: ENV_10
  552. {
  553. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  554. *Command: CmdSelect
  555. {
  556. *Order: DOC_SETUP.3
  557. *Cmd: "<1B>2<1B>C9"
  558. }
  559. *switch: InputBin
  560. {
  561. *case: TRACTOR
  562. {
  563. *PrintableArea: PAIR(2794, 6390)
  564. *PrintableOrigin: PAIR(180, 450)
  565. *switch: Resolution
  566. {
  567. *case: Option1
  568. {
  569. *PrintableArea: PAIR(2792, 6388)
  570. *PrintableOrigin: PAIR(180, 452)
  571. }
  572. *case: Option3
  573. {
  574. *PrintableArea: PAIR(2794, 6388)
  575. *PrintableOrigin: PAIR(180, 452)
  576. }
  577. *case: Option4
  578. {
  579. *PrintableArea: PAIR(2790, 6388)
  580. *PrintableOrigin: PAIR(180, 452)
  581. }
  582. }
  583. }
  584. *case: MANUAL
  585. {
  586. *PrintableArea: PAIR(2794, 5490)
  587. *PrintableOrigin: PAIR(180, 630)
  588. *switch: Resolution
  589. {
  590. *case: Option1
  591. {
  592. *PrintableArea: PAIR(2792, 5488)
  593. *PrintableOrigin: PAIR(180, 632)
  594. }
  595. *case: Option3
  596. {
  597. *PrintableArea: PAIR(2794, 5488)
  598. *PrintableOrigin: PAIR(180, 632)
  599. }
  600. *case: Option4
  601. {
  602. *PrintableArea: PAIR(2790, 5488)
  603. *PrintableOrigin: PAIR(180, 632)
  604. }
  605. }
  606. }
  607. *case: Option3
  608. {
  609. *PrintableArea: PAIR(2794, 5490)
  610. *PrintableOrigin: PAIR(180, 630)
  611. *switch: Resolution
  612. {
  613. *case: Option1
  614. {
  615. *PrintableArea: PAIR(2792, 5488)
  616. *PrintableOrigin: PAIR(180, 632)
  617. }
  618. *case: Option3
  619. {
  620. *PrintableArea: PAIR(2794, 5488)
  621. *PrintableOrigin: PAIR(180, 632)
  622. }
  623. *case: Option4
  624. {
  625. *PrintableArea: PAIR(2790, 5488)
  626. *PrintableOrigin: PAIR(180, 632)
  627. }
  628. }
  629. }
  630. *case: Option4
  631. {
  632. *PrintableArea: PAIR(2794, 5490)
  633. *PrintableOrigin: PAIR(180, 630)
  634. *switch: Resolution
  635. {
  636. *case: Option1
  637. {
  638. *PrintableArea: PAIR(2792, 5488)
  639. *PrintableOrigin: PAIR(180, 632)
  640. }
  641. *case: Option3
  642. {
  643. *PrintableArea: PAIR(2794, 5488)
  644. *PrintableOrigin: PAIR(180, 632)
  645. }
  646. *case: Option4
  647. {
  648. *PrintableArea: PAIR(2790, 5488)
  649. *PrintableOrigin: PAIR(180, 632)
  650. }
  651. }
  652. }
  653. }
  654. }
  655. *Option: Option6
  656. {
  657. *rcNameID: 258
  658. *PageDimensions: PAIR(6120, 8640)
  659. *Command: CmdSelect
  660. {
  661. *Order: DOC_SETUP.3
  662. *Cmd: "<1B>C<000C>"
  663. }
  664. *switch: InputBin
  665. {
  666. *case: TRACTOR
  667. {
  668. *PrintableArea: PAIR(5760, 8190)
  669. *PrintableOrigin: PAIR(180, 450)
  670. *switch: Resolution
  671. {
  672. *case: Option1
  673. {
  674. *PrintableArea: PAIR(5760, 8188)
  675. *PrintableOrigin: PAIR(180, 452)
  676. }
  677. *case: Option3
  678. {
  679. *PrintableArea: PAIR(5760, 8188)
  680. *PrintableOrigin: PAIR(180, 452)
  681. }
  682. *case: Option4
  683. {
  684. *PrintableArea: PAIR(5760, 8188)
  685. *PrintableOrigin: PAIR(180, 452)
  686. }
  687. }
  688. }
  689. *case: MANUAL
  690. {
  691. *PrintableArea: PAIR(5760, 7290)
  692. *PrintableOrigin: PAIR(180, 630)
  693. *switch: Resolution
  694. {
  695. *case: Option1
  696. {
  697. *PrintableArea: PAIR(5760, 7288)
  698. *PrintableOrigin: PAIR(180, 632)
  699. }
  700. *case: Option3
  701. {
  702. *PrintableArea: PAIR(5760, 7288)
  703. *PrintableOrigin: PAIR(180, 632)
  704. }
  705. *case: Option4
  706. {
  707. *PrintableArea: PAIR(5760, 7288)
  708. *PrintableOrigin: PAIR(180, 632)
  709. }
  710. }
  711. }
  712. *case: Option3
  713. {
  714. *PrintableArea: PAIR(5760, 7290)
  715. *PrintableOrigin: PAIR(180, 630)
  716. *switch: Resolution
  717. {
  718. *case: Option1
  719. {
  720. *PrintableArea: PAIR(5760, 7288)
  721. *PrintableOrigin: PAIR(180, 632)
  722. }
  723. *case: Option3
  724. {
  725. *PrintableArea: PAIR(5760, 7288)
  726. *PrintableOrigin: PAIR(180, 632)
  727. }
  728. *case: Option4
  729. {
  730. *PrintableArea: PAIR(5760, 7288)
  731. *PrintableOrigin: PAIR(180, 632)
  732. }
  733. }
  734. }
  735. *case: Option4
  736. {
  737. *PrintableArea: PAIR(5760, 7290)
  738. *PrintableOrigin: PAIR(180, 630)
  739. *switch: Resolution
  740. {
  741. *case: Option1
  742. {
  743. *PrintableArea: PAIR(5760, 7288)
  744. *PrintableOrigin: PAIR(180, 632)
  745. }
  746. *case: Option3
  747. {
  748. *PrintableArea: PAIR(5760, 7288)
  749. *PrintableOrigin: PAIR(180, 632)
  750. }
  751. *case: Option4
  752. {
  753. *PrintableArea: PAIR(5760, 7288)
  754. *PrintableOrigin: PAIR(180, 632)
  755. }
  756. }
  757. }
  758. }
  759. }
  760. *Option: FANFOLD_STD_GERMAN
  761. {
  762. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  763. *Command: CmdSelect
  764. {
  765. *Order: DOC_SETUP.3
  766. *Cmd: "<1B>C<000C>"
  767. }
  768. *switch: InputBin
  769. {
  770. *case: TRACTOR
  771. {
  772. *PrintableArea: PAIR(5760, 8190)
  773. *PrintableOrigin: PAIR(180, 450)
  774. *switch: Resolution
  775. {
  776. *case: Option1
  777. {
  778. *PrintableArea: PAIR(5760, 8188)
  779. *PrintableOrigin: PAIR(180, 452)
  780. }
  781. *case: Option3
  782. {
  783. *PrintableArea: PAIR(5760, 8188)
  784. *PrintableOrigin: PAIR(180, 452)
  785. }
  786. *case: Option4
  787. {
  788. *PrintableArea: PAIR(5760, 8188)
  789. *PrintableOrigin: PAIR(180, 452)
  790. }
  791. }
  792. }
  793. *case: MANUAL
  794. {
  795. *PrintableArea: PAIR(5760, 7290)
  796. *PrintableOrigin: PAIR(180, 630)
  797. *switch: Resolution
  798. {
  799. *case: Option1
  800. {
  801. *PrintableArea: PAIR(5760, 7288)
  802. *PrintableOrigin: PAIR(180, 632)
  803. }
  804. *case: Option3
  805. {
  806. *PrintableArea: PAIR(5760, 7288)
  807. *PrintableOrigin: PAIR(180, 632)
  808. }
  809. *case: Option4
  810. {
  811. *PrintableArea: PAIR(5760, 7288)
  812. *PrintableOrigin: PAIR(180, 632)
  813. }
  814. }
  815. }
  816. *case: Option3
  817. {
  818. *PrintableArea: PAIR(5760, 7290)
  819. *PrintableOrigin: PAIR(180, 630)
  820. *switch: Resolution
  821. {
  822. *case: Option1
  823. {
  824. *PrintableArea: PAIR(5760, 7288)
  825. *PrintableOrigin: PAIR(180, 632)
  826. }
  827. *case: Option3
  828. {
  829. *PrintableArea: PAIR(5760, 7288)
  830. *PrintableOrigin: PAIR(180, 632)
  831. }
  832. *case: Option4
  833. {
  834. *PrintableArea: PAIR(5760, 7288)
  835. *PrintableOrigin: PAIR(180, 632)
  836. }
  837. }
  838. }
  839. *case: Option4
  840. {
  841. *PrintableArea: PAIR(5760, 7290)
  842. *PrintableOrigin: PAIR(180, 630)
  843. *switch: Resolution
  844. {
  845. *case: Option1
  846. {
  847. *PrintableArea: PAIR(5760, 7288)
  848. *PrintableOrigin: PAIR(180, 632)
  849. }
  850. *case: Option3
  851. {
  852. *PrintableArea: PAIR(5760, 7288)
  853. *PrintableOrigin: PAIR(180, 632)
  854. }
  855. *case: Option4
  856. {
  857. *PrintableArea: PAIR(5760, 7288)
  858. *PrintableOrigin: PAIR(180, 632)
  859. }
  860. }
  861. }
  862. }
  863. }
  864. *Option: CUSTOMSIZE
  865. {
  866. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  867. *MinSize: PAIR(720, 720)
  868. *MaxSize: PAIR(6120, 15840)
  869. *MaxPrintableWidth: 5760
  870. *MinLeftMargin: 180
  871. *CenterPrintable?: FALSE
  872. *switch: InputBin
  873. {
  874. *case: TRACTOR
  875. {
  876. *TopMargin: 450
  877. *BottomMargin: 0
  878. }
  879. *case: MANUAL
  880. {
  881. *TopMargin: 630
  882. *BottomMargin: 720
  883. }
  884. *case: Option3
  885. {
  886. *TopMargin: 630
  887. *BottomMargin: 720
  888. }
  889. *case: Option4
  890. {
  891. *TopMargin: 630
  892. *BottomMargin: 720
  893. }
  894. }
  895. }
  896. }
  897. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_10)
  898. *Feature: Halftone
  899. {
  900. *rcNameID: =HALFTONING_DISPLAY
  901. *DefaultOption: HT_PATSIZE_AUTO
  902. *Option: HT_PATSIZE_AUTO
  903. {
  904. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  905. }
  906. *Ifdef: WINNT_50
  907. *Option: HT_PATSIZE_SUPERCELL_M
  908. {
  909. *rcNameID: =HT_SUPERCELL_DISPLAY
  910. }
  911. *Endif:
  912. *Option: HT_PATSIZE_6x6_M
  913. {
  914. *rcNameID: =HT_DITHER6X6_DISPLAY
  915. }
  916. *Option: HT_PATSIZE_8x8_M
  917. {
  918. *rcNameID: =HT_DITHER8X8_DISPLAY
  919. }
  920. }
  921. *Command: CmdStartDoc
  922. {
  923. *Order: DOC_SETUP.1
  924. *Cmd: "<1B>@<1B>6<1B>t<011B>R<1A>"
  925. }
  926. *Command: CmdStartPage
  927. {
  928. *Order: PAGE_SETUP.1
  929. *Cmd: "<0D>"
  930. }
  931. *Command: CmdEndJob
  932. {
  933. *Order: JOB_FINISH.1
  934. *Cmd: "<1B>@"
  935. }
  936. *RotateCoordinate?: FALSE
  937. *RotateRaster?: FALSE
  938. *RotateFont?: FALSE
  939. *switch: Orientation
  940. {
  941. *case: PORTRAIT
  942. {
  943. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  944. }
  945. *case: LANDSCAPE_CC270
  946. {
  947. *TextCaps: LIST(TC_CP_STROKE,TC_RA_ABLE)
  948. }
  949. }
  950. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  951. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  952. *MaxLineSpacing: 255
  953. *YMoveThreshold: *
  954. *YMoveUnit: 180
  955. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 4) )} }
  956. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  957. *Command: CmdCR { *Cmd : "<0D>" }
  958. *Command: CmdLF { *Cmd : "<0A>" }
  959. *Command: CmdFF { *Cmd : "<0C>" }
  960. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  961. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  962. *EjectPageWithFF?: FALSE
  963. *switch: PaperSize
  964. {
  965. *case: LETTER
  966. {
  967. *EjectPageWithFF?: FALSE
  968. *switch: InputBin
  969. {
  970. *case: MANUAL
  971. {
  972. *EjectPageWithFF?: TRUE
  973. }
  974. *case: Option3
  975. {
  976. *EjectPageWithFF?: TRUE
  977. }
  978. *case: Option4
  979. {
  980. *EjectPageWithFF?: TRUE
  981. }
  982. }
  983. }
  984. *case: LEGAL
  985. {
  986. *EjectPageWithFF?: FALSE
  987. *switch: InputBin
  988. {
  989. *case: MANUAL
  990. {
  991. *EjectPageWithFF?: TRUE
  992. }
  993. *case: Option3
  994. {
  995. *EjectPageWithFF?: TRUE
  996. }
  997. *case: Option4
  998. {
  999. *EjectPageWithFF?: TRUE
  1000. }
  1001. }
  1002. }
  1003. }
  1004. *OutputDataFormat: V_BYTE
  1005. *OptimizeLeftBound?: FALSE
  1006. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1007. *CursorYAfterSendBlockData: NO_MOVE
  1008. *DefaultFont: 1
  1009. *DefaultCTT: -2
  1010. *CharPosition: BASELINE
  1011. *switch: Orientation
  1012. {
  1013. *case: PORTRAIT
  1014. {
  1015. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  1016. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  1017. + 42,43,44,45,46,47,48,49,50,51,52,53,54,69,70,71,
  1018. + 72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,
  1019. + 88,89,90,91,92)
  1020. }
  1021. *case: LANDSCAPE_CC270
  1022. {
  1023. *DeviceFonts: LIST()
  1024. }
  1025. }
  1026. *FontCartridge: FC1
  1027. {
  1028. *rcCartridgeNameID: 261
  1029. *PortraitFonts: LIST(59,60)
  1030. *LandscapeFonts: LIST()
  1031. }
  1032. *FontCartridge: FC2
  1033. {
  1034. *rcCartridgeNameID: 262
  1035. *PortraitFonts: LIST(55,56)
  1036. *LandscapeFonts: LIST()
  1037. }
  1038. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  1039. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  1040. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1041. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1042. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1043. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }