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.

1279 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: "stjr2clj.gpd"
  9. *CodePage: 1252
  10. *ModelName: "Star JR-200CL 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 (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. *Option: 10X11
  811. {
  812. *rcNameID: =10X11_DISPLAY
  813. *Command: CmdSelect
  814. {
  815. *Order: DOC_SETUP.8
  816. *Cmd: "<1B>2<1B>C<000B>"
  817. }
  818. *switch: InputBin
  819. {
  820. *case: Option1
  821. {
  822. *PrintableArea: PAIR(2880, 3660)
  823. *PrintableOrigin: PAIR(0, 300)
  824. }
  825. *case: Option2
  826. {
  827. *PrintableArea: PAIR(2880, 3480)
  828. *PrintableOrigin: PAIR(0, 300)
  829. }
  830. *case: Option3
  831. {
  832. *PrintableArea: PAIR(2880, 3960)
  833. *PrintableOrigin: PAIR(0, 0)
  834. }
  835. }
  836. }
  837. *Option: 12X11
  838. {
  839. *rcNameID: =12X11_DISPLAY
  840. *Command: CmdSelect
  841. {
  842. *Order: DOC_SETUP.8
  843. *Cmd: "<1B>2<1B>C<000B>"
  844. }
  845. *switch: InputBin
  846. {
  847. *case: Option1
  848. {
  849. *PrintableArea: PAIR(3960, 3660)
  850. *PrintableOrigin: PAIR(50, 300)
  851. *switch: Resolution
  852. {
  853. *case: Option3
  854. {
  855. *% Warning: the following printable width is adjusted (4220->4218) so it is divisible by the resolution X scale.
  856. *PrintableArea: PAIR(3458, 3660)
  857. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  858. *PrintableOrigin: PAIR(51, 300)
  859. }
  860. }
  861. }
  862. *case: Option2
  863. {
  864. *PrintableArea: PAIR(3960, 3480)
  865. *PrintableOrigin: PAIR(50, 300)
  866. *switch: Resolution
  867. {
  868. *case: Option3
  869. {
  870. *% Warning: the following printable width is adjusted (4220->4218) so it is divisible by the resolution X scale.
  871. *PrintableArea: PAIR(3458, 3480)
  872. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  873. *PrintableOrigin: PAIR(51, 300)
  874. }
  875. }
  876. }
  877. *case: Option3
  878. {
  879. *PrintableArea: PAIR(3960, 3960)
  880. *PrintableOrigin: PAIR(50, 0)
  881. *switch: Resolution
  882. {
  883. *case: Option3
  884. {
  885. *% Warning: the following printable width is adjusted (4220->4218) so it is divisible by the resolution X scale.
  886. *PrintableArea: PAIR(3498, 3960)
  887. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  888. *PrintableOrigin: PAIR(51, 0)
  889. }
  890. }
  891. }
  892. }
  893. }
  894. *% 15x11 continuous paper width are smaller than UniDrv setting by 1inch(360 MU).
  895. *% So the paper size is changed manually.
  896. *Option: 15X11
  897. {
  898. *rcNameID: =15X11_DISPLAY
  899. *Command: CmdSelect
  900. {
  901. *Order: DOC_SETUP.8
  902. *Cmd: "<1B>2<1B>C<000B>"
  903. }
  904. *switch: InputBin
  905. {
  906. *case: Option1
  907. {
  908. *PrintableArea: PAIR(4896, 3660)
  909. *PrintableOrigin: PAIR(0, 300)
  910. }
  911. *case: Option2
  912. {
  913. *PrintableArea: PAIR(4896, 3480)
  914. *PrintableOrigin: PAIR(0, 300)
  915. }
  916. *case: Option3
  917. {
  918. *PrintableArea: PAIR(4896, 3960)
  919. *PrintableOrigin: PAIR(0, 0)
  920. }
  921. }
  922. }
  923. *Option: JAPANESE_POSTCARD
  924. {
  925. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  926. *Command: CmdSelect
  927. {
  928. *Order: DOC_SETUP.8
  929. *Cmd: "<1B>2<1B>C%""
  930. }
  931. *switch: InputBin
  932. {
  933. *case: Option1
  934. {
  935. *PrintableArea: PAIR(1318, 1728)
  936. *PrintableOrigin: PAIR(50, 300)
  937. *switch: Resolution
  938. {
  939. *case: Option1
  940. {
  941. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  942. *PrintableArea: PAIR(1318, 1726)
  943. }
  944. *case: Option2
  945. {
  946. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  947. *PrintableArea: PAIR(1318, 1727)
  948. }
  949. *case: Option3
  950. {
  951. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  952. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  953. *PrintableArea: PAIR(1317, 1727)
  954. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  955. *PrintableOrigin: PAIR(51, 300)
  956. }
  957. }
  958. }
  959. *case: Option2
  960. {
  961. *PrintableArea: PAIR(1318, 1548)
  962. *PrintableOrigin: PAIR(50, 300)
  963. *switch: Resolution
  964. {
  965. *case: Option1
  966. {
  967. *% Warning: the following printable length is adjusted (1619->1618) so it is divisible by the resolution Y scale.
  968. *PrintableArea: PAIR(1318, 1547)
  969. }
  970. *case: Option2
  971. {
  972. *% Warning: the following printable length is adjusted (1619->1618) so it is divisible by the resolution Y scale.
  973. *PrintableArea: PAIR(1318, 1547)
  974. }
  975. *case: Option3
  976. {
  977. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  978. *% Warning: the following printable length is adjusted (1619->1618) so it is divisible by the resolution Y scale.
  979. *PrintableArea: PAIR(1317, 1547)
  980. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  981. *PrintableOrigin: PAIR(51, 300)
  982. }
  983. }
  984. }
  985. *case: Option3
  986. {
  987. *PrintableArea: PAIR(1318, 2028)
  988. *PrintableOrigin: PAIR(50, 0)
  989. *switch: Resolution
  990. {
  991. *case: Option1
  992. {
  993. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  994. *PrintableArea: PAIR(1318, 2027)
  995. }
  996. *case: Option2
  997. {
  998. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  999. *PrintableArea: PAIR(1318, 2027)
  1000. }
  1001. *case: Option3
  1002. {
  1003. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  1004. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  1005. *PrintableArea: PAIR(1317, 2027)
  1006. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1007. *PrintableOrigin: PAIR(51, 0)
  1008. }
  1009. }
  1010. }
  1011. }
  1012. }
  1013. *Option: JAPANESE_POSTCARD_ROTATED
  1014. {
  1015. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  1016. *Command: CmdSelect
  1017. {
  1018. *Order: DOC_SETUP.8
  1019. *Cmd: "<1B>2<1B>C<17>"
  1020. }
  1021. *switch: InputBin
  1022. {
  1023. *case: Option1
  1024. {
  1025. *PrintableArea: PAIR(1999, 1047)
  1026. *PrintableOrigin: PAIR(50, 300)
  1027. *switch: Resolution
  1028. {
  1029. *case: Option1
  1030. {
  1031. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1032. *PrintableArea: PAIR(1998, 1046)
  1033. }
  1034. *case: Option3
  1035. {
  1036. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1037. *PrintableArea: PAIR(1998, 1047)
  1038. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1039. *PrintableOrigin: PAIR(51, 300)
  1040. }
  1041. }
  1042. }
  1043. *case: Option2
  1044. {
  1045. *PrintableArea: PAIR(1999, 867)
  1046. *PrintableOrigin: PAIR(50, 300)
  1047. *switch: Resolution
  1048. {
  1049. *case: Option1
  1050. {
  1051. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1052. *PrintableArea: PAIR(1998, 867)
  1053. }
  1054. *case: Option3
  1055. {
  1056. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1057. *PrintableArea: PAIR(1998, 867)
  1058. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1059. *PrintableOrigin: PAIR(51, 300)
  1060. }
  1061. }
  1062. }
  1063. *case: Option3
  1064. {
  1065. *PrintableArea: PAIR(1999, 1347)
  1066. *PrintableOrigin: PAIR(50, 0)
  1067. *switch: Resolution
  1068. {
  1069. *case: Option1
  1070. {
  1071. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1072. *PrintableArea: PAIR(1998, 1347)
  1073. }
  1074. *case: Option3
  1075. {
  1076. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1077. *PrintableArea: PAIR(1998, 1347)
  1078. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1079. *PrintableOrigin: PAIR(51, 0)
  1080. }
  1081. }
  1082. }
  1083. }
  1084. }
  1085. *Option: CUSTOMSIZE
  1086. {
  1087. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1088. *MinSize: PAIR(1417, 1417)
  1089. *MaxSize: PAIR(5952, 5952)
  1090. *MaxPrintableWidth: 5952
  1091. *MinLeftMargin: 0
  1092. *CenterPrintable?: FALSE
  1093. *switch: InputBin
  1094. {
  1095. *case: Option1
  1096. {
  1097. *TopMargin: 300
  1098. *BottomMargin: 0
  1099. }
  1100. *case: Option2
  1101. {
  1102. *TopMargin: 300
  1103. *BottomMargin: 180
  1104. }
  1105. *case: Option3
  1106. {
  1107. *TopMargin: 0
  1108. *BottomMargin: 0
  1109. }
  1110. }
  1111. *Command: CmdSelect
  1112. {
  1113. *Order: DOC_SETUP.8
  1114. *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 60) )}
  1115. }
  1116. }
  1117. }
  1118. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  1119. *InvalidCombination: LIST(InputBin.Option2, PaperSize.12X11)
  1120. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  1121. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A2)
  1122. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  1123. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4_ROTATED)
  1124. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3)
  1125. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3_ROTATED)
  1126. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4)
  1127. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4_JIS_ROTATED)
  1128. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  1129. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5_JIS_ROTATED)
  1130. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  1131. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1132. *Feature: PrintQuality
  1133. {
  1134. *rcNameID: =TEXT_QUALITY_DISPLAY
  1135. *DefaultOption: LETTER_QUALITY
  1136. *Option: LETTER_QUALITY
  1137. {
  1138. *rcNameID: =LETTER_QUALITY_DISPLAY
  1139. *Command: CmdSelect
  1140. {
  1141. *Order: DOC_SETUP.6
  1142. *Cmd: "<1B>x<011C>x<00>"
  1143. }
  1144. }
  1145. *Option: DRAFT_QUALITY
  1146. {
  1147. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1148. *Command: CmdSelect
  1149. {
  1150. *Order: DOC_SETUP.6
  1151. *Cmd: "<1B>x<001C>x<01>"
  1152. }
  1153. }
  1154. }
  1155. *Feature: ColorMode
  1156. {
  1157. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1158. *DefaultOption: Color
  1159. *Option: Mono
  1160. {
  1161. *rcNameID: =MONO_DISPLAY
  1162. *DevNumOfPlanes: 1
  1163. *DevBPP: 1
  1164. *Color? : FALSE
  1165. }
  1166. *Option: Color
  1167. {
  1168. *rcNameID: =COLOR_DISPLAY
  1169. *DevNumOfPlanes: 4
  1170. *DevBPP: 1
  1171. *DrvBPP: 4
  1172. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1173. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1174. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1175. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1176. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1177. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1178. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1179. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1180. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1181. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1182. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1183. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1184. }
  1185. }
  1186. *Feature: Halftone
  1187. {
  1188. *rcNameID: =HALFTONING_DISPLAY
  1189. *DefaultOption: HT_PATSIZE_AUTO
  1190. *Option: HT_PATSIZE_AUTO
  1191. {
  1192. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1193. }
  1194. *Option: HT_PATSIZE_SUPERCELL_M
  1195. {
  1196. *rcNameID: =HT_SUPERCELL_DISPLAY
  1197. }
  1198. *Option: HT_PATSIZE_6x6_M
  1199. {
  1200. *rcNameID: =HT_DITHER6X6_DISPLAY
  1201. }
  1202. *Option: HT_PATSIZE_8x8_M
  1203. {
  1204. *rcNameID: =HT_DITHER8X8_DISPLAY
  1205. }
  1206. }
  1207. *Command: CmdStartDoc
  1208. {
  1209. *Order: DOC_SETUP.1
  1210. *Cmd: "<1B>@<181B>t<011B>R<00>"
  1211. }
  1212. *Command: CmdStartPage
  1213. {
  1214. *Order: PAGE_SETUP.1
  1215. *Cmd: "<0D>"
  1216. }
  1217. *RotateCoordinate?: FALSE
  1218. *RotateRaster?: FALSE
  1219. *RotateFont?: FALSE
  1220. *switch: Orientation
  1221. {
  1222. *case: PORTRAIT
  1223. {
  1224. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  1225. }
  1226. *case: LANDSCAPE_CC270
  1227. {
  1228. *TextCaps: LIST(TC_RA_ABLE)
  1229. }
  1230. }
  1231. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1232. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1233. *MaxLineSpacing: 255
  1234. *XMoveThreshold: 0
  1235. *YMoveThreshold: *
  1236. *XMoveUnit: 60
  1237. *YMoveUnit: 180
  1238. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  1239. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  1240. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  1241. *Command: CmdCR { *Cmd : "<0D>" }
  1242. *Command: CmdLF { *Cmd : "<0A>" }
  1243. *Command: CmdFF { *Cmd : "<0C>" }
  1244. *Command: CmdBackSpace { *Cmd : "<08>" }
  1245. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1246. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1247. *EjectPageWithFF?: TRUE
  1248. *switch: InputBin
  1249. {
  1250. *case: Option3
  1251. {
  1252. *EjectPageWithFF?: FALSE
  1253. }
  1254. }
  1255. *OutputDataFormat: V_BYTE
  1256. *OptimizeLeftBound?: FALSE
  1257. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1258. *CursorYAfterSendBlockData: NO_MOVE
  1259. *DefaultFont: 1
  1260. *DefaultCTT: -1
  1261. *switch: Orientation
  1262. {
  1263. *case: PORTRAIT
  1264. {
  1265. *DeviceFonts: LIST(1,3,13,14,15,16,17)
  1266. }
  1267. *case: LANDSCAPE_CC270
  1268. {
  1269. *DeviceFonts: LIST()
  1270. }
  1271. }
  1272. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1273. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1274. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1275. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1276. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  1277. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }
  1278. *UseExpColorSelectCmd?: TRUE