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.

1283 lines
50 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: "stjr2cj.gpd"
  9. *CodePage: 1252
  10. *ModelName: "Star JR-200 ESC/P (Color)"
  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 (5400->5397) so it is divisible by the resolution X scale.
  124. *PrintableArea: PAIR(4895, 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 (5400->5397) so it is divisible by the resolution X scale.
  139. *PrintableArea: PAIR(4895, 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 (5400->5397) 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, 2603)
  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, 5568)
  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, 5881)
  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(4896, 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: B4
  439. {
  440. *rcNameID: =B4_DISPLAY
  441. *Command: CmdSelect
  442. {
  443. *Order: DOC_SETUP.8
  444. *Cmd: "<1B>2<1B>CU"
  445. }
  446. *switch: InputBin
  447. {
  448. *case: Option1
  449. {
  450. *PrintableArea: PAIR(3543, 4788)
  451. *PrintableOrigin: PAIR(50, 300)
  452. *switch: Resolution
  453. {
  454. *case: Option1
  455. {
  456. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  457. *% Warning: the following printable length is adjusted (4859->4858) so it is divisible by the resolution Y scale.
  458. *PrintableArea: PAIR(3542, 4786)
  459. }
  460. *case: Option2
  461. {
  462. *% Warning: the following printable length is adjusted (4859->4858) so it is divisible by the resolution Y scale.
  463. *PrintableArea: PAIR(3543, 4787)
  464. }
  465. *case: Option3
  466. {
  467. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  468. *% Warning: the following printable length is adjusted (4859->4858) so it is divisible by the resolution Y scale.
  469. *PrintableArea: PAIR(3540, 4787)
  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(3543, 4608)
  478. *PrintableOrigin: PAIR(50, 300)
  479. *switch: Resolution
  480. {
  481. *case: Option1
  482. {
  483. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  484. *% Warning: the following printable length is adjusted (4679->4678) so it is divisible by the resolution Y scale.
  485. *PrintableArea: PAIR(3542, 4607)
  486. }
  487. *case: Option2
  488. {
  489. *% Warning: the following printable length is adjusted (4679->4678) so it is divisible by the resolution Y scale.
  490. *PrintableArea: PAIR(3543, 4607)
  491. }
  492. *case: Option3
  493. {
  494. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  495. *% Warning: the following printable length is adjusted (4679->4678) so it is divisible by the resolution Y scale.
  496. *PrintableArea: PAIR(3540, 4607)
  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(3543, 5088)
  505. *PrintableOrigin: PAIR(50, 0)
  506. *switch: Resolution
  507. {
  508. *case: Option1
  509. {
  510. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  511. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  512. *PrintableArea: PAIR(3542, 5087)
  513. }
  514. *case: Option2
  515. {
  516. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  517. *PrintableArea: PAIR(3543, 5087)
  518. }
  519. *case: Option3
  520. {
  521. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  522. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  523. *PrintableArea: PAIR(3540, 5087)
  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_JIS_ROTATED
  532. {
  533. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  534. *Command: CmdSelect
  535. {
  536. *Order: DOC_SETUP.8
  537. *Cmd: "<1B>2<1B>C%<"
  538. }
  539. *switch: InputBin
  540. {
  541. *case: Option1
  542. {
  543. *PrintableArea: PAIR(4889, 3313)
  544. *PrintableOrigin: PAIR(135, 300)
  545. *switch: Resolution
  546. {
  547. *case: Option1
  548. {
  549. *% Warning: the following printable width is adjusted (4889->4888) so it is divisible by the resolution X scale.
  550. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  551. *PrintableArea: PAIR(4888, 3312)
  552. *% Warning: the following printable origin X is adjusted (135->136) so it is divisible by the resolution X scale.
  553. *PrintableOrigin: PAIR(136, 300)
  554. }
  555. *case: Option2
  556. {
  557. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  558. *PrintableArea: PAIR(4889, 3312)
  559. }
  560. *case: Option3
  561. {
  562. *% Warning: the following printable width is adjusted (4889->4887) so it is divisible by the resolution X scale.
  563. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  564. *PrintableArea: PAIR(4887, 3312)
  565. }
  566. }
  567. }
  568. *case: Option2
  569. {
  570. *PrintableArea: PAIR(4889, 3163)
  571. *PrintableOrigin: PAIR(135, 300)
  572. *switch: Resolution
  573. {
  574. *case: Option1
  575. {
  576. *% Warning: the following printable width is adjusted (4889->4888) so it is divisible by the resolution X scale.
  577. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  578. *PrintableArea: PAIR(4888, 3162)
  579. *% Warning: the following printable origin X is adjusted (135->136) so it is divisible by the resolution X scale.
  580. *PrintableOrigin: PAIR(136, 300)
  581. }
  582. *case: Option2
  583. {
  584. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  585. *PrintableArea: PAIR(4889, 3162)
  586. }
  587. *case: Option3
  588. {
  589. *% Warning: the following printable width is adjusted (4889->4887) so it is divisible by the resolution X scale.
  590. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  591. *PrintableArea: PAIR(4887, 3162)
  592. }
  593. }
  594. }
  595. *case: Option3
  596. {
  597. *PrintableArea: PAIR(4889, 3643)
  598. *PrintableOrigin: PAIR(135, 0)
  599. *switch: Resolution
  600. {
  601. *case: Option1
  602. {
  603. *% Warning: the following printable width is adjusted (4889->4888) so it is divisible by the resolution X scale.
  604. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  605. *PrintableArea: PAIR(4888, 3642)
  606. *% Warning: the following printable origin X is adjusted (135->136) so it is divisible by the resolution X scale.
  607. *PrintableOrigin: PAIR(136, 0)
  608. }
  609. *case: Option2
  610. {
  611. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  612. *PrintableArea: PAIR(4889, 3642)
  613. }
  614. *case: Option3
  615. {
  616. *% Warning: the following printable width is adjusted (4889->4887) so it is divisible by the resolution X scale.
  617. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  618. *PrintableArea: PAIR(4887, 3642)
  619. }
  620. }
  621. }
  622. }
  623. }
  624. *Option: B5
  625. {
  626. *rcNameID: =B5_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(2481, 3272)
  637. *PrintableOrigin: PAIR(50, 300)
  638. *switch: Resolution
  639. {
  640. *case: Option1
  641. {
  642. *% Warning: the following printable width is adjusted (2481->2480) 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(2480, 3270)
  645. }
  646. *case: Option2
  647. {
  648. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  649. *PrintableArea: PAIR(2481, 3271)
  650. }
  651. *case: Option3
  652. {
  653. *% Warning: the following printable width is adjusted (2481->2478) so it is divisible by the resolution X scale.
  654. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  655. *PrintableArea: PAIR(2478, 3271)
  656. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  657. *PrintableOrigin: PAIR(51, 300)
  658. }
  659. }
  660. }
  661. *case: Option2
  662. {
  663. *PrintableArea: PAIR(2481, 3092)
  664. *PrintableOrigin: PAIR(50, 300)
  665. *switch: Resolution
  666. {
  667. *case: Option1
  668. {
  669. *% Warning: the following printable width is adjusted (2481->2480) 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(2480, 3091)
  672. }
  673. *case: Option2
  674. {
  675. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  676. *PrintableArea: PAIR(2481, 3091)
  677. }
  678. *case: Option3
  679. {
  680. *% Warning: the following printable width is adjusted (2481->2478) so it is divisible by the resolution X scale.
  681. *% Warning: the following printable length is adjusted (3163->3162) so it is divisible by the resolution Y scale.
  682. *PrintableArea: PAIR(2478, 3091)
  683. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  684. *PrintableOrigin: PAIR(51, 300)
  685. }
  686. }
  687. }
  688. *case: Option3
  689. {
  690. *PrintableArea: PAIR(2481, 3572)
  691. *PrintableOrigin: PAIR(50, 0)
  692. *switch: Resolution
  693. {
  694. *case: Option1
  695. {
  696. *% Warning: the following printable width is adjusted (2481->2480) 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(2480, 3571)
  699. }
  700. *case: Option2
  701. {
  702. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  703. *PrintableArea: PAIR(2481, 3571)
  704. }
  705. *case: Option3
  706. {
  707. *% Warning: the following printable width is adjusted (2481->2478) so it is divisible by the resolution X scale.
  708. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  709. *PrintableArea: PAIR(2478, 3571)
  710. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  711. *PrintableOrigin: PAIR(51, 0)
  712. }
  713. }
  714. }
  715. }
  716. }
  717. *Option: B5_JIS_ROTATED
  718. {
  719. *rcNameID: =B5_JIS_ROTATED_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(3543, 2210)
  730. *PrintableOrigin: PAIR(50, 300)
  731. *switch: Resolution
  732. {
  733. *case: Option1
  734. {
  735. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  736. *% Warning: the following printable length is adjusted (2281->2280) so it is divisible by the resolution Y scale.
  737. *PrintableArea: PAIR(3542, 2208)
  738. }
  739. *case: Option2
  740. {
  741. *% Warning: the following printable length is adjusted (2281->2280) so it is divisible by the resolution Y scale.
  742. *PrintableArea: PAIR(3543, 2209)
  743. }
  744. *case: Option3
  745. {
  746. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  747. *% Warning: the following printable length is adjusted (2281->2280) so it is divisible by the resolution Y scale.
  748. *PrintableArea: PAIR(3540, 2209)
  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(3543, 2030)
  757. *PrintableOrigin: PAIR(50, 300)
  758. *switch: Resolution
  759. {
  760. *case: Option1
  761. {
  762. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  763. *% Warning: the following printable length is adjusted (2101->2100) so it is divisible by the resolution Y scale.
  764. *PrintableArea: PAIR(3542, 2029)
  765. }
  766. *case: Option2
  767. {
  768. *% Warning: the following printable length is adjusted (2101->2100) so it is divisible by the resolution Y scale.
  769. *PrintableArea: PAIR(3543, 2029)
  770. }
  771. *case: Option3
  772. {
  773. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  774. *% Warning: the following printable length is adjusted (2101->2100) so it is divisible by the resolution Y scale.
  775. *PrintableArea: PAIR(3540, 2029)
  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(3543, 2510)
  784. *PrintableOrigin: PAIR(50, 0)
  785. *switch: Resolution
  786. {
  787. *case: Option1
  788. {
  789. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  790. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  791. *PrintableArea: PAIR(3542, 2509)
  792. }
  793. *case: Option2
  794. {
  795. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  796. *PrintableArea: PAIR(3543, 2509)
  797. }
  798. *case: Option3
  799. {
  800. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  801. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  802. *PrintableArea: PAIR(3540, 2509)
  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. *% 10x11 continuous paper width are smaller than UniDrv setting by 1.4inch(504 MU).
  811. *% So the paper size is changed manually.a
  812. *Option: 10X11
  813. {
  814. *rcNameID: =10X11_DISPLAY
  815. *Command: CmdSelect
  816. {
  817. *Order: DOC_SETUP.8
  818. *Cmd: "<1B>2<1B>C<000B>"
  819. }
  820. *switch: InputBin
  821. {
  822. *case: Option1
  823. {
  824. *PrintableArea: PAIR(2880, 3660)
  825. *PrintableOrigin: PAIR(0, 300)
  826. }
  827. *case: Option2
  828. {
  829. *PrintableArea: PAIR(2880, 3480)
  830. *PrintableOrigin: PAIR(0, 300)
  831. }
  832. *case: Option3
  833. {
  834. *PrintableArea: PAIR(2880, 3960)
  835. *PrintableOrigin: PAIR(0, 0)
  836. }
  837. }
  838. }
  839. *% 12x11 continuous paper width are smaller than UniDrv setting by 2inch(720 MU).
  840. *% So the paper size is changed manually.
  841. *Option: 12X11
  842. {
  843. *rcNameID: =12X11_DISPLAY
  844. *Command: CmdSelect
  845. {
  846. *Order: DOC_SETUP.8
  847. *Cmd: "<1B>2<1B>C<000B>"
  848. }
  849. *switch: InputBin
  850. {
  851. *case: Option1
  852. {
  853. *PrintableArea: PAIR(3960, 3660)
  854. *PrintableOrigin: PAIR(50, 300)
  855. *switch: Resolution
  856. {
  857. *case: Option3
  858. {
  859. *% Warning: the following printable width is adjusted (4220->4218) so it is divisible by the resolution X scale.
  860. *PrintableArea: PAIR(3458, 3660)
  861. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  862. *PrintableOrigin: PAIR(51, 300)
  863. }
  864. }
  865. }
  866. *case: Option2
  867. {
  868. *PrintableArea: PAIR(3960, 3480)
  869. *PrintableOrigin: PAIR(50, 300)
  870. *switch: Resolution
  871. {
  872. *case: Option3
  873. {
  874. *% Warning: the following printable width is adjusted (4220->4218) so it is divisible by the resolution X scale.
  875. *PrintableArea: PAIR(3458, 3480)
  876. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  877. *PrintableOrigin: PAIR(51, 300)
  878. }
  879. }
  880. }
  881. *case: Option3
  882. {
  883. *PrintableArea: PAIR(3960, 3960)
  884. *PrintableOrigin: PAIR(50, 0)
  885. *switch: Resolution
  886. {
  887. *case: Option3
  888. {
  889. *% Warning: the following printable width is adjusted (4220->4218) so it is divisible by the resolution X scale.
  890. *PrintableArea: PAIR(3498, 3960)
  891. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  892. *PrintableOrigin: PAIR(51, 0)
  893. }
  894. }
  895. }
  896. }
  897. }
  898. *% 15x11 continuous paper width are smaller than UniDrv setting by 1inch(360 MU).
  899. *% So the paper size is changed manually.
  900. *Option: 15X11
  901. {
  902. *rcNameID: =15X11_DISPLAY
  903. *Command: CmdSelect
  904. {
  905. *Order: DOC_SETUP.8
  906. *Cmd: "<1B>2<1B>C<000B>"
  907. }
  908. *switch: InputBin
  909. {
  910. *case: Option1
  911. {
  912. *PrintableArea: PAIR(4896, 3660)
  913. *PrintableOrigin: PAIR(0, 300)
  914. }
  915. *case: Option2
  916. {
  917. *PrintableArea: PAIR(4896, 3480)
  918. *PrintableOrigin: PAIR(0, 300)
  919. }
  920. *case: Option3
  921. {
  922. *PrintableArea: PAIR(4896, 3960)
  923. *PrintableOrigin: PAIR(0, 0)
  924. }
  925. }
  926. }
  927. *Option: JAPANESE_POSTCARD
  928. {
  929. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  930. *Command: CmdSelect
  931. {
  932. *Order: DOC_SETUP.8
  933. *Cmd: "<1B>2<1B>C%""
  934. }
  935. *switch: InputBin
  936. {
  937. *case: Option1
  938. {
  939. *PrintableArea: PAIR(1318, 1728)
  940. *PrintableOrigin: PAIR(50, 300)
  941. *switch: Resolution
  942. {
  943. *case: Option1
  944. {
  945. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  946. *PrintableArea: PAIR(1318, 1726)
  947. }
  948. *case: Option2
  949. {
  950. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  951. *PrintableArea: PAIR(1318, 1727)
  952. }
  953. *case: Option3
  954. {
  955. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  956. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  957. *PrintableArea: PAIR(1317, 1727)
  958. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  959. *PrintableOrigin: PAIR(51, 300)
  960. }
  961. }
  962. }
  963. *case: Option2
  964. {
  965. *PrintableArea: PAIR(1318, 1548)
  966. *PrintableOrigin: PAIR(50, 300)
  967. *switch: Resolution
  968. {
  969. *case: Option1
  970. {
  971. *% Warning: the following printable length is adjusted (1619->1618) so it is divisible by the resolution Y scale.
  972. *PrintableArea: PAIR(1318, 1547)
  973. }
  974. *case: Option2
  975. {
  976. *% Warning: the following printable length is adjusted (1619->1618) so it is divisible by the resolution Y scale.
  977. *PrintableArea: PAIR(1318, 1547)
  978. }
  979. *case: Option3
  980. {
  981. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  982. *% Warning: the following printable length is adjusted (1619->1618) so it is divisible by the resolution Y scale.
  983. *PrintableArea: PAIR(1317, 1547)
  984. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  985. *PrintableOrigin: PAIR(51, 300)
  986. }
  987. }
  988. }
  989. *case: Option3
  990. {
  991. *PrintableArea: PAIR(1318, 2028)
  992. *PrintableOrigin: PAIR(50, 0)
  993. *switch: Resolution
  994. {
  995. *case: Option1
  996. {
  997. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  998. *PrintableArea: PAIR(1318, 2027)
  999. }
  1000. *case: Option2
  1001. {
  1002. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  1003. *PrintableArea: PAIR(1318, 2027)
  1004. }
  1005. *case: Option3
  1006. {
  1007. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  1008. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  1009. *PrintableArea: PAIR(1317, 2027)
  1010. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1011. *PrintableOrigin: PAIR(51, 0)
  1012. }
  1013. }
  1014. }
  1015. }
  1016. }
  1017. *Option: JAPANESE_POSTCARD_ROTATED
  1018. {
  1019. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  1020. *Command: CmdSelect
  1021. {
  1022. *Order: DOC_SETUP.8
  1023. *Cmd: "<1B>2<1B>C<17>"
  1024. }
  1025. *switch: InputBin
  1026. {
  1027. *case: Option1
  1028. {
  1029. *PrintableArea: PAIR(1999, 1047)
  1030. *PrintableOrigin: PAIR(50, 300)
  1031. *switch: Resolution
  1032. {
  1033. *case: Option1
  1034. {
  1035. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1036. *PrintableArea: PAIR(1998, 1046)
  1037. }
  1038. *case: Option3
  1039. {
  1040. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1041. *PrintableArea: PAIR(1998, 1047)
  1042. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1043. *PrintableOrigin: PAIR(51, 300)
  1044. }
  1045. }
  1046. }
  1047. *case: Option2
  1048. {
  1049. *PrintableArea: PAIR(1999, 867)
  1050. *PrintableOrigin: PAIR(50, 300)
  1051. *switch: Resolution
  1052. {
  1053. *case: Option1
  1054. {
  1055. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1056. *PrintableArea: PAIR(1998, 867)
  1057. }
  1058. *case: Option3
  1059. {
  1060. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1061. *PrintableArea: PAIR(1998, 867)
  1062. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1063. *PrintableOrigin: PAIR(51, 300)
  1064. }
  1065. }
  1066. }
  1067. *case: Option3
  1068. {
  1069. *PrintableArea: PAIR(1999, 1347)
  1070. *PrintableOrigin: PAIR(50, 0)
  1071. *switch: Resolution
  1072. {
  1073. *case: Option1
  1074. {
  1075. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1076. *PrintableArea: PAIR(1998, 1347)
  1077. }
  1078. *case: Option3
  1079. {
  1080. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1081. *PrintableArea: PAIR(1998, 1347)
  1082. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1083. *PrintableOrigin: PAIR(51, 0)
  1084. }
  1085. }
  1086. }
  1087. }
  1088. }
  1089. *Option: CUSTOMSIZE
  1090. {
  1091. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1092. *MinSize: PAIR(1417, 1417)
  1093. *MaxSize: PAIR(5952, 5952)
  1094. *MaxPrintableWidth: 5952
  1095. *MinLeftMargin: 0
  1096. *CenterPrintable?: FALSE
  1097. *switch: InputBin
  1098. {
  1099. *case: Option1
  1100. {
  1101. *TopMargin: 300
  1102. *BottomMargin: 0
  1103. }
  1104. *case: Option2
  1105. {
  1106. *TopMargin: 300
  1107. *BottomMargin: 180
  1108. }
  1109. *case: Option3
  1110. {
  1111. *TopMargin: 0
  1112. *BottomMargin: 0
  1113. }
  1114. }
  1115. *Command: CmdSelect
  1116. {
  1117. *Order: DOC_SETUP.8
  1118. *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 60) )}
  1119. }
  1120. }
  1121. }
  1122. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  1123. *InvalidCombination: LIST(InputBin.Option2, PaperSize.12X11)
  1124. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  1125. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A2)
  1126. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  1127. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4_ROTATED)
  1128. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3)
  1129. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3_ROTATED)
  1130. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4)
  1131. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4_JIS_ROTATED)
  1132. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  1133. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5_JIS_ROTATED)
  1134. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  1135. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1136. *Feature: PrintQuality
  1137. {
  1138. *rcNameID: =TEXT_QUALITY_DISPLAY
  1139. *DefaultOption: LETTER_QUALITY
  1140. *Option: LETTER_QUALITY
  1141. {
  1142. *rcNameID: =LETTER_QUALITY_DISPLAY
  1143. *Command: CmdSelect
  1144. {
  1145. *Order: DOC_SETUP.6
  1146. *Cmd: "<1B>x<011C>x<00>"
  1147. }
  1148. }
  1149. *Option: DRAFT_QUALITY
  1150. {
  1151. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1152. *Command: CmdSelect
  1153. {
  1154. *Order: DOC_SETUP.6
  1155. *Cmd: "<1B>x<001C>x<01>"
  1156. }
  1157. }
  1158. }
  1159. *Feature: ColorMode
  1160. {
  1161. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1162. *DefaultOption: Color
  1163. *Option: Mono
  1164. {
  1165. *rcNameID: =MONO_DISPLAY
  1166. *DevNumOfPlanes: 1
  1167. *DevBPP: 1
  1168. *Color? : FALSE
  1169. }
  1170. *Option: Color
  1171. {
  1172. *rcNameID: =COLOR_DISPLAY
  1173. *DevNumOfPlanes: 4
  1174. *DevBPP: 1
  1175. *DrvBPP: 4
  1176. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1177. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1178. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1179. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1180. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1181. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1182. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1183. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1184. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1185. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1186. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1187. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1188. }
  1189. }
  1190. *Feature: Halftone
  1191. {
  1192. *rcNameID: =HALFTONING_DISPLAY
  1193. *DefaultOption: HT_PATSIZE_AUTO
  1194. *Option: HT_PATSIZE_AUTO
  1195. {
  1196. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1197. }
  1198. *Option: HT_PATSIZE_SUPERCELL_M
  1199. {
  1200. *rcNameID: =HT_SUPERCELL_DISPLAY
  1201. }
  1202. *Option: HT_PATSIZE_6x6_M
  1203. {
  1204. *rcNameID: =HT_DITHER6X6_DISPLAY
  1205. }
  1206. *Option: HT_PATSIZE_8x8_M
  1207. {
  1208. *rcNameID: =HT_DITHER8X8_DISPLAY
  1209. }
  1210. }
  1211. *Command: CmdStartDoc
  1212. {
  1213. *Order: DOC_SETUP.1
  1214. *Cmd: "<1B>@<181B>t<011B>R<00>"
  1215. }
  1216. *Command: CmdStartPage
  1217. {
  1218. *Order: PAGE_SETUP.1
  1219. *Cmd: "<0D>"
  1220. }
  1221. *RotateCoordinate?: FALSE
  1222. *RotateRaster?: FALSE
  1223. *RotateFont?: FALSE
  1224. *switch: Orientation
  1225. {
  1226. *case: PORTRAIT
  1227. {
  1228. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  1229. }
  1230. *case: LANDSCAPE_CC270
  1231. {
  1232. *TextCaps: LIST(TC_RA_ABLE)
  1233. }
  1234. }
  1235. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1236. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1237. *MaxLineSpacing: 255
  1238. *XMoveThreshold: 0
  1239. *YMoveThreshold: *
  1240. *XMoveUnit: 60
  1241. *YMoveUnit: 180
  1242. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  1243. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  1244. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  1245. *Command: CmdCR { *Cmd : "<0D>" }
  1246. *Command: CmdLF { *Cmd : "<0A>" }
  1247. *Command: CmdFF { *Cmd : "<0C>" }
  1248. *Command: CmdBackSpace { *Cmd : "<08>" }
  1249. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1250. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1251. *EjectPageWithFF?: TRUE
  1252. *switch: InputBin
  1253. {
  1254. *case: Option3
  1255. {
  1256. *EjectPageWithFF?: FALSE
  1257. }
  1258. }
  1259. *OutputDataFormat: V_BYTE
  1260. *OptimizeLeftBound?: FALSE
  1261. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1262. *CursorYAfterSendBlockData: NO_MOVE
  1263. *DefaultFont: 1
  1264. *DefaultCTT: -1
  1265. *switch: Orientation
  1266. {
  1267. *case: PORTRAIT
  1268. {
  1269. *DeviceFonts: LIST(1,13,14,15,16,17)
  1270. }
  1271. *case: LANDSCAPE_CC270
  1272. {
  1273. *DeviceFonts: LIST()
  1274. }
  1275. }
  1276. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1277. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1278. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1279. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1280. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  1281. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }
  1282. *UseExpColorSelectCmd?: TRUE