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.

901 lines
25 KiB

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