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.

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