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.

787 lines
27 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "EPAP700J.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "EPSON AP-700"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "epsnjres.dll"
  13. *PrinterType: SERIAL
  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: Option1
  31. *Option: Option1
  32. {
  33. *rcNameID: 267
  34. }
  35. *Option: MANUAL
  36. {
  37. *rcNameID: =MANUAL_FEED_DISPLAY
  38. *Command: CmdSelect
  39. {
  40. *Order: DOC_SETUP.7
  41. *Cmd: "<1B>O"
  42. }
  43. }
  44. }
  45. *Feature: Resolution
  46. {
  47. *rcNameID: =RESOLUTION_DISPLAY
  48. *DefaultOption: Option3
  49. *Option: Option1
  50. {
  51. *Name: "360 x 360 dots per inch"
  52. *DPI: PAIR(360, 360)
  53. *TextDPI: PAIR(360, 360)
  54. *PinsPerLogPass: 48
  55. *PinsPerPhysPass: 48
  56. *MinStripBlankPixels: 720
  57. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  58. *SpotDiameter: 100
  59. *Command: CmdSendBlockData { *Cmd : "<1B>*I" %l{NumOfDataBytes / 6} }
  60. }
  61. *Option: Option2
  62. {
  63. *Name: "180 x 360 dots per inch"
  64. *DPI: PAIR(180, 360)
  65. *TextDPI: PAIR(180, 360)
  66. *PinsPerLogPass: 48
  67. *PinsPerPhysPass: 48
  68. *MinStripBlankPixels: 720
  69. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  70. *SpotDiameter: 100
  71. *Command: CmdSendBlockData { *Cmd : "<1B>*G" %l{NumOfDataBytes / 6} }
  72. }
  73. *Option: Option3
  74. {
  75. *Name: "180 x 180 dots per inch"
  76. *DPI: PAIR(180, 180)
  77. *TextDPI: PAIR(180, 180)
  78. *PinsPerLogPass: 24
  79. *PinsPerPhysPass: 24
  80. *MinStripBlankPixels: 360
  81. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  82. *SpotDiameter: 140
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  84. }
  85. *Option: Option4
  86. {
  87. *Name: "120 x 180 dots per inch"
  88. *DPI: PAIR(120, 180)
  89. *TextDPI: PAIR(120, 180)
  90. *PinsPerLogPass: 24
  91. *PinsPerPhysPass: 24
  92. *MinStripBlankPixels: 240
  93. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  94. *SpotDiameter: 120
  95. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  96. }
  97. }
  98. *Feature: PaperSize
  99. {
  100. *rcNameID: =PAPER_SIZE_DISPLAY
  101. *DefaultOption: A4
  102. *Option: A4
  103. {
  104. *rcNameID: =A4_DISPLAY
  105. *Command: CmdSelect
  106. {
  107. *Order: DOC_SETUP.8
  108. *Cmd: "<1B>C<000C>"
  109. }
  110. *switch: InputBin
  111. {
  112. *case: Option1
  113. {
  114. *PrintableArea: PAIR(2880, 3896)
  115. *PrintableOrigin: PAIR(42, 120)
  116. }
  117. *case: MANUAL
  118. {
  119. *PrintableArea: PAIR(2880, 3875)
  120. *PrintableOrigin: PAIR(42, 120)
  121. *switch: Resolution
  122. {
  123. *case: Option3
  124. {
  125. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  126. *PrintableArea: PAIR(2880, 3874)
  127. }
  128. *case: Option4
  129. {
  130. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  131. *PrintableArea: PAIR(2880, 3874)
  132. }
  133. }
  134. }
  135. }
  136. }
  137. *Option: A5
  138. {
  139. *rcNameID: =A5_DISPLAY
  140. *Command: CmdSelect
  141. {
  142. *Order: DOC_SETUP.8
  143. *Cmd: "<1B>C<0008>"
  144. }
  145. *switch: InputBin
  146. {
  147. *case: Option1
  148. {
  149. *PrintableArea: PAIR(2015, 2665)
  150. *PrintableOrigin: PAIR(42, 120)
  151. *switch: Resolution
  152. {
  153. *case: Option2
  154. {
  155. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  156. *PrintableArea: PAIR(2014, 2665)
  157. }
  158. *case: Option3
  159. {
  160. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  161. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  162. *PrintableArea: PAIR(2014, 2664)
  163. }
  164. *case: Option4
  165. {
  166. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  167. *% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
  168. *PrintableArea: PAIR(2013, 2664)
  169. }
  170. }
  171. }
  172. *case: MANUAL
  173. {
  174. *PrintableArea: PAIR(2015, 2644)
  175. *PrintableOrigin: PAIR(42, 120)
  176. *switch: Resolution
  177. {
  178. *case: Option2
  179. {
  180. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  181. *PrintableArea: PAIR(2014, 2644)
  182. }
  183. *case: Option3
  184. {
  185. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  186. *PrintableArea: PAIR(2014, 2644)
  187. }
  188. *case: Option4
  189. {
  190. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  191. *PrintableArea: PAIR(2013, 2644)
  192. }
  193. }
  194. }
  195. }
  196. }
  197. *Option: A5_ROTATED
  198. {
  199. *rcNameID: =A5_ROTATED_DISPLAY
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.8
  203. *Cmd: "<1B>C<0006>"
  204. }
  205. *switch: InputBin
  206. {
  207. *case: Option1
  208. {
  209. *PrintableArea: PAIR(2880, 1787)
  210. *PrintableOrigin: PAIR(42, 120)
  211. *switch: Resolution
  212. {
  213. *case: Option3
  214. {
  215. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  216. *PrintableArea: PAIR(2880, 1786)
  217. }
  218. *case: Option4
  219. {
  220. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  221. *PrintableArea: PAIR(2880, 1786)
  222. }
  223. }
  224. }
  225. *case: MANUAL
  226. {
  227. *PrintableArea: PAIR(2880, 1766)
  228. *PrintableOrigin: PAIR(42, 120)
  229. }
  230. }
  231. }
  232. *Option: A6
  233. {
  234. *rcNameID: =A6_DISPLAY
  235. *Command: CmdSelect
  236. {
  237. *Order: DOC_SETUP.8
  238. *Cmd: "<1B>C<0006>"
  239. }
  240. *switch: InputBin
  241. {
  242. *case: Option1
  243. {
  244. *PrintableArea: PAIR(1403, 1787)
  245. *PrintableOrigin: PAIR(42, 120)
  246. *switch: Resolution
  247. {
  248. *case: Option2
  249. {
  250. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  251. *PrintableArea: PAIR(1402, 1787)
  252. }
  253. *case: Option3
  254. {
  255. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  256. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  257. *PrintableArea: PAIR(1402, 1786)
  258. }
  259. *case: Option4
  260. {
  261. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  262. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  263. *PrintableArea: PAIR(1401, 1786)
  264. }
  265. }
  266. }
  267. *case: MANUAL
  268. {
  269. *PrintableArea: PAIR(1403, 1766)
  270. *PrintableOrigin: PAIR(42, 120)
  271. *switch: Resolution
  272. {
  273. *case: Option2
  274. {
  275. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  276. *PrintableArea: PAIR(1402, 1766)
  277. }
  278. *case: Option3
  279. {
  280. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  281. *PrintableArea: PAIR(1402, 1766)
  282. }
  283. *case: Option4
  284. {
  285. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  286. *PrintableArea: PAIR(1401, 1766)
  287. }
  288. }
  289. }
  290. }
  291. }
  292. *Option: A6_ROTATED
  293. {
  294. *rcNameID: =A6_ROTATED_DISPLAY
  295. *Command: CmdSelect
  296. {
  297. *Order: DOC_SETUP.8
  298. *Cmd: "<1B>C<0004>"
  299. }
  300. *switch: InputBin
  301. {
  302. *case: Option1
  303. {
  304. *PrintableArea: PAIR(2015, 1175)
  305. *PrintableOrigin: PAIR(42, 120)
  306. *switch: Resolution
  307. {
  308. *case: Option2
  309. {
  310. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  311. *PrintableArea: PAIR(2014, 1175)
  312. }
  313. *case: Option3
  314. {
  315. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  316. *% Warning: the following printable length is adjusted (1175->1174) so it is divisible by the resolution Y scale.
  317. *PrintableArea: PAIR(2014, 1174)
  318. }
  319. *case: Option4
  320. {
  321. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  322. *% Warning: the following printable length is adjusted (1175->1174) so it is divisible by the resolution Y scale.
  323. *PrintableArea: PAIR(2013, 1174)
  324. }
  325. }
  326. }
  327. *case: MANUAL
  328. {
  329. *PrintableArea: PAIR(2015, 1154)
  330. *PrintableOrigin: PAIR(42, 120)
  331. *switch: Resolution
  332. {
  333. *case: Option2
  334. {
  335. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  336. *PrintableArea: PAIR(2014, 1154)
  337. }
  338. *case: Option3
  339. {
  340. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  341. *PrintableArea: PAIR(2014, 1154)
  342. }
  343. *case: Option4
  344. {
  345. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  346. *PrintableArea: PAIR(2013, 1154)
  347. }
  348. }
  349. }
  350. }
  351. }
  352. *Option: B5
  353. {
  354. *rcNameID: =B5_DISPLAY
  355. *Command: CmdSelect
  356. {
  357. *Order: DOC_SETUP.8
  358. *Cmd: "<1B>C<000A>"
  359. }
  360. *switch: InputBin
  361. {
  362. *case: Option1
  363. {
  364. *PrintableArea: PAIR(2497, 3331)
  365. *PrintableOrigin: PAIR(42, 120)
  366. *switch: Resolution
  367. {
  368. *case: Option2
  369. {
  370. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  371. *PrintableArea: PAIR(2496, 3331)
  372. }
  373. *case: Option3
  374. {
  375. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  376. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  377. *PrintableArea: PAIR(2496, 3330)
  378. }
  379. *case: Option4
  380. {
  381. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  382. *% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
  383. *PrintableArea: PAIR(2496, 3330)
  384. }
  385. }
  386. }
  387. *case: MANUAL
  388. {
  389. *PrintableArea: PAIR(2497, 3310)
  390. *PrintableOrigin: PAIR(42, 120)
  391. *switch: Resolution
  392. {
  393. *case: Option2
  394. {
  395. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  396. *PrintableArea: PAIR(2496, 3310)
  397. }
  398. *case: Option3
  399. {
  400. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  401. *PrintableArea: PAIR(2496, 3310)
  402. }
  403. *case: Option4
  404. {
  405. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  406. *PrintableArea: PAIR(2496, 3310)
  407. }
  408. }
  409. }
  410. }
  411. }
  412. *Option: LETTER
  413. {
  414. *rcNameID: =LETTER_DISPLAY
  415. *Command: CmdSelect
  416. {
  417. *Order: DOC_SETUP.8
  418. *Cmd: "<1B>C<000B>"
  419. }
  420. *switch: InputBin
  421. {
  422. *case: Option1
  423. {
  424. *PrintableArea: PAIR(2880, 3648)
  425. *PrintableOrigin: PAIR(42, 120)
  426. }
  427. *case: MANUAL
  428. {
  429. *PrintableArea: PAIR(2880, 3627)
  430. *PrintableOrigin: PAIR(42, 120)
  431. *switch: Resolution
  432. {
  433. *case: Option3
  434. {
  435. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  436. *PrintableArea: PAIR(2880, 3626)
  437. }
  438. *case: Option4
  439. {
  440. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  441. *PrintableArea: PAIR(2880, 3626)
  442. }
  443. }
  444. }
  445. }
  446. }
  447. *Option: LEGAL
  448. {
  449. *rcNameID: =LEGAL_DISPLAY
  450. *Command: CmdSelect
  451. {
  452. *Order: DOC_SETUP.8
  453. *Cmd: "<1B>C<000E>"
  454. }
  455. *switch: InputBin
  456. {
  457. *case: Option1
  458. {
  459. *PrintableArea: PAIR(2880, 4728)
  460. *PrintableOrigin: PAIR(42, 120)
  461. }
  462. *case: MANUAL
  463. {
  464. *PrintableArea: PAIR(2880, 4707)
  465. *PrintableOrigin: PAIR(42, 120)
  466. *switch: Resolution
  467. {
  468. *case: Option3
  469. {
  470. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  471. *PrintableArea: PAIR(2880, 4706)
  472. }
  473. *case: Option4
  474. {
  475. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  476. *PrintableArea: PAIR(2880, 4706)
  477. }
  478. }
  479. }
  480. }
  481. }
  482. *Option: JAPANESE_POSTCARD
  483. {
  484. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  485. *Command: CmdSelect
  486. {
  487. *Order: DOC_SETUP.8
  488. *Cmd: "<1B>C<0006>"
  489. }
  490. *switch: InputBin
  491. {
  492. *case: Option1
  493. {
  494. *PrintableArea: PAIR(1334, 1787)
  495. *PrintableOrigin: PAIR(42, 120)
  496. *switch: Resolution
  497. {
  498. *case: Option3
  499. {
  500. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  501. *PrintableArea: PAIR(1334, 1786)
  502. }
  503. *case: Option4
  504. {
  505. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  506. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  507. *PrintableArea: PAIR(1332, 1786)
  508. }
  509. }
  510. }
  511. *case: MANUAL
  512. {
  513. *PrintableArea: PAIR(1334, 1766)
  514. *PrintableOrigin: PAIR(42, 120)
  515. *switch: Resolution
  516. {
  517. *case: Option4
  518. {
  519. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  520. *PrintableArea: PAIR(1332, 1766)
  521. }
  522. }
  523. }
  524. }
  525. }
  526. *Option: JAPANESE_POSTCARD_ROTATED
  527. {
  528. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  529. *Command: CmdSelect
  530. {
  531. *Order: DOC_SETUP.8
  532. *Cmd: "<1B>C<0004>"
  533. }
  534. *switch: InputBin
  535. {
  536. *case: Option1
  537. {
  538. *PrintableArea: PAIR(2015, 1106)
  539. *PrintableOrigin: PAIR(42, 120)
  540. *switch: Resolution
  541. {
  542. *case: Option2
  543. {
  544. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  545. *PrintableArea: PAIR(2014, 1106)
  546. }
  547. *case: Option3
  548. {
  549. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  550. *PrintableArea: PAIR(2014, 1106)
  551. }
  552. *case: Option4
  553. {
  554. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  555. *PrintableArea: PAIR(2013, 1106)
  556. }
  557. }
  558. }
  559. *case: MANUAL
  560. {
  561. *PrintableArea: PAIR(2015, 1085)
  562. *PrintableOrigin: PAIR(42, 120)
  563. *switch: Resolution
  564. {
  565. *case: Option2
  566. {
  567. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  568. *PrintableArea: PAIR(2014, 1085)
  569. }
  570. *case: Option3
  571. {
  572. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  573. *% Warning: the following printable length is adjusted (1085->1084) so it is divisible by the resolution Y scale.
  574. *PrintableArea: PAIR(2014, 1084)
  575. }
  576. *case: Option4
  577. {
  578. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  579. *% Warning: the following printable length is adjusted (1085->1084) so it is divisible by the resolution Y scale.
  580. *PrintableArea: PAIR(2013, 1084)
  581. }
  582. }
  583. }
  584. }
  585. }
  586. *Option: DBL_JAPANESE_POSTCARD
  587. {
  588. *rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
  589. *switch: InputBin
  590. {
  591. *case: Option1
  592. {
  593. *PrintableArea: PAIR(2749, 1787)
  594. *PrintableOrigin: PAIR(42, 120)
  595. *switch: Resolution
  596. {
  597. *case: Option2
  598. {
  599. *% Warning: the following printable width is adjusted (2749->2748) so it is divisible by the resolution X scale.
  600. *PrintableArea: PAIR(2748, 1787)
  601. }
  602. *case: Option3
  603. {
  604. *% Warning: the following printable width is adjusted (2749->2748) so it is divisible by the resolution X scale.
  605. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  606. *PrintableArea: PAIR(2748, 1786)
  607. }
  608. *case: Option4
  609. {
  610. *% Warning: the following printable width is adjusted (2749->2748) so it is divisible by the resolution X scale.
  611. *% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
  612. *PrintableArea: PAIR(2748, 1786)
  613. }
  614. }
  615. }
  616. *case: MANUAL
  617. {
  618. *PrintableArea: PAIR(2749, 1766)
  619. *PrintableOrigin: PAIR(42, 120)
  620. *switch: Resolution
  621. {
  622. *case: Option2
  623. {
  624. *% Warning: the following printable width is adjusted (2749->2748) so it is divisible by the resolution X scale.
  625. *PrintableArea: PAIR(2748, 1766)
  626. }
  627. *case: Option3
  628. {
  629. *% Warning: the following printable width is adjusted (2749->2748) so it is divisible by the resolution X scale.
  630. *PrintableArea: PAIR(2748, 1766)
  631. }
  632. *case: Option4
  633. {
  634. *% Warning: the following printable width is adjusted (2749->2748) so it is divisible by the resolution X scale.
  635. *PrintableArea: PAIR(2748, 1766)
  636. }
  637. }
  638. }
  639. }
  640. }
  641. *Option: CUSTOMSIZE
  642. {
  643. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  644. *MinSize: PAIR(360, 360)
  645. *MaxSize: PAIR(3600, 7920)
  646. *MaxPrintableWidth: 2880
  647. *MinLeftMargin: 0
  648. *CenterPrintable?: FALSE
  649. *switch: InputBin
  650. {
  651. *case: Option1
  652. {
  653. *TopMargin: 120
  654. *BottomMargin: 192
  655. }
  656. *case: MANUAL
  657. {
  658. *TopMargin: 120
  659. *BottomMargin: 213
  660. }
  661. }
  662. *Command: CmdSelect
  663. {
  664. *Order: DOC_SETUP.8
  665. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  666. }
  667. }
  668. }
  669. *Feature: ColorMode
  670. {
  671. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  672. *DefaultOption: Color
  673. *Option: Mono
  674. {
  675. *rcNameID: =MONO_DISPLAY
  676. *DevNumOfPlanes: 1
  677. *DevBPP: 1
  678. *Color? : FALSE
  679. }
  680. *Option: Color
  681. {
  682. *rcNameID: =COLOR_DISPLAY
  683. *DevNumOfPlanes: 4
  684. *DevBPP: 1
  685. *DrvBPP: 4
  686. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  687. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  688. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  689. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  690. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  691. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  692. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  693. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  694. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  695. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  696. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  697. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  698. }
  699. }
  700. *Feature: Halftone
  701. {
  702. *rcNameID: =HALFTONING_DISPLAY
  703. *DefaultOption: HT_PATSIZE_AUTO
  704. *Option: HT_PATSIZE_AUTO
  705. {
  706. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  707. }
  708. *Option: HT_PATSIZE_SUPERCELL_M
  709. {
  710. *rcNameID: =HT_SUPERCELL_DISPLAY
  711. }
  712. *Option: HT_PATSIZE_6x6_M
  713. {
  714. *rcNameID: =HT_DITHER6X6_DISPLAY
  715. }
  716. *Option: HT_PATSIZE_8x8_M
  717. {
  718. *rcNameID: =HT_DITHER8X8_DISPLAY
  719. }
  720. }
  721. *Command: CmdStartDoc
  722. {
  723. *Order: DOC_SETUP.1
  724. *Cmd: "<1B>S<1B1B>S<1C1B>@<181B>t<011B>R<00>"
  725. }
  726. *Command: CmdStartPage
  727. {
  728. *Order: PAGE_SETUP.1
  729. *Cmd: "<0D>"
  730. }
  731. *Command: CmdEndJob
  732. {
  733. *Order: JOB_FINISH.1
  734. *Cmd: "<1B>S<1B1B>SK"
  735. }
  736. *RotateCoordinate?: FALSE
  737. *RotateRaster?: FALSE
  738. *RotateFont?: FALSE
  739. *switch: Orientation
  740. {
  741. *case: PORTRAIT
  742. {
  743. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  744. }
  745. *case: LANDSCAPE_CC270
  746. {
  747. *TextCaps: LIST(TC_RA_ABLE)
  748. }
  749. }
  750. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  751. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  752. *MaxLineSpacing: 255
  753. *XMoveThreshold: 0
  754. *XMoveUnit: 60
  755. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  756. *Command: CmdSetLineSpacing { *Cmd : "<1B>+" %c[0,255]{LinefeedSpacing } }
  757. *Command: CmdCR { *Cmd : "<0D>" }
  758. *Command: CmdLF { *Cmd : "<0A>" }
  759. *Command: CmdFF { *Cmd : "<0C>" }
  760. *Command: CmdBackSpace { *Cmd : "<08>" }
  761. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  762. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  763. *EjectPageWithFF?: TRUE
  764. *OutputDataFormat: V_BYTE
  765. *OptimizeLeftBound?: FALSE
  766. *CursorXAfterSendBlockData: AT_GRXDATA_END
  767. *CursorYAfterSendBlockData: NO_MOVE
  768. *DefaultFont: 1
  769. *DefaultCTT: -1
  770. *switch: Orientation
  771. {
  772. *case: PORTRAIT
  773. {
  774. *DeviceFonts: LIST(1,5,6,7,8,9,10,11,12)
  775. }
  776. *case: LANDSCAPE_CC270
  777. {
  778. *DeviceFonts: LIST()
  779. }
  780. }
  781. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  782. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  783. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  784. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  785. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  786. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }
  787. *UseExpColorSelectCmd?: TRUE