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.

1275 lines
40 KiB

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