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.

654 lines
22 KiB

  1. *GPDSpecVersion: "1.0"
  2. *Include: "StdNames.gpd"
  3. *ModelName: "OEM CUSTOM SAMPLE SYNC DATA IN UI"
  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. *%-------------------------------------------------------------------------
  456. *% Duplex
  457. *%-------------------------------------------------------------------------
  458. *Feature: Duplex
  459. {
  460. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  461. *DefaultOption: NONE
  462. *Option: NONE
  463. {
  464. *rcNameID: =NONE_DISPLAY
  465. *Command: CmdSelect
  466. {
  467. *Order: DOC_SETUP.9
  468. *Cmd: "<1B>&l0S"
  469. }
  470. }
  471. *Option: VERTICAL
  472. {
  473. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  474. *Command: CmdSelect
  475. {
  476. *Order: DOC_SETUP.10
  477. *Cmd: "<1B>&l1S"
  478. }
  479. }
  480. *Option: HORIZONTAL
  481. {
  482. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  483. *Command: CmdSelect
  484. {
  485. *Order: DOC_SETUP.10
  486. *Cmd: "<1B>&l2S"
  487. }
  488. }
  489. }
  490. *%-------------------------------------------------------------------------
  491. *% Installable Option - Duplex Unit
  492. *% IMPORTANT NOTE: The OEM extension assumes that this feature's keyname is
  493. *% "DuplexUnit" and the options are "TRUE" and "FALSE"
  494. *%-------------------------------------------------------------------------
  495. *Feature: DuplexUnit
  496. {
  497. *Name: "Optional Duplex Unit" *% Duplex Unit
  498. *HelpIndex: 12004
  499. *FeatureType: PRINTER_PROPERTY
  500. *DefaultOption: FALSE
  501. *Option: FALSE
  502. {
  503. *Name: "Not Installed"
  504. *DisabledFeatures: LIST(Duplex)
  505. }
  506. *Option: TRUE
  507. {
  508. *Name: "Installed"
  509. }
  510. }
  511. *%-------------------------------------------------------------------------
  512. *% Installable Option - Envelope Feeder
  513. *% IMPORTANT NOTE: The OEM extension assumes that this feature's keyname is
  514. *% "EnvFeeder" and the options are "TRUE" and "FALSE"
  515. *%-------------------------------------------------------------------------
  516. *Feature: EnvFeeder
  517. {
  518. *Name: "Envelope Feeder"
  519. *HelpIndex: 12000
  520. *FeatureType: PRINTER_PROPERTY
  521. *DefaultOption: FALSE
  522. *Option: FALSE
  523. {
  524. *Name: "Not Installed"
  525. }
  526. *Option: TRUE
  527. {
  528. *Name: "Installed"
  529. }
  530. }
  531. *%-------------------------------------------------------------------------
  532. *% Installable Option - PrinterHardDisk
  533. *% IMPORTANT NOTE: The OEM extension assumes that this feature's keyname is
  534. *% "PrinterHardDisk" and the options are "TRUE" and "FALSE"
  535. *%-------------------------------------------------------------------------
  536. *Feature: PrinterHardDisk
  537. {
  538. *Name: "Printer Hard-Disk" *% Printer Hard-Disk
  539. *HelpIndex: 12002
  540. *FeatureType: PRINTER_PROPERTY
  541. *DefaultOption: FALSE
  542. *Option: FALSE
  543. {
  544. *Name: "Not Installed"
  545. *%*Constraints: LIST(JobRetention.Option2, JobRetention.Option4)
  546. }
  547. *Option: TRUE
  548. {
  549. *Name: "Installed"
  550. }
  551. }
  552. *Command: CmdStartDoc
  553. {
  554. *Order: DOC_SETUP.5
  555. *Cmd: "<1B>&u300D<1B>*r0F"
  556. }
  557. *Command: CmdStartPage
  558. {
  559. *Order: PAGE_SETUP.1
  560. *Cmd: "<1B>*b0M<0D>"
  561. }
  562. *Command: CmdEndJob
  563. {
  564. *Order: JOB_FINISH.1
  565. *Cmd: "<1B>E<1B>%%-12345X"
  566. }
  567. *Command: CmdCopies
  568. {
  569. *Order: DOC_SETUP.11
  570. *Cmd: "<1B>&l" %d{NumOfCopies}"X"
  571. }
  572. *RotateCoordinate?: TRUE
  573. *RotateRaster?: TRUE
  574. *RotateFont?: TRUE
  575. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  576. *MemoryUsage: LIST(FONT)
  577. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  578. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  579. *XMoveThreshold: 0
  580. *YMoveThreshold: 0
  581. *XMoveUnit: 300
  582. *YMoveUnit: 300
  583. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 4) }"X" }
  584. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 4) )}"X" }
  585. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 4) )}"X" }
  586. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 4) }"Y" }
  587. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,12600]{max_repeat((DestYRel / 4) )}"Y" }
  588. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,12600]{max_repeat((DestYRel / 4) )}"Y" }
  589. *Command: CmdCR { *Cmd : "<0D>" }
  590. *Command: CmdLF { *Cmd : "<0A>" }
  591. *Command: CmdFF { *Cmd : "<0C>" }
  592. *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
  593. + "I" }
  594. *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  595. *Command: CmdBackSpace { *Cmd : "<08>" }
  596. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  597. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  598. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  599. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  600. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  601. *EjectPageWithFF?: TRUE
  602. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  603. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  604. *OutputDataFormat: H_BYTE
  605. *OptimizeLeftBound?: TRUE
  606. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  607. *CursorYAfterSendBlockData: AUTO_INCREMENT
  608. *DefaultFont: 136
  609. *DefaultCTT: 0
  610. *CharPosition: BASELINE
  611. *TTFSEnabled?: TRUE
  612. *DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153,154,
  613. + 155,156,157,164,165,166,196,197,198,199,200,201,202,203,209,210,
  614. + 211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,
  615. + 227,228,229,230)
  616. *MinFontID: 16534
  617. *MaxFontID: 32768
  618. *FontFormat: HPPCL_OUTLINE
  619. *% When the %f format is implemented we can remove the /100 part of
  620. *% CmdSelectFontHeight and CmdSelectFontWidth
  621. *% NOTE: MasterUnits.x is hardcoded here!
  622. *% NOTE: THIS dividing by 200 because I want to /100 and then /2 for now.
  623. *% The number 60000 may look strange, but it's 1200/2 * 100.
  624. *Command: CmdSelectFontHeight { *Cmd : "<1B>(s" %d{FontHeight}"V" }
  625. *Command: CmdSelectFontWidth { *Cmd : "<1B>(s" %f{1200 / FontWidth}"H" }
  626. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  627. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  628. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  629. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  630. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  631. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  632. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  633. *MinGrayFill: 1
  634. *MaxGrayFill: 100
  635. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 4) }"A" }
  636. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 4) }"B" }
  637. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  638. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  639. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }