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.

768 lines
22 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "T8204P.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *Include: "ttfsub.gpd"
  10. *ModelName: "Tally T8204 Plus PCL"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "pcl5eres.dll"
  13. *PrinterType: PAGE
  14. *MaxCopies: 999
  15. *PrintRate: 16
  16. *PrintRatePPM: 16
  17. *PrintRateUnit: PPM
  18. *Feature: RESDLL
  19. {
  20. *Name: "resource dll files"
  21. *ConcealFromUI?: TRUE
  22. *Option: TLY5CResDLL
  23. {
  24. *Name: "tly5cres.dll"
  25. }
  26. }
  27. *Feature: Orientation
  28. {
  29. *rcNameID: =ORIENTATION_DISPLAY
  30. *DefaultOption: PORTRAIT
  31. *Option: PORTRAIT
  32. {
  33. *rcNameID: =PORTRAIT_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.6
  37. *Cmd: "<1B>&l0O"
  38. }
  39. }
  40. *Option: LANDSCAPE_CC90
  41. {
  42. *rcNameID: =LANDSCAPE_DISPLAY
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.6
  46. *Cmd: "<1B>&l1O"
  47. }
  48. }
  49. }
  50. *Feature: InputBin
  51. {
  52. *rcNameID: =PAPER_SOURCE_DISPLAY
  53. *DefaultOption: UPPER
  54. *Option: UPPER
  55. {
  56. *rcNameID: =UPPER_TRAY_DISPLAY
  57. *Command: CmdSelect
  58. {
  59. *Order: DOC_SETUP.1
  60. *Cmd: "<1B>&l1H"
  61. }
  62. }
  63. *Option: Option2 *%Multipurpose
  64. {
  65. *rcNameID: RESDLL.TLY5CResDLL.291
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.1
  69. *Cmd: "<1B>&l2H"
  70. }
  71. }
  72. *Option: Option3 *%Optional1
  73. {
  74. *rcNameID: RESDLL.TLY5CResDLL.292
  75. *Command: CmdSelect
  76. {
  77. *Order: DOC_SETUP.1
  78. *Cmd: "<1B>&l5H"
  79. }
  80. }
  81. }
  82. *Feature: Resolution
  83. {
  84. *rcNameID: =RESOLUTION_DISPLAY
  85. *DefaultOption: Option1
  86. *Option: Option1
  87. {
  88. *Name: "600 x 600 " =DOTS_PER_INCH
  89. *DPI: PAIR(600, 600)
  90. *TextDPI: PAIR(600, 600)
  91. *MinStripBlankPixels: 32
  92. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  93. *SpotDiameter: 120
  94. *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
  95. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  96. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  97. *Command: CmdSelect
  98. {
  99. *Order: DOC_SETUP.4
  100. *Cmd: "<1B>%%-12345X@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  101. }
  102. }
  103. *Option: Option2
  104. {
  105. *Name: "300 x 300 " =DOTS_PER_INCH
  106. *DPI: PAIR(300, 300)
  107. *TextDPI: PAIR(300, 300)
  108. *MinStripBlankPixels: 32
  109. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  110. *SpotDiameter: 100
  111. *Command: CmdBeginRaster { *Cmd : "<1B>*v7S<1B>*r1A" }
  112. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  113. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  114. *Command: CmdSelect
  115. {
  116. *Order: DOC_SETUP.4
  117. *Cmd: "<1B>%%-12345X@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  118. }
  119. }
  120. }
  121. *Feature: PaperSize
  122. {
  123. *rcNameID: =PAPER_SIZE_DISPLAY
  124. *DefaultOption: LETTER
  125. *Option: LETTER
  126. {
  127. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  128. *switch: Orientation
  129. {
  130. *case: PORTRAIT
  131. {
  132. *PrintableArea: PAIR(9548, 12548)
  133. *PrintableOrigin: PAIR(266, 250)
  134. *CursorOrigin: PAIR(266, 180)
  135. *Command: CmdSelect
  136. {
  137. *Order: DOC_SETUP.10
  138. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  139. }
  140. }
  141. *case: LANDSCAPE_CC90
  142. {
  143. *PrintableArea: PAIR(9548, 12548)
  144. *PrintableOrigin: PAIR(266, 266)
  145. *CursorOrigin: PAIR(266, 12948)
  146. *Command: CmdSelect
  147. {
  148. *Order: DOC_SETUP.10
  149. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7704x5760Y"
  150. }
  151. }
  152. }
  153. }
  154. *Option: LEGAL
  155. {
  156. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  157. *switch: Orientation
  158. {
  159. *case: PORTRAIT
  160. {
  161. *PrintableArea: PAIR(9548, 16148)
  162. *PrintableOrigin: PAIR(266, 300)
  163. *CursorOrigin: PAIR(266, 180)
  164. *Command: CmdSelect
  165. {
  166. *Order: DOC_SETUP.10
  167. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  168. }
  169. }
  170. *case: LANDSCAPE_CC90
  171. {
  172. *PrintableArea: PAIR(9548, 16148)
  173. *PrintableOrigin: PAIR(266, 266)
  174. *CursorOrigin: PAIR(266, 16414)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.10
  178. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9864x5760Y"
  179. }
  180. }
  181. }
  182. }
  183. *Option: EXECUTIVE
  184. {
  185. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  186. *switch: Orientation
  187. {
  188. *case: PORTRAIT
  189. {
  190. *PrintableArea: PAIR(8048, 11948)
  191. *PrintableOrigin: PAIR(266, 250)
  192. *CursorOrigin: PAIR(266, 180)
  193. *Command: CmdSelect
  194. {
  195. *Order: DOC_SETUP.10
  196. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  197. }
  198. }
  199. *case: LANDSCAPE_CC90
  200. {
  201. *PrintableArea: PAIR(8048, 11948)
  202. *PrintableOrigin: PAIR(266, 266)
  203. *CursorOrigin: PAIR(266, 12360)
  204. *Command: CmdSelect
  205. {
  206. *Order: DOC_SETUP.10
  207. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7344x4860Y"
  208. }
  209. }
  210. }
  211. }
  212. *Option: 11X17
  213. {
  214. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  215. *switch: Orientation
  216. {
  217. *case: PORTRAIT
  218. {
  219. *PrintableArea: PAIR(12600, 19860)
  220. *PrintableOrigin: PAIR(300, 300)
  221. *CursorOrigin: PAIR(300, 180)
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.10
  225. *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x11916Y"
  226. }
  227. }
  228. *case: LANDSCAPE_CC90
  229. {
  230. *PrintableArea: PAIR(12760, 19920)
  231. *PrintableOrigin: PAIR(200, 240)
  232. *CursorOrigin: PAIR(200, 20160)
  233. *Command: CmdSelect
  234. {
  235. *Order: DOC_SETUP.10
  236. *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11916x7560Y"
  237. }
  238. }
  239. }
  240. }
  241. *Option: A3
  242. {
  243. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  244. *switch: Orientation
  245. {
  246. *case: PORTRAIT
  247. {
  248. *PrintableArea: PAIR(13428, 19308)
  249. *PrintableOrigin: PAIR(300, 300)
  250. *CursorOrigin: PAIR(300, 180)
  251. *Command: CmdSelect
  252. {
  253. *Order: DOC_SETUP.10
  254. *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8056x11584Y"
  255. }
  256. }
  257. *case: LANDSCAPE_CC90
  258. {
  259. *PrintableArea: PAIR(13588, 19368)
  260. *PrintableOrigin: PAIR(200, 240)
  261. *CursorOrigin: PAIR(200, 19608)
  262. *Command: CmdSelect
  263. {
  264. *Order: DOC_SETUP.10
  265. *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8152x11620Y"
  266. }
  267. }
  268. }
  269. }
  270. *Option: A4
  271. {
  272. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  273. *switch: Orientation
  274. {
  275. *case: PORTRAIT
  276. {
  277. *PrintableArea: PAIR(9306, 13416)
  278. *PrintableOrigin: PAIR(266, 248)
  279. *CursorOrigin: PAIR(266, 180)
  280. *Command: CmdSelect
  281. {
  282. *Order: DOC_SETUP.10
  283. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5649x8201Y"
  284. }
  285. }
  286. *case: LANDSCAPE_CC90
  287. {
  288. *PrintableArea: PAIR(9306, 13415)
  289. *PrintableOrigin: PAIR(266, 266)
  290. *CursorOrigin: PAIR(200, 13788)
  291. *Command: CmdSelect
  292. {
  293. *Order: DOC_SETUP.10
  294. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8201x5649Y"
  295. }
  296. }
  297. }
  298. }
  299. *Option: B4
  300. {
  301. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  302. *switch: Orientation
  303. {
  304. *case: PORTRAIT
  305. {
  306. *PrintableArea: PAIR(11544, 16656)
  307. *PrintableOrigin: PAIR(300, 300)
  308. *CursorOrigin: PAIR(300, 180)
  309. *Command: CmdSelect
  310. {
  311. *Order: DOC_SETUP.10
  312. *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6926x9994Y"
  313. }
  314. }
  315. *case: LANDSCAPE_CC90
  316. {
  317. *PrintableArea: PAIR(11704, 16716)
  318. *PrintableOrigin: PAIR(200, 240)
  319. *CursorOrigin: PAIR(200, 16956)
  320. *Command: CmdSelect
  321. {
  322. *Order: DOC_SETUP.10
  323. *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t9994x6926Y"
  324. }
  325. }
  326. }
  327. }
  328. *Option: ENV_B5
  329. {
  330. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  331. *switch: Orientation
  332. {
  333. *case: PORTRAIT
  334. {
  335. *PrintableArea: PAIR(7716, 11368)
  336. *PrintableOrigin: PAIR(300, 140)
  337. *CursorOrigin: PAIR(300, 140)
  338. *Command: CmdSelect
  339. {
  340. *Order: DOC_SETUP.10
  341. *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4629x6820Y"
  342. }
  343. }
  344. *case: LANDSCAPE_CC90
  345. {
  346. *PrintableArea: PAIR(7776, 11208)
  347. *PrintableOrigin: PAIR(240, 300)
  348. *CursorOrigin: PAIR(200, 11508)
  349. *Command: CmdSelect
  350. {
  351. *Order: DOC_SETUP.10
  352. *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6724x4665Y"
  353. }
  354. }
  355. }
  356. }
  357. *Option: ENV_MONARCH
  358. {
  359. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  360. *switch: Orientation
  361. {
  362. *case: PORTRAIT
  363. {
  364. *PrintableArea: PAIR(4032, 8480)
  365. *PrintableOrigin: PAIR(300, 200)
  366. *CursorOrigin: PAIR(300, 200)
  367. *Command: CmdSelect
  368. {
  369. *Order: DOC_SETUP.10
  370. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2419x5088Y"
  371. }
  372. }
  373. *case: LANDSCAPE_CC90
  374. {
  375. *PrintableArea: PAIR(4224, 8512)
  376. *PrintableOrigin: PAIR(200, 240)
  377. *CursorOrigin: PAIR(200, 8760)
  378. *Command: CmdSelect
  379. {
  380. *Order: DOC_SETUP.10
  381. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5107x2534Y"
  382. }
  383. }
  384. }
  385. }
  386. *Option: ENV_10
  387. {
  388. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  389. *switch: Orientation
  390. {
  391. *case: PORTRAIT
  392. {
  393. *PrintableArea: PAIR(4298, 10748)
  394. *PrintableOrigin: PAIR(266, 250)
  395. *CursorOrigin: PAIR(266, 250)
  396. *Command: CmdSelect
  397. {
  398. *Order: DOC_SETUP.10
  399. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2592x6528Y"
  400. }
  401. }
  402. *case: LANDSCAPE_CC90
  403. {
  404. *PrintableArea: PAIR(4298, 10748)
  405. *PrintableOrigin: PAIR(266, 266)
  406. *CursorOrigin: PAIR(200, 11014)
  407. *Command: CmdSelect
  408. {
  409. *Order: DOC_SETUP.10
  410. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6547x2726Y"
  411. }
  412. }
  413. }
  414. }
  415. *Option: ENV_DL
  416. {
  417. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  418. *switch: Orientation
  419. {
  420. *case: PORTRAIT
  421. {
  422. *PrintableArea: PAIR(4608, 9888)
  423. *PrintableOrigin: PAIR(300, 200)
  424. *CursorOrigin: PAIR(300, 200)
  425. *Command: CmdSelect
  426. {
  427. *Order: DOC_SETUP.10
  428. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2765x5933Y"
  429. }
  430. }
  431. *case: LANDSCAPE_CC90
  432. {
  433. *PrintableArea: PAIR(4768, 9920)
  434. *PrintableOrigin: PAIR(200, 200)
  435. *CursorOrigin: PAIR(200, 10152)
  436. *Command: CmdSelect
  437. {
  438. *Order: DOC_SETUP.10
  439. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2861Y"
  440. }
  441. }
  442. }
  443. }
  444. *Option: ENV_C5
  445. {
  446. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  447. *switch: Orientation
  448. {
  449. *case: PORTRAIT
  450. {
  451. *PrintableArea: PAIR(7072, 10304)
  452. *PrintableOrigin: PAIR(300, 200)
  453. *CursorOrigin: PAIR(300, 200)
  454. *Command: CmdSelect
  455. {
  456. *Order: DOC_SETUP.10
  457. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4243x6182Y"
  458. }
  459. }
  460. *case: LANDSCAPE_CC90
  461. {
  462. *PrintableArea: PAIR(7232, 10336)
  463. *PrintableOrigin: PAIR(200, 240)
  464. *CursorOrigin: PAIR(200, 10576)
  465. *Command: CmdSelect
  466. {
  467. *Order: DOC_SETUP.10
  468. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6202x4339Y"
  469. }
  470. }
  471. }
  472. }
  473. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  474. {
  475. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  476. *switch: Orientation
  477. {
  478. *case: PORTRAIT
  479. {
  480. *PrintableArea: PAIR(6376,8856)
  481. *PrintableOrigin: PAIR(300, 300)
  482. *CursorOrigin: PAIR(300, 180)
  483. *Command: CmdSelect
  484. {
  485. *Order: DOC_SETUP.10
  486. *Cmd: "<1B>&l71a8c1E<1B>*p0x0Y<1B>*c0t3825x5313Y"
  487. }
  488. }
  489. *case: LANDSCAPE_CC90
  490. {
  491. *PrintableArea: PAIR(6396, 8856)
  492. *PrintableOrigin: PAIR(300, 300)
  493. *CursorOrigin: PAIR(200, 9156)
  494. *Command: CmdSelect
  495. {
  496. *Order: DOC_SETUP.10
  497. *Cmd: "<1B>&l71a8c1E<1B>*p0x0Y<1B>*c0t3837x5313Y"
  498. }
  499. }
  500. }
  501. }
  502. }
  503. *Feature: MediaType
  504. {
  505. *rcNameID: =MEDIA_TYPE_DISPLAY
  506. *DefaultOption: STANDARD
  507. *Option: STANDARD
  508. {
  509. *rcNameID: =PLAIN_PAPER_DISPLAY
  510. *Command: CmdSelect
  511. {
  512. *Order: DOC_SETUP.14
  513. *Cmd: "<1B>&l0M"
  514. }
  515. }
  516. *Option: TRANSPARENCY
  517. {
  518. *rcNameID: =TRANSPARENCY_DISPLAY
  519. *Command: CmdSelect
  520. {
  521. *Order: DOC_SETUP.14
  522. *Cmd: "<1B>&l4M"
  523. }
  524. }
  525. }
  526. *Feature: PrintQuality
  527. {
  528. *rcNameID: =TEXT_QUALITY_DISPLAY
  529. *DefaultOption: Option1
  530. *Option: Option1
  531. {
  532. *rcNameID: 317
  533. *Command: CmdSelect
  534. {
  535. *Order: DOC_SETUP.13
  536. *Cmd: "<1B>*o0Q"
  537. }
  538. }
  539. *Option: Option2
  540. {
  541. *rcNameID: 318
  542. *Command: CmdSelect
  543. {
  544. *Order: DOC_SETUP.13
  545. *Cmd: "<1B>*o-1Q"
  546. }
  547. }
  548. *Option: Option3
  549. {
  550. *rcNameID: 319
  551. *Command: CmdSelect
  552. {
  553. *Order: DOC_SETUP.13
  554. *Cmd: "<1B>*o1Q"
  555. }
  556. }
  557. }
  558. *Feature: ColorMode
  559. {
  560. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  561. *DefaultOption: 24bpp
  562. *Option: Mono
  563. {
  564. *rcNameID: =MONO_DISPLAY
  565. *DevNumOfPlanes: 1
  566. *DevBPP: 1
  567. *Color? : FALSE
  568. }
  569. *Option: 24bpp
  570. {
  571. *rcNameID: =24BPP_DISPLAY
  572. *DevNumOfPlanes: 1
  573. *DevBPP: 24
  574. *DrvBPP: 24
  575. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  576. *PaletteSize: 256
  577. *PaletteProgrammable? : TRUE
  578. *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
  579. + "I" }
  580. *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  581. *Command: CmdSetSrcBmpWidth { *Cmd : "<1B>*r" %d{RasterDataWidthInBytes / 3}"S" }
  582. *Command: CmdSelect
  583. {
  584. *Order: DOC_SETUP.16
  585. *Cmd: "<1B>*v1N<1B>*v1O<1B>*l184O<1B>*v6W<0003080808081B>*v0a0b0c7i255a255b255c0I<1B>*"
  586. + "o3W<060400>"
  587. }
  588. }
  589. }
  590. *Feature: Halftone
  591. {
  592. *rcNameID: =HALFTONING_DISPLAY
  593. *DefaultOption: HT_PATSIZE_AUTO
  594. *Option: HT_PATSIZE_AUTO
  595. {
  596. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  597. }
  598. *Ifdef: WINNT_50
  599. *Option: HT_PATSIZE_SUPERCELL_M
  600. {
  601. *rcNameID: =HT_SUPERCELL_DISPLAY
  602. }
  603. *Endif:
  604. *Option: HT_PATSIZE_6x6_M
  605. {
  606. *rcNameID: =HT_DITHER6X6_DISPLAY
  607. }
  608. *Option: HT_PATSIZE_8x8_M
  609. {
  610. *rcNameID: =HT_DITHER8X8_DISPLAY
  611. }
  612. }
  613. *Feature: Memory
  614. {
  615. *rcNameID: =PRINTER_MEMORY_DISPLAY
  616. *DefaultOption: 196608KB
  617. *MemConfigKB: PAIR(196608, 186250)
  618. *MemConfigKB: PAIR(245760, 220750)
  619. *MemConfigKB: PAIR(319488, 309250)
  620. *MemConfigKB: PAIR(393216, 353550)
  621. }
  622. *%% =======================
  623. *%% Optional Input Trays
  624. *%% =======================
  625. *Feature: TRAY2
  626. {
  627. *rcNameID: RESDLL.TLY5CResDLL.295 *%High Capacity Feeder
  628. *FeatureType: PRINTER_PROPERTY
  629. *DefaultOption: FALSE
  630. *Option: FALSE
  631. {
  632. *rcNameID: 444
  633. }
  634. *Option: TRUE
  635. {
  636. *rcNameID: 443
  637. }
  638. *InvalidCombination: LIST(TRAY2.FALSE,InputBin.Option3)
  639. }
  640. *%%% CmdStartDoc
  641. *switch: Resolution
  642. {
  643. *case: Option1
  644. {
  645. *Command: CmdStartDoc
  646. {
  647. *Order: DOC_SETUP.5
  648. *Cmd: "<1B>&u600D<1B>*r0F"
  649. }
  650. }
  651. *case: Option2
  652. {
  653. *Command: CmdStartDoc
  654. {
  655. *Order: DOC_SETUP.5
  656. *Cmd: "<1B>&u300D<1B>*r0F"
  657. }
  658. }
  659. }
  660. *Command: CmdStartPage
  661. {
  662. *Order: PAGE_SETUP.1
  663. *Cmd: "<1B>*b0M<0D>"
  664. }
  665. *Command: CmdEndJob
  666. {
  667. *Order: JOB_FINISH.1
  668. *Cmd: "<1B>E<1B>%%-12345X"
  669. }
  670. *Command: CmdCopies
  671. {
  672. *Order: DOC_SETUP.11
  673. *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  674. }
  675. *RotateCoordinate?: TRUE
  676. *RotateRaster?: TRUE
  677. *RotateFont?: TRUE
  678. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  679. *MemoryUsage: LIST(FONT)
  680. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  681. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  682. *XMoveThreshold: 0
  683. *YMoveThreshold: 0
  684. *XMoveUnit: 600
  685. *YMoveUnit: 600
  686. *switch: Resolution
  687. {
  688. *case: Option1
  689. {
  690. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  691. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  692. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  693. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  694. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,12600]{max_repeat((DestYRel / 2) )}"Y" }
  695. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,12600]{max_repeat((DestYRel / 2) )}"Y" }
  696. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  697. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  698. }
  699. *case: Option2
  700. {
  701. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 4) }"X" }
  702. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 4) )}"X" }
  703. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 4) )}"X" }
  704. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 4) }"Y" }
  705. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,12600]{max_repeat((DestYRel / 4) )}"Y" }
  706. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,12600]{max_repeat((DestYRel / 4) )}"Y" }
  707. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 4) }"A" }
  708. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 4) }"B" }
  709. }
  710. }
  711. *Command: CmdCR { *Cmd : "<0D>" }
  712. *Command: CmdLF { *Cmd : "<0A>" }
  713. *Command: CmdFF { *Cmd : "<0C>" }
  714. *Command: CmdDefinePaletteEntry { *Cmd : "<1B>*v" %d{RedValue}"a" %d{GreenValue}"b" %d{BlueValue}"c" %d{PaletteIndexToProgram}
  715. + "I" }
  716. *Command: CmdSelectPaletteEntry { *Cmd : "<1B>*v" %d{CurrentPaletteIndex}"S" }
  717. *Command: CmdBackSpace { *Cmd : "<08>" }
  718. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  719. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  720. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  721. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  722. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  723. *EjectPageWithFF?: TRUE
  724. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  725. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  726. *OutputDataFormat: H_BYTE
  727. *OptimizeLeftBound?: TRUE
  728. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  729. *CursorYAfterSendBlockData: AUTO_INCREMENT
  730. *DefaultFont: 136
  731. *DefaultCTT: 0
  732. *CharPosition: BASELINE
  733. *TTFSEnabled?: TRUE
  734. *DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153,154,155,156,157,225,230)
  735. *MinFontID: 16534
  736. *MaxFontID: 32768
  737. *FontFormat: HPPCL_OUTLINE
  738. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  739. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  740. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  741. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  742. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  743. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  744. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  745. *MinGrayFill: 1
  746. *MaxGrayFill: 100
  747. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  748. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  749. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  750.