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.

879 lines
26 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "OKI380.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Oki ML 380 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. }
  49. *Feature: Resolution
  50. {
  51. *rcNameID: =RESOLUTION_DISPLAY
  52. *DefaultOption: Option1
  53. *Option: Option1
  54. {
  55. *Name: "180 x 180 " =DOTS_PER_INCH
  56. *DPI: PAIR(180, 180)
  57. *TextDPI: PAIR(180, 180)
  58. *PinsPerLogPass: 24
  59. *PinsPerPhysPass: 24
  60. *MinStripBlankPixels: 135
  61. *RequireUniDir?: TRUE
  62. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  63. *SpotDiameter: 140
  64. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  65. }
  66. *Option: Option2
  67. {
  68. *Name: "360 x 360 " =DOTS_PER_INCH
  69. *DPI: PAIR(360, 360)
  70. *TextDPI: PAIR(360, 360)
  71. *PinsPerLogPass: 48
  72. *PinsPerPhysPass: 24
  73. *MinStripBlankPixels: 270
  74. *RequireUniDir?: TRUE
  75. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  76. *SpotDiameter: 283
  77. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  78. }
  79. *Option: Option3
  80. {
  81. *Name: "360 x 180 " =DOTS_PER_INCH
  82. *DPI: PAIR(360, 180)
  83. *TextDPI: PAIR(360, 180)
  84. *PinsPerLogPass: 24
  85. *PinsPerPhysPass: 24
  86. *MinStripBlankPixels: 270
  87. *RequireUniDir?: TRUE
  88. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  89. *SpotDiameter: 170
  90. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  91. }
  92. *Option: Option4
  93. {
  94. *Name: "120 x 180 " =DOTS_PER_INCH
  95. *DPI: PAIR(120, 180)
  96. *TextDPI: PAIR(120, 180)
  97. *PinsPerLogPass: 24
  98. *PinsPerPhysPass: 24
  99. *MinStripBlankPixels: 90
  100. *RequireUniDir?: TRUE
  101. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  102. *SpotDiameter: 120
  103. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  104. }
  105. }
  106. *Feature: PaperSize
  107. {
  108. *rcNameID: =PAPER_SIZE_DISPLAY
  109. *DefaultOption: A4
  110. *Option: A4
  111. {
  112. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  113. *Command: CmdSelect
  114. {
  115. *Order: DOC_SETUP.3
  116. *Cmd: "<1B>2<1B>CF"
  117. }
  118. *switch: InputBin
  119. {
  120. *case: TRACTOR
  121. {
  122. *PrintableArea: PAIR(5760, 7967)
  123. *PrintableOrigin: PAIR(180, 450)
  124. *switch: Resolution
  125. {
  126. *case: Option1
  127. {
  128. *PrintableArea: PAIR(5760, 7964)
  129. *PrintableOrigin: PAIR(180, 452)
  130. }
  131. *case: Option2
  132. {
  133. *PrintableArea: PAIR(5760, 7966)
  134. }
  135. *case: Option3
  136. {
  137. *PrintableArea: PAIR(5760, 7964)
  138. *PrintableOrigin: PAIR(180, 452)
  139. }
  140. *case: Option4
  141. {
  142. *PrintableArea: PAIR(5760, 7964)
  143. *PrintableOrigin: PAIR(180, 452)
  144. }
  145. }
  146. }
  147. *case: MANUAL
  148. {
  149. *PrintableArea: PAIR(5760, 7067)
  150. *PrintableOrigin: PAIR(180, 630)
  151. *switch: Resolution
  152. {
  153. *case: Option1
  154. {
  155. *PrintableArea: PAIR(5760, 7064)
  156. *PrintableOrigin: PAIR(180, 632)
  157. }
  158. *case: Option2
  159. {
  160. *PrintableArea: PAIR(5760, 7066)
  161. }
  162. *case: Option3
  163. {
  164. *PrintableArea: PAIR(5760, 7064)
  165. *PrintableOrigin: PAIR(180, 632)
  166. }
  167. *case: Option4
  168. {
  169. *PrintableArea: PAIR(5760, 7064)
  170. *PrintableOrigin: PAIR(180, 632)
  171. }
  172. }
  173. }
  174. *case: Option3
  175. {
  176. *PrintableArea: PAIR(5760, 7067)
  177. *PrintableOrigin: PAIR(180, 630)
  178. *switch: Resolution
  179. {
  180. *case: Option1
  181. {
  182. *PrintableArea: PAIR(5760, 7064)
  183. *PrintableOrigin: PAIR(180, 632)
  184. }
  185. *case: Option2
  186. {
  187. *PrintableArea: PAIR(5760, 7066)
  188. }
  189. *case: Option3
  190. {
  191. *PrintableArea: PAIR(5760, 7064)
  192. *PrintableOrigin: PAIR(180, 632)
  193. }
  194. *case: Option4
  195. {
  196. *PrintableArea: PAIR(5760, 7064)
  197. *PrintableOrigin: PAIR(180, 632)
  198. }
  199. }
  200. }
  201. }
  202. }
  203. *Option: LETTER
  204. {
  205. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  206. *Command: CmdSelect
  207. {
  208. *Order: DOC_SETUP.3
  209. *Cmd: "<1B>C<000B>"
  210. }
  211. *switch: InputBin
  212. {
  213. *case: TRACTOR
  214. {
  215. *PrintableArea: PAIR(5760, 7470)
  216. *PrintableOrigin: PAIR(180, 450)
  217. *switch: Resolution
  218. {
  219. *case: Option1
  220. {
  221. *PrintableArea: PAIR(5760, 7468)
  222. *PrintableOrigin: PAIR(180, 452)
  223. }
  224. *case: Option3
  225. {
  226. *PrintableArea: PAIR(5760, 7468)
  227. *PrintableOrigin: PAIR(180, 452)
  228. }
  229. *case: Option4
  230. {
  231. *PrintableArea: PAIR(5760, 7468)
  232. *PrintableOrigin: PAIR(180, 452)
  233. }
  234. }
  235. }
  236. *case: MANUAL
  237. {
  238. *PrintableArea: PAIR(5760, 6570)
  239. *PrintableOrigin: PAIR(180, 630)
  240. *switch: Resolution
  241. {
  242. *case: Option1
  243. {
  244. *PrintableArea: PAIR(5760, 6568)
  245. *PrintableOrigin: PAIR(180, 632)
  246. }
  247. *case: Option3
  248. {
  249. *PrintableArea: PAIR(5760, 6568)
  250. *PrintableOrigin: PAIR(180, 632)
  251. }
  252. *case: Option4
  253. {
  254. *PrintableArea: PAIR(5760, 6568)
  255. *PrintableOrigin: PAIR(180, 632)
  256. }
  257. }
  258. }
  259. *case: Option3
  260. {
  261. *PrintableArea: PAIR(5760, 6570)
  262. *PrintableOrigin: PAIR(180, 630)
  263. *switch: Resolution
  264. {
  265. *case: Option1
  266. {
  267. *PrintableArea: PAIR(5760, 6568)
  268. *PrintableOrigin: PAIR(180, 632)
  269. }
  270. *case: Option3
  271. {
  272. *PrintableArea: PAIR(5760, 6568)
  273. *PrintableOrigin: PAIR(180, 632)
  274. }
  275. *case: Option4
  276. {
  277. *PrintableArea: PAIR(5760, 6568)
  278. *PrintableOrigin: PAIR(180, 632)
  279. }
  280. }
  281. }
  282. }
  283. }
  284. *Option: LEGAL
  285. {
  286. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  287. *Command: CmdSelect
  288. {
  289. *Order: DOC_SETUP.3
  290. *Cmd: "<1B>C<000E>"
  291. }
  292. *switch: InputBin
  293. {
  294. *case: TRACTOR
  295. {
  296. *PrintableArea: PAIR(5760, 9630)
  297. *PrintableOrigin: PAIR(180, 450)
  298. *switch: Resolution
  299. {
  300. *case: Option1
  301. {
  302. *PrintableArea: PAIR(5760, 9628)
  303. *PrintableOrigin: PAIR(180, 452)
  304. }
  305. *case: Option3
  306. {
  307. *PrintableArea: PAIR(5760, 9628)
  308. *PrintableOrigin: PAIR(180, 452)
  309. }
  310. *case: Option4
  311. {
  312. *PrintableArea: PAIR(5760, 9628)
  313. *PrintableOrigin: PAIR(180, 452)
  314. }
  315. }
  316. }
  317. *case: MANUAL
  318. {
  319. *PrintableArea: PAIR(5760, 8730)
  320. *PrintableOrigin: PAIR(180, 630)
  321. *switch: Resolution
  322. {
  323. *case: Option1
  324. {
  325. *PrintableArea: PAIR(5760, 8728)
  326. *PrintableOrigin: PAIR(180, 632)
  327. }
  328. *case: Option3
  329. {
  330. *PrintableArea: PAIR(5760, 8728)
  331. *PrintableOrigin: PAIR(180, 632)
  332. }
  333. *case: Option4
  334. {
  335. *PrintableArea: PAIR(5760, 8728)
  336. *PrintableOrigin: PAIR(180, 632)
  337. }
  338. }
  339. }
  340. *case: Option3
  341. {
  342. *PrintableArea: PAIR(5760, 8730)
  343. *PrintableOrigin: PAIR(180, 630)
  344. *switch: Resolution
  345. {
  346. *case: Option1
  347. {
  348. *PrintableArea: PAIR(5760, 8728)
  349. *PrintableOrigin: PAIR(180, 632)
  350. }
  351. *case: Option3
  352. {
  353. *PrintableArea: PAIR(5760, 8728)
  354. *PrintableOrigin: PAIR(180, 632)
  355. }
  356. *case: Option4
  357. {
  358. *PrintableArea: PAIR(5760, 8728)
  359. *PrintableOrigin: PAIR(180, 632)
  360. }
  361. }
  362. }
  363. }
  364. }
  365. *Option: B5
  366. {
  367. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  368. *Command: CmdSelect
  369. {
  370. *Order: DOC_SETUP.3
  371. *Cmd: "<1B>2<1B>C%<"
  372. }
  373. *switch: InputBin
  374. {
  375. *case: TRACTOR
  376. {
  377. *PrintableArea: PAIR(4982, 6836)
  378. *PrintableOrigin: PAIR(180, 450)
  379. *switch: Resolution
  380. {
  381. *case: Option1
  382. {
  383. *PrintableArea: PAIR(4980, 6832)
  384. *PrintableOrigin: PAIR(180, 452)
  385. }
  386. *case: Option3
  387. {
  388. *PrintableArea: PAIR(4982, 6832)
  389. *PrintableOrigin: PAIR(180, 452)
  390. }
  391. *case: Option4
  392. {
  393. *PrintableArea: PAIR(4980, 6832)
  394. *PrintableOrigin: PAIR(180, 452)
  395. }
  396. }
  397. }
  398. *case: MANUAL
  399. {
  400. *PrintableArea: PAIR(4982, 5936)
  401. *PrintableOrigin: PAIR(180, 630)
  402. *switch: Resolution
  403. {
  404. *case: Option1
  405. {
  406. *PrintableArea: PAIR(4980, 5932)
  407. *PrintableOrigin: PAIR(180, 632)
  408. }
  409. *case: Option3
  410. {
  411. *PrintableArea: PAIR(4982, 5932)
  412. *PrintableOrigin: PAIR(180, 632)
  413. }
  414. *case: Option4
  415. {
  416. *PrintableArea: PAIR(4980, 5932)
  417. *PrintableOrigin: PAIR(180, 632)
  418. }
  419. }
  420. }
  421. *case: Option3
  422. {
  423. *PrintableArea: PAIR(4982, 5936)
  424. *PrintableOrigin: PAIR(180, 630)
  425. *switch: Resolution
  426. {
  427. *case: Option1
  428. {
  429. *PrintableArea: PAIR(4980, 5932)
  430. *PrintableOrigin: PAIR(180, 632)
  431. }
  432. *case: Option3
  433. {
  434. *PrintableArea: PAIR(4982, 5932)
  435. *PrintableOrigin: PAIR(180, 632)
  436. }
  437. *case: Option4
  438. {
  439. *PrintableArea: PAIR(4980, 5932)
  440. *PrintableOrigin: PAIR(180, 632)
  441. }
  442. }
  443. }
  444. }
  445. }
  446. *Option: ENV_10
  447. {
  448. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  449. *Command: CmdSelect
  450. {
  451. *Order: DOC_SETUP.3
  452. *Cmd: "<1B>2<1B>C9"
  453. }
  454. *switch: InputBin
  455. {
  456. *case: TRACTOR
  457. {
  458. *PrintableArea: PAIR(2794, 6390)
  459. *PrintableOrigin: PAIR(180, 450)
  460. *switch: Resolution
  461. {
  462. *case: Option1
  463. {
  464. *PrintableArea: PAIR(2792, 6388)
  465. *PrintableOrigin: PAIR(180, 452)
  466. }
  467. *case: Option3
  468. {
  469. *PrintableArea: PAIR(2794, 6388)
  470. *PrintableOrigin: PAIR(180, 452)
  471. }
  472. *case: Option4
  473. {
  474. *PrintableArea: PAIR(2790, 6388)
  475. *PrintableOrigin: PAIR(180, 452)
  476. }
  477. }
  478. }
  479. *case: MANUAL
  480. {
  481. *PrintableArea: PAIR(2794, 5490)
  482. *PrintableOrigin: PAIR(180, 630)
  483. *switch: Resolution
  484. {
  485. *case: Option1
  486. {
  487. *PrintableArea: PAIR(2792, 5488)
  488. *PrintableOrigin: PAIR(180, 632)
  489. }
  490. *case: Option3
  491. {
  492. *PrintableArea: PAIR(2794, 5488)
  493. *PrintableOrigin: PAIR(180, 632)
  494. }
  495. *case: Option4
  496. {
  497. *PrintableArea: PAIR(2790, 5488)
  498. *PrintableOrigin: PAIR(180, 632)
  499. }
  500. }
  501. }
  502. *case: Option3
  503. {
  504. *PrintableArea: PAIR(2794, 5490)
  505. *PrintableOrigin: PAIR(180, 630)
  506. *switch: Resolution
  507. {
  508. *case: Option1
  509. {
  510. *PrintableArea: PAIR(2792, 5488)
  511. *PrintableOrigin: PAIR(180, 632)
  512. }
  513. *case: Option3
  514. {
  515. *PrintableArea: PAIR(2794, 5488)
  516. *PrintableOrigin: PAIR(180, 632)
  517. }
  518. *case: Option4
  519. {
  520. *PrintableArea: PAIR(2790, 5488)
  521. *PrintableOrigin: PAIR(180, 632)
  522. }
  523. }
  524. }
  525. }
  526. }
  527. *Option: Option6
  528. {
  529. *rcNameID: 258
  530. *PageDimensions: PAIR(6120, 8640)
  531. *Command: CmdSelect
  532. {
  533. *Order: DOC_SETUP.3
  534. *Cmd: "<1B>C<000C>"
  535. }
  536. *switch: InputBin
  537. {
  538. *case: TRACTOR
  539. {
  540. *PrintableArea: PAIR(5760, 8190)
  541. *PrintableOrigin: PAIR(180, 450)
  542. *switch: Resolution
  543. {
  544. *case: Option1
  545. {
  546. *PrintableArea: PAIR(5760, 8188)
  547. *PrintableOrigin: PAIR(180, 452)
  548. }
  549. *case: Option3
  550. {
  551. *PrintableArea: PAIR(5760, 8188)
  552. *PrintableOrigin: PAIR(180, 452)
  553. }
  554. *case: Option4
  555. {
  556. *PrintableArea: PAIR(5760, 8188)
  557. *PrintableOrigin: PAIR(180, 452)
  558. }
  559. }
  560. }
  561. *case: MANUAL
  562. {
  563. *PrintableArea: PAIR(5760, 7290)
  564. *PrintableOrigin: PAIR(180, 630)
  565. *switch: Resolution
  566. {
  567. *case: Option1
  568. {
  569. *PrintableArea: PAIR(5760, 7288)
  570. *PrintableOrigin: PAIR(180, 632)
  571. }
  572. *case: Option3
  573. {
  574. *PrintableArea: PAIR(5760, 7288)
  575. *PrintableOrigin: PAIR(180, 632)
  576. }
  577. *case: Option4
  578. {
  579. *PrintableArea: PAIR(5760, 7288)
  580. *PrintableOrigin: PAIR(180, 632)
  581. }
  582. }
  583. }
  584. *case: Option3
  585. {
  586. *PrintableArea: PAIR(5760, 7290)
  587. *PrintableOrigin: PAIR(180, 630)
  588. *switch: Resolution
  589. {
  590. *case: Option1
  591. {
  592. *PrintableArea: PAIR(5760, 7288)
  593. *PrintableOrigin: PAIR(180, 632)
  594. }
  595. *case: Option3
  596. {
  597. *PrintableArea: PAIR(5760, 7288)
  598. *PrintableOrigin: PAIR(180, 632)
  599. }
  600. *case: Option4
  601. {
  602. *PrintableArea: PAIR(5760, 7288)
  603. *PrintableOrigin: PAIR(180, 632)
  604. }
  605. }
  606. }
  607. }
  608. }
  609. *Option: FANFOLD_STD_GERMAN
  610. {
  611. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  612. *Command: CmdSelect
  613. {
  614. *Order: DOC_SETUP.3
  615. *Cmd: "<1B>C<000C>"
  616. }
  617. *switch: InputBin
  618. {
  619. *case: TRACTOR
  620. {
  621. *PrintableArea: PAIR(5760, 8190)
  622. *PrintableOrigin: PAIR(180, 450)
  623. *switch: Resolution
  624. {
  625. *case: Option1
  626. {
  627. *PrintableArea: PAIR(5760, 8188)
  628. *PrintableOrigin: PAIR(180, 452)
  629. }
  630. *case: Option3
  631. {
  632. *PrintableArea: PAIR(5760, 8188)
  633. *PrintableOrigin: PAIR(180, 452)
  634. }
  635. *case: Option4
  636. {
  637. *PrintableArea: PAIR(5760, 8188)
  638. *PrintableOrigin: PAIR(180, 452)
  639. }
  640. }
  641. }
  642. *case: MANUAL
  643. {
  644. *PrintableArea: PAIR(5760, 7290)
  645. *PrintableOrigin: PAIR(180, 630)
  646. *switch: Resolution
  647. {
  648. *case: Option1
  649. {
  650. *PrintableArea: PAIR(5760, 7288)
  651. *PrintableOrigin: PAIR(180, 632)
  652. }
  653. *case: Option3
  654. {
  655. *PrintableArea: PAIR(5760, 7288)
  656. *PrintableOrigin: PAIR(180, 632)
  657. }
  658. *case: Option4
  659. {
  660. *PrintableArea: PAIR(5760, 7288)
  661. *PrintableOrigin: PAIR(180, 632)
  662. }
  663. }
  664. }
  665. *case: Option3
  666. {
  667. *PrintableArea: PAIR(5760, 7290)
  668. *PrintableOrigin: PAIR(180, 630)
  669. *switch: Resolution
  670. {
  671. *case: Option1
  672. {
  673. *PrintableArea: PAIR(5760, 7288)
  674. *PrintableOrigin: PAIR(180, 632)
  675. }
  676. *case: Option3
  677. {
  678. *PrintableArea: PAIR(5760, 7288)
  679. *PrintableOrigin: PAIR(180, 632)
  680. }
  681. *case: Option4
  682. {
  683. *PrintableArea: PAIR(5760, 7288)
  684. *PrintableOrigin: PAIR(180, 632)
  685. }
  686. }
  687. }
  688. }
  689. }
  690. *Option: CUSTOMSIZE
  691. {
  692. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  693. *MinSize: PAIR(720, 720)
  694. *MaxSize: PAIR(6120, 15840)
  695. *MaxPrintableWidth: 5760
  696. *MinLeftMargin: 180
  697. *CenterPrintable?: FALSE
  698. *switch: InputBin
  699. {
  700. *case: TRACTOR
  701. {
  702. *TopMargin: 450
  703. *BottomMargin: 0
  704. }
  705. *case: MANUAL
  706. {
  707. *TopMargin: 630
  708. *BottomMargin: 720
  709. }
  710. *case: Option3
  711. {
  712. *TopMargin: 630
  713. *BottomMargin: 720
  714. }
  715. }
  716. }
  717. }
  718. *InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.ENV_10)
  719. *Feature: Halftone
  720. {
  721. *rcNameID: =HALFTONING_DISPLAY
  722. *DefaultOption: HT_PATSIZE_AUTO
  723. *Option: HT_PATSIZE_AUTO
  724. {
  725. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  726. }
  727. *Ifdef: WINNT_50
  728. *Option: HT_PATSIZE_SUPERCELL_M
  729. {
  730. *rcNameID: =HT_SUPERCELL_DISPLAY
  731. }
  732. *Endif:
  733. *Option: HT_PATSIZE_6x6_M
  734. {
  735. *rcNameID: =HT_DITHER6X6_DISPLAY
  736. }
  737. *Option: HT_PATSIZE_8x8_M
  738. {
  739. *rcNameID: =HT_DITHER8X8_DISPLAY
  740. }
  741. }
  742. *Command: CmdStartDoc
  743. {
  744. *Order: DOC_SETUP.1
  745. *Cmd: "<1B>@<1B>6<1B>t<011B>R<1A>"
  746. }
  747. *Command: CmdStartPage
  748. {
  749. *Order: PAGE_SETUP.1
  750. *Cmd: "<0D>"
  751. }
  752. *Command: CmdEndJob
  753. {
  754. *Order: JOB_FINISH.1
  755. *Cmd: "<1B>@"
  756. }
  757. *RotateCoordinate?: FALSE
  758. *RotateRaster?: FALSE
  759. *RotateFont?: FALSE
  760. *switch: Orientation
  761. {
  762. *case: PORTRAIT
  763. {
  764. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  765. }
  766. *case: LANDSCAPE_CC270
  767. {
  768. *TextCaps: LIST(TC_CP_STROKE,TC_RA_ABLE)
  769. }
  770. }
  771. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  772. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  773. *MaxLineSpacing: 255
  774. *YMoveThreshold: *
  775. *YMoveUnit: 180
  776. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 4) )} }
  777. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  778. *Command: CmdCR { *Cmd : "<0D>" }
  779. *Command: CmdLF { *Cmd : "<0A>" }
  780. *Command: CmdFF { *Cmd : "<0C>" }
  781. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  782. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  783. *EjectPageWithFF?: FALSE
  784. *switch: PaperSize
  785. {
  786. *case: LETTER
  787. {
  788. *EjectPageWithFF?: FALSE
  789. *switch: InputBin
  790. {
  791. *case: MANUAL
  792. {
  793. *EjectPageWithFF?: TRUE
  794. }
  795. *case: Option3
  796. {
  797. *EjectPageWithFF?: TRUE
  798. }
  799. }
  800. }
  801. *case: LEGAL
  802. {
  803. *EjectPageWithFF?: FALSE
  804. *switch: InputBin
  805. {
  806. *case: MANUAL
  807. {
  808. *EjectPageWithFF?: TRUE
  809. }
  810. *case: Option3
  811. {
  812. *EjectPageWithFF?: TRUE
  813. }
  814. }
  815. }
  816. }
  817. *OutputDataFormat: V_BYTE
  818. *OptimizeLeftBound?: FALSE
  819. *CursorXAfterSendBlockData: AT_GRXDATA_END
  820. *CursorYAfterSendBlockData: NO_MOVE
  821. *DefaultFont: 1
  822. *DefaultCTT: -2
  823. *CharPosition: BASELINE
  824. *switch: Orientation
  825. {
  826. *case: PORTRAIT
  827. {
  828. *DeviceFonts: LIST(1,2,3,4,5,16,17,18,25,26,27,28,29,30,31,32,
  829. + 33,34,35,36,37,38,39,40,41,57,58,69,70,71,72,73,
  830. + 74,75,76,77,78,79,80,81,83,84,85,86,87,88,89,90,
  831. + 91,92)
  832. }
  833. *case: LANDSCAPE_CC270
  834. {
  835. *DeviceFonts: LIST()
  836. }
  837. }
  838. *FontCartridge: FC1
  839. {
  840. *rcCartridgeNameID: 261
  841. *PortraitFonts: LIST(59,60)
  842. *LandscapeFonts: LIST()
  843. }
  844. *FontCartridge: FC2
  845. {
  846. *rcCartridgeNameID: 262
  847. *PortraitFonts: LIST(55,56)
  848. *LandscapeFonts: LIST()
  849. }
  850. *FontCartridge: FC3
  851. {
  852. *rcCartridgeNameID: 263
  853. *PortraitFonts: LIST(61,62)
  854. *LandscapeFonts: LIST()
  855. }
  856. *FontCartridge: FC4
  857. {
  858. *rcCartridgeNameID: 264
  859. *PortraitFonts: LIST(63,64)
  860. *LandscapeFonts: LIST()
  861. }
  862. *FontCartridge: FC5
  863. {
  864. *rcCartridgeNameID: 265
  865. *PortraitFonts: LIST(65,66)
  866. *LandscapeFonts: LIST()
  867. }
  868. *FontCartridge: FC6
  869. {
  870. *rcCartridgeNameID: 266
  871. *PortraitFonts: LIST(67,68)
  872. *LandscapeFonts: LIST()
  873. }
  874. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  875. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  876. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  877. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  878. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  879. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }