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.

791 lines
22 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "IB4039LP.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *Include: "ttfsub.gpd"
  10. *ModelName: "IBM 4039 LaserPrinter Plus"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "optrares.dll"
  13. *PrinterType: PAGE
  14. *MaxCopies: 99
  15. *FontCartSlots: 2
  16. *Feature: Orientation
  17. {
  18. *rcNameID: =ORIENTATION_DISPLAY
  19. *DefaultOption: PORTRAIT
  20. *Option: PORTRAIT
  21. {
  22. *rcNameID: =PORTRAIT_DISPLAY
  23. *Command: CmdSelect
  24. {
  25. *Order: DOC_SETUP.8
  26. *NoPageEject?: TRUE
  27. *Cmd: "<1B>&l0o1E"
  28. }
  29. }
  30. *Option: LANDSCAPE_CC90
  31. {
  32. *rcNameID: =LANDSCAPE_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.8
  36. *NoPageEject?: TRUE
  37. *Cmd: "<1B>&l1o1E"
  38. }
  39. }
  40. }
  41. *Feature: InputBin
  42. {
  43. *rcNameID: =PAPER_SOURCE_DISPLAY
  44. *DefaultOption: Option1
  45. *Option: Option1
  46. {
  47. *rcNameID: 260
  48. *Command: CmdSelect
  49. {
  50. *Order: DOC_SETUP.11
  51. *Cmd: "<1B>&l0H"
  52. }
  53. }
  54. *Option: UPPER
  55. {
  56. *rcNameID: =UPPER_TRAY_DISPLAY
  57. *Command: CmdSelect
  58. {
  59. *Order: DOC_SETUP.11
  60. *Cmd: "<1B>&l1H"
  61. }
  62. }
  63. *Option: MANUAL
  64. {
  65. *rcNameID: =MANUAL_FEED_DISPLAY
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.11
  69. *Cmd: "<1B>&l2H"
  70. }
  71. }
  72. *Option: ENVMANUAL
  73. {
  74. *rcNameID: =ENV_MANUAL_DISPLAY
  75. *Command: CmdSelect
  76. {
  77. *Order: DOC_SETUP.11
  78. *Cmd: "<1B>&l3H"
  79. }
  80. }
  81. *Option: LOWER
  82. {
  83. *rcNameID: =LOWER_TRAY_DISPLAY
  84. *Command: CmdSelect
  85. {
  86. *Order: DOC_SETUP.11
  87. *Cmd: "<1B>&l4H"
  88. }
  89. }
  90. *Option: ENVFEED
  91. {
  92. *rcNameID: =ENV_FEED_DISPLAY
  93. *Command: CmdSelect
  94. {
  95. *Order: DOC_SETUP.11
  96. *Cmd: "<1B>&l6H"
  97. }
  98. }
  99. }
  100. *Feature: Resolution
  101. {
  102. *rcNameID: =RESOLUTION_DISPLAY
  103. *DefaultOption: Option1
  104. *Option: Option1
  105. {
  106. *Name: "600 x 600 " =DOTS_PER_INCH
  107. *DPI: PAIR(600, 600)
  108. *TextDPI: PAIR(600, 600)
  109. *MinStripBlankPixels: 32
  110. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  111. *SpotDiameter: 100
  112. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  113. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  114. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  115. *Command: CmdSelect
  116. {
  117. *Order: DOC_SETUP.6
  118. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  119. }
  120. }
  121. *Option: Option2
  122. {
  123. *Name: "300 x 300 " =DOTS_PER_INCH
  124. *DPI: PAIR(300, 300)
  125. *TextDPI: PAIR(300, 300)
  126. *MinStripBlankPixels: 32
  127. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  128. *SpotDiameter: 100
  129. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  130. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  131. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  132. *Command: CmdSelect
  133. {
  134. *Order: DOC_SETUP.6
  135. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  136. }
  137. }
  138. }
  139. *Feature: PaperSize
  140. {
  141. *rcNameID: =PAPER_SIZE_DISPLAY
  142. *DefaultOption: LETTER
  143. *Option: LETTER
  144. {
  145. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  146. *PageProtectMem: 4109
  147. *switch: Orientation
  148. {
  149. *case: PORTRAIT
  150. {
  151. *PrintableArea: PAIR(9600, 12648)
  152. *PrintableOrigin: PAIR(300, 300)
  153. *CursorOrigin: PAIR(300, 180)
  154. *Command: CmdSelect
  155. {
  156. *Order: DOC_SETUP.12
  157. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  158. }
  159. }
  160. *case: LANDSCAPE_CC90
  161. {
  162. *PrintableArea: PAIR(9760, 12688)
  163. *PrintableOrigin: PAIR(200, 272)
  164. *CursorOrigin: PAIR(200, 12960)
  165. *Command: CmdSelect
  166. {
  167. *Order: DOC_SETUP.12
  168. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  169. }
  170. }
  171. }
  172. }
  173. *Option: LEGAL
  174. {
  175. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  176. *PageProtectMem: 5230
  177. *switch: Orientation
  178. {
  179. *case: PORTRAIT
  180. {
  181. *PrintableArea: PAIR(9600, 16248)
  182. *PrintableOrigin: PAIR(300, 300)
  183. *CursorOrigin: PAIR(300, 180)
  184. *Command: CmdSelect
  185. {
  186. *Order: DOC_SETUP.12
  187. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  188. }
  189. }
  190. *case: LANDSCAPE_CC90
  191. {
  192. *PrintableArea: PAIR(9760, 16284)
  193. *PrintableOrigin: PAIR(200, 276)
  194. *CursorOrigin: PAIR(200, 16560)
  195. *Command: CmdSelect
  196. {
  197. *Order: DOC_SETUP.12
  198. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  199. }
  200. }
  201. }
  202. }
  203. *Option: EXECUTIVE
  204. {
  205. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  206. *PageProtectMem: 4109
  207. *switch: Orientation
  208. {
  209. *case: PORTRAIT
  210. {
  211. *PrintableArea: PAIR(8100, 12048)
  212. *PrintableOrigin: PAIR(300, 300)
  213. *CursorOrigin: PAIR(300, 180)
  214. *Command: CmdSelect
  215. {
  216. *Order: DOC_SETUP.12
  217. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  218. }
  219. }
  220. *case: LANDSCAPE_CC90
  221. {
  222. *PrintableArea: PAIR(8220, 12080)
  223. *PrintableOrigin: PAIR(240, 280)
  224. *CursorOrigin: PAIR(200, 12360)
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.12
  228. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  229. }
  230. }
  231. }
  232. }
  233. *Option: A4
  234. {
  235. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  236. *PageProtectMem: 4249
  237. *switch: Orientation
  238. {
  239. *case: PORTRAIT
  240. {
  241. *PrintableArea: PAIR(9292, 13476)
  242. *PrintableOrigin: PAIR(300, 300)
  243. *CursorOrigin: PAIR(300, 180)
  244. *Command: CmdSelect
  245. {
  246. *Order: DOC_SETUP.12
  247. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  248. }
  249. }
  250. *case: LANDSCAPE_CC90
  251. {
  252. *PrintableArea: PAIR(9464, 13516)
  253. *PrintableOrigin: PAIR(220, 272)
  254. *CursorOrigin: PAIR(200, 13788)
  255. *Command: CmdSelect
  256. {
  257. *Order: DOC_SETUP.12
  258. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  259. }
  260. }
  261. }
  262. }
  263. *Option: A5
  264. {
  265. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  266. *PageProtectMem: 2125
  267. *switch: Orientation
  268. {
  269. *case: PORTRAIT
  270. {
  271. *PrintableArea: PAIR(6396, 9372)
  272. *PrintableOrigin: PAIR(300, 300)
  273. *CursorOrigin: PAIR(300, 160)
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.12
  277. *Cmd: "<1B>&l13a8c1E<1B>*p0x0Y<1B>*c0t3838x5762Y"
  278. }
  279. }
  280. *case: LANDSCAPE_CC90
  281. {
  282. *PrintableArea: PAIR(6396, 9324)
  283. *PrintableOrigin: PAIR(300, 300)
  284. *CursorOrigin: PAIR(200, 9624)
  285. *Command: CmdSelect
  286. {
  287. *Order: DOC_SETUP.12
  288. *Cmd: "<1B>&l13a8c1E<1B>*p0x0Y<1B>*c0t5594x3958Y"
  289. }
  290. }
  291. }
  292. }
  293. *Option: B5
  294. {
  295. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  296. *PageProtectMem: 3198
  297. *switch: Orientation
  298. {
  299. *case: PORTRAIT
  300. {
  301. *PrintableArea: PAIR(8004, 11592)
  302. *PrintableOrigin: PAIR(300, 300)
  303. *CursorOrigin: PAIR(300, 200)
  304. *Command: CmdSelect
  305. {
  306. *Order: DOC_SETUP.12
  307. *Cmd: "<1B>&l12a8c1E<1B>*p0x0Y<1B>*c0t4802x7094Y"
  308. }
  309. }
  310. *case: LANDSCAPE_CC90
  311. {
  312. *PrintableArea: PAIR(8004, 11544)
  313. *PrintableOrigin: PAIR(300, 300)
  314. *CursorOrigin: PAIR(160, 11904)
  315. *Command: CmdSelect
  316. {
  317. *Order: DOC_SETUP.12
  318. *Cmd: "<1B>&l12a8c1E<1B>*p0x0Y<1B>*c0t6998x4970Y"
  319. }
  320. }
  321. }
  322. }
  323. *Option: ENV_10
  324. {
  325. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  326. *PageProtectMem: 4109
  327. *switch: Orientation
  328. {
  329. *case: PORTRAIT
  330. {
  331. *PrintableArea: PAIR(4296, 10800)
  332. *PrintableOrigin: PAIR(300, 300)
  333. *CursorOrigin: PAIR(300, 160)
  334. *Command: CmdSelect
  335. {
  336. *Order: DOC_SETUP.12
  337. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6648Y"
  338. }
  339. }
  340. *case: LANDSCAPE_CC90
  341. {
  342. *PrintableArea: PAIR(4356, 10800)
  343. *PrintableOrigin: PAIR(300, 300)
  344. *CursorOrigin: PAIR(200, 11100)
  345. *Command: CmdSelect
  346. {
  347. *Order: DOC_SETUP.12
  348. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  349. }
  350. }
  351. }
  352. }
  353. *Option: ENV_DL
  354. {
  355. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  356. *PageProtectMem: 4109
  357. *switch: Orientation
  358. {
  359. *case: PORTRAIT
  360. {
  361. *PrintableArea: PAIR(4596, 9792)
  362. *PrintableOrigin: PAIR(300, 300)
  363. *CursorOrigin: PAIR(300, 160)
  364. *Command: CmdSelect
  365. {
  366. *Order: DOC_SETUP.12
  367. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x6043Y"
  368. }
  369. }
  370. *case: LANDSCAPE_CC90
  371. {
  372. *PrintableArea: PAIR(4596, 9792)
  373. *PrintableOrigin: PAIR(300, 300)
  374. *CursorOrigin: PAIR(200, 10092)
  375. *Command: CmdSelect
  376. {
  377. *Order: DOC_SETUP.12
  378. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  379. }
  380. }
  381. }
  382. }
  383. *Option: ENV_C5
  384. {
  385. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  386. *PageProtectMem: 4109
  387. *switch: Orientation
  388. {
  389. *case: PORTRAIT
  390. {
  391. *PrintableArea: PAIR(7036, 10224)
  392. *PrintableOrigin: PAIR(300, 300)
  393. *CursorOrigin: PAIR(300, 200)
  394. *Command: CmdSelect
  395. {
  396. *Order: DOC_SETUP.12
  397. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6254Y"
  398. }
  399. }
  400. *case: LANDSCAPE_CC90
  401. {
  402. *PrintableArea: PAIR(7056, 10224)
  403. *PrintableOrigin: PAIR(300, 300)
  404. *CursorOrigin: PAIR(200, 10524)
  405. *Command: CmdSelect
  406. {
  407. *Order: DOC_SETUP.12
  408. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  409. }
  410. }
  411. }
  412. }
  413. *Option: ENV_MONARCH
  414. {
  415. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  416. *PageProtectMem: 4109
  417. *switch: Orientation
  418. {
  419. *case: PORTRAIT
  420. {
  421. *PrintableArea: PAIR(3996, 8400)
  422. *PrintableOrigin: PAIR(300, 300)
  423. *CursorOrigin: PAIR(300, 200)
  424. *Command: CmdSelect
  425. {
  426. *Order: DOC_SETUP.12
  427. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5160Y"
  428. }
  429. }
  430. *case: LANDSCAPE_CC90
  431. {
  432. *PrintableArea: PAIR(4056, 8400)
  433. *PrintableOrigin: PAIR(300, 300)
  434. *CursorOrigin: PAIR(200, 8700)
  435. *Command: CmdSelect
  436. {
  437. *Order: DOC_SETUP.12
  438. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2554Y"
  439. }
  440. }
  441. }
  442. }
  443. *Option: ENV_B5
  444. {
  445. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  446. *PageProtectMem: 4109
  447. *switch: Orientation
  448. {
  449. *case: PORTRAIT
  450. {
  451. *PrintableArea: PAIR(7716, 11208)
  452. *PrintableOrigin: PAIR(300, 300)
  453. *CursorOrigin: PAIR(300, 160)
  454. *Command: CmdSelect
  455. {
  456. *Order: DOC_SETUP.12
  457. *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4630x6893Y"
  458. }
  459. }
  460. *case: LANDSCAPE_CC90
  461. {
  462. *PrintableArea: PAIR(7716, 11208)
  463. *PrintableOrigin: PAIR(300, 300)
  464. *CursorOrigin: PAIR(200, 11508)
  465. *Command: CmdSelect
  466. {
  467. *Order: DOC_SETUP.12
  468. *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6725x4750Y"
  469. }
  470. }
  471. }
  472. }
  473. }
  474. *Feature: PrintQuality
  475. {
  476. *rcNameID: =TEXT_QUALITY_DISPLAY
  477. *DefaultOption: Option1
  478. *Option: Option1
  479. {
  480. *rcNameID: 269
  481. *Command: CmdSelect
  482. {
  483. *Order: DOC_SETUP.4
  484. *Cmd: "@PJL SET RET=OFF<0A>"
  485. }
  486. }
  487. *Option: Option2
  488. {
  489. *rcNameID: 270
  490. *Command: CmdSelect
  491. {
  492. *Order: DOC_SETUP.4
  493. *Cmd: "@PJL SET RET=ON<0A>"
  494. }
  495. }
  496. }
  497. *Feature: PrintDensity
  498. {
  499. *rcNameID: =PRINTDENSITY_DISPLAY
  500. *DefaultOption: Option2
  501. *Option: Option1
  502. {
  503. *rcNameID: 293
  504. *Command: CmdSelect
  505. {
  506. *Order: DOC_SETUP.2
  507. *Cmd: "@PJL SET DENSITY=1<0A>"
  508. }
  509. }
  510. *Option: Option2
  511. {
  512. *rcNameID: 294
  513. *Command: CmdSelect
  514. {
  515. *Order: DOC_SETUP.2
  516. *Cmd: "@PJL SET DENSITY=3<0A>"
  517. }
  518. }
  519. *Option: Option3
  520. {
  521. *rcNameID: 295
  522. *Command: CmdSelect
  523. {
  524. *Order: DOC_SETUP.2
  525. *Cmd: "@PJL SET DENSITY=5<0A>"
  526. }
  527. }
  528. }
  529. *Feature: Halftone
  530. {
  531. *rcNameID: =HALFTONING_DISPLAY
  532. *DefaultOption: HT_PATSIZE_AUTO
  533. *Option: HT_PATSIZE_AUTO
  534. {
  535. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  536. }
  537. *Option: HT_PATSIZE_6x6_M
  538. {
  539. *rcNameID: =HT_DITHER6X6_DISPLAY
  540. }
  541. *Option: HT_PATSIZE_8x8_M
  542. {
  543. *rcNameID: =HT_DITHER8X8_DISPLAY
  544. }
  545. }
  546. *Feature: Memory
  547. {
  548. *rcNameID: =PRINTER_MEMORY_DISPLAY
  549. *DefaultOption: 2048KB
  550. *MemConfigKB: PAIR(2048, 1931)
  551. *MemConfigKB: PAIR(4096, 3979)
  552. *MemConfigKB: PAIR(6144, 6027)
  553. *MemConfigKB: PAIR(8192, 8075)
  554. *MemConfigKB: PAIR(10240, 10123)
  555. *MemConfigKB: PAIR(12288, 12171)
  556. *MemConfigKB: PAIR(16384, 16267)
  557. }
  558. *Feature: Duplex
  559. {
  560. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  561. *DefaultOption: NONE
  562. *Option: NONE
  563. {
  564. *rcNameID: =NONE_DISPLAY
  565. *Command: CmdSelect
  566. {
  567. *Order: DOC_SETUP.9
  568. *Cmd: "<1B>&l0S"
  569. }
  570. }
  571. *Option: VERTICAL
  572. {
  573. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  574. *Command: CmdSelect
  575. {
  576. *Order: DOC_SETUP.10
  577. *Cmd: "<1B>&l1S"
  578. }
  579. }
  580. *Option: HORIZONTAL
  581. {
  582. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  583. *Command: CmdSelect
  584. {
  585. *Order: DOC_SETUP.10
  586. *Cmd: "<1B>&l2S"
  587. }
  588. }
  589. }
  590. *Feature: PageProtect
  591. {
  592. *rcNameID: =PAGE_PROTECTION_DISPLAY
  593. *DefaultOption: OFF
  594. *Option: ON
  595. {
  596. *rcNameID: =ON_DISPLAY
  597. *Command: CmdSelect
  598. {
  599. *Order: DOC_SETUP.1
  600. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=LETTER<0A>"
  601. }
  602. }
  603. *Option: OFF
  604. {
  605. *rcNameID: =OFF_DISPLAY
  606. *Command: CmdSelect
  607. {
  608. *Order: DOC_SETUP.1
  609. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>"
  610. }
  611. }
  612. }
  613. *switch: Memory
  614. {
  615. *case: 2048KB
  616. {
  617. *Command: CmdStartDoc
  618. {
  619. *Order: DOC_SETUP.7
  620. *Cmd: "<1B>&u600D<1B>*r3F"
  621. }
  622. *RotateRaster?: FALSE
  623. }
  624. *default:
  625. {
  626. *Command: CmdStartDoc
  627. {
  628. *Order: DOC_SETUP.7
  629. *Cmd: "<1B>&u600D<1B>*r0F"
  630. }
  631. *RotateRaster?: TRUE
  632. }
  633. }
  634. *Command: CmdStartPage
  635. {
  636. *Order: PAGE_SETUP.1
  637. *Cmd: "<1B>*b0M<0D>"
  638. }
  639. *Command: CmdEndJob
  640. {
  641. *Order: JOB_FINISH.1
  642. *Cmd: "<1B>E<1B>%%-12345X"
  643. }
  644. *Command: CmdCopies
  645. {
  646. *Order: DOC_SETUP.13
  647. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  648. }
  649. *RotateCoordinate?: TRUE
  650. *RotateFont?: TRUE
  651. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  652. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  653. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  654. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  655. *XMoveThreshold: 0
  656. *YMoveThreshold: 0
  657. *XMoveUnit: 600
  658. *YMoveUnit: 600
  659. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  660. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  661. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  662. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  663. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  664. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  665. *Command: CmdCR { *Cmd : "<0D>" }
  666. *Command: CmdLF { *Cmd : "<0A>" }
  667. *Command: CmdFF { *Cmd : "<0C>" }
  668. *Command: CmdBackSpace { *Cmd : "<08>" }
  669. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  670. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  671. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  672. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  673. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  674. *EjectPageWithFF?: TRUE
  675. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  676. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  677. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  678. *OutputDataFormat: H_BYTE
  679. *OptimizeLeftBound?: TRUE
  680. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  681. *CursorYAfterSendBlockData: AUTO_INCREMENT
  682. *DefaultFont: 133
  683. *DefaultCTT: 0
  684. *CharPosition: BASELINE
  685. *DeviceFonts: LIST(133,134,140,141,142,143,144,145,146,147,148,149,150,151,152,153,
  686. + 154,155,156,158,159,160,190,191,192,193,194,195,196,197,203,204,
  687. + 205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,
  688. + 221,222,223,224)
  689. *FontCartridge: FC1
  690. {
  691. *rcCartridgeNameID: 275
  692. *Fonts: LIST(116,117,118,119,120,121,122,123,125,126,127,128,129,130,131,132,124)
  693. }
  694. *FontCartridge: FC2
  695. {
  696. *rcCartridgeNameID: 276
  697. *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,68,69,70,71,72,73,
  698. + 74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,
  699. + 90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106)
  700. }
  701. *FontCartridge: FC3
  702. {
  703. *rcCartridgeNameID: 277
  704. *Fonts: LIST(31,32,33,34,35,36)
  705. }
  706. *FontCartridge: FC4
  707. {
  708. *rcCartridgeNameID: 278
  709. *Fonts: LIST(37,38,39,40,41,42,43)
  710. }
  711. *FontCartridge: FC5
  712. {
  713. *rcCartridgeNameID: 279
  714. *Fonts: LIST(16,17,18,46,47,48,49,107,108,109,110,111,112,113,114,115)
  715. }
  716. *FontCartridge: FC6
  717. {
  718. *rcCartridgeNameID: 280
  719. *Fonts: LIST(40,41,42,43,59,64,65,66,67,68,69,70,71,136,137,138,139)
  720. }
  721. *FontCartridge: FC7
  722. {
  723. *rcCartridgeNameID: 281
  724. *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,61,62,63)
  725. }
  726. *FontCartridge: FC8
  727. {
  728. *rcCartridgeNameID: 282
  729. *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  730. }
  731. *FontCartridge: FC9
  732. {
  733. *rcCartridgeNameID: 283
  734. *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,135)
  735. }
  736. *FontCartridge: FC10
  737. {
  738. *rcCartridgeNameID: 284
  739. *Fonts: LIST(225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,
  740. + 241,242)
  741. }
  742. *FontCartridge: FC11
  743. {
  744. *rcCartridgeNameID: 285
  745. *Fonts: LIST(148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,
  746. + 164,165,166,167,168,169,170,171,172,173,174,175,176)
  747. }
  748. *FontCartridge: FC12
  749. {
  750. *rcCartridgeNameID: 286
  751. *Fonts: LIST(177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,
  752. + 193,194,195,196,197,198,199,200,201,202)
  753. }
  754. *FontCartridge: FC13
  755. {
  756. *rcCartridgeNameID: 287
  757. *Fonts: LIST(243,244,245,246,247)
  758. }
  759. *MinFontID: 16534
  760. *MaxFontID: 32768
  761. *switch: Resolution
  762. {
  763. *case: Option1
  764. {
  765. *FontFormat: HPPCL_OUTLINE
  766. }
  767. *case: Option2
  768. {
  769. *FontFormat: HPPCL_RES
  770. }
  771. }
  772. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  773. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  774. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  775. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  776. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  777. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  778. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  779. *MinGrayFill: 1
  780. *MaxGrayFill: 100
  781. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  782. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  783. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  784. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }