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.

853 lines
30 KiB

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