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.

768 lines
21 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "LXOPEPL.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *Include: "ttfsub.gpd"
  10. *ModelName: "Lexmark Optra E+ (MS)"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "lmpclres.dll"
  13. *PrinterType: PAGE
  14. *MaxCopies: 99
  15. *PrintRate: 6
  16. *PrintRatePPM: 6
  17. *PrintRateUnit: PPM
  18. *Feature: Orientation
  19. {
  20. *rcNameID: =ORIENTATION_DISPLAY
  21. *DefaultOption: PORTRAIT
  22. *Option: PORTRAIT
  23. {
  24. *rcNameID: =PORTRAIT_DISPLAY
  25. *Command: CmdSelect
  26. {
  27. *Order: DOC_SETUP.8
  28. *Cmd: "<1B>&l0O"
  29. }
  30. }
  31. *Option: LANDSCAPE_CC90
  32. {
  33. *rcNameID: =LANDSCAPE_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.8
  37. *Cmd: "<1B>&l1O"
  38. }
  39. }
  40. }
  41. *Feature: InputBin
  42. {
  43. *rcNameID: =PAPER_SOURCE_DISPLAY
  44. *DefaultOption: UPPER
  45. *Option: UPPER
  46. {
  47. *rcNameID: =UPPER_TRAY_DISPLAY
  48. *Command: CmdSelect
  49. {
  50. *Order: DOC_SETUP.11
  51. *Cmd: "<1B>&l1H"
  52. }
  53. }
  54. *Option: MANUAL
  55. {
  56. *rcNameID: =MANUAL_FEED_DISPLAY
  57. *Command: CmdSelect
  58. {
  59. *Order: DOC_SETUP.11
  60. *Cmd: "<1B>&l2H"
  61. }
  62. }
  63. *Option: ENVMANUAL
  64. {
  65. *rcNameID: =ENV_MANUAL_DISPLAY
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.11
  69. *Cmd: "<1B>&l3H"
  70. }
  71. }
  72. *Option: LOWER
  73. {
  74. *rcNameID: =LOWER_TRAY_DISPLAY
  75. *Command: CmdSelect
  76. {
  77. *Order: DOC_SETUP.11
  78. *Cmd: "<1B>&l4H"
  79. }
  80. }
  81. }
  82. *Feature: Resolution
  83. {
  84. *rcNameID: =RESOLUTION_DISPLAY
  85. *DefaultOption: Option2
  86. *Option: Option1
  87. {
  88. *Name: "600 x 600 " =DOTS_PER_INCH
  89. *DPI: PAIR(600, 600)
  90. *TextDPI: PAIR(600, 600)
  91. *MinStripBlankPixels: 32
  92. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  93. *SpotDiameter: 100
  94. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  95. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  96. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  97. *Command: CmdSelect
  98. {
  99. *Order: DOC_SETUP.6
  100. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  101. }
  102. }
  103. *Option: Option2
  104. {
  105. *Name: "300 x 300 " =DOTS_PER_INCH
  106. *DPI: PAIR(300, 300)
  107. *TextDPI: PAIR(300, 300)
  108. *MinStripBlankPixels: 32
  109. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  110. *SpotDiameter: 100
  111. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  112. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  113. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  114. *Command: CmdSelect
  115. {
  116. *Order: DOC_SETUP.6
  117. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  118. }
  119. }
  120. }
  121. *Feature: PaperSize
  122. {
  123. *rcNameID: =PAPER_SIZE_DISPLAY
  124. *DefaultOption: LETTER
  125. *Option: LETTER
  126. {
  127. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  128. *PageProtectMem: 4109
  129. *switch: Orientation
  130. {
  131. *case: PORTRAIT
  132. {
  133. *PrintableArea: PAIR(9580, 12800)
  134. *PrintableOrigin: PAIR(420, 200)
  135. *CursorOrigin: PAIR(300, 200)
  136. *Command: CmdSelect
  137. {
  138. *Order: DOC_SETUP.12
  139. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  140. }
  141. }
  142. *case: LANDSCAPE_CC90
  143. {
  144. *PrintableArea: PAIR(9680, 12700)
  145. *PrintableOrigin: PAIR(320, 300)
  146. *CursorOrigin: PAIR(200, 13000)
  147. *Command: CmdSelect
  148. {
  149. *Order: DOC_SETUP.12
  150. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  151. }
  152. }
  153. }
  154. }
  155. *Option: LEGAL
  156. {
  157. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  158. *PageProtectMem: 5230
  159. *switch: Orientation
  160. {
  161. *case: PORTRAIT
  162. {
  163. *PrintableArea: PAIR(9480, 16420)
  164. *PrintableOrigin: PAIR(420, 180)
  165. *CursorOrigin: PAIR(300, 180)
  166. *Command: CmdSelect
  167. {
  168. *Order: DOC_SETUP.12
  169. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  170. }
  171. }
  172. *case: LANDSCAPE_CC90
  173. {
  174. *PrintableArea: PAIR(9680, 16320)
  175. *PrintableOrigin: PAIR(320, 240)
  176. *CursorOrigin: PAIR(200, 16600)
  177. *Command: CmdSelect
  178. {
  179. *Order: DOC_SETUP.12
  180. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  181. }
  182. }
  183. }
  184. }
  185. *Option: EXECUTIVE
  186. {
  187. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  188. *PageProtectMem: 4109
  189. *switch: Orientation
  190. {
  191. *case: PORTRAIT
  192. {
  193. *PrintableArea: PAIR(7980, 12200)
  194. *PrintableOrigin: PAIR(420, 200)
  195. *CursorOrigin: PAIR(300, 180)
  196. *Command: CmdSelect
  197. {
  198. *Order: DOC_SETUP.12
  199. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  200. }
  201. }
  202. *case: LANDSCAPE_CC90
  203. {
  204. *PrintableArea: PAIR(8180, 12100)
  205. *PrintableOrigin: PAIR(320, 300)
  206. *CursorOrigin: PAIR(200, 12400)
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.12
  210. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  211. }
  212. }
  213. }
  214. }
  215. *Option: A4
  216. {
  217. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  218. *PageProtectMem: 4249
  219. *switch: Orientation
  220. {
  221. *case: PORTRAIT
  222. {
  223. *PrintableArea: PAIR(9488, 13628)
  224. *PrintableOrigin: PAIR(280, 200)
  225. *CursorOrigin: PAIR(168, 180)
  226. *Command: CmdSelect
  227. {
  228. *Order: DOC_SETUP.12
  229. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  230. }
  231. }
  232. *case: LANDSCAPE_CC90
  233. {
  234. *PrintableArea: PAIR(9424, 13538)
  235. *PrintableOrigin: PAIR(300, 310)
  236. *switch: Resolution
  237. {
  238. *case: Option2
  239. {
  240. *PrintableArea: PAIR(9424, 13536)
  241. *PrintableOrigin: PAIR(300, 312)
  242. }
  243. }
  244. *CursorOrigin: PAIR(200, 13828)
  245. *Command: CmdSelect
  246. {
  247. *Order: DOC_SETUP.12
  248. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  249. }
  250. }
  251. }
  252. }
  253. *Option: A5
  254. {
  255. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  256. *PageProtectMem: 2125
  257. *switch: Orientation
  258. {
  259. *case: PORTRAIT
  260. {
  261. *PrintableArea: PAIR(6264, 9520)
  262. *PrintableOrigin: PAIR(420, 202)
  263. *switch: Resolution
  264. {
  265. *case: Option2
  266. {
  267. *PrintableArea: PAIR(6264, 9516)
  268. *PrintableOrigin: PAIR(420, 204)
  269. }
  270. }
  271. *CursorOrigin: PAIR(300, 160)
  272. *Command: CmdSelect
  273. {
  274. *Order: DOC_SETUP.12
  275. *Cmd: "<1B>&l13a8c1E<1B>*p0x0Y<1B>*c0t3838x5762Y"
  276. }
  277. }
  278. *case: LANDSCAPE_CC90
  279. {
  280. *PrintableArea: PAIR(6474, 9372)
  281. *PrintableOrigin: PAIR(320, 252)
  282. *switch: Resolution
  283. {
  284. *case: Option2
  285. {
  286. *PrintableArea: PAIR(6472, 9372)
  287. }
  288. }
  289. *CursorOrigin: PAIR(200, 9724)
  290. *Command: CmdSelect
  291. {
  292. *Order: DOC_SETUP.12
  293. *Cmd: "<1B>&l13a8c1E<1B>*p0x0Y<1B>*c0t5594x3958Y"
  294. }
  295. }
  296. }
  297. }
  298. *Option: B5
  299. {
  300. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  301. *PageProtectMem: 3198
  302. *switch: Orientation
  303. {
  304. *case: PORTRAIT
  305. {
  306. *PrintableArea: PAIR(7884, 11740)
  307. *PrintableOrigin: PAIR(420, 202)
  308. *switch: Resolution
  309. {
  310. *case: Option2
  311. {
  312. *PrintableArea: PAIR(7884, 11736)
  313. *PrintableOrigin: PAIR(420, 204)
  314. }
  315. }
  316. *CursorOrigin: PAIR(302, 200)
  317. *Command: CmdSelect
  318. {
  319. *Order: DOC_SETUP.12
  320. *Cmd: "<1B>&l12a8c1E<1B>*p0x0Y<1B>*c0t4802x7094Y"
  321. }
  322. }
  323. *case: LANDSCAPE_CC90
  324. {
  325. *PrintableArea: PAIR(8082, 11640)
  326. *PrintableOrigin: PAIR(320, 252)
  327. *switch: Resolution
  328. {
  329. *case: Option2
  330. {
  331. *PrintableArea: PAIR(8080, 11640)
  332. }
  333. }
  334. *CursorOrigin: PAIR(160, 11944)
  335. *Command: CmdSelect
  336. {
  337. *Order: DOC_SETUP.12
  338. *Cmd: "<1B>&l12a8c1E<1B>*p0x0Y<1B>*c0t6998x4970Y"
  339. }
  340. }
  341. }
  342. }
  343. *Option: ENV_10
  344. {
  345. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  346. *PageProtectMem: 4109
  347. *switch: Orientation
  348. {
  349. *case: PORTRAIT
  350. {
  351. *PrintableArea: PAIR(4344, 11000)
  352. *PrintableOrigin: PAIR(312, 200)
  353. *CursorOrigin: PAIR(312, 160)
  354. *Command: CmdSelect
  355. {
  356. *Order: DOC_SETUP.12
  357. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y"
  358. }
  359. }
  360. *case: LANDSCAPE_CC90
  361. {
  362. *PrintableArea: PAIR(4548, 10920)
  363. *PrintableOrigin: PAIR(204, 240)
  364. *CursorOrigin: PAIR(200, 11196)
  365. *Command: CmdSelect
  366. {
  367. *Order: DOC_SETUP.12
  368. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y"
  369. }
  370. }
  371. }
  372. }
  373. *Option: ENV_DL
  374. {
  375. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  376. *PageProtectMem: 4109
  377. *switch: Orientation
  378. {
  379. *case: PORTRAIT
  380. {
  381. *PrintableArea: PAIR(4628, 9992)
  382. *PrintableOrigin: PAIR(284, 200)
  383. *CursorOrigin: PAIR(284, 160)
  384. *Command: CmdSelect
  385. {
  386. *Order: DOC_SETUP.12
  387. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x5995Y"
  388. }
  389. }
  390. *case: LANDSCAPE_CC90
  391. {
  392. *PrintableArea: PAIR(4796, 9920)
  393. *PrintableOrigin: PAIR(200, 236)
  394. *CursorOrigin: PAIR(200, 10192)
  395. *Command: CmdSelect
  396. {
  397. *Order: DOC_SETUP.12
  398. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5948x2878Y"
  399. }
  400. }
  401. }
  402. }
  403. *Option: ENV_C5
  404. {
  405. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  406. *PageProtectMem: 4109
  407. *switch: Orientation
  408. {
  409. *case: PORTRAIT
  410. {
  411. *PrintableArea: PAIR(7010, 10416)
  412. *PrintableOrigin: PAIR(360, 204)
  413. *switch: Resolution
  414. {
  415. *case: Option2
  416. {
  417. *PrintableArea: PAIR(7008, 10416)
  418. }
  419. }
  420. *CursorOrigin: PAIR(286, 200)
  421. *Command: CmdSelect
  422. {
  423. *Order: DOC_SETUP.12
  424. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4231x6250Y"
  425. }
  426. }
  427. *case: LANDSCAPE_CC90
  428. {
  429. *PrintableArea: PAIR(7134, 10344)
  430. *PrintableOrigin: PAIR(320, 240)
  431. *switch: Resolution
  432. {
  433. *case: Option2
  434. {
  435. *PrintableArea: PAIR(7132, 10344)
  436. }
  437. }
  438. *CursorOrigin: PAIR(200, 10624)
  439. *Command: CmdSelect
  440. {
  441. *Order: DOC_SETUP.12
  442. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6202x4352Y"
  443. }
  444. }
  445. }
  446. }
  447. *Option: ENV_B5
  448. {
  449. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  450. *PageProtectMem: 4109
  451. *switch: Orientation
  452. {
  453. *case: PORTRAIT
  454. {
  455. *PrintableArea: PAIR(7670, 11408)
  456. *PrintableOrigin: PAIR(360, 200)
  457. *switch: Resolution
  458. {
  459. *case: Option2
  460. {
  461. *PrintableArea: PAIR(7668, 11408)
  462. }
  463. }
  464. *CursorOrigin: PAIR(286, 160)
  465. *Command: CmdSelect
  466. {
  467. *Order: DOC_SETUP.12
  468. *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4630x6893Y"
  469. }
  470. }
  471. *case: LANDSCAPE_CC90
  472. {
  473. *PrintableArea: PAIR(7794, 11336)
  474. *PrintableOrigin: PAIR(320, 236)
  475. *switch: Resolution
  476. {
  477. *case: Option2
  478. {
  479. *PrintableArea: PAIR(7792, 11336)
  480. }
  481. }
  482. *CursorOrigin: PAIR(200, 11608)
  483. *Command: CmdSelect
  484. {
  485. *Order: DOC_SETUP.12
  486. *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6725x4750Y"
  487. }
  488. }
  489. }
  490. }
  491. }
  492. *Feature: PrintQuality
  493. {
  494. *rcNameID: =TEXT_QUALITY_DISPLAY
  495. *DefaultOption: Option1
  496. *Option: Option1
  497. {
  498. *rcNameID: 268
  499. *Command: CmdSelect
  500. {
  501. *Order: DOC_SETUP.4
  502. *Cmd: "@PJL SET RET=OFF<0A>@PJL SET ECONOMODE=OFF<0A>"
  503. }
  504. }
  505. *Option: Option2
  506. {
  507. *rcNameID: 284
  508. *Command: CmdSelect
  509. {
  510. *Order: DOC_SETUP.4
  511. *Cmd: "@PJL SET RET=OFF<0A>"
  512. }
  513. }
  514. *Option: Option3
  515. {
  516. *rcNameID: 285
  517. *Command: CmdSelect
  518. {
  519. *Order: DOC_SETUP.4
  520. *Cmd: "@PJL SET RET=ON<0A>"
  521. }
  522. }
  523. *Option: Option4
  524. {
  525. *rcNameID: 294
  526. *Command: CmdSelect
  527. {
  528. *Order: DOC_SETUP.4
  529. *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  530. }
  531. }
  532. *Option: Option5
  533. {
  534. *rcNameID: 295
  535. *Command: CmdSelect
  536. {
  537. *Order: DOC_SETUP.4
  538. *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  539. }
  540. }
  541. }
  542. *Feature: PrintDensity
  543. {
  544. *rcNameID: =PRINTDENSITY_DISPLAY
  545. *DefaultOption: Option1
  546. *Option: Option1
  547. {
  548. *rcNameID: 291
  549. *Command: CmdSelect
  550. {
  551. *Order: DOC_SETUP.2
  552. *Cmd: "@PJL SET DENSITY=1<0A>"
  553. }
  554. }
  555. *Option: Option2
  556. {
  557. *rcNameID: 292
  558. *Command: CmdSelect
  559. {
  560. *Order: DOC_SETUP.2
  561. *Cmd: "@PJL SET DENSITY=3<0A>"
  562. }
  563. }
  564. *Option: Option3
  565. {
  566. *rcNameID: 293
  567. *Command: CmdSelect
  568. {
  569. *Order: DOC_SETUP.2
  570. *Cmd: "@PJL SET DENSITY=5<0A>"
  571. }
  572. }
  573. }
  574. *Feature: Halftone
  575. {
  576. *rcNameID: =HALFTONING_DISPLAY
  577. *DefaultOption: HT_PATSIZE_AUTO
  578. *Option: HT_PATSIZE_AUTO
  579. {
  580. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  581. }
  582. *Option: HT_PATSIZE_6x6_M
  583. {
  584. *rcNameID: =HT_DITHER6X6_DISPLAY
  585. }
  586. *Option: HT_PATSIZE_8x8_M
  587. {
  588. *rcNameID: =HT_DITHER8X8_DISPLAY
  589. }
  590. }
  591. *Feature: Memory
  592. {
  593. *rcNameID: =PRINTER_MEMORY_DISPLAY
  594. *DefaultOption: 2048KB
  595. *Option: 1024KB
  596. {
  597. *Name: "1MB"
  598. *MemoryConfigKB: PAIR(1024, 650)
  599. }
  600. *Option: 2048KB
  601. {
  602. *Name: "2MB"
  603. *MemoryConfigKB: PAIR(2048, 1650)
  604. }
  605. *Option: 3072KB
  606. {
  607. *Name: "3MB"
  608. *MemoryConfigKB: PAIR(3072, 2650)
  609. }
  610. *Option: 4096KB
  611. {
  612. *Name: "4MB"
  613. *MemoryConfigKB: PAIR(4096, 3650)
  614. }
  615. *Option: 5120KB
  616. {
  617. *Name: "5MB"
  618. *MemoryConfigKB: PAIR(5120, 4650)
  619. }
  620. *Option: 6144KB
  621. {
  622. *Name: "6MB"
  623. *MemoryConfigKB: PAIR(6144, 5650)
  624. }
  625. }
  626. *Feature: PageProtect
  627. {
  628. *rcNameID: =PAGE_PROTECTION_DISPLAY
  629. *DefaultOption: OFF
  630. *Option: ON
  631. {
  632. *rcNameID: =ON_DISPLAY
  633. *Command: CmdSelect
  634. {
  635. *Order: DOC_SETUP.1
  636. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=LETTER<0A>"
  637. }
  638. }
  639. *Option: OFF
  640. {
  641. *rcNameID: =OFF_DISPLAY
  642. *Command: CmdSelect
  643. {
  644. *Order: DOC_SETUP.1
  645. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>"
  646. }
  647. }
  648. }
  649. *switch: Memory
  650. {
  651. *case: 1024KB
  652. {
  653. *Command: CmdStartDoc
  654. {
  655. *Order: DOC_SETUP.7
  656. *Cmd: "<1B>&u600D<1B>*r3F"
  657. }
  658. *RotateRaster?: FALSE
  659. }
  660. *case: 2048KB
  661. {
  662. *Command: CmdStartDoc
  663. {
  664. *Order: DOC_SETUP.7
  665. *Cmd: "<1B>&u600D<1B>*r3F"
  666. }
  667. *RotateRaster?: FALSE
  668. }
  669. *case: 3072KB
  670. {
  671. *Command: CmdStartDoc
  672. {
  673. *Order: DOC_SETUP.7
  674. *Cmd: "<1B>&u600D<1B>*r3F"
  675. }
  676. *RotateRaster?: FALSE
  677. }
  678. *default:
  679. {
  680. *Command: CmdStartDoc
  681. {
  682. *Order: DOC_SETUP.7
  683. *Cmd: "<1B>&u600D<1B>*r0F"
  684. }
  685. *RotateRaster?: TRUE
  686. }
  687. }
  688. *Command: CmdStartPage
  689. {
  690. *Order: PAGE_SETUP.1
  691. *Cmd: "<1B>*b0M<0D>"
  692. }
  693. *Command: CmdEndJob
  694. {
  695. *Order: JOB_FINISH.1
  696. *Cmd: "<1B>E<1B>%%-12345X"
  697. }
  698. *Command: CmdCopies
  699. {
  700. *Order: DOC_SETUP.13
  701. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  702. }
  703. *RotateCoordinate?: TRUE
  704. *RotateFont?: TRUE
  705. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  706. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  707. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  708. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  709. *XMoveThreshold: 0
  710. *YMoveThreshold: 0
  711. *XMoveUnit: 600
  712. *YMoveUnit: 600
  713. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  714. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  715. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  716. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  717. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  718. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  719. *Command: CmdCR { *Cmd : "<0D>" }
  720. *Command: CmdLF { *Cmd : "<0A>" }
  721. *Command: CmdFF { *Cmd : "<0C>" }
  722. *Command: CmdBackSpace { *Cmd : "<08>" }
  723. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  724. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  725. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  726. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  727. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  728. *EjectPageWithFF?: TRUE
  729. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  730. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  731. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  732. *OutputDataFormat: H_BYTE
  733. *OptimizeLeftBound?: TRUE
  734. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  735. *CursorYAfterSendBlockData: AUTO_INCREMENT
  736. *TTFSEnabled?: TRUE
  737. *DefaultFont: 1
  738. *DefaultCTT: 0
  739. *CharPosition: BASELINE
  740. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,20,21,
  741. + 22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,
  742. + 38,39,40,41,42,43,44,45,46,47,48,49,50,51,52)
  743. *MinFontID: 16534
  744. *MaxFontID: 32768
  745. *switch: Resolution
  746. {
  747. *case: Option1
  748. {
  749. *FontFormat: HPPCL_OUTLINE
  750. }
  751. *case: Option2
  752. {
  753. *FontFormat: HPPCL_RES
  754. }
  755. }
  756. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  757. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  758. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  759. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  760. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  761. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  762. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  763. *MinGrayFill: 1
  764. *MaxGrayFill: 100
  765. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  766. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  767. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  768. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }