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.

1447 lines
45 KiB

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