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.

1725 lines
69 KiB

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