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.

900 lines
31 KiB

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