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.

1276 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: "stjs21cj.gpd"
  9. *CodePage: 1252
  10. *ModelName: "Star JS-2001CL 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, 8120)
  118. *PrintableOrigin: PAIR(50, 120)
  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, 8120)
  125. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  126. *PrintableOrigin: PAIR(51, 120)
  127. }
  128. }
  129. }
  130. *case: Option2
  131. {
  132. *PrintableArea: PAIR(4896, 8120)
  133. *PrintableOrigin: PAIR(50, 120)
  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, 8120)
  140. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  141. *PrintableOrigin: PAIR(51, 120)
  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, 3968)
  175. *PrintableOrigin: PAIR(50, 120)
  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, 3968)
  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, 3968)
  187. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  188. *PrintableOrigin: PAIR(51, 120)
  189. }
  190. }
  191. }
  192. *case: Option2
  193. {
  194. *PrintableArea: PAIR(2877, 3908)
  195. *PrintableOrigin: PAIR(50, 120)
  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, 3908)
  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, 3908)
  207. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  208. *PrintableOrigin: PAIR(51, 120)
  209. }
  210. }
  211. }
  212. *case: Option3
  213. {
  214. *PrintableArea: PAIR(2877, 4208)
  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, 4208)
  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, 4208)
  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, 2737)
  247. *PrintableOrigin: PAIR(50, 120)
  248. *switch: Resolution
  249. {
  250. *case: Option1
  251. {
  252. *% Warning: the following printable length is adjusted (2737->2736) so it is divisible by the resolution Y scale.
  253. *PrintableArea: PAIR(4108, 2736)
  254. }
  255. *case: Option2
  256. {
  257. *% Warning: the following printable length is adjusted (2737->2736) so it is divisible by the resolution Y scale.
  258. *PrintableArea: PAIR(4108, 2736)
  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 (2737->2736) so it is divisible by the resolution Y scale.
  264. *PrintableArea: PAIR(4107, 2736)
  265. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  266. *PrintableOrigin: PAIR(51, 120)
  267. }
  268. }
  269. }
  270. *case: Option2
  271. {
  272. *PrintableArea: PAIR(4108, 2677)
  273. *PrintableOrigin: PAIR(50, 120)
  274. *switch: Resolution
  275. {
  276. *case: Option1
  277. {
  278. *% Warning: the following printable length is adjusted (2677->2676) so it is divisible by the resolution Y scale.
  279. *PrintableArea: PAIR(4108, 2676)
  280. }
  281. *case: Option2
  282. {
  283. *% Warning: the following printable length is adjusted (2677->2676) so it is divisible by the resolution Y scale.
  284. *PrintableArea: PAIR(4108, 2676)
  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 (2677->2676) so it is divisible by the resolution Y scale.
  290. *PrintableArea: PAIR(4107, 2676)
  291. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  292. *PrintableOrigin: PAIR(51, 120)
  293. }
  294. }
  295. }
  296. *case: Option3
  297. {
  298. *PrintableArea: PAIR(4108, 2977)
  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, 2976)
  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, 2976)
  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, 2976)
  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, 5686)
  337. *PrintableOrigin: PAIR(50, 120)
  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, 5686)
  344. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  345. *PrintableOrigin: PAIR(51, 120)
  346. }
  347. }
  348. }
  349. *case: Option2
  350. {
  351. *PrintableArea: PAIR(4108, 5654)
  352. *PrintableOrigin: PAIR(50, 120)
  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, 5654)
  359. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  360. *PrintableOrigin: PAIR(51, 120)
  361. }
  362. }
  363. }
  364. *case: Option3
  365. {
  366. *PrintableArea: PAIR(4108, 5954)
  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, 5954)
  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, 3968)
  394. *PrintableOrigin: PAIR(50, 120)
  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(4896, 3968)
  401. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  402. *PrintableOrigin: PAIR(51, 120)
  403. }
  404. }
  405. }
  406. *case: Option2
  407. {
  408. *PrintableArea: PAIR(4896, 3908)
  409. *PrintableOrigin: PAIR(50, 120)
  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(4896, 3908)
  416. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  417. *PrintableOrigin: PAIR(51, 120)
  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(4896, 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, 4849)
  451. *PrintableOrigin: PAIR(50, 120)
  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 (4919->4918) so it is divisible by the resolution Y scale.
  458. *PrintableArea: PAIR(3542, 4848)
  459. }
  460. *case: Option2
  461. {
  462. *% Warning: the following printable length is adjusted (4919->4918) so it is divisible by the resolution Y scale.
  463. *PrintableArea: PAIR(3543, 4849)
  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 (4919->4918) so it is divisible by the resolution Y scale.
  469. *PrintableArea: PAIR(3540, 4849)
  470. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  471. *PrintableOrigin: PAIR(51, 120)
  472. }
  473. }
  474. }
  475. *case: Option2
  476. {
  477. *PrintableArea: PAIR(3543, 4859)
  478. *PrintableOrigin: PAIR(50, 120)
  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 (4859->4858) so it is divisible by the resolution Y scale.
  485. *PrintableArea: PAIR(3542, 4858)
  486. }
  487. *case: Option2
  488. {
  489. *% Warning: the following printable length is adjusted (4859->4858) so it is divisible by the resolution Y scale.
  490. *PrintableArea: PAIR(3543, 4858)
  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 (4859->4858) so it is divisible by the resolution Y scale.
  496. *PrintableArea: PAIR(3540, 4858)
  497. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  498. *PrintableOrigin: PAIR(51, 120)
  499. }
  500. }
  501. }
  502. *case: Option3
  503. {
  504. *PrintableArea: PAIR(3543, 5159)
  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, 5158)
  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, 5158)
  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, 5158)
  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, 3403)
  544. *PrintableOrigin: PAIR(135, 120)
  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 (3403->3402) so it is divisible by the resolution Y scale.
  551. *PrintableArea: PAIR(4888, 3402)
  552. *% Warning: the following printable origin X is adjusted (135->136) so it is divisible by the resolution X scale.
  553. *PrintableOrigin: PAIR(136, 120)
  554. }
  555. *case: Option2
  556. {
  557. *% Warning: the following printable length is adjusted (3403->3402) so it is divisible by the resolution Y scale.
  558. *PrintableArea: PAIR(4889, 3402)
  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 (3403->3402) so it is divisible by the resolution Y scale.
  564. *PrintableArea: PAIR(4887, 3402)
  565. }
  566. }
  567. }
  568. *case: Option2
  569. {
  570. *PrintableArea: PAIR(4889, 3343)
  571. *PrintableOrigin: PAIR(135, 120)
  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 (3343->3342) so it is divisible by the resolution Y scale.
  578. *PrintableArea: PAIR(4888, 3342)
  579. *% Warning: the following printable origin X is adjusted (135->136) so it is divisible by the resolution X scale.
  580. *PrintableOrigin: PAIR(136, 120)
  581. }
  582. *case: Option2
  583. {
  584. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  585. *PrintableArea: PAIR(4889, 3342)
  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 (3343->3342) so it is divisible by the resolution Y scale.
  591. *PrintableArea: PAIR(4887, 3342)
  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, 3403)
  637. *PrintableOrigin: PAIR(50, 120)
  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 (3403->3402) so it is divisible by the resolution Y scale.
  644. *PrintableArea: PAIR(2480, 3402)
  645. }
  646. *case: Option2
  647. {
  648. *% Warning: the following printable length is adjusted (3403->3402) so it is divisible by the resolution Y scale.
  649. *PrintableArea: PAIR(2481, 3402)
  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 (3403->3402) so it is divisible by the resolution Y scale.
  655. *PrintableArea: PAIR(2478, 3402)
  656. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  657. *PrintableOrigin: PAIR(51, 120)
  658. }
  659. }
  660. }
  661. *case: Option2
  662. {
  663. *PrintableArea: PAIR(2481, 3343)
  664. *PrintableOrigin: PAIR(50, 120)
  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 (3343->3342) so it is divisible by the resolution Y scale.
  671. *PrintableArea: PAIR(2480, 3342)
  672. }
  673. *case: Option2
  674. {
  675. *% Warning: the following printable length is adjusted (3343->3342) so it is divisible by the resolution Y scale.
  676. *PrintableArea: PAIR(2481, 3342)
  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 (3343->3342) so it is divisible by the resolution Y scale.
  682. *PrintableArea: PAIR(2478, 3342)
  683. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  684. *PrintableOrigin: PAIR(51, 120)
  685. }
  686. }
  687. }
  688. *case: Option3
  689. {
  690. *PrintableArea: PAIR(2481, 3643)
  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, 3642)
  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, 3642)
  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, 3642)
  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, 2341)
  730. *PrintableOrigin: PAIR(50, 120)
  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 (2341->2340) so it is divisible by the resolution Y scale.
  737. *PrintableArea: PAIR(3542, 2340)
  738. }
  739. *case: Option2
  740. {
  741. *% Warning: the following printable length is adjusted (2341->2340) so it is divisible by the resolution Y scale.
  742. *PrintableArea: PAIR(3543, 2340)
  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 (2341->2340) so it is divisible by the resolution Y scale.
  748. *PrintableArea: PAIR(3540, 2340)
  749. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  750. *PrintableOrigin: PAIR(51, 120)
  751. }
  752. }
  753. }
  754. *case: Option2
  755. {
  756. *PrintableArea: PAIR(3543, 2281)
  757. *PrintableOrigin: PAIR(50, 120)
  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 (2281->2280) so it is divisible by the resolution Y scale.
  764. *PrintableArea: PAIR(3542, 2280)
  765. }
  766. *case: Option2
  767. {
  768. *% Warning: the following printable length is adjusted (2281->2280) so it is divisible by the resolution Y scale.
  769. *PrintableArea: PAIR(3543, 2280)
  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 (2281->2280) so it is divisible by the resolution Y scale.
  775. *PrintableArea: PAIR(3540, 2280)
  776. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  777. *PrintableOrigin: PAIR(51, 120)
  778. }
  779. }
  780. }
  781. *case: Option3
  782. {
  783. *PrintableArea: PAIR(3543, 2581)
  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, 2580)
  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, 2580)
  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, 2580)
  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, 3720)
  823. *PrintableOrigin: PAIR(0, 120)
  824. }
  825. *case: Option2
  826. {
  827. *PrintableArea: PAIR(2880, 3660)
  828. *PrintableOrigin: PAIR(0, 120)
  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, 3720)
  850. *PrintableOrigin: PAIR(50, 120)
  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(3958, 3720)
  857. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  858. *PrintableOrigin: PAIR(51, 120)
  859. }
  860. }
  861. }
  862. *case: Option2
  863. {
  864. *PrintableArea: PAIR(3960, 3660)
  865. *PrintableOrigin: PAIR(50, 120)
  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(3958, 3660)
  872. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  873. *PrintableOrigin: PAIR(51, 120)
  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(3958, 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. *Option: 15X11
  895. {
  896. *rcNameID: =15X11_DISPLAY
  897. *Command: CmdSelect
  898. {
  899. *Order: DOC_SETUP.8
  900. *Cmd: "<1B>2<1B>C<000B>"
  901. }
  902. *switch: InputBin
  903. {
  904. *case: Option1
  905. {
  906. *PrintableArea: PAIR(4896, 3720)
  907. *PrintableOrigin: PAIR(0, 120)
  908. }
  909. *case: Option2
  910. {
  911. *PrintableArea: PAIR(4896, 3660)
  912. *PrintableOrigin: PAIR(0, 120)
  913. }
  914. *case: Option3
  915. {
  916. *PrintableArea: PAIR(4896, 3960)
  917. *PrintableOrigin: PAIR(0, 0)
  918. }
  919. }
  920. }
  921. *Option: JAPANESE_POSTCARD
  922. {
  923. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  924. *Command: CmdSelect
  925. {
  926. *Order: DOC_SETUP.8
  927. *Cmd: "<1B>2<1B>C%""
  928. }
  929. *switch: InputBin
  930. {
  931. *case: Option1
  932. {
  933. *PrintableArea: PAIR(1318, 1859)
  934. *PrintableOrigin: PAIR(50, 120)
  935. *switch: Resolution
  936. {
  937. *case: Option1
  938. {
  939. *% Warning: the following printable length is adjusted (1859->1858) so it is divisible by the resolution Y scale.
  940. *PrintableArea: PAIR(1318, 1858)
  941. }
  942. *case: Option2
  943. {
  944. *% Warning: the following printable length is adjusted (1859->1858) so it is divisible by the resolution Y scale.
  945. *PrintableArea: PAIR(1318, 1858)
  946. }
  947. *case: Option3
  948. {
  949. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  950. *% Warning: the following printable length is adjusted (1859->1858) so it is divisible by the resolution Y scale.
  951. *PrintableArea: PAIR(1317, 1858)
  952. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  953. *PrintableOrigin: PAIR(51, 120)
  954. }
  955. }
  956. }
  957. *case: Option2
  958. {
  959. *PrintableArea: PAIR(1318, 1799)
  960. *PrintableOrigin: PAIR(50, 120)
  961. *switch: Resolution
  962. {
  963. *case: Option1
  964. {
  965. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  966. *PrintableArea: PAIR(1318, 1798)
  967. }
  968. *case: Option2
  969. {
  970. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  971. *PrintableArea: PAIR(1318, 1798)
  972. }
  973. *case: Option3
  974. {
  975. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  976. *% Warning: the following printable length is adjusted (1799->1798) so it is divisible by the resolution Y scale.
  977. *PrintableArea: PAIR(1317, 1798)
  978. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  979. *PrintableOrigin: PAIR(51, 120)
  980. }
  981. }
  982. }
  983. *case: Option3
  984. {
  985. *PrintableArea: PAIR(1318, 2099)
  986. *PrintableOrigin: PAIR(50, 0)
  987. *switch: Resolution
  988. {
  989. *case: Option1
  990. {
  991. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  992. *PrintableArea: PAIR(1318, 2098)
  993. }
  994. *case: Option2
  995. {
  996. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  997. *PrintableArea: PAIR(1318, 2098)
  998. }
  999. *case: Option3
  1000. {
  1001. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  1002. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  1003. *PrintableArea: PAIR(1317, 2098)
  1004. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1005. *PrintableOrigin: PAIR(51, 0)
  1006. }
  1007. }
  1008. }
  1009. }
  1010. }
  1011. *Option: JAPANESE_POSTCARD_ROTATED
  1012. {
  1013. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  1014. *Command: CmdSelect
  1015. {
  1016. *Order: DOC_SETUP.8
  1017. *Cmd: "<1B>2<1B>C<17>"
  1018. }
  1019. *switch: InputBin
  1020. {
  1021. *case: Option1
  1022. {
  1023. *PrintableArea: PAIR(1999, 1178)
  1024. *PrintableOrigin: PAIR(50, 120)
  1025. *switch: Resolution
  1026. {
  1027. *case: Option1
  1028. {
  1029. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1030. *PrintableArea: PAIR(1998, 1178)
  1031. }
  1032. *case: Option3
  1033. {
  1034. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1035. *PrintableArea: PAIR(1998, 1178)
  1036. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1037. *PrintableOrigin: PAIR(51, 120)
  1038. }
  1039. }
  1040. }
  1041. *case: Option2
  1042. {
  1043. *PrintableArea: PAIR(1999, 1118)
  1044. *PrintableOrigin: PAIR(50, 120)
  1045. *switch: Resolution
  1046. {
  1047. *case: Option1
  1048. {
  1049. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1050. *PrintableArea: PAIR(1998, 1118)
  1051. }
  1052. *case: Option3
  1053. {
  1054. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1055. *PrintableArea: PAIR(1998, 1118)
  1056. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1057. *PrintableOrigin: PAIR(51, 120)
  1058. }
  1059. }
  1060. }
  1061. *case: Option3
  1062. {
  1063. *PrintableArea: PAIR(1999, 1418)
  1064. *PrintableOrigin: PAIR(50, 0)
  1065. *switch: Resolution
  1066. {
  1067. *case: Option1
  1068. {
  1069. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1070. *PrintableArea: PAIR(1998, 1418)
  1071. }
  1072. *case: Option3
  1073. {
  1074. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  1075. *PrintableArea: PAIR(1998, 1418)
  1076. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  1077. *PrintableOrigin: PAIR(51, 0)
  1078. }
  1079. }
  1080. }
  1081. }
  1082. }
  1083. *Option: CUSTOMSIZE
  1084. {
  1085. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1086. *MinSize: PAIR(1417, 1417)
  1087. *MaxSize: PAIR(5952, 5952)
  1088. *MaxPrintableWidth: 5952
  1089. *MinLeftMargin: 0
  1090. *CenterPrintable?: FALSE
  1091. *switch: InputBin
  1092. {
  1093. *case: Option1
  1094. {
  1095. *TopMargin: 120
  1096. *BottomMargin: 120
  1097. }
  1098. *case: Option2
  1099. {
  1100. *TopMargin: 120
  1101. *BottomMargin: 180
  1102. }
  1103. *case: Option3
  1104. {
  1105. *TopMargin: 0
  1106. *BottomMargin: 0
  1107. }
  1108. }
  1109. *Command: CmdSelect
  1110. {
  1111. *Order: DOC_SETUP.8
  1112. *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 60) )}
  1113. }
  1114. }
  1115. }
  1116. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  1117. *InvalidCombination: LIST(InputBin.Option2, PaperSize.12X11)
  1118. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  1119. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A2)
  1120. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  1121. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4_ROTATED)
  1122. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3)
  1123. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3_ROTATED)
  1124. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4)
  1125. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4_JIS_ROTATED)
  1126. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  1127. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5_JIS_ROTATED)
  1128. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  1129. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1130. *Feature: PrintQuality
  1131. {
  1132. *rcNameID: =TEXT_QUALITY_DISPLAY
  1133. *DefaultOption: LETTER_QUALITY
  1134. *Option: LETTER_QUALITY
  1135. {
  1136. *rcNameID: =LETTER_QUALITY_DISPLAY
  1137. *Command: CmdSelect
  1138. {
  1139. *Order: DOC_SETUP.6
  1140. *Cmd: "<1B>x<011C>x<00>"
  1141. }
  1142. }
  1143. *Option: DRAFT_QUALITY
  1144. {
  1145. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1146. *Command: CmdSelect
  1147. {
  1148. *Order: DOC_SETUP.6
  1149. *Cmd: "<1B>x<001C>x<01>"
  1150. }
  1151. }
  1152. }
  1153. *Feature: ColorMode
  1154. {
  1155. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1156. *DefaultOption: Color
  1157. *Option: Mono
  1158. {
  1159. *rcNameID: =MONO_DISPLAY
  1160. *DevNumOfPlanes: 1
  1161. *DevBPP: 1
  1162. *Color? : FALSE
  1163. }
  1164. *Option: Color
  1165. {
  1166. *rcNameID: =COLOR_DISPLAY
  1167. *DevNumOfPlanes: 4
  1168. *DevBPP: 1
  1169. *DrvBPP: 4
  1170. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1171. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1172. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1173. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1174. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1175. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1176. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1177. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1178. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1179. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1180. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1181. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1182. }
  1183. }
  1184. *Feature: Halftone
  1185. {
  1186. *rcNameID: =HALFTONING_DISPLAY
  1187. *DefaultOption: HT_PATSIZE_AUTO
  1188. *Option: HT_PATSIZE_AUTO
  1189. {
  1190. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1191. }
  1192. *Option: HT_PATSIZE_SUPERCELL_M
  1193. {
  1194. *rcNameID: =HT_SUPERCELL_DISPLAY
  1195. }
  1196. *Option: HT_PATSIZE_6x6_M
  1197. {
  1198. *rcNameID: =HT_DITHER6X6_DISPLAY
  1199. }
  1200. *Option: HT_PATSIZE_8x8_M
  1201. {
  1202. *rcNameID: =HT_DITHER8X8_DISPLAY
  1203. }
  1204. }
  1205. *Command: CmdStartDoc
  1206. {
  1207. *Order: DOC_SETUP.1
  1208. *Cmd: "<1B>@<181B>t<011B>R<00>"
  1209. }
  1210. *Command: CmdStartPage
  1211. {
  1212. *Order: PAGE_SETUP.1
  1213. *Cmd: "<0D>"
  1214. }
  1215. *RotateCoordinate?: FALSE
  1216. *RotateRaster?: FALSE
  1217. *RotateFont?: FALSE
  1218. *switch: Orientation
  1219. {
  1220. *case: PORTRAIT
  1221. {
  1222. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  1223. }
  1224. *case: LANDSCAPE_CC270
  1225. {
  1226. *TextCaps: LIST(TC_RA_ABLE)
  1227. }
  1228. }
  1229. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1230. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1231. *MaxLineSpacing: 255
  1232. *XMoveThreshold: 0
  1233. *YMoveThreshold: *
  1234. *XMoveUnit: 60
  1235. *YMoveUnit: 180
  1236. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  1237. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  1238. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  1239. *Command: CmdCR { *Cmd : "<0D>" }
  1240. *Command: CmdLF { *Cmd : "<0A>" }
  1241. *Command: CmdFF { *Cmd : "<0C>" }
  1242. *Command: CmdBackSpace { *Cmd : "<08>" }
  1243. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1244. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1245. *EjectPageWithFF?: TRUE
  1246. *switch: InputBin
  1247. {
  1248. *case: Option3
  1249. {
  1250. *EjectPageWithFF?: FALSE
  1251. }
  1252. }
  1253. *OutputDataFormat: V_BYTE
  1254. *OptimizeLeftBound?: FALSE
  1255. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1256. *CursorYAfterSendBlockData: NO_MOVE
  1257. *DefaultFont: 1
  1258. *DefaultCTT: -1
  1259. *switch: Orientation
  1260. {
  1261. *case: PORTRAIT
  1262. {
  1263. *DeviceFonts: LIST(1,5,7,13,14,15,16,17)
  1264. }
  1265. *case: LANDSCAPE_CC270
  1266. {
  1267. *DeviceFonts: LIST()
  1268. }
  1269. }
  1270. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1271. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1272. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1273. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1274. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  1275. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }
  1276. *UseExpColorSelectCmd?: TRUE