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.

1370 lines
54 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *Include: "StdNames.gpd"
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "stc3415j.gpd"
  9. *CodePage: 1252
  10. *ModelName: "Star CR-3415CL ESC/P"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "stepjres.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: Option1
  31. *Option: Option1
  32. {
  33. *rcNameID: 259
  34. *OptionID: 259
  35. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  36. }
  37. *Option: Option2
  38. {
  39. *rcNameID: 261
  40. *OptionID: 261
  41. }
  42. *Option: Option3
  43. {
  44. *rcNameID: 263
  45. *OptionID: 263
  46. }
  47. }
  48. *Feature: Resolution
  49. {
  50. *rcNameID: =RESOLUTION_DISPLAY
  51. *DefaultOption: Option1
  52. *Option: Option1
  53. {
  54. *Name: "180 x 180 " =DOTS_PER_INCH
  55. *DPI: PAIR(180, 180)
  56. *TextDPI: PAIR(180, 180)
  57. *PinsPerLogPass: 24
  58. *PinsPerPhysPass: 24
  59. *MinStripBlankPixels: 360
  60. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  61. *SpotDiameter: 140
  62. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  63. }
  64. *Option: Option2
  65. {
  66. *Name: "360 x 180 " =DOTS_PER_INCH
  67. *DPI: PAIR(360, 180)
  68. *TextDPI: PAIR(360, 180)
  69. *PinsPerLogPass: 24
  70. *PinsPerPhysPass: 24
  71. *MinStripBlankPixels: 240
  72. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  73. *SpotDiameter: 120
  74. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  75. }
  76. *Option: Option3
  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. *Option: Option4
  89. {
  90. *Name: "360 x 360 " =DOTS_PER_INCH
  91. *DPI: PAIR(360, 360)
  92. *TextDPI: PAIR(360, 360)
  93. *PinsPerLogPass: 48
  94. *PinsPerPhysPass: 24
  95. *MinStripBlankPixels: 240
  96. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  97. *SpotDiameter: 120
  98. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  99. }
  100. }
  101. *Feature: PaperSize
  102. {
  103. *rcNameID: =PAPER_SIZE_DISPLAY
  104. *DefaultOption: A4
  105. *Option: A2
  106. {
  107. *rcNameID: =A2_DISPLAY
  108. *Command: CmdSelect
  109. {
  110. *Order: DOC_SETUP.8
  111. *Cmd: "<1B>2<1B>CF"
  112. }
  113. *switch: InputBin
  114. {
  115. *case: Option1
  116. {
  117. *PrintableArea: PAIR(4896, 8050)
  118. *PrintableOrigin: PAIR(50, 300)
  119. *switch: Resolution
  120. {
  121. *case: Option3
  122. {
  123. *% Warning: the following printable width is adjusted (5854->5853) so it is divisible by the resolution X scale.
  124. *PrintableArea: PAIR(4896, 8050)
  125. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  126. *PrintableOrigin: PAIR(51, 300)
  127. }
  128. }
  129. }
  130. *case: Option2
  131. {
  132. *PrintableArea: PAIR(4896, 7940)
  133. *PrintableOrigin: PAIR(50, 300)
  134. *switch: Resolution
  135. {
  136. *case: Option3
  137. {
  138. *% Warning: the following printable width is adjusted (5854->5853) so it is divisible by the resolution X scale.
  139. *PrintableArea: PAIR(4896, 7940)
  140. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  141. *PrintableOrigin: PAIR(51, 300)
  142. }
  143. }
  144. }
  145. *case: Option3
  146. {
  147. *PrintableArea: PAIR(4896, 8420)
  148. *PrintableOrigin: PAIR(50, 0)
  149. *switch: Resolution
  150. {
  151. *case: Option3
  152. {
  153. *% Warning: the following printable width is adjusted (5854->5853) so it is divisible by the resolution X scale.
  154. *PrintableArea: PAIR(4896, 8420)
  155. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  156. *PrintableOrigin: PAIR(51, 0)
  157. }
  158. }
  159. }
  160. }
  161. }
  162. *Option: A4
  163. {
  164. *rcNameID: =A4_DISPLAY
  165. *Command: CmdSelect
  166. {
  167. *Order: DOC_SETUP.8
  168. *Cmd: "<1B>2<1B>CF"
  169. }
  170. *switch: InputBin
  171. {
  172. *case: Option1
  173. {
  174. *PrintableArea: PAIR(2877, 3837)
  175. *PrintableOrigin: PAIR(50, 300)
  176. *switch: Resolution
  177. {
  178. *case: Option1
  179. {
  180. *% Warning: the following printable width is adjusted (2877->2876) so it is divisible by the resolution X scale.
  181. *PrintableArea: PAIR(2876, 3836)
  182. }
  183. *case: Option3
  184. {
  185. *% Warning: the following printable width is adjusted (2877->2874) so it is divisible by the resolution X scale.
  186. *PrintableArea: PAIR(2874, 3837)
  187. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  188. *PrintableOrigin: PAIR(51, 300)
  189. }
  190. }
  191. }
  192. *case: Option2
  193. {
  194. *PrintableArea: PAIR(2877, 3657)
  195. *PrintableOrigin: PAIR(50, 300)
  196. *switch: Resolution
  197. {
  198. *case: Option1
  199. {
  200. *% Warning: the following printable width is adjusted (2877->2876) so it is divisible by the resolution X scale.
  201. *PrintableArea: PAIR(2876, 3657)
  202. }
  203. *case: Option3
  204. {
  205. *% Warning: the following printable width is adjusted (2877->2874) so it is divisible by the resolution X scale.
  206. *PrintableArea: PAIR(2874, 3657)
  207. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  208. *PrintableOrigin: PAIR(51, 300)
  209. }
  210. }
  211. }
  212. *case: Option3
  213. {
  214. *PrintableArea: PAIR(2877, 4137)
  215. *PrintableOrigin: PAIR(50, 0)
  216. *switch: Resolution
  217. {
  218. *case: Option1
  219. {
  220. *% Warning: the following printable width is adjusted (2877->2876) so it is divisible by the resolution X scale.
  221. *PrintableArea: PAIR(2876, 4137)
  222. }
  223. *case: Option3
  224. {
  225. *% Warning: the following printable width is adjusted (2877->2874) so it is divisible by the resolution X scale.
  226. *PrintableArea: PAIR(2874, 4137)
  227. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  228. *PrintableOrigin: PAIR(51, 0)
  229. }
  230. }
  231. }
  232. }
  233. }
  234. *Option: A4_ROTATED
  235. {
  236. *rcNameID: =A4_ROTATED_DISPLAY
  237. *Command: CmdSelect
  238. {
  239. *Order: DOC_SETUP.8
  240. *Cmd: "<1B>2<1B>C1"
  241. }
  242. *switch: InputBin
  243. {
  244. *case: Option1
  245. {
  246. *PrintableArea: PAIR(4108, 2606)
  247. *PrintableOrigin: PAIR(50, 300)
  248. *switch: Resolution
  249. {
  250. *case: Option1
  251. {
  252. *% Warning: the following printable length is adjusted (2677->2676) so it is divisible by the resolution Y scale.
  253. *PrintableArea: PAIR(4108, 2604)
  254. }
  255. *case: Option2
  256. {
  257. *% Warning: the following printable length is adjusted (2677->2676) so it is divisible by the resolution Y scale.
  258. *PrintableArea: PAIR(4108, 2605)
  259. }
  260. *case: Option3
  261. {
  262. *% Warning: the following printable width is adjusted (4108->4107) so it is divisible by the resolution X scale.
  263. *% Warning: the following printable length is adjusted (2677->2676) so it is divisible by the resolution Y scale.
  264. *PrintableArea: PAIR(4107, 2605)
  265. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  266. *PrintableOrigin: PAIR(51, 300)
  267. }
  268. }
  269. }
  270. *case: Option2
  271. {
  272. *PrintableArea: PAIR(4108, 2426)
  273. *PrintableOrigin: PAIR(50, 300)
  274. *switch: Resolution
  275. {
  276. *case: Option1
  277. {
  278. *% Warning: the following printable length is adjusted (2497->2496) so it is divisible by the resolution Y scale.
  279. *PrintableArea: PAIR(4108, 2425)
  280. }
  281. *case: Option2
  282. {
  283. *% Warning: the following printable length is adjusted (2497->2496) so it is divisible by the resolution Y scale.
  284. *PrintableArea: PAIR(4108, 2425)
  285. }
  286. *case: Option3
  287. {
  288. *% Warning: the following printable width is adjusted (4108->4107) so it is divisible by the resolution X scale.
  289. *% Warning: the following printable length is adjusted (2497->2496) so it is divisible by the resolution Y scale.
  290. *PrintableArea: PAIR(4107, 2425)
  291. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  292. *PrintableOrigin: PAIR(51, 300)
  293. }
  294. }
  295. }
  296. *case: Option3
  297. {
  298. *PrintableArea: PAIR(4108, 2906)
  299. *PrintableOrigin: PAIR(50, 0)
  300. *switch: Resolution
  301. {
  302. *case: Option1
  303. {
  304. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  305. *PrintableArea: PAIR(4108, 2905)
  306. }
  307. *case: Option2
  308. {
  309. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  310. *PrintableArea: PAIR(4108, 2905)
  311. }
  312. *case: Option3
  313. {
  314. *% Warning: the following printable width is adjusted (4108->4107) so it is divisible by the resolution X scale.
  315. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  316. *PrintableArea: PAIR(4107, 2905)
  317. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  318. *PrintableOrigin: PAIR(51, 0)
  319. }
  320. }
  321. }
  322. }
  323. }
  324. *Option: A3
  325. {
  326. *rcNameID: =A3_DISPLAY
  327. *Command: CmdSelect
  328. {
  329. *Order: DOC_SETUP.8
  330. *Cmd: "<1B>2<1B>Cc"
  331. }
  332. *switch: InputBin
  333. {
  334. *case: Option1
  335. {
  336. *PrintableArea: PAIR(4108, 5568)
  337. *PrintableOrigin: PAIR(50, 300)
  338. *switch: Resolution
  339. {
  340. *case: Option3
  341. {
  342. *% Warning: the following printable width is adjusted (4108->4107) so it is divisible by the resolution X scale.
  343. *PrintableArea: PAIR(4107, 5583)
  344. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  345. *PrintableOrigin: PAIR(51, 300)
  346. }
  347. }
  348. }
  349. *case: Option2
  350. {
  351. *PrintableArea: PAIR(4108, 5403)
  352. *PrintableOrigin: PAIR(50, 300)
  353. *switch: Resolution
  354. {
  355. *case: Option3
  356. {
  357. *% Warning: the following printable width is adjusted (4108->4107) so it is divisible by the resolution X scale.
  358. *PrintableArea: PAIR(4107, 5403)
  359. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  360. *PrintableOrigin: PAIR(51, 300)
  361. }
  362. }
  363. }
  364. *case: Option3
  365. {
  366. *PrintableArea: PAIR(4108, 5883)
  367. *PrintableOrigin: PAIR(50, 0)
  368. *switch: Resolution
  369. {
  370. *case: Option3
  371. {
  372. *% Warning: the following printable width is adjusted (4108->4107) so it is divisible by the resolution X scale.
  373. *PrintableArea: PAIR(4107, 5883)
  374. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  375. *PrintableOrigin: PAIR(51, 0)
  376. }
  377. }
  378. }
  379. }
  380. }
  381. *Option: A3_ROTATED
  382. {
  383. *rcNameID: =A3_ROTATED_DISPLAY
  384. *Command: CmdSelect
  385. {
  386. *Order: DOC_SETUP.8
  387. *Cmd: "<1B>2<1B>Cc"
  388. }
  389. *switch: InputBin
  390. {
  391. *case: Option1
  392. {
  393. *PrintableArea: PAIR(4896, 3886)
  394. *PrintableOrigin: PAIR(50, 300)
  395. *switch: Resolution
  396. {
  397. *case: Option3
  398. {
  399. *% Warning: the following printable width is adjusted (5854->5853) so it is divisible by the resolution X scale.
  400. *PrintableArea: PAIR(4895, 3887)
  401. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  402. *PrintableOrigin: PAIR(51, 300)
  403. }
  404. }
  405. }
  406. *case: Option2
  407. {
  408. *PrintableArea: PAIR(4896, 3728)
  409. *PrintableOrigin: PAIR(50, 300)
  410. *switch: Resolution
  411. {
  412. *case: Option3
  413. {
  414. *% Warning: the following printable width is adjusted (5854->5853) so it is divisible by the resolution X scale.
  415. *PrintableArea: PAIR(4895, 3728)
  416. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  417. *PrintableOrigin: PAIR(51, 300)
  418. }
  419. }
  420. }
  421. *case: Option3
  422. {
  423. *PrintableArea: PAIR(5854, 4208)
  424. *PrintableOrigin: PAIR(50, 0)
  425. *switch: Resolution
  426. {
  427. *case: Option3
  428. {
  429. *% Warning: the following printable width is adjusted (5854->5853) so it is divisible by the resolution X scale.
  430. *PrintableArea: PAIR(4895, 4208)
  431. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  432. *PrintableOrigin: PAIR(51, 0)
  433. }
  434. }
  435. }
  436. }
  437. }
  438. *Option: A5
  439. {
  440. *rcNameID: =A5_DISPLAY
  441. *Command: CmdSelect
  442. {
  443. *Order: DOC_SETUP.8
  444. *Cmd: "<1B>2<1B>Cc"
  445. }
  446. *switch: InputBin
  447. {
  448. *case: Option1
  449. {
  450. *PrintableArea: PAIR(1999, 2635)
  451. *PrintableOrigin: PAIR(50, 300)
  452. *switch: Resolution
  453. {
  454. *case: Option1
  455. {
  456. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  457. *% Warning: the following printable length is adjusted (2677->2676) so it is divisible by the resolution Y scale.
  458. *PrintableArea: PAIR(1998, 2634)
  459. }
  460. *case: Option2
  461. {
  462. *% Warning: the following printable length is adjusted (2677->2676) so it is divisible by the resolution Y scale.
  463. *PrintableArea: PAIR(1999, 2634)
  464. }
  465. *case: Option3
  466. {
  467. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  468. *% Warning: the following printable length is adjusted (2677->2676) so it is divisible by the resolution Y scale.
  469. *PrintableArea: PAIR(1998, 2634)
  470. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  471. *PrintableOrigin: PAIR(51, 300)
  472. }
  473. }
  474. }
  475. *case: Option2
  476. {
  477. *PrintableArea: PAIR(1999, 2497)
  478. *PrintableOrigin: PAIR(50, 300)
  479. *switch: Resolution
  480. {
  481. *case: Option1
  482. {
  483. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  484. *% Warning: the following printable length is adjusted (2497->2496) so it is divisible by the resolution Y scale.
  485. *PrintableArea: PAIR(1998, 2496)
  486. }
  487. *case: Option2
  488. {
  489. *% Warning: the following printable length is adjusted (2497->2496) so it is divisible by the resolution Y scale.
  490. *PrintableArea: PAIR(1999, 2496)
  491. }
  492. *case: Option3
  493. {
  494. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  495. *% Warning: the following printable length is adjusted (2497->2496) so it is divisible by the resolution Y scale.
  496. *PrintableArea: PAIR(1998, 2496)
  497. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  498. *PrintableOrigin: PAIR(51, 300)
  499. }
  500. }
  501. }
  502. *case: Option3
  503. {
  504. *PrintableArea: PAIR(1999, 2977)
  505. *PrintableOrigin: PAIR(50, 0)
  506. *switch: Resolution
  507. {
  508. *case: Option1
  509. {
  510. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  511. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  512. *PrintableArea: PAIR(1998, 2976)
  513. }
  514. *case: Option2
  515. {
  516. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  517. *PrintableArea: PAIR(1999, 2976)
  518. }
  519. *case: Option3
  520. {
  521. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  522. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  523. *PrintableArea: PAIR(1998, 2976)
  524. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  525. *PrintableOrigin: PAIR(51, 0)
  526. }
  527. }
  528. }
  529. }
  530. }
  531. *Option: B4
  532. {
  533. *rcNameID: =B4_DISPLAY
  534. *Command: CmdSelect
  535. {
  536. *Order: DOC_SETUP.8
  537. *Cmd: "<1B>2<1B>CU"
  538. }
  539. *switch: InputBin
  540. {
  541. *case: Option1
  542. {
  543. *PrintableArea: PAIR(3543, 4788)
  544. *PrintableOrigin: PAIR(50, 300)
  545. *switch: Resolution
  546. {
  547. *case: Option1
  548. {
  549. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  550. *% Warning: the following printable length is adjusted (4859->4858) so it is divisible by the resolution Y scale.
  551. *PrintableArea: PAIR(3542, 4786)
  552. }
  553. *case: Option2
  554. {
  555. *% Warning: the following printable length is adjusted (4859->4858) so it is divisible by the resolution Y scale.
  556. *PrintableArea: PAIR(3543, 4787)
  557. }
  558. *case: Option3
  559. {
  560. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  561. *% Warning: the following printable length is adjusted (4859->4858) so it is divisible by the resolution Y scale.
  562. *PrintableArea: PAIR(3540, 4787)
  563. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  564. *PrintableOrigin: PAIR(51, 300)
  565. }
  566. }
  567. }
  568. *case: Option2
  569. {
  570. *PrintableArea: PAIR(3543, 4608)
  571. *PrintableOrigin: PAIR(50, 300)
  572. *switch: Resolution
  573. {
  574. *case: Option1
  575. {
  576. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  577. *% Warning: the following printable length is adjusted (4679->4678) so it is divisible by the resolution Y scale.
  578. *PrintableArea: PAIR(3542, 4607)
  579. }
  580. *case: Option2
  581. {
  582. *% Warning: the following printable length is adjusted (4679->4678) so it is divisible by the resolution Y scale.
  583. *PrintableArea: PAIR(3543, 4607)
  584. }
  585. *case: Option3
  586. {
  587. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  588. *% Warning: the following printable length is adjusted (4679->4678) so it is divisible by the resolution Y scale.
  589. *PrintableArea: PAIR(3540, 4607)
  590. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  591. *PrintableOrigin: PAIR(51, 300)
  592. }
  593. }
  594. }
  595. *case: Option3
  596. {
  597. *PrintableArea: PAIR(3543, 5088)
  598. *PrintableOrigin: PAIR(50, 0)
  599. *switch: Resolution
  600. {
  601. *case: Option1
  602. {
  603. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  604. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  605. *PrintableArea: PAIR(3542, 5087)
  606. }
  607. *case: Option2
  608. {
  609. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  610. *PrintableArea: PAIR(3543, 5087)
  611. }
  612. *case: Option3
  613. {
  614. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  615. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  616. *PrintableArea: PAIR(3540, 5087)
  617. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  618. *PrintableOrigin: PAIR(51, 0)
  619. }
  620. }
  621. }
  622. }
  623. }
  624. *Option: B4_JIS_ROTATED
  625. {
  626. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  627. *Command: CmdSelect
  628. {
  629. *Order: DOC_SETUP.8
  630. *Cmd: "<1B>2<1B>C%<"
  631. }
  632. *switch: InputBin
  633. {
  634. *case: Option1
  635. {
  636. *PrintableArea: PAIR(4889, 3313)
  637. *PrintableOrigin: PAIR(135, 300)
  638. *switch: Resolution
  639. {
  640. *case: Option1
  641. {
  642. *% Warning: the following printable width is adjusted (4889->4888) so it is divisible by the resolution X scale.
  643. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  644. *PrintableArea: PAIR(4888, 3312)
  645. *% Warning: the following printable origin X is adjusted (135->136) so it is divisible by the resolution X scale.
  646. *PrintableOrigin: PAIR(136, 300)
  647. }
  648. *case: Option2
  649. {
  650. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  651. *PrintableArea: PAIR(4889, 3312)
  652. }
  653. *case: Option3
  654. {
  655. *% Warning: the following printable width is adjusted (4889->4887) so it is divisible by the resolution X scale.
  656. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  657. *PrintableArea: PAIR(4887, 3312)
  658. }
  659. }
  660. }
  661. *case: Option2
  662. {
  663. *PrintableArea: PAIR(4889, 3163)
  664. *PrintableOrigin: PAIR(135, 300)
  665. *switch: Resolution
  666. {
  667. *case: Option1
  668. {
  669. *% Warning: the following printable width is adjusted (4889->4888) so it is divisible by the resolution X scale.
  670. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  671. *PrintableArea: PAIR(4888, 3162)
  672. *% Warning: the following printable origin X is adjusted (135->136) so it is divisible by the resolution X scale.
  673. *PrintableOrigin: PAIR(136, 300)
  674. }
  675. *case: Option2
  676. {
  677. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  678. *PrintableArea: PAIR(4889, 3162)
  679. }
  680. *case: Option3
  681. {
  682. *% Warning: the following printable width is adjusted (4889->4887) so it is divisible by the resolution X scale.
  683. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  684. *PrintableArea: PAIR(4887, 3162)
  685. }
  686. }
  687. }
  688. *case: Option3
  689. {
  690. *PrintableArea: PAIR(4889, 3643)
  691. *PrintableOrigin: PAIR(135, 0)
  692. *switch: Resolution
  693. {
  694. *case: Option1
  695. {
  696. *% Warning: the following printable width is adjusted (4889->4888) so it is divisible by the resolution X scale.
  697. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  698. *PrintableArea: PAIR(4888, 3642)
  699. *% Warning: the following printable origin X is adjusted (135->136) so it is divisible by the resolution X scale.
  700. *PrintableOrigin: PAIR(136, 0)
  701. }
  702. *case: Option2
  703. {
  704. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  705. *PrintableArea: PAIR(4889, 3642)
  706. }
  707. *case: Option3
  708. {
  709. *% Warning: the following printable width is adjusted (4889->4887) so it is divisible by the resolution X scale.
  710. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  711. *PrintableArea: PAIR(4887, 3642)
  712. }
  713. }
  714. }
  715. }
  716. }
  717. *Option: B5
  718. {
  719. *rcNameID: =B5_DISPLAY
  720. *Command: CmdSelect
  721. {
  722. *Order: DOC_SETUP.8
  723. *Cmd: "<1B>2<1B>C%<"
  724. }
  725. *switch: InputBin
  726. {
  727. *case: Option1
  728. {
  729. *PrintableArea: PAIR(2481, 3272)
  730. *PrintableOrigin: PAIR(50, 300)
  731. *switch: Resolution
  732. {
  733. *case: Option1
  734. {
  735. *% Warning: the following printable width is adjusted (2481->2480) so it is divisible by the resolution X scale.
  736. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  737. *PrintableArea: PAIR(2480, 3270)
  738. }
  739. *case: Option2
  740. {
  741. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  742. *PrintableArea: PAIR(2481, 3271)
  743. }
  744. *case: Option3
  745. {
  746. *% Warning: the following printable width is adjusted (2481->2478) so it is divisible by the resolution X scale.
  747. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  748. *PrintableArea: PAIR(2478, 3271)
  749. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  750. *PrintableOrigin: PAIR(51, 300)
  751. }
  752. }
  753. }
  754. *case: Option2
  755. {
  756. *PrintableArea: PAIR(2481, 3092)
  757. *PrintableOrigin: PAIR(50, 300)
  758. *switch: Resolution
  759. {
  760. *case: Option1
  761. {
  762. *% Warning: the following printable width is adjusted (2481->2480) so it is divisible by the resolution X scale.
  763. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  764. *PrintableArea: PAIR(2480, 3091)
  765. }
  766. *case: Option2
  767. {
  768. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  769. *PrintableArea: PAIR(2481, 3091)
  770. }
  771. *case: Option3
  772. {
  773. *% Warning: the following printable width is adjusted (2481->2478) so it is divisible by the resolution X scale.
  774. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  775. *PrintableArea: PAIR(2478, 3091)
  776. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  777. *PrintableOrigin: PAIR(51, 300)
  778. }
  779. }
  780. }
  781. *case: Option3
  782. {
  783. *PrintableArea: PAIR(2481, 3572)
  784. *PrintableOrigin: PAIR(50, 0)
  785. *switch: Resolution
  786. {
  787. *case: Option1
  788. {
  789. *% Warning: the following printable width is adjusted (2481->2480) so it is divisible by the resolution X scale.
  790. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  791. *PrintableArea: PAIR(2480, 3571)
  792. }
  793. *case: Option2
  794. {
  795. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  796. *PrintableArea: PAIR(2481, 3571)
  797. }
  798. *case: Option3
  799. {
  800. *% Warning: the following printable width is adjusted (2481->2478) so it is divisible by the resolution X scale.
  801. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  802. *PrintableArea: PAIR(2478, 3571)
  803. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  804. *PrintableOrigin: PAIR(51, 0)
  805. }
  806. }
  807. }
  808. }
  809. }
  810. *Option: B5_JIS_ROTATED
  811. {
  812. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  813. *Command: CmdSelect
  814. {
  815. *Order: DOC_SETUP.8
  816. *Cmd: "<1B>2<1B>C*"
  817. }
  818. *switch: InputBin
  819. {
  820. *case: Option1
  821. {
  822. *PrintableArea: PAIR(3543, 2210)
  823. *PrintableOrigin: PAIR(50, 300)
  824. *switch: Resolution
  825. {
  826. *case: Option1
  827. {
  828. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  829. *% Warning: the following printable length is adjusted (2281->2280) so it is divisible by the resolution Y scale.
  830. *PrintableArea: PAIR(3542, 2208)
  831. }
  832. *case: Option2
  833. {
  834. *% Warning: the following printable length is adjusted (2281->2280) so it is divisible by the resolution Y scale.
  835. *PrintableArea: PAIR(3543, 2209)
  836. }
  837. *case: Option3
  838. {
  839. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  840. *% Warning: the following printable length is adjusted (2281->2280) so it is divisible by the resolution Y scale.
  841. *PrintableArea: PAIR(3540, 2209)
  842. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  843. *PrintableOrigin: PAIR(51, 300)
  844. }
  845. }
  846. }
  847. *case: Option2
  848. {
  849. *PrintableArea: PAIR(3543, 2029)
  850. *PrintableOrigin: PAIR(50, 300)
  851. *switch: Resolution
  852. {
  853. *case: Option1
  854. {
  855. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  856. *% Warning: the following printable length is adjusted (2101->2100) so it is divisible by the resolution Y scale.
  857. *PrintableArea: PAIR(3542, 2029)
  858. }
  859. *case: Option2
  860. {
  861. *% Warning: the following printable length is adjusted (2101->2100) so it is divisible by the resolution Y scale.
  862. *PrintableArea: PAIR(3543, 2029)
  863. }
  864. *case: Option3
  865. {
  866. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  867. *% Warning: the following printable length is adjusted (2101->2100) so it is divisible by the resolution Y scale.
  868. *PrintableArea: PAIR(3540, 2029)
  869. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  870. *PrintableOrigin: PAIR(51, 300)
  871. }
  872. }
  873. }
  874. *case: Option3
  875. {
  876. *PrintableArea: PAIR(3543, 2510)
  877. *PrintableOrigin: PAIR(50, 0)
  878. *switch: Resolution
  879. {
  880. *case: Option1
  881. {
  882. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  883. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  884. *PrintableArea: PAIR(3542, 2509)
  885. }
  886. *case: Option2
  887. {
  888. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  889. *PrintableArea: PAIR(3543, 2509)
  890. }
  891. *case: Option3
  892. {
  893. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  894. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  895. *PrintableArea: PAIR(3540, 2509)
  896. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  897. *PrintableOrigin: PAIR(51, 0)
  898. }
  899. }
  900. }
  901. }
  902. }
  903. *Option: 10X11
  904. {
  905. *rcNameID: =10X11_DISPLAY
  906. *Command: CmdSelect
  907. {
  908. *Order: DOC_SETUP.8
  909. *Cmd: "<1B>2<1B>C<000B>"
  910. }
  911. *switch: InputBin
  912. {
  913. *case: Option1
  914. {
  915. *PrintableArea: PAIR(2880, 3660)
  916. *PrintableOrigin: PAIR(0, 300)
  917. }
  918. *case: Option2
  919. {
  920. *PrintableArea: PAIR(2880, 3480)
  921. *PrintableOrigin: PAIR(0, 300)
  922. }
  923. *case: Option3
  924. {
  925. *PrintableArea: PAIR(2880, 3960)
  926. *PrintableOrigin: PAIR(0, 0)
  927. }
  928. }
  929. }
  930. *Option: 12X11
  931. {
  932. *rcNameID: =12X11_DISPLAY
  933. *Command: CmdSelect
  934. {
  935. *Order: DOC_SETUP.8
  936. *Cmd: "<1B>2<1B>C<000B>"
  937. }
  938. *switch: InputBin
  939. {
  940. *case: Option1
  941. {
  942. *PrintableArea: PAIR(3960, 3660)
  943. *PrintableOrigin: PAIR(50, 300)
  944. *switch: Resolution
  945. {
  946. *case: Option3
  947. {
  948. *% Warning: the following printable width is adjusted (4220->4218) so it is divisible by the resolution X scale.
  949. *PrintableArea: PAIR(3458, 3660)
  950. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  951. *PrintableOrigin: PAIR(51, 300)
  952. }
  953. }
  954. }
  955. *case: Option2
  956. {
  957. *PrintableArea: PAIR(3960, 3480)
  958. *PrintableOrigin: PAIR(50, 300)
  959. *switch: Resolution
  960. {
  961. *case: Option3
  962. {
  963. *% Warning: the following printable width is adjusted (4220->4218) so it is divisible by the resolution X scale.
  964. *PrintableArea: PAIR(3458, 3480)
  965. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  966. *PrintableOrigin: PAIR(51, 300)
  967. }
  968. }
  969. }
  970. *case: Option3
  971. {
  972. *PrintableArea: PAIR(3960, 3960)
  973. *PrintableOrigin: PAIR(50, 0)
  974. *switch: Resolution
  975. {
  976. *case: Option3
  977. {
  978. *% Warning: the following printable width is adjusted (4220->4218) so it is divisible by the resolution X scale.
  979. *PrintableArea: PAIR(3458, 3960)
  980. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  981. *PrintableOrigin: PAIR(51, 0)
  982. }
  983. }
  984. }
  985. }
  986. }
  987. *Option: 15X11
  988. {
  989. *rcNameID: =15X11_DISPLAY
  990. *Command: CmdSelect
  991. {
  992. *Order: DOC_SETUP.8
  993. *Cmd: "<1B>2<1B>C<000B>"
  994. }
  995. *switch: InputBin
  996. {
  997. *case: Option1
  998. {
  999. *PrintableArea: PAIR(4896, 3660)
  1000. *PrintableOrigin: PAIR(0, 300)
  1001. }
  1002. *case: Option2
  1003. {
  1004. *PrintableArea: PAIR(4896, 3480)
  1005. *PrintableOrigin: PAIR(0, 300)
  1006. }
  1007. *case: Option3
  1008. {
  1009. *PrintableArea: PAIR(4896, 3960)
  1010. *PrintableOrigin: PAIR(0, 0)
  1011. }
  1012. }
  1013. }
  1014. *Option: JAPANESE_POSTCARD
  1015. {
  1016. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  1017. *Command: CmdSelect
  1018. {
  1019. *Order: DOC_SETUP.8
  1020. *Cmd: "<1B>2<1B>C%""
  1021. }
  1022. *switch: InputBin
  1023. {
  1024. *case: Option1
  1025. {
  1026. *PrintableArea: PAIR(1318, 1728)
  1027. *PrintableOrigin: PAIR(50, 300)
  1028. *switch: Resolution
  1029. {
  1030. *case: Option1
  1031. {
  1032. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  1033. *PrintableArea: PAIR(1318, 1726)
  1034. }
  1035. *case: Option2
  1036. {
  1037. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  1038. *PrintableArea: PAIR(1318, 1727)
  1039. }
  1040. *case: Option3
  1041. {
  1042. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  1043. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  1044. *PrintableArea: PAIR(1317, 1727)
  1045. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1046. *PrintableOrigin: PAIR(51, 300)
  1047. }
  1048. }
  1049. }
  1050. *case: Option2
  1051. {
  1052. *PrintableArea: PAIR(1318, 1548)
  1053. *PrintableOrigin: PAIR(50, 300)
  1054. *switch: Resolution
  1055. {
  1056. *case: Option1
  1057. {
  1058. *% Warning: the following printable length is adjusted (1619->1618) so it is divisible by the resolution Y scale.
  1059. *PrintableArea: PAIR(1318, 1547)
  1060. }
  1061. *case: Option2
  1062. {
  1063. *% Warning: the following printable length is adjusted (1619->1618) so it is divisible by the resolution Y scale.
  1064. *PrintableArea: PAIR(1318, 1547)
  1065. }
  1066. *case: Option3
  1067. {
  1068. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  1069. *% Warning: the following printable length is adjusted (1619->1618) so it is divisible by the resolution Y scale.
  1070. *PrintableArea: PAIR(1317, 1547)
  1071. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1072. *PrintableOrigin: PAIR(51, 300)
  1073. }
  1074. }
  1075. }
  1076. *case: Option3
  1077. {
  1078. *PrintableArea: PAIR(1318, 2028)
  1079. *PrintableOrigin: PAIR(50, 0)
  1080. *switch: Resolution
  1081. {
  1082. *case: Option1
  1083. {
  1084. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  1085. *PrintableArea: PAIR(1318, 2027)
  1086. }
  1087. *case: Option2
  1088. {
  1089. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  1090. *PrintableArea: PAIR(1318, 2027)
  1091. }
  1092. *case: Option3
  1093. {
  1094. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  1095. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  1096. *PrintableArea: PAIR(1317, 2027)
  1097. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1098. *PrintableOrigin: PAIR(51, 0)
  1099. }
  1100. }
  1101. }
  1102. }
  1103. }
  1104. *Option: JAPANESE_POSTCARD_ROTATED
  1105. {
  1106. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  1107. *Command: CmdSelect
  1108. {
  1109. *Order: DOC_SETUP.8
  1110. *Cmd: "<1B>2<1B>C<17>"
  1111. }
  1112. *switch: InputBin
  1113. {
  1114. *case: Option1
  1115. {
  1116. *PrintableArea: PAIR(1999, 1047)
  1117. *PrintableOrigin: PAIR(50, 300)
  1118. *switch: Resolution
  1119. {
  1120. *case: Option1
  1121. {
  1122. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1123. *PrintableArea: PAIR(1998, 1046)
  1124. }
  1125. *case: Option3
  1126. {
  1127. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1128. *PrintableArea: PAIR(1998, 1047)
  1129. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1130. *PrintableOrigin: PAIR(51, 300)
  1131. }
  1132. }
  1133. }
  1134. *case: Option2
  1135. {
  1136. *PrintableArea: PAIR(1999, 867)
  1137. *PrintableOrigin: PAIR(50, 300)
  1138. *switch: Resolution
  1139. {
  1140. *case: Option1
  1141. {
  1142. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1143. *PrintableArea: PAIR(1998, 867)
  1144. }
  1145. *case: Option3
  1146. {
  1147. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1148. *PrintableArea: PAIR(1998, 867)
  1149. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1150. *PrintableOrigin: PAIR(51, 300)
  1151. }
  1152. }
  1153. }
  1154. *case: Option3
  1155. {
  1156. *PrintableArea: PAIR(1999, 1347)
  1157. *PrintableOrigin: PAIR(50, 0)
  1158. *switch: Resolution
  1159. {
  1160. *case: Option1
  1161. {
  1162. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1163. *PrintableArea: PAIR(1998, 1347)
  1164. }
  1165. *case: Option3
  1166. {
  1167. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1168. *PrintableArea: PAIR(1998, 1347)
  1169. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1170. *PrintableOrigin: PAIR(51, 0)
  1171. }
  1172. }
  1173. }
  1174. }
  1175. }
  1176. *Option: CUSTOMSIZE
  1177. {
  1178. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1179. *MinSize: PAIR(1417, 1417)
  1180. *MaxSize: PAIR(5952, 5952)
  1181. *MaxPrintableWidth: 5952
  1182. *MinLeftMargin: 0
  1183. *CenterPrintable?: FALSE
  1184. *switch: InputBin
  1185. {
  1186. *case: Option1
  1187. {
  1188. *TopMargin: 300
  1189. *BottomMargin: 0
  1190. }
  1191. *case: Option2
  1192. {
  1193. *TopMargin: 300
  1194. *BottomMargin: 180
  1195. }
  1196. *case: Option3
  1197. {
  1198. *TopMargin: 0
  1199. *BottomMargin: 0
  1200. }
  1201. }
  1202. *Command: CmdSelect
  1203. {
  1204. *Order: DOC_SETUP.8
  1205. *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 60) )}
  1206. }
  1207. }
  1208. }
  1209. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  1210. *InvalidCombination: LIST(InputBin.Option2, PaperSize.12X11)
  1211. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  1212. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A2)
  1213. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  1214. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4_ROTATED)
  1215. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3)
  1216. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3_ROTATED)
  1217. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  1218. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4)
  1219. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4_JIS_ROTATED)
  1220. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  1221. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5_JIS_ROTATED)
  1222. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  1223. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1224. *Feature: PrintQuality
  1225. {
  1226. *rcNameID: =TEXT_QUALITY_DISPLAY
  1227. *DefaultOption: LETTER_QUALITY
  1228. *Option: LETTER_QUALITY
  1229. {
  1230. *rcNameID: =LETTER_QUALITY_DISPLAY
  1231. *Command: CmdSelect
  1232. {
  1233. *Order: DOC_SETUP.6
  1234. *Cmd: "<1B>x<011C>x<00>"
  1235. }
  1236. }
  1237. *Option: DRAFT_QUALITY
  1238. {
  1239. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1240. *Command: CmdSelect
  1241. {
  1242. *Order: DOC_SETUP.6
  1243. *Cmd: "<1B>x<001C>x<01>"
  1244. }
  1245. }
  1246. }
  1247. *Feature: ColorMode
  1248. {
  1249. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1250. *DefaultOption: Color
  1251. *Option: Mono
  1252. {
  1253. *rcNameID: =MONO_DISPLAY
  1254. *DevNumOfPlanes: 1
  1255. *DevBPP: 1
  1256. *Color? : FALSE
  1257. }
  1258. *Option: Color
  1259. {
  1260. *rcNameID: =COLOR_DISPLAY
  1261. *DevNumOfPlanes: 4
  1262. *DevBPP: 1
  1263. *DrvBPP: 4
  1264. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1265. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1266. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1267. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1268. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1269. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1270. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1271. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1272. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1273. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1274. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1275. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1276. }
  1277. }
  1278. *Feature: Halftone
  1279. {
  1280. *rcNameID: =HALFTONING_DISPLAY
  1281. *DefaultOption: HT_PATSIZE_AUTO
  1282. *Option: HT_PATSIZE_AUTO
  1283. {
  1284. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1285. }
  1286. *Option: HT_PATSIZE_SUPERCELL_M
  1287. {
  1288. *rcNameID: =HT_SUPERCELL_DISPLAY
  1289. }
  1290. *Option: HT_PATSIZE_6x6_M
  1291. {
  1292. *rcNameID: =HT_DITHER6X6_DISPLAY
  1293. }
  1294. *Option: HT_PATSIZE_8x8_M
  1295. {
  1296. *rcNameID: =HT_DITHER8X8_DISPLAY
  1297. }
  1298. }
  1299. *Command: CmdStartDoc
  1300. {
  1301. *Order: DOC_SETUP.1
  1302. *Cmd: "<1B>@<181B>t<011B>R<00>"
  1303. }
  1304. *Command: CmdStartPage
  1305. {
  1306. *Order: PAGE_SETUP.1
  1307. *Cmd: "<0D>"
  1308. }
  1309. *RotateCoordinate?: FALSE
  1310. *RotateRaster?: FALSE
  1311. *RotateFont?: FALSE
  1312. *switch: Orientation
  1313. {
  1314. *case: PORTRAIT
  1315. {
  1316. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  1317. }
  1318. *case: LANDSCAPE_CC270
  1319. {
  1320. *TextCaps: LIST(TC_RA_ABLE)
  1321. }
  1322. }
  1323. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1324. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1325. *MaxLineSpacing: 255
  1326. *XMoveThreshold: 0
  1327. *YMoveThreshold: *
  1328. *XMoveUnit: 60
  1329. *YMoveUnit: 180
  1330. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  1331. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  1332. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  1333. *Command: CmdCR { *Cmd : "<0D>" }
  1334. *Command: CmdLF { *Cmd : "<0A>" }
  1335. *Command: CmdFF { *Cmd : "<0C>" }
  1336. *Command: CmdBackSpace { *Cmd : "<08>" }
  1337. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1338. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1339. *EjectPageWithFF?: TRUE
  1340. *switch: InputBin
  1341. {
  1342. *case: Option3
  1343. {
  1344. *EjectPageWithFF?: FALSE
  1345. }
  1346. }
  1347. *OutputDataFormat: V_BYTE
  1348. *OptimizeLeftBound?: FALSE
  1349. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1350. *CursorYAfterSendBlockData: NO_MOVE
  1351. *DefaultFont: 1
  1352. *DefaultCTT: -1
  1353. *switch: Orientation
  1354. {
  1355. *case: PORTRAIT
  1356. {
  1357. *DeviceFonts: LIST(1,3,13,14,15,16,17)
  1358. }
  1359. *case: LANDSCAPE_CC270
  1360. {
  1361. *DeviceFonts: LIST()
  1362. }
  1363. }
  1364. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1365. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1366. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1367. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1368. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  1369. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }
  1370. *UseExpColorSelectCmd?: TRUE