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.

1644 lines
60 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "EPVP574J.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "EPSON VP-5074"
  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: 259
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.7
  47. *Cmd: "<1B>O"
  48. }
  49. }
  50. *Option: Option3
  51. {
  52. *rcNameID: 261
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.7
  56. *Cmd: "<1B19>1"
  57. }
  58. }
  59. *Option: Option4
  60. {
  61. *rcNameID: 262
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.7
  65. *Cmd: "<1B19>2"
  66. }
  67. }
  68. }
  69. *Feature: Resolution
  70. {
  71. *rcNameID: =RESOLUTION_DISPLAY
  72. *DefaultOption: Option1
  73. *Option: Option1
  74. {
  75. *Name: "180 x 180 dots per inch"
  76. *DPI: PAIR(180, 180)
  77. *TextDPI: PAIR(180, 180)
  78. *PinsPerLogPass: 24
  79. *PinsPerPhysPass: 24
  80. *MinStripBlankPixels: 360
  81. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  82. *SpotDiameter: 140
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  84. }
  85. *Option: Option2
  86. {
  87. *Name: "120 x 180 dots per inch"
  88. *DPI: PAIR(120, 180)
  89. *TextDPI: PAIR(120, 180)
  90. *PinsPerLogPass: 24
  91. *PinsPerPhysPass: 24
  92. *MinStripBlankPixels: 240
  93. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  94. *SpotDiameter: 120
  95. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  96. }
  97. }
  98. *Feature: PaperSize
  99. {
  100. *rcNameID: =PAPER_SIZE_DISPLAY
  101. *DefaultOption: A4
  102. *Option: A3
  103. {
  104. *rcNameID: =A3_DISPLAY
  105. *Command: CmdSelect
  106. {
  107. *Order: DOC_SETUP.8
  108. *Cmd: "<1B>C<0010>"
  109. }
  110. *switch: InputBin
  111. {
  112. *case: MANUAL
  113. {
  114. *PrintableArea: PAIR(4124, 5621)
  115. *PrintableOrigin: PAIR(42, 120)
  116. *switch: Resolution
  117. {
  118. *case: Option1
  119. {
  120. *% Warning: the following printable length is adjusted (5621->5620) so it is divisible by the resolution Y scale.
  121. *PrintableArea: PAIR(4124, 5620)
  122. }
  123. *case: Option2
  124. {
  125. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  126. *% Warning: the following printable length is adjusted (5621->5620) so it is divisible by the resolution Y scale.
  127. *PrintableArea: PAIR(4122, 5620)
  128. }
  129. }
  130. }
  131. *case: Option2
  132. {
  133. *PrintableArea: PAIR(4124, 5954)
  134. *PrintableOrigin: PAIR(42, 0)
  135. *switch: Resolution
  136. {
  137. *case: Option2
  138. {
  139. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  140. *PrintableArea: PAIR(4122, 5954)
  141. }
  142. }
  143. }
  144. *case: Option3
  145. {
  146. *PrintableArea: PAIR(4124, 5621)
  147. *PrintableOrigin: PAIR(42, 120)
  148. *switch: Resolution
  149. {
  150. *case: Option1
  151. {
  152. *% Warning: the following printable length is adjusted (5621->5620) so it is divisible by the resolution Y scale.
  153. *PrintableArea: PAIR(4124, 5620)
  154. }
  155. *case: Option2
  156. {
  157. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  158. *% Warning: the following printable length is adjusted (5621->5620) so it is divisible by the resolution Y scale.
  159. *PrintableArea: PAIR(4122, 5620)
  160. }
  161. }
  162. }
  163. *case: Option4
  164. {
  165. *PrintableArea: PAIR(4124, 5621)
  166. *PrintableOrigin: PAIR(42, 120)
  167. *switch: Resolution
  168. {
  169. *case: Option1
  170. {
  171. *% Warning: the following printable length is adjusted (5621->5620) so it is divisible by the resolution Y scale.
  172. *PrintableArea: PAIR(4124, 5620)
  173. }
  174. *case: Option2
  175. {
  176. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  177. *% Warning: the following printable length is adjusted (5621->5620) so it is divisible by the resolution Y scale.
  178. *PrintableArea: PAIR(4122, 5620)
  179. }
  180. }
  181. }
  182. }
  183. }
  184. *Option: A4
  185. {
  186. *rcNameID: =A4_DISPLAY
  187. *Command: CmdSelect
  188. {
  189. *Order: DOC_SETUP.8
  190. *Cmd: "<1B>C<000C>"
  191. }
  192. *switch: InputBin
  193. {
  194. *case: MANUAL
  195. {
  196. *PrintableArea: PAIR(2893, 3875)
  197. *PrintableOrigin: PAIR(42, 120)
  198. *switch: Resolution
  199. {
  200. *case: Option1
  201. {
  202. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  203. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  204. *PrintableArea: PAIR(2892, 3874)
  205. }
  206. *case: Option2
  207. {
  208. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  209. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  210. *PrintableArea: PAIR(2892, 3874)
  211. }
  212. }
  213. }
  214. *case: Option2
  215. {
  216. *PrintableArea: PAIR(2893, 4208)
  217. *PrintableOrigin: PAIR(42, 0)
  218. *switch: Resolution
  219. {
  220. *case: Option1
  221. {
  222. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  223. *PrintableArea: PAIR(2892, 4208)
  224. }
  225. *case: Option2
  226. {
  227. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  228. *PrintableArea: PAIR(2892, 4208)
  229. }
  230. }
  231. }
  232. *case: Option3
  233. {
  234. *PrintableArea: PAIR(2893, 3875)
  235. *PrintableOrigin: PAIR(42, 120)
  236. *switch: Resolution
  237. {
  238. *case: Option1
  239. {
  240. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  241. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  242. *PrintableArea: PAIR(2892, 3874)
  243. }
  244. *case: Option2
  245. {
  246. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  247. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  248. *PrintableArea: PAIR(2892, 3874)
  249. }
  250. }
  251. }
  252. *case: Option4
  253. {
  254. *PrintableArea: PAIR(2893, 3875)
  255. *PrintableOrigin: PAIR(42, 120)
  256. *switch: Resolution
  257. {
  258. *case: Option1
  259. {
  260. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  261. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  262. *PrintableArea: PAIR(2892, 3874)
  263. }
  264. *case: Option2
  265. {
  266. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  267. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  268. *PrintableArea: PAIR(2892, 3874)
  269. }
  270. }
  271. }
  272. }
  273. }
  274. *Option: A4_ROTATED
  275. {
  276. *rcNameID: =A4_ROTATED_DISPLAY
  277. *Command: CmdSelect
  278. {
  279. *Order: DOC_SETUP.8
  280. *Cmd: "<1B>C<0008>"
  281. }
  282. *switch: InputBin
  283. {
  284. *case: MANUAL
  285. {
  286. *PrintableArea: PAIR(4124, 2644)
  287. *PrintableOrigin: PAIR(42, 120)
  288. *switch: Resolution
  289. {
  290. *case: Option2
  291. {
  292. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  293. *PrintableArea: PAIR(4122, 2644)
  294. }
  295. }
  296. }
  297. *case: Option2
  298. {
  299. *PrintableArea: PAIR(4124, 2977)
  300. *PrintableOrigin: PAIR(42, 0)
  301. *switch: Resolution
  302. {
  303. *case: Option1
  304. {
  305. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  306. *PrintableArea: PAIR(4124, 2976)
  307. }
  308. *case: Option2
  309. {
  310. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  311. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  312. *PrintableArea: PAIR(4122, 2976)
  313. }
  314. }
  315. }
  316. *case: Option3
  317. {
  318. *PrintableArea: PAIR(4124, 2644)
  319. *PrintableOrigin: PAIR(42, 120)
  320. *switch: Resolution
  321. {
  322. *case: Option2
  323. {
  324. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  325. *PrintableArea: PAIR(4122, 2644)
  326. }
  327. }
  328. }
  329. *case: Option4
  330. {
  331. *PrintableArea: PAIR(4124, 2644)
  332. *PrintableOrigin: PAIR(42, 120)
  333. *switch: Resolution
  334. {
  335. *case: Option2
  336. {
  337. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  338. *PrintableArea: PAIR(4122, 2644)
  339. }
  340. }
  341. }
  342. }
  343. }
  344. *Option: A5
  345. {
  346. *rcNameID: =A5_DISPLAY
  347. *Command: CmdSelect
  348. {
  349. *Order: DOC_SETUP.8
  350. *Cmd: "<1B>C<0008>"
  351. }
  352. *switch: InputBin
  353. {
  354. *case: MANUAL
  355. {
  356. *PrintableArea: PAIR(2015, 2644)
  357. *PrintableOrigin: PAIR(42, 120)
  358. *switch: Resolution
  359. {
  360. *case: Option1
  361. {
  362. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  363. *PrintableArea: PAIR(2014, 2644)
  364. }
  365. *case: Option2
  366. {
  367. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  368. *PrintableArea: PAIR(2013, 2644)
  369. }
  370. }
  371. }
  372. *case: Option2
  373. {
  374. *PrintableArea: PAIR(2015, 2977)
  375. *PrintableOrigin: PAIR(42, 0)
  376. *switch: Resolution
  377. {
  378. *case: Option1
  379. {
  380. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  381. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  382. *PrintableArea: PAIR(2014, 2976)
  383. }
  384. *case: Option2
  385. {
  386. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  387. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  388. *PrintableArea: PAIR(2013, 2976)
  389. }
  390. }
  391. }
  392. *case: Option3
  393. {
  394. *PrintableArea: PAIR(2015, 2644)
  395. *PrintableOrigin: PAIR(42, 120)
  396. *switch: Resolution
  397. {
  398. *case: Option1
  399. {
  400. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  401. *PrintableArea: PAIR(2014, 2644)
  402. }
  403. *case: Option2
  404. {
  405. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  406. *PrintableArea: PAIR(2013, 2644)
  407. }
  408. }
  409. }
  410. *case: Option4
  411. {
  412. *PrintableArea: PAIR(2015, 2644)
  413. *PrintableOrigin: PAIR(42, 120)
  414. *switch: Resolution
  415. {
  416. *case: Option1
  417. {
  418. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  419. *PrintableArea: PAIR(2014, 2644)
  420. }
  421. *case: Option2
  422. {
  423. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  424. *PrintableArea: PAIR(2013, 2644)
  425. }
  426. }
  427. }
  428. }
  429. }
  430. *Option: A5_ROTATED
  431. {
  432. *rcNameID: =A5_ROTATED_DISPLAY
  433. *Command: CmdSelect
  434. {
  435. *Order: DOC_SETUP.8
  436. *Cmd: "<1B>C<0006>"
  437. }
  438. *switch: InputBin
  439. {
  440. *case: MANUAL
  441. {
  442. *PrintableArea: PAIR(2893, 1766)
  443. *PrintableOrigin: PAIR(42, 120)
  444. *switch: Resolution
  445. {
  446. *case: Option1
  447. {
  448. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  449. *PrintableArea: PAIR(2892, 1766)
  450. }
  451. *case: Option2
  452. {
  453. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  454. *PrintableArea: PAIR(2892, 1766)
  455. }
  456. }
  457. }
  458. *case: Option2
  459. {
  460. *PrintableArea: PAIR(2893, 2099)
  461. *PrintableOrigin: PAIR(42, 0)
  462. *switch: Resolution
  463. {
  464. *case: Option1
  465. {
  466. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  467. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  468. *PrintableArea: PAIR(2892, 2098)
  469. }
  470. *case: Option2
  471. {
  472. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  473. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  474. *PrintableArea: PAIR(2892, 2098)
  475. }
  476. }
  477. }
  478. *case: Option3
  479. {
  480. *PrintableArea: PAIR(2893, 1766)
  481. *PrintableOrigin: PAIR(42, 120)
  482. *switch: Resolution
  483. {
  484. *case: Option1
  485. {
  486. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  487. *PrintableArea: PAIR(2892, 1766)
  488. }
  489. *case: Option2
  490. {
  491. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  492. *PrintableArea: PAIR(2892, 1766)
  493. }
  494. }
  495. }
  496. *case: Option4
  497. {
  498. *PrintableArea: PAIR(2893, 1766)
  499. *PrintableOrigin: PAIR(42, 120)
  500. *switch: Resolution
  501. {
  502. *case: Option1
  503. {
  504. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  505. *PrintableArea: PAIR(2892, 1766)
  506. }
  507. *case: Option2
  508. {
  509. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  510. *PrintableArea: PAIR(2892, 1766)
  511. }
  512. }
  513. }
  514. }
  515. }
  516. *Option: A6
  517. {
  518. *rcNameID: =A6_DISPLAY
  519. *Command: CmdSelect
  520. {
  521. *Order: DOC_SETUP.8
  522. *Cmd: "<1B>C<0006>"
  523. }
  524. *switch: InputBin
  525. {
  526. *case: MANUAL
  527. {
  528. *PrintableArea: PAIR(1403, 1766)
  529. *PrintableOrigin: PAIR(42, 120)
  530. *switch: Resolution
  531. {
  532. *case: Option1
  533. {
  534. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  535. *PrintableArea: PAIR(1402, 1766)
  536. }
  537. *case: Option2
  538. {
  539. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  540. *PrintableArea: PAIR(1401, 1766)
  541. }
  542. }
  543. }
  544. *case: Option2
  545. {
  546. *PrintableArea: PAIR(1403, 2099)
  547. *PrintableOrigin: PAIR(42, 0)
  548. *switch: Resolution
  549. {
  550. *case: Option1
  551. {
  552. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  553. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  554. *PrintableArea: PAIR(1402, 2098)
  555. }
  556. *case: Option2
  557. {
  558. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  559. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  560. *PrintableArea: PAIR(1401, 2098)
  561. }
  562. }
  563. }
  564. *case: Option3
  565. {
  566. *PrintableArea: PAIR(1403, 1766)
  567. *PrintableOrigin: PAIR(42, 120)
  568. *switch: Resolution
  569. {
  570. *case: Option1
  571. {
  572. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  573. *PrintableArea: PAIR(1402, 1766)
  574. }
  575. *case: Option2
  576. {
  577. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  578. *PrintableArea: PAIR(1401, 1766)
  579. }
  580. }
  581. }
  582. *case: Option4
  583. {
  584. *PrintableArea: PAIR(1403, 1766)
  585. *PrintableOrigin: PAIR(42, 120)
  586. *switch: Resolution
  587. {
  588. *case: Option1
  589. {
  590. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  591. *PrintableArea: PAIR(1402, 1766)
  592. }
  593. *case: Option2
  594. {
  595. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  596. *PrintableArea: PAIR(1401, 1766)
  597. }
  598. }
  599. }
  600. }
  601. }
  602. *Option: A6_ROTATED
  603. {
  604. *rcNameID: =A6_ROTATED_DISPLAY
  605. *Command: CmdSelect
  606. {
  607. *Order: DOC_SETUP.8
  608. *Cmd: "<1B>C<0004>"
  609. }
  610. *switch: InputBin
  611. {
  612. *case: MANUAL
  613. {
  614. *PrintableArea: PAIR(2015, 1154)
  615. *PrintableOrigin: PAIR(42, 120)
  616. *switch: Resolution
  617. {
  618. *case: Option1
  619. {
  620. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  621. *PrintableArea: PAIR(2014, 1154)
  622. }
  623. *case: Option2
  624. {
  625. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  626. *PrintableArea: PAIR(2013, 1154)
  627. }
  628. }
  629. }
  630. *case: Option2
  631. {
  632. *PrintableArea: PAIR(2015, 1487)
  633. *PrintableOrigin: PAIR(42, 0)
  634. *switch: Resolution
  635. {
  636. *case: Option1
  637. {
  638. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  639. *% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
  640. *PrintableArea: PAIR(2014, 1486)
  641. }
  642. *case: Option2
  643. {
  644. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  645. *% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
  646. *PrintableArea: PAIR(2013, 1486)
  647. }
  648. }
  649. }
  650. *case: Option3
  651. {
  652. *PrintableArea: PAIR(2015, 1154)
  653. *PrintableOrigin: PAIR(42, 120)
  654. *switch: Resolution
  655. {
  656. *case: Option1
  657. {
  658. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  659. *PrintableArea: PAIR(2014, 1154)
  660. }
  661. *case: Option2
  662. {
  663. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  664. *PrintableArea: PAIR(2013, 1154)
  665. }
  666. }
  667. }
  668. *case: Option4
  669. {
  670. *PrintableArea: PAIR(2015, 1154)
  671. *PrintableOrigin: PAIR(42, 120)
  672. *switch: Resolution
  673. {
  674. *case: Option1
  675. {
  676. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  677. *PrintableArea: PAIR(2014, 1154)
  678. }
  679. *case: Option2
  680. {
  681. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  682. *PrintableArea: PAIR(2013, 1154)
  683. }
  684. }
  685. }
  686. }
  687. }
  688. *Option: B4
  689. {
  690. *rcNameID: =B4_DISPLAY
  691. *Command: CmdSelect
  692. {
  693. *Order: DOC_SETUP.8
  694. *Cmd: "<1B>C<000E>"
  695. }
  696. *switch: InputBin
  697. {
  698. *case: MANUAL
  699. {
  700. *PrintableArea: PAIR(3559, 4826)
  701. *PrintableOrigin: PAIR(42, 120)
  702. *switch: Resolution
  703. {
  704. *case: Option1
  705. {
  706. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  707. *PrintableArea: PAIR(3558, 4826)
  708. }
  709. *case: Option2
  710. {
  711. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  712. *PrintableArea: PAIR(3558, 4826)
  713. }
  714. }
  715. }
  716. *case: Option2
  717. {
  718. *PrintableArea: PAIR(3559, 5159)
  719. *PrintableOrigin: PAIR(42, 0)
  720. *switch: Resolution
  721. {
  722. *case: Option1
  723. {
  724. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  725. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  726. *PrintableArea: PAIR(3558, 5158)
  727. }
  728. *case: Option2
  729. {
  730. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  731. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  732. *PrintableArea: PAIR(3558, 5158)
  733. }
  734. }
  735. }
  736. *case: Option3
  737. {
  738. *PrintableArea: PAIR(3559, 4826)
  739. *PrintableOrigin: PAIR(42, 120)
  740. *switch: Resolution
  741. {
  742. *case: Option1
  743. {
  744. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  745. *PrintableArea: PAIR(3558, 4826)
  746. }
  747. *case: Option2
  748. {
  749. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  750. *PrintableArea: PAIR(3558, 4826)
  751. }
  752. }
  753. }
  754. *case: Option4
  755. {
  756. *PrintableArea: PAIR(3559, 4826)
  757. *PrintableOrigin: PAIR(42, 120)
  758. *switch: Resolution
  759. {
  760. *case: Option1
  761. {
  762. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  763. *PrintableArea: PAIR(3558, 4826)
  764. }
  765. *case: Option2
  766. {
  767. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  768. *PrintableArea: PAIR(3558, 4826)
  769. }
  770. }
  771. }
  772. }
  773. }
  774. *Option: B4_JIS_ROTATED
  775. {
  776. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  777. *Command: CmdSelect
  778. {
  779. *Order: DOC_SETUP.8
  780. *Cmd: "<1B>C<000A>"
  781. }
  782. *switch: InputBin
  783. {
  784. *case: MANUAL
  785. {
  786. *PrintableArea: PAIR(4896, 3310)
  787. *PrintableOrigin: PAIR(42, 120)
  788. }
  789. *case: Option2
  790. {
  791. *PrintableArea: PAIR(4896, 3643)
  792. *PrintableOrigin: PAIR(42, 0)
  793. *switch: Resolution
  794. {
  795. *case: Option1
  796. {
  797. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  798. *PrintableArea: PAIR(4896, 3642)
  799. }
  800. *case: Option2
  801. {
  802. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  803. *PrintableArea: PAIR(4896, 3642)
  804. }
  805. }
  806. }
  807. *case: Option3
  808. {
  809. *PrintableArea: PAIR(4896, 3310)
  810. *PrintableOrigin: PAIR(42, 120)
  811. }
  812. *case: Option4
  813. {
  814. *PrintableArea: PAIR(4896, 3310)
  815. *PrintableOrigin: PAIR(42, 120)
  816. }
  817. }
  818. }
  819. *Option: B5
  820. {
  821. *rcNameID: =B5_DISPLAY
  822. *Command: CmdSelect
  823. {
  824. *Order: DOC_SETUP.8
  825. *Cmd: "<1B>C<000A>"
  826. }
  827. *switch: InputBin
  828. {
  829. *case: MANUAL
  830. {
  831. *PrintableArea: PAIR(2497, 3310)
  832. *PrintableOrigin: PAIR(42, 120)
  833. *switch: Resolution
  834. {
  835. *case: Option1
  836. {
  837. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  838. *PrintableArea: PAIR(2496, 3310)
  839. }
  840. *case: Option2
  841. {
  842. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  843. *PrintableArea: PAIR(2496, 3310)
  844. }
  845. }
  846. }
  847. *case: Option2
  848. {
  849. *PrintableArea: PAIR(2497, 3643)
  850. *PrintableOrigin: PAIR(42, 0)
  851. *switch: Resolution
  852. {
  853. *case: Option1
  854. {
  855. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  856. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  857. *PrintableArea: PAIR(2496, 3642)
  858. }
  859. *case: Option2
  860. {
  861. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  862. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  863. *PrintableArea: PAIR(2496, 3642)
  864. }
  865. }
  866. }
  867. *case: Option3
  868. {
  869. *PrintableArea: PAIR(2497, 3310)
  870. *PrintableOrigin: PAIR(42, 120)
  871. *switch: Resolution
  872. {
  873. *case: Option1
  874. {
  875. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  876. *PrintableArea: PAIR(2496, 3310)
  877. }
  878. *case: Option2
  879. {
  880. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  881. *PrintableArea: PAIR(2496, 3310)
  882. }
  883. }
  884. }
  885. *case: Option4
  886. {
  887. *PrintableArea: PAIR(2497, 3310)
  888. *PrintableOrigin: PAIR(42, 120)
  889. *switch: Resolution
  890. {
  891. *case: Option1
  892. {
  893. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  894. *PrintableArea: PAIR(2496, 3310)
  895. }
  896. *case: Option2
  897. {
  898. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  899. *PrintableArea: PAIR(2496, 3310)
  900. }
  901. }
  902. }
  903. }
  904. }
  905. *Option: B5_JIS_ROTATED
  906. {
  907. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  908. *Command: CmdSelect
  909. {
  910. *Order: DOC_SETUP.8
  911. *Cmd: "<1B>C<0007>"
  912. }
  913. *switch: InputBin
  914. {
  915. *case: MANUAL
  916. {
  917. *PrintableArea: PAIR(3559, 2248)
  918. *PrintableOrigin: PAIR(42, 120)
  919. *switch: Resolution
  920. {
  921. *case: Option1
  922. {
  923. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  924. *PrintableArea: PAIR(3558, 2248)
  925. }
  926. *case: Option2
  927. {
  928. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  929. *PrintableArea: PAIR(3558, 2248)
  930. }
  931. }
  932. }
  933. *case: Option2
  934. {
  935. *PrintableArea: PAIR(3559, 2581)
  936. *PrintableOrigin: PAIR(42, 0)
  937. *switch: Resolution
  938. {
  939. *case: Option1
  940. {
  941. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  942. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  943. *PrintableArea: PAIR(3558, 2580)
  944. }
  945. *case: Option2
  946. {
  947. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  948. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  949. *PrintableArea: PAIR(3558, 2580)
  950. }
  951. }
  952. }
  953. *case: Option3
  954. {
  955. *PrintableArea: PAIR(3559, 2248)
  956. *PrintableOrigin: PAIR(42, 120)
  957. *switch: Resolution
  958. {
  959. *case: Option1
  960. {
  961. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  962. *PrintableArea: PAIR(3558, 2248)
  963. }
  964. *case: Option2
  965. {
  966. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  967. *PrintableArea: PAIR(3558, 2248)
  968. }
  969. }
  970. }
  971. *case: Option4
  972. {
  973. *PrintableArea: PAIR(3559, 2248)
  974. *PrintableOrigin: PAIR(42, 120)
  975. *switch: Resolution
  976. {
  977. *case: Option1
  978. {
  979. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  980. *PrintableArea: PAIR(3558, 2248)
  981. }
  982. *case: Option2
  983. {
  984. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  985. *PrintableArea: PAIR(3558, 2248)
  986. }
  987. }
  988. }
  989. }
  990. }
  991. *Option: 10X11
  992. {
  993. *rcNameID: =10X11_DISPLAY
  994. *Command: CmdSelect
  995. {
  996. *Order: DOC_SETUP.8
  997. *Cmd: "<1B>C<000B>"
  998. }
  999. *switch: InputBin
  1000. {
  1001. *case: MANUAL
  1002. {
  1003. *PrintableArea: PAIR(3600, 3627)
  1004. *PrintableOrigin: PAIR(0, 120)
  1005. *switch: Resolution
  1006. {
  1007. *case: Option1
  1008. {
  1009. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1010. *PrintableArea: PAIR(3600, 3626)
  1011. }
  1012. *case: Option2
  1013. {
  1014. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1015. *PrintableArea: PAIR(3600, 3626)
  1016. }
  1017. }
  1018. }
  1019. *case: Option2
  1020. {
  1021. *PrintableArea: PAIR(3600, 3960)
  1022. *PrintableOrigin: PAIR(0, 0)
  1023. }
  1024. *case: Option3
  1025. {
  1026. *PrintableArea: PAIR(3600, 3627)
  1027. *PrintableOrigin: PAIR(0, 120)
  1028. *switch: Resolution
  1029. {
  1030. *case: Option1
  1031. {
  1032. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1033. *PrintableArea: PAIR(3600, 3626)
  1034. }
  1035. *case: Option2
  1036. {
  1037. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1038. *PrintableArea: PAIR(3600, 3626)
  1039. }
  1040. }
  1041. }
  1042. *case: Option4
  1043. {
  1044. *PrintableArea: PAIR(3600, 3627)
  1045. *PrintableOrigin: PAIR(0, 120)
  1046. *switch: Resolution
  1047. {
  1048. *case: Option1
  1049. {
  1050. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1051. *PrintableArea: PAIR(3600, 3626)
  1052. }
  1053. *case: Option2
  1054. {
  1055. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1056. *PrintableArea: PAIR(3600, 3626)
  1057. }
  1058. }
  1059. }
  1060. }
  1061. }
  1062. *Option: 15X11
  1063. {
  1064. *rcNameID: =15X11_DISPLAY
  1065. *Command: CmdSelect
  1066. {
  1067. *Order: DOC_SETUP.8
  1068. *Cmd: "<1B>C<000B>"
  1069. }
  1070. *switch: InputBin
  1071. {
  1072. *case: MANUAL
  1073. {
  1074. *PrintableArea: PAIR(4896, 3627)
  1075. *PrintableOrigin: PAIR(0, 120)
  1076. *switch: Resolution
  1077. {
  1078. *case: Option1
  1079. {
  1080. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1081. *PrintableArea: PAIR(4896, 3626)
  1082. }
  1083. *case: Option2
  1084. {
  1085. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1086. *PrintableArea: PAIR(4896, 3626)
  1087. }
  1088. }
  1089. }
  1090. *case: Option2
  1091. {
  1092. *PrintableArea: PAIR(4896, 3960)
  1093. *PrintableOrigin: PAIR(0, 0)
  1094. }
  1095. *case: Option3
  1096. {
  1097. *PrintableArea: PAIR(4896, 3627)
  1098. *PrintableOrigin: PAIR(0, 120)
  1099. *switch: Resolution
  1100. {
  1101. *case: Option1
  1102. {
  1103. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1104. *PrintableArea: PAIR(4896, 3626)
  1105. }
  1106. *case: Option2
  1107. {
  1108. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1109. *PrintableArea: PAIR(4896, 3626)
  1110. }
  1111. }
  1112. }
  1113. *case: Option4
  1114. {
  1115. *PrintableArea: PAIR(4896, 3627)
  1116. *PrintableOrigin: PAIR(0, 120)
  1117. *switch: Resolution
  1118. {
  1119. *case: Option1
  1120. {
  1121. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1122. *PrintableArea: PAIR(4896, 3626)
  1123. }
  1124. *case: Option2
  1125. {
  1126. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1127. *PrintableArea: PAIR(4896, 3626)
  1128. }
  1129. }
  1130. }
  1131. }
  1132. }
  1133. *Option: LETTER
  1134. {
  1135. *rcNameID: =LETTER_DISPLAY
  1136. *Command: CmdSelect
  1137. {
  1138. *Order: DOC_SETUP.8
  1139. *Cmd: "<1B>C<000B>"
  1140. }
  1141. *switch: InputBin
  1142. {
  1143. *case: MANUAL
  1144. {
  1145. *PrintableArea: PAIR(2976, 3627)
  1146. *PrintableOrigin: PAIR(42, 120)
  1147. *switch: Resolution
  1148. {
  1149. *case: Option1
  1150. {
  1151. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1152. *PrintableArea: PAIR(2976, 3626)
  1153. }
  1154. *case: Option2
  1155. {
  1156. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1157. *PrintableArea: PAIR(2976, 3626)
  1158. }
  1159. }
  1160. }
  1161. *case: Option2
  1162. {
  1163. *PrintableArea: PAIR(2976, 3960)
  1164. *PrintableOrigin: PAIR(42, 0)
  1165. }
  1166. *case: Option3
  1167. {
  1168. *PrintableArea: PAIR(2976, 3627)
  1169. *PrintableOrigin: PAIR(42, 120)
  1170. *switch: Resolution
  1171. {
  1172. *case: Option1
  1173. {
  1174. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1175. *PrintableArea: PAIR(2976, 3626)
  1176. }
  1177. *case: Option2
  1178. {
  1179. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1180. *PrintableArea: PAIR(2976, 3626)
  1181. }
  1182. }
  1183. }
  1184. *case: Option4
  1185. {
  1186. *PrintableArea: PAIR(2976, 3627)
  1187. *PrintableOrigin: PAIR(42, 120)
  1188. *switch: Resolution
  1189. {
  1190. *case: Option1
  1191. {
  1192. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1193. *PrintableArea: PAIR(2976, 3626)
  1194. }
  1195. *case: Option2
  1196. {
  1197. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  1198. *PrintableArea: PAIR(2976, 3626)
  1199. }
  1200. }
  1201. }
  1202. }
  1203. }
  1204. *Option: LEGAL
  1205. {
  1206. *rcNameID: =LEGAL_DISPLAY
  1207. *Command: CmdSelect
  1208. {
  1209. *Order: DOC_SETUP.8
  1210. *Cmd: "<1B>C<000E>"
  1211. }
  1212. *switch: InputBin
  1213. {
  1214. *case: MANUAL
  1215. {
  1216. *PrintableArea: PAIR(2976, 4707)
  1217. *PrintableOrigin: PAIR(42, 120)
  1218. *switch: Resolution
  1219. {
  1220. *case: Option1
  1221. {
  1222. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  1223. *PrintableArea: PAIR(2976, 4706)
  1224. }
  1225. *case: Option2
  1226. {
  1227. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  1228. *PrintableArea: PAIR(2976, 4706)
  1229. }
  1230. }
  1231. }
  1232. *case: Option2
  1233. {
  1234. *PrintableArea: PAIR(2976, 5040)
  1235. *PrintableOrigin: PAIR(42, 0)
  1236. }
  1237. *case: Option3
  1238. {
  1239. *PrintableArea: PAIR(2976, 4707)
  1240. *PrintableOrigin: PAIR(42, 120)
  1241. *switch: Resolution
  1242. {
  1243. *case: Option1
  1244. {
  1245. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  1246. *PrintableArea: PAIR(2976, 4706)
  1247. }
  1248. *case: Option2
  1249. {
  1250. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  1251. *PrintableArea: PAIR(2976, 4706)
  1252. }
  1253. }
  1254. }
  1255. *case: Option4
  1256. {
  1257. *PrintableArea: PAIR(2976, 4707)
  1258. *PrintableOrigin: PAIR(42, 120)
  1259. *switch: Resolution
  1260. {
  1261. *case: Option1
  1262. {
  1263. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  1264. *PrintableArea: PAIR(2976, 4706)
  1265. }
  1266. *case: Option2
  1267. {
  1268. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  1269. *PrintableArea: PAIR(2976, 4706)
  1270. }
  1271. }
  1272. }
  1273. }
  1274. }
  1275. *Option: JAPANESE_POSTCARD
  1276. {
  1277. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  1278. *Command: CmdSelect
  1279. {
  1280. *Order: DOC_SETUP.8
  1281. *Cmd: "<1B>C<0006>"
  1282. }
  1283. *switch: InputBin
  1284. {
  1285. *case: MANUAL
  1286. {
  1287. *PrintableArea: PAIR(1334, 1766)
  1288. *PrintableOrigin: PAIR(42, 120)
  1289. *switch: Resolution
  1290. {
  1291. *case: Option2
  1292. {
  1293. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  1294. *PrintableArea: PAIR(1332, 1766)
  1295. }
  1296. }
  1297. }
  1298. *case: Option2
  1299. {
  1300. *PrintableArea: PAIR(1334, 2099)
  1301. *PrintableOrigin: PAIR(42, 0)
  1302. *switch: Resolution
  1303. {
  1304. *case: Option1
  1305. {
  1306. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  1307. *PrintableArea: PAIR(1334, 2098)
  1308. }
  1309. *case: Option2
  1310. {
  1311. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  1312. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  1313. *PrintableArea: PAIR(1332, 2098)
  1314. }
  1315. }
  1316. }
  1317. *case: Option3
  1318. {
  1319. *PrintableArea: PAIR(1334, 1766)
  1320. *PrintableOrigin: PAIR(42, 120)
  1321. *switch: Resolution
  1322. {
  1323. *case: Option2
  1324. {
  1325. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  1326. *PrintableArea: PAIR(1332, 1766)
  1327. }
  1328. }
  1329. }
  1330. *case: Option4
  1331. {
  1332. *PrintableArea: PAIR(1334, 1766)
  1333. *PrintableOrigin: PAIR(42, 120)
  1334. *switch: Resolution
  1335. {
  1336. *case: Option2
  1337. {
  1338. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  1339. *PrintableArea: PAIR(1332, 1766)
  1340. }
  1341. }
  1342. }
  1343. }
  1344. }
  1345. *Option: JAPANESE_POSTCARD_ROTATED
  1346. {
  1347. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  1348. *Command: CmdSelect
  1349. {
  1350. *Order: DOC_SETUP.8
  1351. *Cmd: "<1B>C<0004>"
  1352. }
  1353. *switch: InputBin
  1354. {
  1355. *case: MANUAL
  1356. {
  1357. *PrintableArea: PAIR(2015, 1085)
  1358. *PrintableOrigin: PAIR(42, 120)
  1359. *switch: Resolution
  1360. {
  1361. *case: Option1
  1362. {
  1363. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  1364. *% Warning: the following printable length is adjusted (1085->1084) so it is divisible by the resolution Y scale.
  1365. *PrintableArea: PAIR(2014, 1084)
  1366. }
  1367. *case: Option2
  1368. {
  1369. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  1370. *% Warning: the following printable length is adjusted (1085->1084) so it is divisible by the resolution Y scale.
  1371. *PrintableArea: PAIR(2013, 1084)
  1372. }
  1373. }
  1374. }
  1375. *case: Option2
  1376. {
  1377. *PrintableArea: PAIR(2015, 1418)
  1378. *PrintableOrigin: PAIR(42, 0)
  1379. *switch: Resolution
  1380. {
  1381. *case: Option1
  1382. {
  1383. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  1384. *PrintableArea: PAIR(2014, 1418)
  1385. }
  1386. *case: Option2
  1387. {
  1388. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  1389. *PrintableArea: PAIR(2013, 1418)
  1390. }
  1391. }
  1392. }
  1393. *case: Option3
  1394. {
  1395. *PrintableArea: PAIR(2015, 1085)
  1396. *PrintableOrigin: PAIR(42, 120)
  1397. *switch: Resolution
  1398. {
  1399. *case: Option1
  1400. {
  1401. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  1402. *% Warning: the following printable length is adjusted (1085->1084) so it is divisible by the resolution Y scale.
  1403. *PrintableArea: PAIR(2014, 1084)
  1404. }
  1405. *case: Option2
  1406. {
  1407. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  1408. *% Warning: the following printable length is adjusted (1085->1084) so it is divisible by the resolution Y scale.
  1409. *PrintableArea: PAIR(2013, 1084)
  1410. }
  1411. }
  1412. }
  1413. *case: Option4
  1414. {
  1415. *PrintableArea: PAIR(2015, 1085)
  1416. *PrintableOrigin: PAIR(42, 120)
  1417. *switch: Resolution
  1418. {
  1419. *case: Option1
  1420. {
  1421. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  1422. *% Warning: the following printable length is adjusted (1085->1084) so it is divisible by the resolution Y scale.
  1423. *PrintableArea: PAIR(2014, 1084)
  1424. }
  1425. *case: Option2
  1426. {
  1427. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  1428. *% Warning: the following printable length is adjusted (1085->1084) so it is divisible by the resolution Y scale.
  1429. *PrintableArea: PAIR(2013, 1084)
  1430. }
  1431. }
  1432. }
  1433. }
  1434. }
  1435. *Option: CUSTOMSIZE
  1436. {
  1437. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1438. *MinSize: PAIR(360, 360)
  1439. *MaxSize: PAIR(5400, 7920)
  1440. *MaxPrintableWidth: 4896
  1441. *MinLeftMargin: 0
  1442. *CenterPrintable?: FALSE
  1443. *switch: InputBin
  1444. {
  1445. *case: MANUAL
  1446. {
  1447. *TopMargin: 120
  1448. *BottomMargin: 213
  1449. }
  1450. *case: Option2
  1451. {
  1452. *TopMargin: 0
  1453. *BottomMargin: 0
  1454. }
  1455. *case: Option3
  1456. {
  1457. *TopMargin: 120
  1458. *BottomMargin: 213
  1459. }
  1460. *case: Option4
  1461. {
  1462. *TopMargin: 120
  1463. *BottomMargin: 213
  1464. }
  1465. }
  1466. *Command: CmdSelect
  1467. {
  1468. *Order: DOC_SETUP.8
  1469. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  1470. }
  1471. }
  1472. }
  1473. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.10X11)
  1474. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.15X11)
  1475. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A3)
  1476. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4)
  1477. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4_ROTATED)
  1478. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5)
  1479. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5_ROTATED)
  1480. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A6)
  1481. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A6_ROTATED)
  1482. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B4)
  1483. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B4_JIS_ROTATED)
  1484. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B5)
  1485. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B5_JIS_ROTATED)
  1486. *InvalidCombination: LIST(InputBin.Option2, PaperSize.LETTER)
  1487. *InvalidCombination: LIST(InputBin.Option2, PaperSize.LEGAL)
  1488. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  1489. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1490. *InvalidCombination: LIST(InputBin.Option3, PaperSize.10X11)
  1491. *InvalidCombination: LIST(InputBin.Option3, PaperSize.15X11)
  1492. *InvalidCombination: LIST(InputBin.Option4, PaperSize.10X11)
  1493. *InvalidCombination: LIST(InputBin.Option4, PaperSize.15X11)
  1494. *Feature: PrintQuality
  1495. {
  1496. *rcNameID: =TEXT_QUALITY_DISPLAY
  1497. *DefaultOption: LETTER_QUALITY
  1498. *Option: LETTER_QUALITY
  1499. {
  1500. *rcNameID: =LETTER_QUALITY_DISPLAY
  1501. *Command: CmdSelect
  1502. {
  1503. *Order: DOC_SETUP.6
  1504. *Cmd: "<1B>x<011C>x<00>"
  1505. }
  1506. }
  1507. *Option: DRAFT_QUALITY
  1508. {
  1509. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1510. *Command: CmdSelect
  1511. {
  1512. *Order: DOC_SETUP.6
  1513. *Cmd: "<1B>x<001C>x<01>"
  1514. }
  1515. }
  1516. }
  1517. *Feature: ColorMode
  1518. {
  1519. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1520. *DefaultOption: Color
  1521. *Option: Mono
  1522. {
  1523. *rcNameID: =MONO_DISPLAY
  1524. *DevNumOfPlanes: 1
  1525. *DevBPP: 1
  1526. *Color? : FALSE
  1527. }
  1528. *Option: Color
  1529. {
  1530. *rcNameID: =COLOR_DISPLAY
  1531. *DevNumOfPlanes: 4
  1532. *DevBPP: 1
  1533. *DrvBPP: 4
  1534. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1535. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1536. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1537. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1538. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1539. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1540. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1541. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1542. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1543. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1544. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1545. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1546. }
  1547. }
  1548. *Feature: Halftone
  1549. {
  1550. *rcNameID: =HALFTONING_DISPLAY
  1551. *DefaultOption: HT_PATSIZE_AUTO
  1552. *Option: HT_PATSIZE_AUTO
  1553. {
  1554. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1555. }
  1556. *Option: HT_PATSIZE_SUPERCELL_M
  1557. {
  1558. *rcNameID: =HT_SUPERCELL_DISPLAY
  1559. }
  1560. *Option: HT_PATSIZE_6x6_M
  1561. {
  1562. *rcNameID: =HT_DITHER6X6_DISPLAY
  1563. }
  1564. *Option: HT_PATSIZE_8x8_M
  1565. {
  1566. *rcNameID: =HT_DITHER8X8_DISPLAY
  1567. }
  1568. }
  1569. *Command: CmdStartDoc
  1570. {
  1571. *Order: DOC_SETUP.1
  1572. *Cmd: "<1B>S<1B1B>S<1C1B>@<181B>t<011B>R<00>"
  1573. }
  1574. *Command: CmdStartPage
  1575. {
  1576. *Order: PAGE_SETUP.1
  1577. *Cmd: "<0D>"
  1578. }
  1579. *Command: CmdEndJob
  1580. {
  1581. *Order: JOB_FINISH.1
  1582. *Cmd: "<1B>S<1B1B>SK"
  1583. }
  1584. *RotateCoordinate?: FALSE
  1585. *RotateRaster?: FALSE
  1586. *RotateFont?: FALSE
  1587. *switch: Orientation
  1588. {
  1589. *case: PORTRAIT
  1590. {
  1591. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  1592. }
  1593. *case: LANDSCAPE_CC270
  1594. {
  1595. *TextCaps: LIST(TC_RA_ABLE)
  1596. }
  1597. }
  1598. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1599. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1600. *MaxLineSpacing: 255
  1601. *XMoveThreshold: 0
  1602. *YMoveThreshold: *
  1603. *XMoveUnit: 60
  1604. *YMoveUnit: 180
  1605. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  1606. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  1607. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  1608. *Command: CmdCR { *Cmd : "<0D>" }
  1609. *Command: CmdLF { *Cmd : "<0A>" }
  1610. *Command: CmdFF { *Cmd : "<0C>" }
  1611. *Command: CmdBackSpace { *Cmd : "<08>" }
  1612. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1613. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1614. *EjectPageWithFF?: TRUE
  1615. *OutputDataFormat: V_BYTE
  1616. *OptimizeLeftBound?: FALSE
  1617. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1618. *CursorYAfterSendBlockData: NO_MOVE
  1619. *DefaultFont: 1
  1620. *DefaultCTT: -1
  1621. *switch: Orientation
  1622. {
  1623. *case: PORTRAIT
  1624. {
  1625. *DeviceFonts: LIST(1,5,6,7,8,9,10,11,12)
  1626. }
  1627. *case: LANDSCAPE_CC270
  1628. {
  1629. *DeviceFonts: LIST()
  1630. }
  1631. }
  1632. *FontCartridge: FC1
  1633. {
  1634. *rcCartridgeNameID: 269
  1635. *PortraitFonts: LIST(3,4,14,15,16,17,18,19,20,21)
  1636. *LandscapeFonts: LIST()
  1637. }
  1638. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1639. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1640. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1641. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1642. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  1643. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }
  1644. *UseExpColorSelectCmd?: TRUE