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.

1795 lines
68 KiB

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