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.

731 lines
20 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "LXOPC.GPD"
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "LXOPC.GPD"
  9. *Include: "StdNames.gpd"
  10. *Include: "ttfsub.gpd"
  11. *ModelName: "Lexmark Optra C"
  12. *MasterUnits: PAIR(1200, 1200)
  13. *ResourceDLL: "optrares.dll"
  14. *PrinterType: PAGE
  15. *MaxCopies: 99
  16. *PrintRate: 3
  17. *PrintRatePPM: 3
  18. *PrintRateUnit: PPM
  19. *switch: ColorMode
  20. {
  21. *case: Mono
  22. {
  23. *BestQualitySettings: LIST(Resolution.Option1)
  24. *BetterQualitySettings: LIST(Resolution.Option2)
  25. *DraftQualitySettings: LIST(Resolution.Option2)
  26. *DefaultQuality:BETTERQUALITY
  27. }
  28. *default:
  29. {
  30. *BestQualitySettings: LIST(ColorMode.24bpp, Resolution.Option1, GraphicsMode.HPGL2MODE)
  31. *BetterQualitySettings: LIST(ColorMode.Color, Resolution.Option1, GraphicsMode.RASTERMODE)
  32. *DraftQualitySettings: LIST(ColorMode.Color, Resolution.Option2, GraphicsMode.RASTERMODE)
  33. *DefaultQuality:BESTQUALITY
  34. }
  35. }
  36. *Feature: Orientation
  37. {
  38. *rcNameID: =ORIENTATION_DISPLAY
  39. *DefaultOption: PORTRAIT
  40. *Option: PORTRAIT
  41. {
  42. *rcNameID: =PORTRAIT_DISPLAY
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.8
  46. *Cmd: "<1B>&l0O"
  47. }
  48. }
  49. *Option: LANDSCAPE_CC90
  50. {
  51. *rcNameID: =LANDSCAPE_DISPLAY
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.8
  55. *Cmd: "<1B>&l1O"
  56. }
  57. }
  58. }
  59. *Feature: InputBin
  60. {
  61. *rcNameID: =PAPER_SOURCE_DISPLAY
  62. *DefaultOption: UPPER
  63. *Option: Option1
  64. {
  65. *rcNameID: 260
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.11
  69. *Cmd: "<1B>&l0H"
  70. }
  71. }
  72. *Option: UPPER
  73. {
  74. *rcNameID: =UPPER_TRAY_DISPLAY
  75. *Command: CmdSelect
  76. {
  77. *Order: DOC_SETUP.11
  78. *Cmd: "<1B>&l1H"
  79. }
  80. }
  81. *Option: MANUAL
  82. {
  83. *rcNameID: =MANUAL_FEED_DISPLAY
  84. *Command: CmdSelect
  85. {
  86. *Order: DOC_SETUP.11
  87. *Cmd: "<1B>&l2H"
  88. }
  89. }
  90. *Option: LOWER
  91. {
  92. *rcNameID: =LOWER_TRAY_DISPLAY
  93. *Command: CmdSelect
  94. {
  95. *Order: DOC_SETUP.11
  96. *Cmd: "<1B>&l4H"
  97. }
  98. }
  99. *Option: Option5
  100. {
  101. *rcNameID: 262
  102. *Command: CmdSelect
  103. {
  104. *Order: DOC_SETUP.11
  105. *Cmd: "<1B>&l6H"
  106. }
  107. }
  108. }
  109. *Feature: Resolution
  110. {
  111. *rcNameID: =RESOLUTION_DISPLAY
  112. *DefaultOption: Option1
  113. *Option: Option1
  114. {
  115. *Name: "600 x 600 " =DOTS_PER_INCH
  116. *DPI: PAIR(600, 600)
  117. *TextDPI: PAIR(600, 600)
  118. *MinStripBlankPixels: 32
  119. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  120. *SpotDiameter: 100
  121. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  122. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  123. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  124. *Command: CmdSelect
  125. {
  126. *Order: DOC_SETUP.5
  127. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  128. }
  129. }
  130. *Option: Option2
  131. {
  132. *Name: "300 x 300 " =DOTS_PER_INCH
  133. *DPI: PAIR(300, 300)
  134. *TextDPI: PAIR(300, 300)
  135. *MinStripBlankPixels: 32
  136. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  137. *SpotDiameter: 100
  138. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  139. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  140. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  141. *Command: CmdSelect
  142. {
  143. *Order: DOC_SETUP.5
  144. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  145. }
  146. }
  147. }
  148. *Feature: PaperSize
  149. {
  150. *rcNameID: =PAPER_SIZE_DISPLAY
  151. *DefaultOption: LETTER
  152. *Option: LETTER
  153. {
  154. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  155. *PageProtectMem: 1028
  156. *switch: Orientation
  157. {
  158. *case: PORTRAIT
  159. {
  160. *PrintableArea: PAIR(9600, 12700)
  161. *PrintableOrigin: PAIR(300, 200)
  162. *switch: Resolution
  163. {
  164. *case: Option2
  165. {
  166. *PrintableArea: PAIR(9600, 12300)
  167. *PrintableOrigin: PAIR(300, 500)
  168. }
  169. }
  170. *CursorOrigin: PAIR(300, 200)
  171. *Command: CmdSelect
  172. {
  173. *Order: DOC_SETUP.12
  174. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  175. }
  176. }
  177. *case: LANDSCAPE_CC90
  178. {
  179. *PrintableArea: PAIR(9800, 12620)
  180. *PrintableOrigin: PAIR(200, 280)
  181. *switch: Resolution
  182. {
  183. *case: Option2
  184. {
  185. *PrintableArea: PAIR(9600, 12320)
  186. *PrintableOrigin: PAIR(300, 580)
  187. }
  188. }
  189. *CursorOrigin: PAIR(200, 13000)
  190. *Command: CmdSelect
  191. {
  192. *Order: DOC_SETUP.12
  193. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  194. }
  195. }
  196. }
  197. }
  198. *Option: LEGAL
  199. {
  200. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  201. *PageProtectMem: 1692
  202. *switch: Orientation
  203. {
  204. *case: PORTRAIT
  205. {
  206. *PrintableArea: PAIR(9600, 16398)
  207. *PrintableOrigin: PAIR(300, 200)
  208. *switch: Resolution
  209. {
  210. *case: Option2
  211. {
  212. *PrintableArea: PAIR(9600, 15996)
  213. *PrintableOrigin: PAIR(300, 500)
  214. }
  215. }
  216. *CursorOrigin: PAIR(300, 200)
  217. *Command: CmdSelect
  218. {
  219. *Order: DOC_SETUP.12
  220. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  221. }
  222. }
  223. *case: LANDSCAPE_CC90
  224. {
  225. *PrintableArea: PAIR(9800, 15920)
  226. *PrintableOrigin: PAIR(200, 540)
  227. *CursorOrigin: PAIR(200, 16560)
  228. *Command: CmdSelect
  229. {
  230. *Order: DOC_SETUP.12
  231. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  232. }
  233. }
  234. }
  235. }
  236. *Option: A4
  237. {
  238. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  239. *PageProtectMem: 1063
  240. *switch: Orientation
  241. {
  242. *case: PORTRAIT
  243. {
  244. *PrintableArea: PAIR(9284, 13626)
  245. *PrintableOrigin: PAIR(300, 200)
  246. *switch: Resolution
  247. {
  248. *case: Option2
  249. {
  250. *PrintableArea: PAIR(9284, 13224)
  251. *PrintableOrigin: PAIR(300, 500)
  252. }
  253. }
  254. *CursorOrigin: PAIR(300, 200)
  255. *Command: CmdSelect
  256. {
  257. *Order: DOC_SETUP.12
  258. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  259. }
  260. }
  261. *case: LANDSCAPE_CC90
  262. {
  263. *PrintableArea: PAIR(9504, 13546)
  264. *PrintableOrigin: PAIR(240, 242)
  265. *switch: Resolution
  266. {
  267. *case: Option2
  268. {
  269. *PrintableArea: PAIR(9504, 13244)
  270. *PrintableOrigin: PAIR(240, 544)
  271. }
  272. }
  273. *CursorOrigin: PAIR(240, 13788)
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.12
  277. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  278. }
  279. }
  280. }
  281. }
  282. *Option: B5
  283. {
  284. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  285. *PageProtectMem: 3198
  286. *switch: Orientation
  287. {
  288. *case: PORTRAIT
  289. {
  290. *PrintableArea: PAIR(8004, 11692)
  291. *PrintableOrigin: PAIR(300, 200)
  292. *switch: Resolution
  293. {
  294. *case: Option2
  295. {
  296. *PrintableArea: PAIR(8004, 11392)
  297. *PrintableOrigin: PAIR(300, 500)
  298. }
  299. }
  300. *CursorOrigin: PAIR(300, 200)
  301. *Command: CmdSelect
  302. {
  303. *Order: DOC_SETUP.12
  304. *Cmd: "<1B>&l12a8c1E<1B>*p0x0Y<1B>*c0t4802x7094Y"
  305. }
  306. }
  307. *case: LANDSCAPE_CC90
  308. {
  309. *PrintableArea: PAIR(8004, 11744)
  310. *PrintableOrigin: PAIR(300, 200)
  311. *switch: Resolution
  312. {
  313. *case: Option2
  314. {
  315. *PrintableArea: PAIR(8004, 11392)
  316. *PrintableOrigin: PAIR(300, 500)
  317. }
  318. }
  319. *CursorOrigin: PAIR(160, 11904)
  320. *Command: CmdSelect
  321. {
  322. *Order: DOC_SETUP.12
  323. *Cmd: "<1B>&l12a8c1E<1B>*p0x0Y<1B>*c0t6998x4970Y"
  324. }
  325. }
  326. }
  327. }
  328. }
  329. *Feature: MediaType
  330. {
  331. *rcNameID: =MEDIA_TYPE_DISPLAY
  332. *DefaultOption: STANDARD
  333. *Option: STANDARD
  334. {
  335. *rcNameID: =PLAIN_PAPER_DISPLAY
  336. *Command: CmdSelect
  337. {
  338. *Order: DOC_SETUP.7
  339. *Cmd: "<1B>&l0M"
  340. }
  341. }
  342. *Option: TRANSPARENCY
  343. {
  344. *rcNameID: =TRANSPARENCY_DISPLAY
  345. *Command: CmdSelect
  346. {
  347. *Order: DOC_SETUP.7
  348. *Cmd: "<1B>&l4M"
  349. }
  350. }
  351. }
  352. *Feature: PrintQuality
  353. {
  354. *rcNameID: =TEXT_QUALITY_DISPLAY
  355. *DefaultOption: Option1
  356. *Option: Option1
  357. {
  358. *rcNameID: 269
  359. *Command: CmdSelect
  360. {
  361. *Order: DOC_SETUP.4
  362. *Cmd: "@PJL SET RET=OFF<0A>"
  363. }
  364. }
  365. *Option: Option2
  366. {
  367. *rcNameID: 270
  368. *Command: CmdSelect
  369. {
  370. *Order: DOC_SETUP.4
  371. *Cmd: "@PJL SET RET=ON<0A>"
  372. }
  373. }
  374. }
  375. *Feature: PrintDensity
  376. {
  377. *rcNameID: =PRINTDENSITY_DISPLAY
  378. *DefaultOption: Option2
  379. *Option: Option1
  380. {
  381. *rcNameID: 293
  382. *Command: CmdSelect
  383. {
  384. *Order: DOC_SETUP.2
  385. *Cmd: "@PJL SET DENSITY=1<0A>"
  386. }
  387. }
  388. *Option: Option2
  389. {
  390. *rcNameID: 294
  391. *Command: CmdSelect
  392. {
  393. *Order: DOC_SETUP.2
  394. *Cmd: "@PJL SET DENSITY=3<0A>"
  395. }
  396. }
  397. *Option: Option3
  398. {
  399. *rcNameID: 295
  400. *Command: CmdSelect
  401. {
  402. *Order: DOC_SETUP.2
  403. *Cmd: "@PJL SET DENSITY=5<0A>"
  404. }
  405. }
  406. }
  407. *Feature: ColorMode
  408. {
  409. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  410. *DefaultOption: 24bpp
  411. *Option: Mono
  412. {
  413. *rcNameID: =MONO_DISPLAY
  414. *DevNumOfPlanes: 1
  415. *DevBPP: 1
  416. *Color? : FALSE
  417. }
  418. *Option: Color
  419. {
  420. *rcNameID: =COLOR_DISPLAY
  421. *DevNumOfPlanes: 3
  422. *DevBPP: 1
  423. *DrvBPP: 4
  424. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  425. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW)
  426. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  427. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  428. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  429. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
  430. *Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
  431. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
  432. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
  433. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
  434. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
  435. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
  436. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  437. *Command: CmdSelect
  438. {
  439. *Order: DOC_SETUP.16
  440. *Cmd: "<1B>*r-3U"
  441. }
  442. }
  443. *Option: 8bpp
  444. {
  445. *rcNameID: =8BPP_DISPLAY
  446. *DevNumOfPlanes: 1
  447. *DevBPP: 8
  448. *DrvBPP: 8
  449. *PaletteSize: 256
  450. *PaletteProgrammable? : TRUE
  451. *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
  452. + "I" }
  453. *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  454. *Command: CmdSelect
  455. {
  456. *Order: DOC_SETUP.16
  457. *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<000108080808>"
  458. }
  459. }
  460. *Option: 24bpp
  461. {
  462. *rcNameID: =24BPP_DISPLAY
  463. *DevNumOfPlanes: 1
  464. *DevBPP: 24
  465. *DrvBPP: 24
  466. *PaletteSize: 256
  467. *PaletteProgrammable? : TRUE
  468. *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
  469. + "I" }
  470. *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  471. *Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" }
  472. *Command: CmdSelect
  473. {
  474. *Order: DOC_SETUP.16
  475. *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<0003080808081B>*v0a0b0c7i255a255b255c0I"
  476. }
  477. }
  478. }
  479. *Feature: Halftone
  480. {
  481. *rcNameID: =HALFTONING_DISPLAY
  482. *DefaultOption: HT_PATSIZE_AUTO
  483. *Option: HT_PATSIZE_AUTO
  484. {
  485. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  486. }
  487. *Ifdef: WINNT_50
  488. *Option: HT_PATSIZE_SUPERCELL_M
  489. {
  490. *rcNameID: =HT_SUPERCELL_DISPLAY
  491. }
  492. *Endif:
  493. *Option: HT_PATSIZE_6x6_M
  494. {
  495. *rcNameID: =HT_DITHER6X6_DISPLAY
  496. }
  497. *Option: HT_PATSIZE_8x8_M
  498. {
  499. *rcNameID: =HT_DITHER8X8_DISPLAY
  500. }
  501. }
  502. *Feature: Memory
  503. {
  504. *rcNameID: =PRINTER_MEMORY_DISPLAY
  505. *DefaultOption: 8192KB
  506. *MemConfigKB: PAIR(2048, 1931)
  507. *MemConfigKB: PAIR(4096, 3979)
  508. *MemConfigKB: PAIR(6144, 6027)
  509. *MemConfigKB: PAIR(8192, 8075)
  510. *MemConfigKB: PAIR(10240, 10123)
  511. *MemConfigKB: PAIR(12288, 12171)
  512. *MemConfigKB: PAIR(16384, 16267)
  513. *MemConfigKB: PAIR(18432, 18315)
  514. *MemConfigKB: PAIR(20480, 20363)
  515. *MemConfigKB: PAIR(24576, 24459)
  516. *MemConfigKB: PAIR(32768, 32651)
  517. *MemConfigKB: PAIR(34816, 34699)
  518. *MemConfigKB: PAIR(36864, 36747)
  519. *MemConfigKB: PAIR(40960, 40843)
  520. *MemConfigKB: PAIR(49152, 49035)
  521. *MemConfigKB: PAIR(65536, 65419)
  522. }
  523. *Feature: PageProtect
  524. {
  525. *rcNameID: =PAGE_PROTECTION_DISPLAY
  526. *DefaultOption: OFF
  527. *Option: ON
  528. {
  529. *rcNameID: =ON_DISPLAY
  530. *Command: CmdSelect
  531. {
  532. *Order: DOC_SETUP.1
  533. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=LETTER<0A>"
  534. }
  535. }
  536. *Option: OFF
  537. {
  538. *rcNameID: =OFF_DISPLAY
  539. *Command: CmdSelect
  540. {
  541. *Order: DOC_SETUP.1
  542. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>"
  543. }
  544. }
  545. }
  546. *Command: CmdStartDoc
  547. {
  548. *Order: DOC_SETUP.6
  549. *Cmd: "<1B>&u600D<1B>*r0F"
  550. }
  551. *Command: CmdStartPage
  552. {
  553. *Order: PAGE_SETUP.1
  554. *Cmd: "<1B>*b0M<0D>"
  555. }
  556. *Command: CmdEndJob
  557. {
  558. *Order: JOB_FINISH.1
  559. *Cmd: "<1B>E<1B>%%-12345X"
  560. }
  561. *Command: CmdCopies
  562. {
  563. *Order: DOC_SETUP.13
  564. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  565. }
  566. *RotateCoordinate?: TRUE
  567. *RotateRaster?: TRUE
  568. *RotateFont?: TRUE
  569. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  570. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  571. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  572. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  573. *XMoveThreshold: 0
  574. *YMoveThreshold: 0
  575. *XMoveUnit: 600
  576. *YMoveUnit: 600
  577. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  578. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  579. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  580. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  581. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  582. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  583. *Command: CmdCR { *Cmd : "<0D>" }
  584. *Command: CmdLF { *Cmd : "<0A>" }
  585. *Command: CmdFF { *Cmd : "<0C>" }
  586. *Command: CmdBackSpace { *Cmd : "<08>" }
  587. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  588. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  589. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  590. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  591. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  592. *EjectPageWithFF?: TRUE
  593. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  594. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  595. *OutputDataFormat: H_BYTE
  596. *OptimizeLeftBound?: TRUE
  597. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  598. *CursorYAfterSendBlockData: AUTO_INCREMENT
  599. *DefaultFont: 210
  600. *DefaultCTT: 0
  601. *CharPosition: BASELINE
  602. *TTFSEnabled?: TRUE
  603. *DeviceFonts: LIST(133,134,140,141,142,143,144,145,146,147,148,149,150,151,152,153,
  604. + 154,155,156,158,159,160,190,191,192,193,194,195,196,197,203,204,
  605. + 205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,
  606. + 221,222,223,224)
  607. *MinFontID: 16534
  608. *MaxFontID: 32768
  609. *FontFormat: HPPCL_RES
  610. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  611. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  612. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  613. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  614. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  615. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  616. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  617. *MinGrayFill: 1
  618. *MaxGrayFill: 100
  619. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  620. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  621. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  622. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  623. *Ifdef: WINNT_51
  624. *Personality: =PERSONALITY_HPGL2
  625. *%********************************************************************
  626. *% Graphics Mode: Custom Feature
  627. *%********************************************************************
  628. *Feature: GraphicsMode
  629. {
  630. *rcNameID: =GRAPHICSMODE_DISPLAY
  631. *FeatureType: DOC_PROPERTY
  632. *HelpIndex: 12000
  633. *DefaultOption: HPGL2MODE
  634. *Option: HPGL2MODE
  635. {
  636. *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  637. *Constraints: Resolution.Option2
  638. *Constraints: LIST(ColorMode.Mono, ColorMode.Color, ColorMode.8bpp)
  639. }
  640. *Option: RASTERMODE
  641. {
  642. *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  643. }
  644. }
  645. *Feature: TEXTHALFTONE
  646. {
  647. *rcNameID: =TEXTHALFTONE_DISPLAY
  648. *DefaultOption: DETAIL
  649. *Option: DETAIL
  650. {
  651. *rcNameID: =DETAIL_HT_DISPLAY
  652. *Command: CmdSetTextHTAlgo { *Cmd : "<1B>*t0J" }
  653. }
  654. *Option: SMOOTH
  655. {
  656. *rcNameID: =SMOOTH_HT_DISPLAY
  657. *Name: "Smooth"
  658. *Command: CmdSetTextHTAlgo { *Cmd : "<1B>*t15J" }
  659. }
  660. *Option: BASIC
  661. {
  662. *rcNameID: =BASIC_HT_DISPLAY
  663. *Command: CmdSetTextHTAlgo { *Cmd : "<1B>*t18J" }
  664. }
  665. }
  666. *Feature: GRAPHICSHALFTONE
  667. {
  668. *rcNameID: =GRAPHICSHALFTONE_DISPLAY
  669. *DefaultOption: SMOOTH
  670. *Option: DETAIL
  671. {
  672. *rcNameID: =DETAIL_HT_DISPLAY
  673. *Command: CmdSetGraphicsHTAlgo { *Cmd : "<1B>*t15J" }
  674. }
  675. *Option: SMOOTH
  676. {
  677. *rcNameID: =SMOOTH_HT_DISPLAY
  678. *Command: CmdSetGraphicsHTAlgo { *Cmd : "<1B>*t18J" }
  679. }
  680. *Option: BASIC
  681. {
  682. *rcNameID: =BASIC_HT_DISPLAY
  683. *Command: CmdSetGraphicsHTAlgo { *Cmd : "<1B>*t18J" }
  684. }
  685. }
  686. *Feature: PHOTOHALFTONE
  687. {
  688. *rcNameID: =PHOTOHALFTONE_DISPLAY
  689. *DefaultOption: SMOOTH
  690. *Option: DETAIL
  691. {
  692. *rcNameID: =DETAIL_HT_DISPLAY
  693. *Command: CmdSetPhotoHTAlgo { *Cmd : "<1B>*t15J" }
  694. }
  695. *Option: SMOOTH
  696. {
  697. *rcNameID: =SMOOTH_HT_DISPLAY
  698. *Command: CmdSetPhotoHTAlgo { *Cmd : "<1B>*t7J" }
  699. }
  700. *Option: BASIC
  701. {
  702. *rcNameID: =BASIC_HT_DISPLAY
  703. *Command: CmdSetPhotoHTAlgo { *Cmd : "<1B>*t3J" }
  704. }
  705. }
  706. *Endif: