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.

1054 lines
37 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "EPAP550J.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "EPSON AP-550"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "epsnjres.dll"
  13. *PrinterType: SERIAL
  14. *FontCartSlots: 2
  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: MANUAL
  33. {
  34. *rcNameID: =MANUAL_FEED_DISPLAY
  35. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.7
  38. *Cmd: "<1B>O"
  39. }
  40. }
  41. *Option: Option2
  42. {
  43. *rcNameID: 258
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.7
  47. *Cmd: "<1B19>1<1B19>4"
  48. }
  49. }
  50. *Option: Option3
  51. {
  52. *rcNameID: 259
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.7
  56. *Cmd: "<1B>O"
  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: MANUAL
  104. {
  105. *PrintableArea: PAIR(2893, 3875)
  106. *PrintableOrigin: PAIR(42, 120)
  107. *switch: Resolution
  108. {
  109. *case: Option1
  110. {
  111. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  112. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  113. *PrintableArea: PAIR(2892, 3874)
  114. }
  115. *case: Option2
  116. {
  117. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  118. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  119. *PrintableArea: PAIR(2892, 3874)
  120. }
  121. }
  122. }
  123. *case: Option2
  124. {
  125. *PrintableArea: PAIR(2893, 3875)
  126. *PrintableOrigin: PAIR(42, 120)
  127. *switch: Resolution
  128. {
  129. *case: Option1
  130. {
  131. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  132. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  133. *PrintableArea: PAIR(2892, 3874)
  134. }
  135. *case: Option2
  136. {
  137. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  138. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  139. *PrintableArea: PAIR(2892, 3874)
  140. }
  141. }
  142. }
  143. *case: Option3
  144. {
  145. *PrintableArea: PAIR(2893, 4208)
  146. *PrintableOrigin: PAIR(42, 0)
  147. *switch: Resolution
  148. {
  149. *case: Option1
  150. {
  151. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  152. *PrintableArea: PAIR(2892, 4208)
  153. }
  154. *case: Option2
  155. {
  156. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  157. *PrintableArea: PAIR(2892, 4208)
  158. }
  159. }
  160. }
  161. }
  162. }
  163. *Option: A5
  164. {
  165. *rcNameID: =A5_DISPLAY
  166. *Command: CmdSelect
  167. {
  168. *Order: DOC_SETUP.8
  169. *Cmd: "<1B>C<0008>"
  170. }
  171. *switch: InputBin
  172. {
  173. *case: MANUAL
  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: Option2
  192. {
  193. *PrintableArea: PAIR(2015, 2644)
  194. *PrintableOrigin: PAIR(42, 120)
  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. *PrintableArea: PAIR(2014, 2644)
  201. }
  202. *case: Option2
  203. {
  204. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  205. *PrintableArea: PAIR(2013, 2644)
  206. }
  207. }
  208. }
  209. *case: Option3
  210. {
  211. *PrintableArea: PAIR(2015, 2977)
  212. *PrintableOrigin: PAIR(42, 0)
  213. *switch: Resolution
  214. {
  215. *case: Option1
  216. {
  217. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  218. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  219. *PrintableArea: PAIR(2014, 2976)
  220. }
  221. *case: Option2
  222. {
  223. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  224. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  225. *PrintableArea: PAIR(2013, 2976)
  226. }
  227. }
  228. }
  229. }
  230. }
  231. *Option: A5_ROTATED
  232. {
  233. *rcNameID: =A5_ROTATED_DISPLAY
  234. *Command: CmdSelect
  235. {
  236. *Order: DOC_SETUP.8
  237. *Cmd: "<1B>C<0006>"
  238. }
  239. *switch: InputBin
  240. {
  241. *case: MANUAL
  242. {
  243. *PrintableArea: PAIR(2893, 1766)
  244. *PrintableOrigin: PAIR(42, 120)
  245. *switch: Resolution
  246. {
  247. *case: Option1
  248. {
  249. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  250. *PrintableArea: PAIR(2892, 1766)
  251. }
  252. *case: Option2
  253. {
  254. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  255. *PrintableArea: PAIR(2892, 1766)
  256. }
  257. }
  258. }
  259. *case: Option2
  260. {
  261. *PrintableArea: PAIR(2893, 1766)
  262. *PrintableOrigin: PAIR(42, 120)
  263. *switch: Resolution
  264. {
  265. *case: Option1
  266. {
  267. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  268. *PrintableArea: PAIR(2892, 1766)
  269. }
  270. *case: Option2
  271. {
  272. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  273. *PrintableArea: PAIR(2892, 1766)
  274. }
  275. }
  276. }
  277. *case: Option3
  278. {
  279. *PrintableArea: PAIR(2893, 2099)
  280. *PrintableOrigin: PAIR(42, 0)
  281. *switch: Resolution
  282. {
  283. *case: Option1
  284. {
  285. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  286. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  287. *PrintableArea: PAIR(2892, 2098)
  288. }
  289. *case: Option2
  290. {
  291. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  292. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  293. *PrintableArea: PAIR(2892, 2098)
  294. }
  295. }
  296. }
  297. }
  298. }
  299. *Option: A6
  300. {
  301. *rcNameID: =A6_DISPLAY
  302. *Command: CmdSelect
  303. {
  304. *Order: DOC_SETUP.8
  305. *Cmd: "<1B>C<0006>"
  306. }
  307. *switch: InputBin
  308. {
  309. *case: MANUAL
  310. {
  311. *PrintableArea: PAIR(1403, 1766)
  312. *PrintableOrigin: PAIR(42, 120)
  313. *switch: Resolution
  314. {
  315. *case: Option1
  316. {
  317. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  318. *PrintableArea: PAIR(1402, 1766)
  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. *PrintableArea: PAIR(1401, 1766)
  324. }
  325. }
  326. }
  327. *case: Option2
  328. {
  329. *PrintableArea: PAIR(1403, 1766)
  330. *PrintableOrigin: PAIR(42, 120)
  331. *switch: Resolution
  332. {
  333. *case: Option1
  334. {
  335. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  336. *PrintableArea: PAIR(1402, 1766)
  337. }
  338. *case: Option2
  339. {
  340. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  341. *PrintableArea: PAIR(1401, 1766)
  342. }
  343. }
  344. }
  345. *case: Option3
  346. {
  347. *PrintableArea: PAIR(1403, 2099)
  348. *PrintableOrigin: PAIR(42, 0)
  349. *switch: Resolution
  350. {
  351. *case: Option1
  352. {
  353. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  354. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  355. *PrintableArea: PAIR(1402, 2098)
  356. }
  357. *case: Option2
  358. {
  359. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  360. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  361. *PrintableArea: PAIR(1401, 2098)
  362. }
  363. }
  364. }
  365. }
  366. }
  367. *Option: A6_ROTATED
  368. {
  369. *rcNameID: =A6_ROTATED_DISPLAY
  370. *Command: CmdSelect
  371. {
  372. *Order: DOC_SETUP.8
  373. *Cmd: "<1B>C<0004>"
  374. }
  375. *switch: InputBin
  376. {
  377. *case: MANUAL
  378. {
  379. *PrintableArea: PAIR(2015, 1154)
  380. *PrintableOrigin: PAIR(42, 120)
  381. *switch: Resolution
  382. {
  383. *case: Option1
  384. {
  385. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  386. *PrintableArea: PAIR(2014, 1154)
  387. }
  388. *case: Option2
  389. {
  390. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  391. *PrintableArea: PAIR(2013, 1154)
  392. }
  393. }
  394. }
  395. *case: Option2
  396. {
  397. *PrintableArea: PAIR(2015, 1154)
  398. *PrintableOrigin: PAIR(42, 120)
  399. *switch: Resolution
  400. {
  401. *case: Option1
  402. {
  403. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  404. *PrintableArea: PAIR(2014, 1154)
  405. }
  406. *case: Option2
  407. {
  408. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  409. *PrintableArea: PAIR(2013, 1154)
  410. }
  411. }
  412. }
  413. *case: Option3
  414. {
  415. *PrintableArea: PAIR(2015, 1487)
  416. *PrintableOrigin: PAIR(42, 0)
  417. *switch: Resolution
  418. {
  419. *case: Option1
  420. {
  421. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  422. *% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
  423. *PrintableArea: PAIR(2014, 1486)
  424. }
  425. *case: Option2
  426. {
  427. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  428. *% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
  429. *PrintableArea: PAIR(2013, 1486)
  430. }
  431. }
  432. }
  433. }
  434. }
  435. *Option: B4
  436. {
  437. *rcNameID: =B4_DISPLAY
  438. *Command: CmdSelect
  439. {
  440. *Order: DOC_SETUP.8
  441. *Cmd: "<1B>C<000E>"
  442. }
  443. *switch: InputBin
  444. {
  445. *case: MANUAL
  446. {
  447. *PrintableArea: PAIR(3559, 4826)
  448. *PrintableOrigin: PAIR(42, 120)
  449. *switch: Resolution
  450. {
  451. *case: Option1
  452. {
  453. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  454. *PrintableArea: PAIR(3558, 4826)
  455. }
  456. *case: Option2
  457. {
  458. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  459. *PrintableArea: PAIR(3558, 4826)
  460. }
  461. }
  462. }
  463. *case: Option2
  464. {
  465. *PrintableArea: PAIR(3559, 4826)
  466. *PrintableOrigin: PAIR(42, 120)
  467. *switch: Resolution
  468. {
  469. *case: Option1
  470. {
  471. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  472. *PrintableArea: PAIR(3558, 4826)
  473. }
  474. *case: Option2
  475. {
  476. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  477. *PrintableArea: PAIR(3558, 4826)
  478. }
  479. }
  480. }
  481. *case: Option3
  482. {
  483. *PrintableArea: PAIR(3559, 5159)
  484. *PrintableOrigin: PAIR(42, 0)
  485. *switch: Resolution
  486. {
  487. *case: Option1
  488. {
  489. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  490. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  491. *PrintableArea: PAIR(3558, 5158)
  492. }
  493. *case: Option2
  494. {
  495. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  496. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  497. *PrintableArea: PAIR(3558, 5158)
  498. }
  499. }
  500. }
  501. }
  502. }
  503. *Option: B5
  504. {
  505. *rcNameID: =B5_DISPLAY
  506. *Command: CmdSelect
  507. {
  508. *Order: DOC_SETUP.8
  509. *Cmd: "<1B>C<000A>"
  510. }
  511. *switch: InputBin
  512. {
  513. *case: MANUAL
  514. {
  515. *PrintableArea: PAIR(2497, 3310)
  516. *PrintableOrigin: PAIR(42, 120)
  517. *switch: Resolution
  518. {
  519. *case: Option1
  520. {
  521. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  522. *PrintableArea: PAIR(2496, 3310)
  523. }
  524. *case: Option2
  525. {
  526. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  527. *PrintableArea: PAIR(2496, 3310)
  528. }
  529. }
  530. }
  531. *case: Option2
  532. {
  533. *PrintableArea: PAIR(2497, 3310)
  534. *PrintableOrigin: PAIR(42, 120)
  535. *switch: Resolution
  536. {
  537. *case: Option1
  538. {
  539. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  540. *PrintableArea: PAIR(2496, 3310)
  541. }
  542. *case: Option2
  543. {
  544. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  545. *PrintableArea: PAIR(2496, 3310)
  546. }
  547. }
  548. }
  549. *case: Option3
  550. {
  551. *PrintableArea: PAIR(2497, 3643)
  552. *PrintableOrigin: PAIR(42, 0)
  553. *switch: Resolution
  554. {
  555. *case: Option1
  556. {
  557. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  558. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  559. *PrintableArea: PAIR(2496, 3642)
  560. }
  561. *case: Option2
  562. {
  563. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  564. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  565. *PrintableArea: PAIR(2496, 3642)
  566. }
  567. }
  568. }
  569. }
  570. }
  571. *Option: 10X11
  572. {
  573. *rcNameID: =10X11_DISPLAY
  574. *Command: CmdSelect
  575. {
  576. *Order: DOC_SETUP.8
  577. *Cmd: "<1B>C<000B>"
  578. }
  579. *switch: InputBin
  580. {
  581. *case: MANUAL
  582. {
  583. *PrintableArea: PAIR(3560, 3627)
  584. *PrintableOrigin: PAIR(0, 120)
  585. *switch: Resolution
  586. {
  587. *case: Option1
  588. {
  589. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  590. *PrintableArea: PAIR(3560, 3626)
  591. }
  592. *case: Option2
  593. {
  594. *% Warning: the following printable width is adjusted (3560->3558) so it is divisible by the resolution X scale.
  595. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  596. *PrintableArea: PAIR(3558, 3626)
  597. }
  598. }
  599. }
  600. *case: Option2
  601. {
  602. *PrintableArea: PAIR(3560, 3627)
  603. *PrintableOrigin: PAIR(0, 120)
  604. *switch: Resolution
  605. {
  606. *case: Option1
  607. {
  608. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  609. *PrintableArea: PAIR(3560, 3626)
  610. }
  611. *case: Option2
  612. {
  613. *% Warning: the following printable width is adjusted (3560->3558) so it is divisible by the resolution X scale.
  614. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  615. *PrintableArea: PAIR(3558, 3626)
  616. }
  617. }
  618. }
  619. *case: Option3
  620. {
  621. *PrintableArea: PAIR(3560, 3960)
  622. *PrintableOrigin: PAIR(0, 0)
  623. *switch: Resolution
  624. {
  625. *case: Option2
  626. {
  627. *% Warning: the following printable width is adjusted (3560->3558) so it is divisible by the resolution X scale.
  628. *PrintableArea: PAIR(3558, 3960)
  629. }
  630. }
  631. }
  632. }
  633. }
  634. *Option: LETTER
  635. {
  636. *rcNameID: =LETTER_DISPLAY
  637. *Command: CmdSelect
  638. {
  639. *Order: DOC_SETUP.8
  640. *Cmd: "<1B>C<000B>"
  641. }
  642. *switch: InputBin
  643. {
  644. *case: MANUAL
  645. {
  646. *PrintableArea: PAIR(2976, 3627)
  647. *PrintableOrigin: PAIR(42, 120)
  648. *switch: Resolution
  649. {
  650. *case: Option1
  651. {
  652. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  653. *PrintableArea: PAIR(2976, 3626)
  654. }
  655. *case: Option2
  656. {
  657. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  658. *PrintableArea: PAIR(2976, 3626)
  659. }
  660. }
  661. }
  662. *case: Option2
  663. {
  664. *PrintableArea: PAIR(2976, 3627)
  665. *PrintableOrigin: PAIR(42, 120)
  666. *switch: Resolution
  667. {
  668. *case: Option1
  669. {
  670. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  671. *PrintableArea: PAIR(2976, 3626)
  672. }
  673. *case: Option2
  674. {
  675. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  676. *PrintableArea: PAIR(2976, 3626)
  677. }
  678. }
  679. }
  680. *case: Option3
  681. {
  682. *PrintableArea: PAIR(2976, 3960)
  683. *PrintableOrigin: PAIR(42, 0)
  684. }
  685. }
  686. }
  687. *Option: LEGAL
  688. {
  689. *rcNameID: =LEGAL_DISPLAY
  690. *Command: CmdSelect
  691. {
  692. *Order: DOC_SETUP.8
  693. *Cmd: "<1B>C<000E>"
  694. }
  695. *switch: InputBin
  696. {
  697. *case: MANUAL
  698. {
  699. *PrintableArea: PAIR(2976, 4707)
  700. *PrintableOrigin: PAIR(42, 120)
  701. *switch: Resolution
  702. {
  703. *case: Option1
  704. {
  705. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  706. *PrintableArea: PAIR(2976, 4706)
  707. }
  708. *case: Option2
  709. {
  710. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  711. *PrintableArea: PAIR(2976, 4706)
  712. }
  713. }
  714. }
  715. *case: Option2
  716. {
  717. *PrintableArea: PAIR(2976, 4707)
  718. *PrintableOrigin: PAIR(42, 120)
  719. *switch: Resolution
  720. {
  721. *case: Option1
  722. {
  723. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  724. *PrintableArea: PAIR(2976, 4706)
  725. }
  726. *case: Option2
  727. {
  728. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  729. *PrintableArea: PAIR(2976, 4706)
  730. }
  731. }
  732. }
  733. *case: Option3
  734. {
  735. *PrintableArea: PAIR(2976, 5040)
  736. *PrintableOrigin: PAIR(42, 0)
  737. }
  738. }
  739. }
  740. *Option: JAPANESE_POSTCARD
  741. {
  742. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  743. *switch: InputBin
  744. {
  745. *case: MANUAL
  746. {
  747. *PrintableArea: PAIR(1334, 1744)
  748. *PrintableOrigin: PAIR(42, 142)
  749. *switch: Resolution
  750. {
  751. *case: Option2
  752. {
  753. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  754. *PrintableArea: PAIR(1332, 1744)
  755. }
  756. }
  757. }
  758. *case: Option2
  759. {
  760. *PrintableArea: PAIR(1334, 1744)
  761. *PrintableOrigin: PAIR(42, 142)
  762. *switch: Resolution
  763. {
  764. *case: Option2
  765. {
  766. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  767. *PrintableArea: PAIR(1332, 1744)
  768. }
  769. }
  770. }
  771. *case: Option3
  772. {
  773. *PrintableArea: PAIR(1334, 1957)
  774. *PrintableOrigin: PAIR(42, 142)
  775. *switch: Resolution
  776. {
  777. *case: Option1
  778. {
  779. *% Warning: the following printable length is adjusted (1957->1956) so it is divisible by the resolution Y scale.
  780. *PrintableArea: PAIR(1334, 1956)
  781. }
  782. *case: Option2
  783. {
  784. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  785. *% Warning: the following printable length is adjusted (1957->1956) so it is divisible by the resolution Y scale.
  786. *PrintableArea: PAIR(1332, 1956)
  787. }
  788. }
  789. }
  790. }
  791. }
  792. *Option: JAPANESE_POSTCARD_ROTATED
  793. {
  794. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  795. *switch: InputBin
  796. {
  797. *case: MANUAL
  798. {
  799. *PrintableArea: PAIR(2015, 1063)
  800. *PrintableOrigin: PAIR(42, 142)
  801. *switch: Resolution
  802. {
  803. *case: Option1
  804. {
  805. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  806. *% Warning: the following printable length is adjusted (1063->1062) so it is divisible by the resolution Y scale.
  807. *PrintableArea: PAIR(2014, 1062)
  808. }
  809. *case: Option2
  810. {
  811. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  812. *% Warning: the following printable length is adjusted (1063->1062) so it is divisible by the resolution Y scale.
  813. *PrintableArea: PAIR(2013, 1062)
  814. }
  815. }
  816. }
  817. *case: Option2
  818. {
  819. *PrintableArea: PAIR(2015, 1063)
  820. *PrintableOrigin: PAIR(42, 142)
  821. *switch: Resolution
  822. {
  823. *case: Option1
  824. {
  825. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  826. *% Warning: the following printable length is adjusted (1063->1062) so it is divisible by the resolution Y scale.
  827. *PrintableArea: PAIR(2014, 1062)
  828. }
  829. *case: Option2
  830. {
  831. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  832. *% Warning: the following printable length is adjusted (1063->1062) so it is divisible by the resolution Y scale.
  833. *PrintableArea: PAIR(2013, 1062)
  834. }
  835. }
  836. }
  837. *case: Option3
  838. {
  839. *PrintableArea: PAIR(2015, 1276)
  840. *PrintableOrigin: PAIR(42, 142)
  841. *switch: Resolution
  842. {
  843. *case: Option1
  844. {
  845. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  846. *PrintableArea: PAIR(2014, 1276)
  847. }
  848. *case: Option2
  849. {
  850. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  851. *PrintableArea: PAIR(2013, 1276)
  852. }
  853. }
  854. }
  855. }
  856. }
  857. *Option: CUSTOMSIZE
  858. {
  859. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  860. *MinSize: PAIR(360, 360)
  861. *MaxSize: PAIR(3650, 7920)
  862. *MaxPrintableWidth: 3560
  863. *MinLeftMargin: 0
  864. *CenterPrintable?: FALSE
  865. *switch: InputBin
  866. {
  867. *case: MANUAL
  868. {
  869. *TopMargin: 120
  870. *BottomMargin: 213
  871. }
  872. *case: Option2
  873. {
  874. *TopMargin: 120
  875. *BottomMargin: 213
  876. }
  877. *case: Option3
  878. {
  879. *TopMargin: 0
  880. *BottomMargin: 0
  881. }
  882. }
  883. *Command: CmdSelect
  884. {
  885. *Order: DOC_SETUP.8
  886. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  887. }
  888. }
  889. }
  890. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.10X11)
  891. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  892. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  893. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  894. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5_ROTATED)
  895. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A6)
  896. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A6_ROTATED)
  897. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4)
  898. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  899. *InvalidCombination: LIST(InputBin.Option3, PaperSize.LETTER)
  900. *InvalidCombination: LIST(InputBin.Option3, PaperSize.LEGAL)
  901. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  902. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD_ROTATED)
  903. *InvalidCombination: LIST(InputBin.Option3, PaperSize.CUSTOMSIZE)
  904. *Feature: PrintQuality
  905. {
  906. *rcNameID: =TEXT_QUALITY_DISPLAY
  907. *DefaultOption: LETTER_QUALITY
  908. *Option: LETTER_QUALITY
  909. {
  910. *rcNameID: =LETTER_QUALITY_DISPLAY
  911. *Command: CmdSelect
  912. {
  913. *Order: DOC_SETUP.6
  914. *Cmd: "<1B>x<011C>x<00>"
  915. }
  916. }
  917. *Option: DRAFT_QUALITY
  918. {
  919. *rcNameID: =DRAFT_QUALITY_DISPLAY
  920. *Command: CmdSelect
  921. {
  922. *Order: DOC_SETUP.6
  923. *Cmd: "<1B>x<001C>x<01>"
  924. }
  925. }
  926. }
  927. *Feature: ColorMode
  928. {
  929. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  930. *DefaultOption: Color
  931. *Option: Mono
  932. {
  933. *rcNameID: =MONO_DISPLAY
  934. *DevNumOfPlanes: 1
  935. *DevBPP: 1
  936. *Color? : FALSE
  937. }
  938. *Option: Color
  939. {
  940. *rcNameID: =COLOR_DISPLAY
  941. *DevNumOfPlanes: 4
  942. *DevBPP: 1
  943. *DrvBPP: 4
  944. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  945. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  946. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  947. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  948. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  949. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  950. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  951. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  952. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  953. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  954. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  955. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  956. }
  957. }
  958. *Feature: Halftone
  959. {
  960. *rcNameID: =HALFTONING_DISPLAY
  961. *DefaultOption: HT_PATSIZE_AUTO
  962. *Option: HT_PATSIZE_AUTO
  963. {
  964. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  965. }
  966. *Option: HT_PATSIZE_SUPERCELL_M
  967. {
  968. *rcNameID: =HT_SUPERCELL_DISPLAY
  969. }
  970. *Option: HT_PATSIZE_6x6_M
  971. {
  972. *rcNameID: =HT_DITHER6X6_DISPLAY
  973. }
  974. *Option: HT_PATSIZE_8x8_M
  975. {
  976. *rcNameID: =HT_DITHER8X8_DISPLAY
  977. }
  978. }
  979. *Command: CmdStartDoc
  980. {
  981. *Order: DOC_SETUP.1
  982. *Cmd: "<1B>S<1B1B>S<1C1B>@<181B>t<011B>R<00>"
  983. }
  984. *Command: CmdStartPage
  985. {
  986. *Order: PAGE_SETUP.1
  987. *Cmd: "<0D>"
  988. }
  989. *Command: CmdEndJob
  990. {
  991. *Order: JOB_FINISH.1
  992. *Cmd: "<1B>S<1B1B>SK"
  993. }
  994. *RotateCoordinate?: FALSE
  995. *RotateRaster?: FALSE
  996. *RotateFont?: FALSE
  997. *switch: Orientation
  998. {
  999. *case: PORTRAIT
  1000. {
  1001. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  1002. }
  1003. *case: LANDSCAPE_CC270
  1004. {
  1005. *TextCaps: LIST(TC_RA_ABLE)
  1006. }
  1007. }
  1008. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1009. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1010. *MaxLineSpacing: 255
  1011. *XMoveThreshold: 0
  1012. *YMoveThreshold: *
  1013. *XMoveUnit: 60
  1014. *YMoveUnit: 180
  1015. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  1016. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  1017. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  1018. *Command: CmdCR { *Cmd : "<0D>" }
  1019. *Command: CmdLF { *Cmd : "<0A>" }
  1020. *Command: CmdFF { *Cmd : "<0C>" }
  1021. *Command: CmdBackSpace { *Cmd : "<08>" }
  1022. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1023. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1024. *EjectPageWithFF?: TRUE
  1025. *OutputDataFormat: V_BYTE
  1026. *OptimizeLeftBound?: FALSE
  1027. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1028. *CursorYAfterSendBlockData: NO_MOVE
  1029. *DefaultFont: 1
  1030. *DefaultCTT: -1
  1031. *switch: Orientation
  1032. {
  1033. *case: PORTRAIT
  1034. {
  1035. *DeviceFonts: LIST(1,5,6,7,8,9,10,11,12)
  1036. }
  1037. *case: LANDSCAPE_CC270
  1038. {
  1039. *DeviceFonts: LIST()
  1040. }
  1041. }
  1042. *FontCartridge: FC1
  1043. {
  1044. *rcCartridgeNameID: 269
  1045. *PortraitFonts: LIST(3,4,14,15,16,17,18,19,20,21)
  1046. *LandscapeFonts: LIST()
  1047. }
  1048. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1049. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1050. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1051. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1052. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  1053. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }
  1054. *UseExpColorSelectCmd?: TRUE