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.

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