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.

999 lines
35 KiB

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