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.

547 lines
20 KiB

  1. *GPDSpecVersion: "1.0"
  2. *Include: "StdNames.gpd"
  3. *ModelName: "OEM Unidrv Customization Sample"
  4. *MasterUnits: PAIR(1200, 1200)
  5. *ResourceDLL: "unires.dll"
  6. *PrinterType: PAGE
  7. *MaxCopies: 99
  8. *PrintRate: 8
  9. *PrintRateUnit: PPM
  10. *PrintRatePPM: 8
  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.6
  21. *Cmd: "<1B>&l0O"
  22. }
  23. }
  24. *Option: LANDSCAPE_CC90
  25. {
  26. *rcNameID: =LANDSCAPE_DISPLAY
  27. *Command: CmdSelect
  28. {
  29. *Order: DOC_SETUP.6
  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.9
  44. *Cmd: "<1B>&l1H"
  45. }
  46. }
  47. }
  48. *Feature: Resolution
  49. {
  50. *rcNameID: =RESOLUTION_DISPLAY
  51. *DefaultOption: Option1
  52. *Option: Option1
  53. {
  54. *Name: "300 x 300 " =DOTS_PER_INCH
  55. *DPI: PAIR(300, 300)
  56. *TextDPI: PAIR(300, 300)
  57. *MinStripBlankPixels: 32
  58. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  59. *SpotDiameter: 100
  60. *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
  61. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  62. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  63. *Command: CmdSelect
  64. {
  65. *Order: DOC_SETUP.4
  66. *Cmd: "<1B>%%-12345X"
  67. + "@PJL COMMENT HP Color LaserJet 5/5M "
  68. + "Version 0.56<0A>"
  69. + "@PJL SET RESOLUTION=300<0A>"
  70. + "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  71. }
  72. }
  73. *Option: Option2
  74. {
  75. *Name: "150 x 150 " =DOTS_PER_INCH
  76. *DPI: PAIR(150, 150)
  77. *TextDPI: PAIR(300, 300)
  78. *MinStripBlankPixels: 32
  79. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  80. *SpotDiameter: 100
  81. *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
  82. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  84. *Command: CmdSelect
  85. {
  86. *Order: DOC_SETUP.4
  87. *Cmd: "<1B>%%-12345X"
  88. + "@PJL COMMENT HP Color LaserJet 5/5M "
  89. + "Version 0.56<0A>"
  90. + "@PJL SET RESOLUTION=150<0A>"
  91. + "@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  92. }
  93. }
  94. }
  95. *Feature: PaperSize
  96. {
  97. *rcNameID: =PAPER_SIZE_DISPLAY
  98. *DefaultOption: LETTER
  99. *Option: LETTER
  100. {
  101. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  102. *switch: Orientation
  103. {
  104. *case: PORTRAIT
  105. {
  106. *%(9600, 12648)
  107. *% *PrintableArea: PAIR(9600, 12648)
  108. *PrintableArea: PAIR(9564, 12600)
  109. *% *PrintableArea: PAIR(5000,5000)
  110. *PrintableOrigin: PAIR(300, 300)
  111. *% *PrintableOrigin: PAIR(300, 500)
  112. *switch: Resolution
  113. {
  114. *case: Option2
  115. {
  116. *% Warning: the following printable width is adjusted (9600->9592) so it is divisible by the resolution X scale.
  117. *% Warning: the following printable length is adjusted (12648->12640) so it is divisible by the resolution Y scale.
  118. *PrintableArea: PAIR(9592, 12640)
  119. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  120. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  121. *PrintableOrigin: PAIR(304, 304)
  122. }
  123. }
  124. *CursorOrigin: PAIR(300, 180)
  125. *Command: CmdSelect
  126. {
  127. *%5760 -- 7560
  128. *Order: DOC_SETUP.10
  129. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7604Y"
  130. }
  131. }
  132. *case: LANDSCAPE_CC90
  133. {
  134. *%(9720, 12648)
  135. *PrintableArea: PAIR(9760, 12688)
  136. *PrintableOrigin: PAIR(200, 272)
  137. *CursorOrigin: PAIR(200, 12960)
  138. *Command: CmdSelect
  139. {
  140. *Order: DOC_SETUP.10
  141. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  142. }
  143. }
  144. }
  145. }
  146. *Option: LEGAL
  147. {
  148. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  149. *switch: Orientation
  150. {
  151. *case: PORTRAIT
  152. {
  153. *PrintableArea: PAIR(9540, 16248)
  154. *PrintableOrigin: PAIR(300, 300)
  155. *switch: Resolution
  156. {
  157. *case: Option2
  158. {
  159. *% Warning: the following printable width is adjusted (9600->9592) so it is divisible by the resolution X scale.
  160. *% Warning: the following printable length is adjusted (16248->16240) so it is divisible by the resolution Y scale.
  161. *PrintableArea: PAIR(9592, 16240)
  162. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  163. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  164. *PrintableOrigin: PAIR(304, 304)
  165. }
  166. }
  167. *CursorOrigin: PAIR(300, 180)
  168. *Command: CmdSelect
  169. {
  170. *Order: DOC_SETUP.10
  171. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  172. }
  173. }
  174. *case: LANDSCAPE_CC90
  175. {
  176. *PrintableArea: PAIR(9760, 16288)
  177. *PrintableOrigin: PAIR(200, 272)
  178. *CursorOrigin: PAIR(200, 16560)
  179. *Command: CmdSelect
  180. {
  181. *Order: DOC_SETUP.10
  182. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  183. }
  184. }
  185. }
  186. }
  187. *Option: EXECUTIVE
  188. {
  189. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  190. *switch: Orientation
  191. {
  192. *case: PORTRAIT
  193. {
  194. *PrintableArea: PAIR(8100, 12000)
  195. *PrintableOrigin: PAIR(300, 300)
  196. *switch: Resolution
  197. {
  198. *case: Option2
  199. {
  200. *% Warning: the following printable width is adjusted (8100->8096) so it is divisible by the resolution X scale.
  201. *% Warning: the following printable length is adjusted (12000->11992) so it is divisible by the resolution Y scale.
  202. *PrintableArea: PAIR(8096, 11992)
  203. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  204. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  205. *PrintableOrigin: PAIR(304, 304)
  206. }
  207. }
  208. *CursorOrigin: PAIR(300, 180)
  209. *Command: CmdSelect
  210. {
  211. *Order: DOC_SETUP.10
  212. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  213. }
  214. }
  215. *case: LANDSCAPE_CC90
  216. {
  217. *PrintableArea: PAIR(8200, 12080)
  218. *PrintableOrigin: PAIR(240, 280)
  219. *CursorOrigin: PAIR(200, 12360)
  220. *Command: CmdSelect
  221. {
  222. *Order: DOC_SETUP.10
  223. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  224. }
  225. }
  226. }
  227. }
  228. *Option: A4
  229. {
  230. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  231. *switch: Orientation
  232. {
  233. *case: PORTRAIT
  234. {
  235. *PrintableArea: PAIR(9324, 13476)
  236. *PrintableOrigin: PAIR(300, 300)
  237. *switch: Resolution
  238. {
  239. *case: Option2
  240. {
  241. *% Warning: the following printable width is adjusted (9324->9320) so it is divisible by the resolution X scale.
  242. *% Warning: the following printable length is adjusted (13476->13472) so it is divisible by the resolution Y scale.
  243. *PrintableArea: PAIR(9320, 13472)
  244. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  245. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  246. *PrintableOrigin: PAIR(304, 304)
  247. }
  248. }
  249. *CursorOrigin: PAIR(300, 180)
  250. *Command: CmdSelect
  251. {
  252. *Order: DOC_SETUP.10
  253. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  254. }
  255. }
  256. *case: LANDSCAPE_CC90
  257. {
  258. *PrintableArea: PAIR(9464, 13516)
  259. *PrintableOrigin: PAIR(220, 272)
  260. *switch: Resolution
  261. {
  262. *case: Option2
  263. {
  264. *% Warning: the following printable width is adjusted (9464->9456) so it is divisible by the resolution X scale.
  265. *% Warning: the following printable length is adjusted (13516->13512) so it is divisible by the resolution Y scale.
  266. *PrintableArea: PAIR(9456, 13512)
  267. *% Warning: the following printable origin X is adjusted (220->224) so it is divisible by the resolution X scale.
  268. *PrintableOrigin: PAIR(224, 272)
  269. }
  270. }
  271. *CursorOrigin: PAIR(200, 13788)
  272. *Command: CmdSelect
  273. {
  274. *Order: DOC_SETUP.10
  275. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  276. }
  277. }
  278. }
  279. }
  280. *Option: A3
  281. {
  282. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  283. *switch: Orientation
  284. {
  285. *case: PORTRAIT
  286. {
  287. *PrintableArea: PAIR(13428, 19308)
  288. *PrintableOrigin: PAIR(300, 300)
  289. *switch: Resolution
  290. {
  291. *case: Option2
  292. {
  293. *% Warning: the following printable width is adjusted (13428->13424) so it is divisible by the resolution X scale.
  294. *% Warning: the following printable length is adjusted (19308->19304) so it is divisible by the resolution Y scale.
  295. *PrintableArea: PAIR(13424, 19304)
  296. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  297. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  298. *PrintableOrigin: PAIR(304, 304)
  299. }
  300. }
  301. *CursorOrigin: PAIR(300, 180)
  302. *Command: CmdSelect
  303. {
  304. *Order: DOC_SETUP.10
  305. *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8057x11693Y"
  306. }
  307. }
  308. *case: LANDSCAPE_CC90
  309. {
  310. *PrintableArea: PAIR(13588, 19368)
  311. *PrintableOrigin: PAIR(200, 240)
  312. *switch: Resolution
  313. {
  314. *case: Option2
  315. {
  316. *% Warning: the following printable width is adjusted (13588->13584) so it is divisible by the resolution X scale.
  317. *PrintableArea: PAIR(13584, 19368)
  318. }
  319. }
  320. *CursorOrigin: PAIR(200, 19608)
  321. *Command: CmdSelect
  322. {
  323. *Order: DOC_SETUP.10
  324. *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  325. }
  326. }
  327. }
  328. }
  329. *Option: TABLOID
  330. {
  331. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  332. *switch: Orientation
  333. {
  334. *case: PORTRAIT
  335. {
  336. *% *PrintableArea: PAIR(12600, 19800)
  337. *PrintableArea: PAIR(12540, 19740)
  338. *PrintableOrigin: PAIR(300, 300)
  339. *switch: Resolution
  340. {
  341. *case: Option2
  342. {
  343. *% Warning: the following printable width is adjusted (12600->12592) so it is divisible by the resolution X scale.
  344. *% Warning: the following printable length is adjusted (19800->19792) so it is divisible by the resolution Y scale.
  345. *PrintableArea: PAIR(12592, 19792)
  346. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  347. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  348. *PrintableOrigin: PAIR(304, 304)
  349. }
  350. }
  351. *CursorOrigin: PAIR(300, 200)
  352. *Command: CmdSelect
  353. {
  354. *Order: DOC_SETUP.10
  355. *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  356. }
  357. }
  358. *case: LANDSCAPE_CC90
  359. {
  360. *PrintableArea: PAIR(12600, 19800)
  361. *PrintableOrigin: PAIR(300, 300)
  362. *switch: Resolution
  363. {
  364. *case: Option2
  365. {
  366. *% Warning: the following printable width is adjusted (12600->12592) so it is divisible by the resolution X scale.
  367. *% Warning: the following printable length is adjusted (19800->19792) so it is divisible by the resolution Y scale.
  368. *PrintableArea: PAIR(12592, 19792)
  369. *% Warning: the following printable origin X is adjusted (300->304) so it is divisible by the resolution X scale.
  370. *% Warning: the following printable origin Y is adjusted (300->304) so it is divisible by the resolution Y scale.
  371. *PrintableOrigin: PAIR(304, 304)
  372. }
  373. }
  374. *CursorOrigin: PAIR(200, 20100)
  375. *Command: CmdSelect
  376. {
  377. *Order: DOC_SETUP.10
  378. *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11880x7680Y"
  379. }
  380. }
  381. }
  382. }
  383. }
  384. *Feature: MediaType
  385. {
  386. *rcNameID: =MEDIA_TYPE_DISPLAY
  387. *DefaultOption: STANDARD
  388. *Option: STANDARD
  389. {
  390. *rcNameID: =PLAIN_PAPER_DISPLAY
  391. *Command: CmdSelect
  392. {
  393. *Order: DOC_SETUP.14
  394. *Cmd: "<1B>&l0M"
  395. }
  396. }
  397. *Option: TRANSPARENCY
  398. {
  399. *rcNameID: =TRANSPARENCY_DISPLAY
  400. *Command: CmdSelect
  401. {
  402. *Order: DOC_SETUP.14
  403. *Cmd: "<1B>&l4M"
  404. }
  405. }
  406. }
  407. *Feature: ColorMode
  408. {
  409. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  410. *HelpIndex: 12004
  411. *DefaultOption: 24bpp
  412. *Option: 24bpp
  413. {
  414. *rcNameID: =24BPP_DISPLAY
  415. *DevNumOfPlanes: 1
  416. *DevBPP: 24
  417. *DrvBPP: 24
  418. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  419. *PaletteSize: 256
  420. *PaletteProgrammable? : TRUE
  421. *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
  422. + "I" }
  423. *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  424. *Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" }
  425. *Command: CmdSelect
  426. {
  427. *Order: PAGE_SETUP.16
  428. *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<0003080808081B>*v0a0b0c7i255a255b255c0I<1B>*"
  429. + "o3W<060400>"
  430. }
  431. }
  432. }
  433. *Feature: Halftone
  434. {
  435. *rcNameID: =HALFTONING_DISPLAY
  436. *HelpIndex: 12005
  437. *DefaultOption: HT_PATSIZE_AUTO
  438. *Option: HT_PATSIZE_AUTO
  439. {
  440. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  441. }
  442. *Option: HT_PATSIZE_SUPERCELL_M
  443. {
  444. *rcNameID: =HT_SUPERCELL_DISPLAY
  445. }
  446. *Option: HT_PATSIZE_6x6_M
  447. {
  448. *rcNameID: =HT_DITHER6X6_DISPLAY
  449. }
  450. *Option: HT_PATSIZE_8x8_M
  451. {
  452. *rcNameID: =HT_DITHER8X8_DISPLAY
  453. }
  454. }
  455. *Command: CmdStartDoc
  456. {
  457. *Order: DOC_SETUP.5
  458. *Cmd: "<1B>&u300D<1B>*r0F"
  459. }
  460. *Command: CmdStartPage
  461. {
  462. *Order: PAGE_SETUP.1
  463. *Cmd: "<1B>*b0M<0D>"
  464. }
  465. *Command: CmdEndJob
  466. {
  467. *Order: JOB_FINISH.1
  468. *Cmd: "<1B>E<1B>%%-12345X"
  469. }
  470. *Command: CmdCopies
  471. {
  472. *Order: DOC_SETUP.11
  473. *Cmd: "<1B>&l" %d{NumOfCopies}"X"
  474. }
  475. *RotateCoordinate?: TRUE
  476. *RotateRaster?: TRUE
  477. *RotateFont?: TRUE
  478. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  479. *MemoryUsage: LIST(FONT)
  480. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  481. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  482. *XMoveThreshold: 0
  483. *YMoveThreshold: 0
  484. *XMoveUnit: 300
  485. *YMoveUnit: 300
  486. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 4) }"X" }
  487. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 4) )}"X" }
  488. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 4) )}"X" }
  489. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 4) }"Y" }
  490. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,12600]{max_repeat((DestYRel / 4) )}"Y" }
  491. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,12600]{max_repeat((DestYRel / 4) )}"Y" }
  492. *Command: CmdCR { *Cmd : "<0D>" }
  493. *Command: CmdLF { *Cmd : "<0A>" }
  494. *Command: CmdFF { *Cmd : "<0C>" }
  495. *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
  496. + "I" }
  497. *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  498. *Command: CmdBackSpace { *Cmd : "<08>" }
  499. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  500. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  501. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  502. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  503. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  504. *EjectPageWithFF?: TRUE
  505. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  506. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  507. *OutputDataFormat: H_BYTE
  508. *OptimizeLeftBound?: TRUE
  509. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  510. *CursorYAfterSendBlockData: AUTO_INCREMENT
  511. *DefaultFont: 136
  512. *DefaultCTT: 0
  513. *CharPosition: BASELINE
  514. *TTFSEnabled?: TRUE
  515. *DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153,154,
  516. + 155,156,157,164,165,166,196,197,198,199,200,201,202,203,209,210,
  517. + 211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,
  518. + 227,228,229,230)
  519. *MinFontID: 16534
  520. *MaxFontID: 32768
  521. *FontFormat: HPPCL_OUTLINE
  522. *% When the %f format is implemented we can remove the /100 part of
  523. *% CmdSelectFontHeight and CmdSelectFontWidth
  524. *% NOTE: MasterUnits.x is hardcoded here!
  525. *% NOTE: THIS dividing by 200 because I want to /100 and then /2 for now.
  526. *% The number 60000 may look strange, but it's 1200/2 * 100.
  527. *Command: CmdSelectFontHeight { *Cmd : "<1B>(s" %d{FontHeight}"V" }
  528. *Command: CmdSelectFontWidth { *Cmd : "<1B>(s" %f{1200 / FontWidth}"H" }
  529. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  530. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  531. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  532. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  533. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  534. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  535. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  536. *MinGrayFill: 1
  537. *MaxGrayFill: 100
  538. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 4) }"A" }
  539. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 4) }"B" }
  540. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  541. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  542. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }