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.

698 lines
21 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *Include: "StdNames.gpd"
  6. *Include: "ttfsub.gpd"
  7. *MasterUnits: PAIR(600, 600)
  8. *ResourceDLL: "Sml8xres.Dll"
  9. *PrinterType: PAGE
  10. *MaxCopies: 99
  11. *Feature: Orientation
  12. {
  13. *rcNameID: =ORIENTATION_DISPLAY
  14. *DefaultOption: PORTRAIT
  15. *Option: PORTRAIT
  16. {
  17. *rcNameID: =PORTRAIT_DISPLAY
  18. *Command: CmdSelect
  19. {
  20. *Order: DOC_SETUP.8
  21. *Cmd: "<1B>&l0O"
  22. }
  23. }
  24. *Option: LANDSCAPE_CC90
  25. {
  26. *rcNameID: =LANDSCAPE_DISPLAY
  27. *Command: CmdSelect
  28. {
  29. *Order: DOC_SETUP.8
  30. *Cmd: "<1B>&l1O"
  31. }
  32. }
  33. }
  34. *Feature: InputBin
  35. {
  36. *rcNameID: =PAPER_SOURCE_DISPLAY
  37. *DefaultOption: UPPER
  38. *Option: UPPER
  39. {
  40. *rcNameID: =UPPER_TRAY_DISPLAY
  41. *Command: CmdSelect
  42. {
  43. *Order: DOC_SETUP.11
  44. *Cmd: "<1B>&l1H"
  45. }
  46. }
  47. *Option: MANUAL
  48. {
  49. *rcNameID: =MANUAL_FEED_DISPLAY
  50. *Command: CmdSelect
  51. {
  52. *Order: DOC_SETUP.11
  53. *Cmd: "<1B>&l2H"
  54. }
  55. }
  56. }
  57. *Feature: Resolution
  58. {
  59. *rcNameID: =RESOLUTION_DISPLAY
  60. *DefaultOption: Option2
  61. *Option: Option1
  62. {
  63. *Name: "600 x 600 " =DOTS_PER_INCH
  64. *DPI: PAIR(600, 600)
  65. *TextDPI: PAIR(600, 600)
  66. *MinStripBlankPixels: 32
  67. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  68. *SpotDiameter: 100
  69. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  70. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  71. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  72. *Command: CmdSelect
  73. {
  74. *Order: DOC_SETUP.6
  75. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  76. }
  77. }
  78. *Option: Option2
  79. {
  80. *Name: "300 x 300 " =DOTS_PER_INCH
  81. *DPI: PAIR(300, 300)
  82. *TextDPI: PAIR(300, 300)
  83. *MinStripBlankPixels: 32
  84. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  85. *SpotDiameter: 100
  86. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  87. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  88. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  89. *Command: CmdSelect
  90. {
  91. *Order: DOC_SETUP.6
  92. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  93. }
  94. }
  95. *Option: Option3
  96. {
  97. *Name: "150 x 150 " =DOTS_PER_INCH
  98. *DPI: PAIR(150, 150)
  99. *TextDPI: PAIR(300, 300)
  100. *MinStripBlankPixels: 32
  101. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  102. *SpotDiameter: 100
  103. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  104. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  105. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  106. *Command: CmdSelect
  107. {
  108. *Order: DOC_SETUP.6
  109. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t150R"
  110. }
  111. }
  112. }
  113. *Feature: PaperSize
  114. {
  115. *rcNameID: =PAPER_SIZE_DISPLAY
  116. *DefaultOption: LETTER
  117. *Option: LETTER
  118. {
  119. *rcNameID: =LETTER_DISPLAY
  120. *PageProtectMem: 4109
  121. *switch: Orientation
  122. {
  123. *case: PORTRAIT
  124. {
  125. *PrintableArea: PAIR(4800, 6330)
  126. *PrintableOrigin: PAIR(150, 150)
  127. *switch: Resolution
  128. {
  129. *case: Option3
  130. {
  131. *PrintableArea: PAIR(4796, 6328)
  132. *PrintableOrigin: PAIR(152, 152)
  133. }
  134. }
  135. *CursorOrigin: PAIR(150, 80)
  136. *Command: CmdSelect
  137. {
  138. *Order: DOC_SETUP.12
  139. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7728Y"
  140. }
  141. }
  142. *case: LANDSCAPE_CC90
  143. {
  144. *PrintableArea: PAIR(4880, 6350)
  145. *PrintableOrigin: PAIR(100, 150)
  146. *switch: Resolution
  147. {
  148. *case: Option3
  149. {
  150. *PrintableArea: PAIR(4880, 6348)
  151. *PrintableOrigin: PAIR(100, 152)
  152. }
  153. }
  154. *CursorOrigin: PAIR(100, 6500)
  155. *Command: CmdSelect
  156. {
  157. *Order: DOC_SETUP.12
  158. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7560x5880Y"
  159. }
  160. }
  161. }
  162. }
  163. *Option: LEGAL
  164. {
  165. *rcNameID: =LEGAL_DISPLAY
  166. *PageProtectMem: 5230
  167. *switch: Orientation
  168. {
  169. *case: PORTRAIT
  170. {
  171. *PrintableArea: PAIR(4800, 8130)
  172. *PrintableOrigin: PAIR(150, 150)
  173. *switch: Resolution
  174. {
  175. *case: Option3
  176. {
  177. *PrintableArea: PAIR(4796, 8128)
  178. *PrintableOrigin: PAIR(152, 152)
  179. }
  180. }
  181. *CursorOrigin: PAIR(150, 80)
  182. *Command: CmdSelect
  183. {
  184. *Order: DOC_SETUP.12
  185. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9888Y"
  186. }
  187. }
  188. *case: LANDSCAPE_CC90
  189. {
  190. *PrintableArea: PAIR(4880, 8100)
  191. *PrintableOrigin: PAIR(100, 150)
  192. *switch: Resolution
  193. {
  194. *case: Option3
  195. {
  196. *PrintableArea: PAIR(4880, 8096)
  197. *PrintableOrigin: PAIR(100, 152)
  198. }
  199. }
  200. *CursorOrigin: PAIR(100, 8250)
  201. *Command: CmdSelect
  202. {
  203. *Order: DOC_SETUP.12
  204. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9720x5880Y"
  205. }
  206. }
  207. }
  208. }
  209. *Option: EXECUTIVE
  210. {
  211. *rcNameID: =EXECUTIVE_DISPLAY
  212. *PageProtectMem: 4109
  213. *switch: Orientation
  214. {
  215. *case: PORTRAIT
  216. {
  217. *PrintableArea: PAIR(4050, 6030)
  218. *PrintableOrigin: PAIR(150, 150)
  219. *switch: Resolution
  220. {
  221. *case: Option3
  222. {
  223. *PrintableArea: PAIR(4048, 6028)
  224. *PrintableOrigin: PAIR(152, 152)
  225. }
  226. }
  227. *CursorOrigin: PAIR(150, 80)
  228. *Command: CmdSelect
  229. {
  230. *Order: DOC_SETUP.12
  231. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7368Y"
  232. }
  233. }
  234. *case: LANDSCAPE_CC90
  235. {
  236. *PrintableArea: PAIR(4090, 6000)
  237. *PrintableOrigin: PAIR(110, 150)
  238. *switch: Resolution
  239. {
  240. *case: Option3
  241. {
  242. *PrintableArea: PAIR(4088, 5996)
  243. *PrintableOrigin: PAIR(112, 152)
  244. }
  245. }
  246. *CursorOrigin: PAIR(100, 6150)
  247. *Command: CmdSelect
  248. {
  249. *Order: DOC_SETUP.12
  250. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7200x4980Y"
  251. }
  252. }
  253. }
  254. }
  255. *Option: A4
  256. {
  257. *rcNameID: =A4_DISPLAY
  258. *PageProtectMem: 4249
  259. *switch: Orientation
  260. {
  261. *case: PORTRAIT
  262. {
  263. *PrintableArea: PAIR(4676, 6644)
  264. *PrintableOrigin: PAIR(130, 150)
  265. *switch: Resolution
  266. {
  267. *case: Option3
  268. {
  269. *PrintableArea: PAIR(4672, 6640)
  270. *PrintableOrigin: PAIR(132, 152)
  271. }
  272. }
  273. *CursorOrigin: PAIR(130, 80)
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.12
  277. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5642x8225Y"
  278. }
  279. }
  280. *case: LANDSCAPE_CC90
  281. {
  282. *PrintableArea: PAIR(4702, 6764)
  283. *PrintableOrigin: PAIR(110, 150)
  284. *switch: Resolution
  285. {
  286. *case: Option3
  287. {
  288. *PrintableArea: PAIR(4700, 6760)
  289. *PrintableOrigin: PAIR(112, 152)
  290. }
  291. }
  292. *CursorOrigin: PAIR(100, 6914)
  293. *Command: CmdSelect
  294. {
  295. *Order: DOC_SETUP.12
  296. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8057x5714Y"
  297. }
  298. }
  299. }
  300. }
  301. *Option: ENV_10
  302. {
  303. *rcNameID: =ENV_10_DISPLAY
  304. *PageProtectMem: 4109
  305. *switch: Orientation
  306. {
  307. *case: PORTRAIT
  308. {
  309. *PrintableArea: PAIR(2168, 5400)
  310. *PrintableOrigin: PAIR(150, 150)
  311. *switch: Resolution
  312. {
  313. *case: Option3
  314. {
  315. *PrintableArea: PAIR(2164, 5396)
  316. *PrintableOrigin: PAIR(152, 152)
  317. }
  318. }
  319. *CursorOrigin: PAIR(150, 90)
  320. *Command: CmdSelect
  321. {
  322. *Order: DOC_SETUP.12
  323. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6624Y"
  324. }
  325. }
  326. *case: LANDSCAPE_CC90
  327. {
  328. *PrintableArea: PAIR(2178, 5400)
  329. *PrintableOrigin: PAIR(150, 150)
  330. *switch: Resolution
  331. {
  332. *case: Option3
  333. {
  334. *PrintableArea: PAIR(2176, 5396)
  335. *PrintableOrigin: PAIR(152, 152)
  336. }
  337. }
  338. *CursorOrigin: PAIR(100, 5550)
  339. *Command: CmdSelect
  340. {
  341. *Order: DOC_SETUP.12
  342. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  343. }
  344. }
  345. }
  346. }
  347. *Option: ENV_DL
  348. {
  349. *rcNameID: =ENV_DL_DISPLAY
  350. *PageProtectMem: 4109
  351. *switch: Orientation
  352. {
  353. *case: PORTRAIT
  354. {
  355. *PrintableArea: PAIR(2288, 4896)
  356. *PrintableOrigin: PAIR(150, 150)
  357. *switch: Resolution
  358. {
  359. *case: Option3
  360. {
  361. *PrintableArea: PAIR(2284, 4892)
  362. *PrintableOrigin: PAIR(152, 152)
  363. }
  364. }
  365. *CursorOrigin: PAIR(150, 90)
  366. *Command: CmdSelect
  367. {
  368. *Order: DOC_SETUP.12
  369. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2757x6019Y"
  370. }
  371. }
  372. *case: LANDSCAPE_CC90
  373. {
  374. *PrintableArea: PAIR(2298, 4896)
  375. *PrintableOrigin: PAIR(150, 150)
  376. *switch: Resolution
  377. {
  378. *case: Option3
  379. {
  380. *PrintableArea: PAIR(2296, 4892)
  381. *PrintableOrigin: PAIR(152, 152)
  382. }
  383. }
  384. *CursorOrigin: PAIR(100, 5046)
  385. *Command: CmdSelect
  386. {
  387. *Order: DOC_SETUP.12
  388. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  389. }
  390. }
  391. }
  392. }
  393. *Option: ENV_C5
  394. {
  395. *rcNameID: =ENV_C5_DISPLAY
  396. *PageProtectMem: 4109
  397. *switch: Orientation
  398. {
  399. *case: PORTRAIT
  400. {
  401. *PrintableArea: PAIR(3518, 5112)
  402. *PrintableOrigin: PAIR(150, 150)
  403. *switch: Resolution
  404. {
  405. *case: Option3
  406. {
  407. *PrintableArea: PAIR(3516, 5108)
  408. *PrintableOrigin: PAIR(152, 152)
  409. }
  410. }
  411. *CursorOrigin: PAIR(150, 90)
  412. *Command: CmdSelect
  413. {
  414. *Order: DOC_SETUP.12
  415. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6278Y"
  416. }
  417. }
  418. *case: LANDSCAPE_CC90
  419. {
  420. *PrintableArea: PAIR(3528, 5112)
  421. *PrintableOrigin: PAIR(150, 150)
  422. *switch: Resolution
  423. {
  424. *case: Option3
  425. {
  426. *PrintableArea: PAIR(3524, 5108)
  427. *PrintableOrigin: PAIR(152, 152)
  428. }
  429. }
  430. *CursorOrigin: PAIR(100, 5262)
  431. *Command: CmdSelect
  432. {
  433. *Order: DOC_SETUP.12
  434. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  435. }
  436. }
  437. }
  438. }
  439. *Option: ENV_MONARCH
  440. {
  441. *rcNameID: =ENV_MONARCH_DISPLAY
  442. *PageProtectMem: 4109
  443. *switch: Orientation
  444. {
  445. *case: PORTRAIT
  446. {
  447. *PrintableArea: PAIR(2018, 4200)
  448. *PrintableOrigin: PAIR(150, 150)
  449. *switch: Resolution
  450. {
  451. *case: Option3
  452. {
  453. *PrintableArea: PAIR(2016, 4196)
  454. *PrintableOrigin: PAIR(152, 152)
  455. }
  456. }
  457. *CursorOrigin: PAIR(150, 90)
  458. *Command: CmdSelect
  459. {
  460. *Order: DOC_SETUP.12
  461. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5184Y"
  462. }
  463. }
  464. *case: LANDSCAPE_CC90
  465. {
  466. *PrintableArea: PAIR(2028, 4200)
  467. *PrintableOrigin: PAIR(150, 150)
  468. *switch: Resolution
  469. {
  470. *case: Option3
  471. {
  472. *PrintableArea: PAIR(2024, 4196)
  473. *PrintableOrigin: PAIR(152, 152)
  474. }
  475. }
  476. *CursorOrigin: PAIR(100, 4350)
  477. *Command: CmdSelect
  478. {
  479. *Order: DOC_SETUP.12
  480. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2557Y"
  481. }
  482. }
  483. }
  484. }
  485. *Option: ENV_B5
  486. {
  487. *rcNameID: =ENV_B5_DISPLAY
  488. *PageProtectMem: 4109
  489. *switch: Orientation
  490. {
  491. *case: PORTRAIT
  492. {
  493. *PrintableArea: PAIR(3858, 5604)
  494. *PrintableOrigin: PAIR(150, 150)
  495. *switch: Resolution
  496. {
  497. *case: Option3
  498. {
  499. *PrintableArea: PAIR(3856, 5600)
  500. *PrintableOrigin: PAIR(152, 152)
  501. }
  502. }
  503. *CursorOrigin: PAIR(150, 90)
  504. *Command: CmdSelect
  505. {
  506. *Order: DOC_SETUP.12
  507. *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4630x6869Y"
  508. }
  509. }
  510. *case: LANDSCAPE_CC90
  511. {
  512. *PrintableArea: PAIR(3858, 5604)
  513. *PrintableOrigin: PAIR(150, 150)
  514. *switch: Resolution
  515. {
  516. *case: Option3
  517. {
  518. *PrintableArea: PAIR(3856, 5600)
  519. *PrintableOrigin: PAIR(152, 152)
  520. }
  521. }
  522. *CursorOrigin: PAIR(100, 5754)
  523. *Command: CmdSelect
  524. {
  525. *Order: DOC_SETUP.12
  526. *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6725x4750Y"
  527. }
  528. }
  529. }
  530. }
  531. }
  532. *Feature: Halftone
  533. {
  534. *rcNameID: =HALFTONING_DISPLAY
  535. *DefaultOption: HT_PATSIZE_AUTO
  536. *Option: HT_PATSIZE_AUTO
  537. {
  538. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  539. }
  540. *Option: HT_PATSIZE_6x6_M
  541. {
  542. *rcNameID: =HT_DITHER6X6_DISPLAY
  543. }
  544. *Option: HT_PATSIZE_8x8_M
  545. {
  546. *rcNameID: =HT_DITHER8X8_DISPLAY
  547. }
  548. }
  549. *Feature: Memory
  550. {
  551. *rcNameID: =PRINTER_MEMORY_DISPLAY
  552. *DefaultOption: 2048KB
  553. *Option: 2048KB
  554. {
  555. *Name: "2MB"
  556. *MemoryConfigKB: PAIR(2048, 1350)
  557. }
  558. *Option: 3072KB
  559. {
  560. *Name: "3MB"
  561. *MemoryConfigKB: PAIR(3072, 2250)
  562. }
  563. *Option: 4096KB
  564. {
  565. *Name: "4MB"
  566. *MemoryConfigKB: PAIR(4096, 3150)
  567. }
  568. *Option: 6144KB
  569. {
  570. *Name: "6MB"
  571. *MemoryConfigKB: PAIR(6144, 4950)
  572. }
  573. *Option: 10240KB
  574. {
  575. *Name: "10MB"
  576. *MemoryConfigKB: PAIR(10240, 8550)
  577. }
  578. *Option: 18432KB
  579. {
  580. *Name: "18MB"
  581. *MemoryConfigKB: PAIR(18432, 15750)
  582. }
  583. }
  584. *Feature: PageProtect
  585. {
  586. *rcNameID: =PAGE_PROTECTION_DISPLAY
  587. *DefaultOption: OFF
  588. *Option: ON
  589. {
  590. *rcNameID: =ON_DISPLAY
  591. *Command: CmdSelect
  592. {
  593. *Order: DOC_SETUP.1
  594. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=ON<0A>"
  595. }
  596. }
  597. *Option: OFF
  598. {
  599. *rcNameID: =OFF_DISPLAY
  600. *Command: CmdSelect
  601. {
  602. *Order: DOC_SETUP.1
  603. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=AUTO<0A>"
  604. }
  605. }
  606. }
  607. *Command: CmdStartDoc
  608. {
  609. *Order: DOC_SETUP.7
  610. *Cmd: "<1B>&u600D<1B>*r0F"
  611. }
  612. *Command: CmdStartPage
  613. {
  614. *Order: PAGE_SETUP.1
  615. *Cmd: "<1B>*b0M<0D>"
  616. }
  617. *Command: CmdEndJob
  618. {
  619. *Order: JOB_FINISH.1
  620. *Cmd: "<1B>E<1B>%%-12345X"
  621. }
  622. *Command: CmdCopies
  623. {
  624. *Order: DOC_SETUP.13
  625. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  626. }
  627. *RotateCoordinate?: TRUE
  628. *RotateRaster?: TRUE
  629. *RotateFont?: TRUE
  630. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  631. *MemoryUsage: LIST(FONT)
  632. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  633. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  634. *XMoveThreshold: 0
  635. *YMoveThreshold: 0
  636. *XMoveUnit: 600
  637. *YMoveUnit: 600
  638. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  639. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,4800]{max_repeat(DestXRel )}"X" }
  640. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{max_repeat(DestXRel )}"X" }
  641. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  642. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  643. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  644. *Command: CmdCR { *Cmd : "<0D>" }
  645. *Command: CmdLF { *Cmd : "<0A>" }
  646. *Command: CmdFF { *Cmd : "<0C>" }
  647. *Command: CmdBackSpace { *Cmd : "<08>" }
  648. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  649. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  650. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  651. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  652. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  653. *EjectPageWithFF?: TRUE
  654. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  655. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  656. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  657. *OutputDataFormat: H_BYTE
  658. *OptimizeLeftBound?: TRUE
  659. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  660. *CursorYAfterSendBlockData: AUTO_INCREMENT
  661. *DefaultFont: 1
  662. *DefaultCTT: 0
  663. *CharPosition: BASELINE
  664. *TTFSEnabled?: TRUE
  665. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  666. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  667. + 33,34,35,36,37,38,39,40,41,42,43,44,45,46,47)
  668. *MinFontID: 16534
  669. *MaxFontID: 32768
  670. *switch: Resolution
  671. {
  672. *case: Option1
  673. {
  674. *FontFormat: HPPCL_OUTLINE
  675. }
  676. *case: Option2
  677. {
  678. *FontFormat: HPPCL_RES
  679. }
  680. *case: Option3
  681. {
  682. *FontFormat: HPPCL_RES
  683. }
  684. }
  685. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  686. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  687. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  688. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  689. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  690. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  691. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  692. *MinGrayFill: 1
  693. *MaxGrayFill: 100
  694. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  695. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  696. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  697. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  698. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }