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.

882 lines
26 KiB

  1. *CodePage: 1252
  2. *ModelName: "EPSON LP-7000"
  3. *MasterUnits: PAIR(1200, 1200)
  4. *ResourceDLL: "EPAGERES.DLL"
  5. *PrinterType: PAGE
  6. *PrintRate: 8
  7. *PrintRateUnit: PPM
  8. *MaxCopies: 255
  9. *Feature: Orientation
  10. {
  11. *rcNameID: =ORIENTATION_DISPLAY
  12. *DefaultOption: PORTRAIT
  13. *Option: PORTRAIT
  14. {
  15. *rcNameID: =PORTRAIT_DISPLAY
  16. *Command: CmdSelect
  17. {
  18. *Order: DOC_SETUP.30
  19. *Cmd: "<1D>0poE"
  20. }
  21. }
  22. *Option: LANDSCAPE_CC90
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. *Command: CmdSelect
  26. {
  27. *Order: DOC_SETUP.30
  28. *Cmd: "<1D>1poE"
  29. }
  30. }
  31. }
  32. *Feature: InputBin
  33. {
  34. *rcNameID: =PAPER_SOURCE_DISPLAY
  35. *DefaultOption: CST
  36. *Option: CST
  37. {
  38. *rcNameID: =RC_STR_CST
  39. *% *Command: CmdSelect
  40. *% {
  41. *% *Order: DOC_SETUP.50
  42. *% *Cmd: "<1D>1;1iuE"
  43. *% }
  44. }
  45. *Option: MANUAL
  46. {
  47. *rcNameID: =MANUAL_FEED_DISPLAY
  48. }
  49. }
  50. *Feature: Resolution
  51. {
  52. *rcNameID: =RESOLUTION_DISPLAY
  53. *DefaultOption: 240dpi
  54. *Option: 240dpi
  55. {
  56. *Name: "240 x 240 dots per inch"
  57. *DPI: PAIR(240, 240)
  58. *TextDPI: PAIR(240, 240)
  59. *MinStripBlankPixels: 32
  60. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  61. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  62. *SpotDiameter: 100
  63. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d[0,4080]{(RasterDataWidthInBytes * 8) }";" %d[0,4080]{RasterDataHeightInPixels }
  64. + ";0bi{I" }
  65. *Command: CmdSelect
  66. {
  67. *Order: DOC_SETUP.20
  68. *Cmd: "<1D>0;240;240drE<1D>1;240;240drE<1D>2;240;240drE"
  69. }
  70. }
  71. }
  72. *Feature: PaperSize
  73. {
  74. *rcNameID: =PAPER_SIZE_DISPLAY
  75. *DefaultOption: A4
  76. *Option: A4
  77. {
  78. *rcNameID: =A4_DISPLAY
  79. *switch: Orientation
  80. {
  81. *case: PORTRAIT
  82. {
  83. *PrintableArea: PAIR(9440, 13548)
  84. *PrintableOrigin: PAIR(240, 240)
  85. *switch: Resolution
  86. {
  87. *case: 240dpi
  88. {
  89. *% Warning: the following printable length is adjusted (13548->13545) so it is divisible by the resolution Y scale.
  90. *PrintableArea: PAIR(9440, 13545)
  91. }
  92. }
  93. *CursorOrigin: PAIR(240, 240)
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.40
  97. *Cmd: "<1D>14psE"
  98. }
  99. }
  100. *case: LANDSCAPE_CC90
  101. {
  102. *PrintableArea: PAIR(9440, 13548)
  103. *PrintableOrigin: PAIR(240, 240)
  104. *switch: Resolution
  105. {
  106. *case: 240dpi
  107. {
  108. *% Warning: the following printable length is adjusted (13548->13545) so it is divisible by the resolution Y scale.
  109. *PrintableArea: PAIR(9440, 13545)
  110. }
  111. }
  112. *% Warning: the following *CursorOrigin Y value is adjusted (13788->13790) so it is divisible by scale of Y move unit.
  113. *CursorOrigin: PAIR(240, 13790)
  114. *Command: CmdSelect
  115. {
  116. *Order: DOC_SETUP.40
  117. *Cmd: "<1D>14psE<1D>1poE"
  118. }
  119. }
  120. }
  121. }
  122. *Option: A5
  123. {
  124. *rcNameID: =A5_DISPLAY
  125. *switch: Orientation
  126. {
  127. *case: PORTRAIT
  128. {
  129. *PrintableArea: PAIR(6512, 9440)
  130. *PrintableOrigin: PAIR(240, 240)
  131. *switch: Resolution
  132. {
  133. *case: 240dpi
  134. {
  135. *% Warning: the following printable width is adjusted (6512->6510) so it is divisible by the resolution X scale.
  136. *PrintableArea: PAIR(6510, 9440)
  137. }
  138. }
  139. *CursorOrigin: PAIR(240, 240)
  140. *Command: CmdSelect
  141. {
  142. *Order: DOC_SETUP.40
  143. *Cmd: "<1D>15psE"
  144. }
  145. }
  146. *case: LANDSCAPE_CC90
  147. {
  148. *PrintableArea: PAIR(6512, 9440)
  149. *PrintableOrigin: PAIR(240, 240)
  150. *switch: Resolution
  151. {
  152. *case: 240dpi
  153. {
  154. *% Warning: the following printable width is adjusted (6512->6510) so it is divisible by the resolution X scale.
  155. *PrintableArea: PAIR(6510, 9440)
  156. }
  157. }
  158. *CursorOrigin: PAIR(240, 9680)
  159. *Command: CmdSelect
  160. {
  161. *Order: DOC_SETUP.40
  162. *Cmd: "<1D>15psE<1D>1poE"
  163. }
  164. }
  165. }
  166. }
  167. *Option: A6
  168. {
  169. *rcNameID: =A6_DISPLAY
  170. *switch: Orientation
  171. {
  172. *case: PORTRAIT
  173. {
  174. *PrintableArea: PAIR(4476, 6512)
  175. *PrintableOrigin: PAIR(240, 240)
  176. *switch: Resolution
  177. {
  178. *case: 240dpi
  179. {
  180. *% Warning: the following printable width is adjusted (4476->4475) so it is divisible by the resolution X scale.
  181. *% Warning: the following printable length is adjusted (6512->6510) so it is divisible by the resolution Y scale.
  182. *PrintableArea: PAIR(4475, 6510)
  183. }
  184. }
  185. *CursorOrigin: PAIR(240, 240)
  186. *Command: CmdSelect
  187. {
  188. *Order: DOC_SETUP.40
  189. *Cmd: "<1D>16psE"
  190. }
  191. }
  192. *case: LANDSCAPE_CC90
  193. {
  194. *PrintableArea: PAIR(4476, 6512)
  195. *PrintableOrigin: PAIR(240, 240)
  196. *switch: Resolution
  197. {
  198. *case: 240dpi
  199. {
  200. *% Warning: the following printable width is adjusted (4476->4475) so it is divisible by the resolution X scale.
  201. *% Warning: the following printable length is adjusted (6512->6510) so it is divisible by the resolution Y scale.
  202. *PrintableArea: PAIR(4475, 6510)
  203. }
  204. }
  205. *% Warning: the following *CursorOrigin Y value is adjusted (6752->6755) so it is divisible by scale of Y move unit.
  206. *CursorOrigin: PAIR(240, 6755)
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.40
  210. *Cmd: "<1D>16psE<1D>1poE"
  211. }
  212. }
  213. }
  214. }
  215. *Option: B5
  216. {
  217. *rcNameID: =B5_DISPLAY
  218. *switch: Orientation
  219. {
  220. *case: PORTRAIT
  221. {
  222. *PrintableArea: PAIR(8120, 11664)
  223. *PrintableOrigin: PAIR(240, 240)
  224. *switch: Resolution
  225. {
  226. *case: 240dpi
  227. {
  228. *% Warning: the following printable length is adjusted (11664->11660) so it is divisible by the resolution Y scale.
  229. *PrintableArea: PAIR(8120, 11660)
  230. }
  231. }
  232. *CursorOrigin: PAIR(240, 240)
  233. *Command: CmdSelect
  234. {
  235. *Order: DOC_SETUP.40
  236. *Cmd: "<1D>25psE"
  237. }
  238. }
  239. *case: LANDSCAPE_CC90
  240. {
  241. *PrintableArea: PAIR(8120, 11664)
  242. *PrintableOrigin: PAIR(240, 240)
  243. *switch: Resolution
  244. {
  245. *case: 240dpi
  246. {
  247. *% Warning: the following printable length is adjusted (11664->11660) so it is divisible by the resolution Y scale.
  248. *PrintableArea: PAIR(8120, 11660)
  249. }
  250. }
  251. *% Warning: the following *CursorOrigin Y value is adjusted (11904->11905) so it is divisible by scale of Y move unit.
  252. *CursorOrigin: PAIR(240, 11905)
  253. *Command: CmdSelect
  254. {
  255. *Order: DOC_SETUP.40
  256. *Cmd: "<1D>25psE<1D>1poE"
  257. }
  258. }
  259. }
  260. }
  261. *Option: LETTER
  262. {
  263. *rcNameID: =LETTER_DISPLAY
  264. *switch: Orientation
  265. {
  266. *case: PORTRAIT
  267. {
  268. *PrintableArea: PAIR(9720, 12720)
  269. *PrintableOrigin: PAIR(240, 240)
  270. *CursorOrigin: PAIR(240, 240)
  271. *Command: CmdSelect
  272. {
  273. *Order: DOC_SETUP.40
  274. *Cmd: "<1D>30psE"
  275. }
  276. }
  277. *case: LANDSCAPE_CC90
  278. {
  279. *PrintableArea: PAIR(9720, 12720)
  280. *PrintableOrigin: PAIR(240, 240)
  281. *CursorOrigin: PAIR(240, 12960)
  282. *Command: CmdSelect
  283. {
  284. *Order: DOC_SETUP.40
  285. *Cmd: "<1D>30psE<1D>1poE"
  286. }
  287. }
  288. }
  289. }
  290. *Option: HLT
  291. {
  292. *rcNameID: =RC_STR_HLT
  293. *PageDimensions: PAIR(6600, 10200)
  294. *switch: Orientation
  295. {
  296. *case: PORTRAIT
  297. {
  298. *PrintableArea: PAIR(6120, 9720)
  299. *PrintableOrigin: PAIR(240, 240)
  300. *CursorOrigin: PAIR(240, 240)
  301. *Command: CmdSelect
  302. {
  303. *Order: DOC_SETUP.40
  304. *Cmd: "<1D>31psE"
  305. }
  306. }
  307. *case: LANDSCAPE_CC90
  308. {
  309. *PrintableArea: PAIR(6120, 9720)
  310. *PrintableOrigin: PAIR(240, 240)
  311. *CursorOrigin: PAIR(240, 9960)
  312. *Command: CmdSelect
  313. {
  314. *Order: DOC_SETUP.40
  315. *Cmd: "<1D>31psE<1D>1poE"
  316. }
  317. }
  318. }
  319. }
  320. *Option: LEGAL
  321. {
  322. *rcNameID: =LEGAL_DISPLAY
  323. *switch: Orientation
  324. {
  325. *case: PORTRAIT
  326. {
  327. *PrintableArea: PAIR(9720, 16320)
  328. *PrintableOrigin: PAIR(240, 240)
  329. *CursorOrigin: PAIR(240, 240)
  330. *Command: CmdSelect
  331. {
  332. *Order: DOC_SETUP.40
  333. *Cmd: "<1D>32psE"
  334. }
  335. }
  336. *case: LANDSCAPE_CC90
  337. {
  338. *PrintableArea: PAIR(9720, 16320)
  339. *PrintableOrigin: PAIR(240, 240)
  340. *CursorOrigin: PAIR(240, 16560)
  341. *Command: CmdSelect
  342. {
  343. *Order: DOC_SETUP.40
  344. *Cmd: "<1D>32psE<1D>1poE"
  345. }
  346. }
  347. }
  348. }
  349. *Option: EXECUTIVE
  350. {
  351. *rcNameID: =EXECUTIVE_DISPLAY
  352. *switch: Orientation
  353. {
  354. *case: PORTRAIT
  355. {
  356. *PrintableArea: PAIR(8220, 12120)
  357. *PrintableOrigin: PAIR(240, 240)
  358. *CursorOrigin: PAIR(240, 240)
  359. *Command: CmdSelect
  360. {
  361. *Order: DOC_SETUP.40
  362. *Cmd: "<1D>33psE"
  363. }
  364. }
  365. *case: LANDSCAPE_CC90
  366. {
  367. *PrintableArea: PAIR(8220, 12120)
  368. *PrintableOrigin: PAIR(240, 240)
  369. *CursorOrigin: PAIR(240, 12360)
  370. *Command: CmdSelect
  371. {
  372. *Order: DOC_SETUP.40
  373. *Cmd: "<1D>33psE<1D>1poE"
  374. }
  375. }
  376. }
  377. }
  378. *Option: GLG
  379. {
  380. *rcNameID: =RC_STR_GLG
  381. *PageDimensions: PAIR(10200, 15600)
  382. *switch: Orientation
  383. {
  384. *case: PORTRAIT
  385. {
  386. *PrintableArea: PAIR(9720, 15120)
  387. *PrintableOrigin: PAIR(240, 240)
  388. *CursorOrigin: PAIR(240, 240)
  389. *Command: CmdSelect
  390. {
  391. *Order: DOC_SETUP.40
  392. *Cmd: "<1D>34psE"
  393. }
  394. }
  395. *case: LANDSCAPE_CC90
  396. {
  397. *PrintableArea: PAIR(9720, 15120)
  398. *PrintableOrigin: PAIR(240, 240)
  399. *CursorOrigin: PAIR(240, 15360)
  400. *Command: CmdSelect
  401. {
  402. *Order: DOC_SETUP.40
  403. *Cmd: "<1D>34psE<1D>1poE"
  404. }
  405. }
  406. }
  407. }
  408. *Option: GLT
  409. {
  410. *rcNameID: =RC_STR_GLT
  411. *PageDimensions: PAIR(9600, 12600)
  412. *switch: Orientation
  413. {
  414. *case: PORTRAIT
  415. {
  416. *PrintableArea: PAIR(9120, 12120)
  417. *PrintableOrigin: PAIR(240, 240)
  418. *CursorOrigin: PAIR(240, 240)
  419. *Command: CmdSelect
  420. {
  421. *Order: DOC_SETUP.40
  422. *Cmd: "<1D>35psE"
  423. }
  424. }
  425. *case: LANDSCAPE_CC90
  426. {
  427. *PrintableArea: PAIR(9120, 12120)
  428. *PrintableOrigin: PAIR(240, 240)
  429. *CursorOrigin: PAIR(240, 12360)
  430. *Command: CmdSelect
  431. {
  432. *Order: DOC_SETUP.40
  433. *Cmd: "<1D>35psE<1D>1poE"
  434. }
  435. }
  436. }
  437. }
  438. *Option: F4
  439. {
  440. *rcNameID: =RC_STR_F4
  441. *PageDimensions: PAIR(9920, 15592)
  442. *switch: Orientation
  443. {
  444. *case: PORTRAIT
  445. {
  446. *PrintableArea: PAIR(9440, 15112)
  447. *PrintableOrigin: PAIR(240, 240)
  448. *switch: Resolution
  449. {
  450. *case: 240dpi
  451. {
  452. *% Warning: the following printable length is adjusted (15112->15110) so it is divisible by the resolution Y scale.
  453. *PrintableArea: PAIR(9440, 15110)
  454. }
  455. }
  456. *CursorOrigin: PAIR(240, 240)
  457. *Command: CmdSelect
  458. {
  459. *Order: DOC_SETUP.40
  460. *Cmd: "<1D>37psE"
  461. }
  462. }
  463. *case: LANDSCAPE_CC90
  464. {
  465. *PrintableArea: PAIR(9440, 15112)
  466. *PrintableOrigin: PAIR(240, 240)
  467. *switch: Resolution
  468. {
  469. *case: 240dpi
  470. {
  471. *% Warning: the following printable length is adjusted (15112->15110) so it is divisible by the resolution Y scale.
  472. *PrintableArea: PAIR(9440, 15110)
  473. }
  474. }
  475. *% Warning: the following *CursorOrigin Y value is adjusted (15352->15355) so it is divisible by scale of Y move unit.
  476. *CursorOrigin: PAIR(240, 15355)
  477. *Command: CmdSelect
  478. {
  479. *Order: DOC_SETUP.40
  480. *Cmd: "<1D>37psE<1D>1poE"
  481. }
  482. }
  483. }
  484. }
  485. *Option: JAPANESE_POSTCARD
  486. {
  487. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  488. *switch: Orientation
  489. {
  490. *case: PORTRAIT
  491. {
  492. *PrintableArea: PAIR(4248, 6516)
  493. *PrintableOrigin: PAIR(240, 240)
  494. *switch: Resolution
  495. {
  496. *case: 240dpi
  497. {
  498. *% Warning: the following printable width is adjusted (4248->4245) so it is divisible by the resolution X scale.
  499. *% Warning: the following printable length is adjusted (6516->6515) so it is divisible by the resolution Y scale.
  500. *PrintableArea: PAIR(4245, 6515)
  501. }
  502. }
  503. *CursorOrigin: PAIR(240, 240)
  504. *Command: CmdSelect
  505. {
  506. *Order: DOC_SETUP.40
  507. *Cmd: "<1D>38psE"
  508. }
  509. }
  510. *case: LANDSCAPE_CC90
  511. {
  512. *PrintableArea: PAIR(4248, 6516)
  513. *PrintableOrigin: PAIR(240, 240)
  514. *switch: Resolution
  515. {
  516. *case: 240dpi
  517. {
  518. *% Warning: the following printable width is adjusted (4248->4245) so it is divisible by the resolution X scale.
  519. *% Warning: the following printable length is adjusted (6516->6515) so it is divisible by the resolution Y scale.
  520. *PrintableArea: PAIR(4245, 6515)
  521. }
  522. }
  523. *% Warning: the following *CursorOrigin Y value is adjusted (6756->6760) so it is divisible by scale of Y move unit.
  524. *CursorOrigin: PAIR(240, 6760)
  525. *Command: CmdSelect
  526. {
  527. *Order: DOC_SETUP.40
  528. *Cmd: "<1D>38psE<1D>1poE"
  529. }
  530. }
  531. }
  532. }
  533. *Option: B4
  534. {
  535. *rcNameID: =B4_DISPLAY
  536. *switch: Orientation
  537. {
  538. *case: PORTRAIT
  539. {
  540. *PrintableArea: PAIR(11664, 16716)
  541. *PrintableOrigin: PAIR(240, 240)
  542. *switch: Resolution
  543. {
  544. *case: 240dpi
  545. {
  546. *% Warning: the following printable width is adjusted (11664->11660) so it is divisible by the resolution X scale.
  547. *% Warning: the following printable length is adjusted (16716->16715) so it is divisible by the resolution Y scale.
  548. *PrintableArea: PAIR(11660, 16715)
  549. }
  550. }
  551. *CursorOrigin: PAIR(240, 240)
  552. *Command: CmdSelect
  553. {
  554. *Order: DOC_SETUP.40
  555. *Cmd: "<1D>24psE"
  556. }
  557. }
  558. *case: LANDSCAPE_CC90
  559. {
  560. *PrintableArea: PAIR(11664, 16716)
  561. *PrintableOrigin: PAIR(240, 240)
  562. *switch: Resolution
  563. {
  564. *case: 240dpi
  565. {
  566. *% Warning: the following printable width is adjusted (11664->11660) so it is divisible by the resolution X scale.
  567. *% Warning: the following printable length is adjusted (16716->16715) so it is divisible by the resolution Y scale.
  568. *PrintableArea: PAIR(11660, 16715)
  569. }
  570. }
  571. *% Warning: the following *CursorOrigin Y value is adjusted (16956->16960) so it is divisible by scale of Y move unit.
  572. *CursorOrigin: PAIR(240, 16960)
  573. *Command: CmdSelect
  574. {
  575. *Order: DOC_SETUP.40
  576. *Cmd: "<1D>24psE<1D>1poE"
  577. }
  578. }
  579. }
  580. }
  581. *Option: CUSTOMSIZE
  582. {
  583. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  584. *MinSize: PAIR(4725, 6995)
  585. *MaxSize: PAIR(12140, 17195)
  586. *MaxPrintableWidth: 12140
  587. *MinLeftMargin: 192
  588. *CenterPrintable?: FALSE
  589. *switch: Orientation
  590. {
  591. *case: PORTRAIT
  592. {
  593. *Command: CmdSelect
  594. {
  595. *Order: DOC_SETUP.40
  596. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 5) }";" %d{(PhysPaperLength / 5) }"psE"
  597. }
  598. }
  599. *case: LANDSCAPE_CC90
  600. {
  601. *Command: CmdSelect
  602. {
  603. *Order: DOC_SETUP.40
  604. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 5) }";" %d{(PhysPaperLength / 5) }"psE<1D>1poE"
  605. }
  606. }
  607. }
  608. }
  609. }
  610. *Feature: Halftone
  611. {
  612. *rcNameID: =HALFTONING_DISPLAY
  613. *DefaultOption: HT_PATSIZE_AUTO
  614. *Option: HT_PATSIZE_AUTO
  615. {
  616. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  617. }
  618. *Option: HT_PATSIZE_SUPERCELL_M
  619. {
  620. *rcNameID: =HT_SUPERCELL_DISPLAY
  621. }
  622. *Option: HT_PATSIZE_6x6_M
  623. {
  624. *rcNameID: =HT_DITHER6X6_DISPLAY
  625. }
  626. *Option: HT_PATSIZE_8x8_M
  627. {
  628. *rcNameID: =HT_DITHER8X8_DISPLAY
  629. }
  630. }
  631. *Feature: RectFill
  632. {
  633. *rcNameID: =RC_STR_RECTFILL
  634. *FeatureType: DOC_PROPERTY
  635. *DefaultOption: Enabled
  636. *Option: Enabled
  637. {
  638. *rcNameID: =RC_STR_ENABLED
  639. *Command: CmdSelect
  640. {
  641. *Order: DOC_SETUP.999
  642. *Cmd: ""
  643. }
  644. }
  645. *Option: Disabled
  646. {
  647. *rcNameID: =RC_STR_DISABLED
  648. *Command: CmdSelect
  649. {
  650. *Order: DOC_SETUP.999
  651. *Cmd: ""
  652. }
  653. }
  654. }
  655. *Feature: VertPrintAdjust
  656. {
  657. *rcNameID: =RC_STR_VPADJUST
  658. *FeatureType: DOC_PROPERTY
  659. *DefaultOption: Enabled
  660. *Option: Enabled
  661. {
  662. *rcNameID: =RC_STR_ENABLED
  663. *Command: CmdSelect
  664. {
  665. *Order: DOC_SETUP.998
  666. *Cmd: ""
  667. }
  668. }
  669. *Option: Disabled
  670. {
  671. *rcNameID: =RC_STR_DISABLED
  672. *Command: CmdSelect
  673. {
  674. *Order: DOC_SETUP.998
  675. *CallbackID: =TEXT_NO_VPADJUST
  676. }
  677. }
  678. }
  679. *Feature: Memory
  680. {
  681. *rcNameID: =PRINTER_MEMORY_DISPLAY
  682. *DefaultOption: 1536KB
  683. *Option: 1536KB
  684. {
  685. *Name: "1.5MB"
  686. *MemoryConfigKB: PAIR(1536, 0)
  687. }
  688. *Option: 3072KB
  689. {
  690. *Name: "3MB"
  691. *MemoryConfigKB: PAIR(3072, 0)
  692. }
  693. }
  694. *Command: CmdStartDoc
  695. {
  696. *Order: DOC_SETUP.10
  697. *Cmd: "<1B>S<1B1B>S<1C1B>z<00001D>rhE<1D>0;0.3muE<1D>1mmE<1D>14isE<1D>2iaF<1D>10ifF<1D>"
  698. + "1ipP"
  699. }
  700. *Command: CmdStartPage
  701. {
  702. *Order: PAGE_SETUP.1
  703. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  704. }
  705. *Command: CmdEndJob
  706. {
  707. *Order: JOB_FINISH.1
  708. *Cmd: "<1D>rhE<1D>1pmE<1B>S<1B1B>SK"
  709. }
  710. *Command: CmdCopies
  711. {
  712. *Order: PAGE_SETUP.7
  713. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  714. }
  715. *RotateCoordinate?: TRUE
  716. *RotateRaster?: TRUE
  717. *RotateFont?: TRUE
  718. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  719. *MemoryUsage: LIST(FONT)
  720. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  721. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  722. *YMoveAttributes: LIST(SEND_CR_FIRST)
  723. *XMoveThreshold: 0
  724. *YMoveThreshold: 0
  725. *XMoveUnit: 240
  726. *YMoveUnit: 240
  727. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 5) }"X" }
  728. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 5) }"H" }
  729. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 5) }"H" }
  730. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 5) }"Y" }
  731. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 5) }"V" }
  732. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 5) }"V" }
  733. *Command: CmdCR { *Cmd : "<0D>" }
  734. *Command: CmdLF { *Cmd : "<0A>" }
  735. *Command: CmdFF { *Cmd : "<0C>" }
  736. *Command: CmdBackSpace { *Cmd : "<08>" }
  737. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  738. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  739. *Command: CmdSetSimpleRotation
  740. {
  741. *CallbackID: =TEXT_PRN_DIRECTION
  742. *Params: LIST(PrintDirInCCDegrees)
  743. }
  744. *EjectPageWithFF?: TRUE
  745. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  746. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  747. *OutputDataFormat: H_BYTE
  748. *OptimizeLeftBound?: FALSE
  749. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  750. *CursorYAfterSendBlockData: NO_MOVE
  751. *DefaultFont: =RC_FONT_MINCHO
  752. *DefaultCTT: 0
  753. *CharPosition: BASELINE
  754. *DeviceFonts: LIST(=RC_FONT_MINCHO,=RC_FONT_MINCHOV,=RC_FONT_KGOTHIC,=RC_FONT_KGOTHICV)
  755. *TTFS: MSMincho
  756. {
  757. *rcTTFontNameID: =RC_TTF_MSMINCHO
  758. *rcDevFontNameID: =RC_DF_MINCHO
  759. }
  760. *TTFS: MSMinchoV
  761. {
  762. *rcTTFontNameID: =RC_TTF_MSMINCHOV
  763. *rcDevFontNameID: =RC_DF_MINCHOV
  764. }
  765. *TTFS: MSGothic
  766. {
  767. *rcTTFontNameID: =RC_TTF_MSGOTHIC
  768. *rcDevFontNameID: =RC_DF_GOTHIC
  769. }
  770. *TTFS: MSGothicV
  771. {
  772. *rcTTFontNameID: =RC_TTF_MSGOTHICV
  773. *rcDevFontNameID: =RC_DF_GOTHICV
  774. }
  775. *TTFS: MSMincho_E
  776. {
  777. *rcTTFontNameID: =RC_TTF_MSMINCHO_E
  778. *rcDevFontNameID: =RC_DF_MINCHO
  779. }
  780. *TTFS: MSMinchoV_E
  781. {
  782. *rcTTFontNameID: =RC_TTF_MSMINCHOV_E
  783. *rcDevFontNameID: =RC_DF_MINCHOV
  784. }
  785. *TTFS: MSGothic_E
  786. {
  787. *rcTTFontNameID: =RC_TTF_MSGOTHIC_E
  788. *rcDevFontNameID: =RC_DF_GOTHIC
  789. }
  790. *TTFS: MSGothicV_E
  791. {
  792. *rcTTFontNameID: =RC_TTF_MSGOTHICV_E
  793. *rcDevFontNameID: =RC_DF_GOTHICV
  794. }
  795. *TTFSEnabled?: =TTFS_ENABLED
  796. *% TTF download not used
  797. *MinFontID: =DOWNLOAD_MIN_FONT_ID_0
  798. *MaxFontID: =DOWNLOAD_MAX_FONT_ID_0
  799. *MaxNumDownFonts: =DOWNLOAD_MAX_FONTS_0
  800. *MinGlyphID: =DOWNLOAD_MIN_GLYPH_ID
  801. *MaxGlyphID: =DOWNLOAD_MAX_GLYPH_ID
  802. *FontFormat: OEM_CALLBACK
  803. *Command: CmdSelectFontID
  804. {
  805. *CallbackID: =DOWNLOAD_SELECT_FONT_ID
  806. *Params: LIST(CurrentFontID)
  807. }
  808. *Command: CmdSetFontID
  809. {
  810. *CallbackID: =DOWNLOAD_SET_FONT_ID
  811. *Params: LIST(CurrentFontID)
  812. }
  813. *Command: CmdSetCharCode
  814. {
  815. *CallbackID: =DOWNLOAD_SET_CHAR_CODE
  816. *Params: LIST(NextGlyph)
  817. }
  818. *Command: CmdDeleteFont
  819. {
  820. *CallbackID: =DOWNLOAD_DELETE_FONT
  821. *Params: LIST(CurrentFontID)
  822. }
  823. *Command: CmdBoldOn
  824. {
  825. *CallbackID: =TEXT_BOLD
  826. *Params: LIST(FontBold)
  827. }
  828. *Command: CmdBoldOff
  829. {
  830. *CallbackID: =TEXT_BOLD
  831. *Params: LIST(FontBold)
  832. }
  833. *Command: CmdItalicOn
  834. {
  835. *CallbackID: =TEXT_ITALIC
  836. *Params: LIST(FontItalic)
  837. }
  838. *Command: CmdItalicOff
  839. {
  840. *CallbackID: =TEXT_ITALIC
  841. *Params: LIST(FontItalic)
  842. }
  843. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  844. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  845. *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  846. *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  847. *Command: CmdSelectWhiteBrush { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  848. *Command: CmdSelectBlackBrush { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  849. *Command: CmdSelectSingleByteMode
  850. {
  851. *CallbackID: =TEXT_SINGLE_BYTE
  852. *Params: LIST(FontBold,FontItalic)
  853. }
  854. *Command: CmdSelectDoubleByteMode
  855. {
  856. *CallbackID: =TEXT_DOUBLE_BYTE
  857. *Params: LIST(FontBold,FontItalic)
  858. }
  859. *Command: CmdVerticalPrintingOn
  860. {
  861. *CallbackID: =TEXT_VERTICAL
  862. }
  863. *Command: CmdVerticalPrintingOff
  864. {
  865. *CallbackID: =TEXT_HORIZONTAL
  866. }
  867. *% Vector Printing / Rectangle Fill
  868. *switch: RectFill
  869. {
  870. *case: Enabled
  871. {
  872. *InsertBlock: =BM_RECTFILL
  873. }
  874. *case: Disabled
  875. {
  876. *% Nothing
  877. }
  878. }