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.

951 lines
25 KiB

  1. *%
  2. *% Copyright (c) 1997 - 2001 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *% This is based on HPLJ2100 model
  6. *GPDSpecVersion: "1.0"
  7. *GPDFileName: "HPLJ2100.GPD"
  8. *GPDFileVersion: "1.0"
  9. *Include: "StdNames.gpd"
  10. *% Include: "ttfsub.gpd"
  11. *ModelName: "HP LaserJet 2100"
  12. *MasterUnits: PAIR(1200, 1200)
  13. *ResourceDLL: "pcl5eres.dll"
  14. *PrintRate: 10
  15. *PrintRatePPM: 10
  16. *PrintRateUnit: PPM
  17. *PrinterType: PAGE
  18. *MaxCopies: 32767
  19. *FontCartSlots: 1
  20. *Feature: Orientation
  21. {
  22. *rcNameID: =ORIENTATION_DISPLAY
  23. *DefaultOption: PORTRAIT
  24. *Option: PORTRAIT
  25. {
  26. *rcNameID: =PORTRAIT_DISPLAY
  27. *Command: CmdSelect
  28. {
  29. *Order: DOC_SETUP.8
  30. *Cmd: "<1B>&l0O"
  31. }
  32. }
  33. *Option: LANDSCAPE_CC90
  34. {
  35. *rcNameID: =LANDSCAPE_DISPLAY
  36. *Command: CmdSelect
  37. {
  38. *Order: DOC_SETUP.8
  39. *Cmd: "<1B>&l1O"
  40. }
  41. }
  42. }
  43. *Feature: InputBin
  44. {
  45. *rcNameID: =PAPER_SOURCE_DISPLAY
  46. *DefaultOption: Option1
  47. *Option: Option1
  48. {
  49. *rcNameID: 272
  50. *Command: CmdSelect
  51. {
  52. *Order: DOC_SETUP.11
  53. *Cmd: "<1B>&l7H"
  54. }
  55. }
  56. *Option: UPPER
  57. {
  58. *rcNameID: 276
  59. *Command: CmdSelect
  60. {
  61. *Order: DOC_SETUP.11
  62. *Cmd: "<1B>&l4H"
  63. }
  64. }
  65. *Option: MANUAL
  66. {
  67. *rcNameID: =MANUAL_FEED_DISPLAY
  68. *Command: CmdSelect
  69. {
  70. *Order: DOC_SETUP.11
  71. *Cmd: "<1B>&l2H"
  72. }
  73. }
  74. *Option: LOWER
  75. {
  76. *rcNameID: 277
  77. *Command: CmdSelect
  78. {
  79. *Order: DOC_SETUP.11
  80. *Cmd: "<1B>&l1H"
  81. }
  82. *Constraints: LIST(PaperSize.A5,PaperSize.ENV_10,PaperSize.ENV_DL,PaperSize.ENV_C5,
  83. + PaperSize.ENV_MONARCH,PaperSize.CUSTOMSIZE)
  84. }
  85. *Option: Tray3
  86. {
  87. *rcNameID: 410
  88. *Command: CmdSelect
  89. {
  90. *Order: DOC_SETUP.11
  91. *Cmd: "<1B>&l5H"
  92. }
  93. *Constraints: LIST(PaperSize.A5,PaperSize.ENV_10,PaperSize.ENV_DL,PaperSize.ENV_C5,
  94. + PaperSize.ENV_MONARCH,PaperSize.CUSTOMSIZE)
  95. }
  96. }
  97. *Feature: Resolution
  98. {
  99. *rcNameID: =RESOLUTION_DISPLAY
  100. *DefaultOption: Option1
  101. *Option: Option1
  102. {
  103. *Name: "600 x 600 " =DOTS_PER_INCH
  104. *DPI: PAIR(600, 600)
  105. *TextDPI: PAIR(600, 600)
  106. *MinStripBlankPixels: 32
  107. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  108. *SpotDiameter: 100
  109. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  110. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  111. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  112. *Command: CmdSelect
  113. {
  114. *Order: DOC_SETUP.6
  115. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  116. }
  117. }
  118. *Option: Option2
  119. {
  120. *Name: "300 x 300 " =DOTS_PER_INCH
  121. *DPI: PAIR(300, 300)
  122. *TextDPI: PAIR(300, 300)
  123. *MinStripBlankPixels: 32
  124. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  125. *SpotDiameter: 100
  126. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  127. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  128. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  129. *Command: CmdSelect
  130. {
  131. *Order: DOC_SETUP.6
  132. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  133. }
  134. }
  135. }
  136. *Feature: PaperSize
  137. {
  138. *rcNameID: =PAPER_SIZE_DISPLAY
  139. *DefaultOption: LETTER
  140. *Option: A5
  141. {
  142. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1010
  143. *PageProtectMem: 2125
  144. *switch: Orientation
  145. {
  146. *case: PORTRAIT
  147. {
  148. *PrintableArea: PAIR(6396, 9372)
  149. *PrintableOrigin: PAIR(300, 300)
  150. *CursorOrigin: PAIR(300, 160)
  151. *Command: CmdSelect
  152. {
  153. *Order: DOC_SETUP.12
  154. *Cmd: "<1B>&l13a8c1E<1B>*p0x0Y<1B>*c0t3838x5762Y"
  155. }
  156. }
  157. *case: LANDSCAPE_CC90
  158. {
  159. *PrintableArea: PAIR(6396, 9324)
  160. *PrintableOrigin: PAIR(300, 300)
  161. *CursorOrigin: PAIR(260, 9624)
  162. *Command: CmdSelect
  163. {
  164. *Order: DOC_SETUP.12
  165. *Cmd: "<1B>&l101a4d1e32f-4126Z<1B>*p0x0Y<1B>*c0t5594x3886Y"
  166. }
  167. }
  168. }
  169. }
  170. *Option: LETTER
  171. {
  172. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1000
  173. *PageProtectMem: 4109
  174. *switch: Orientation
  175. {
  176. *case: PORTRAIT
  177. {
  178. *PrintableArea: PAIR(9600, 12600)
  179. *PrintableOrigin: PAIR(300, 300)
  180. *CursorOrigin: PAIR(300, 160)
  181. *Command: CmdSelect
  182. {
  183. *Order: DOC_SETUP.12
  184. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7728Y"
  185. }
  186. }
  187. *case: LANDSCAPE_CC90
  188. {
  189. *PrintableArea: PAIR(9760, 12600)
  190. *PrintableOrigin: PAIR(200, 300)
  191. *CursorOrigin: PAIR(200, 12900)
  192. *Command: CmdSelect
  193. {
  194. *Order: DOC_SETUP.12
  195. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7560x5880Y"
  196. }
  197. }
  198. }
  199. }
  200. *Option: LEGAL
  201. {
  202. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1004
  203. *PageProtectMem: 5230
  204. *switch: Orientation
  205. {
  206. *case: PORTRAIT
  207. {
  208. *PrintableArea: PAIR(9600, 16200)
  209. *PrintableOrigin: PAIR(300, 300)
  210. *CursorOrigin: PAIR(300, 160)
  211. *Command: CmdSelect
  212. {
  213. *Order: DOC_SETUP.12
  214. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9888Y"
  215. }
  216. }
  217. *case: LANDSCAPE_CC90
  218. {
  219. *PrintableArea: PAIR(9760, 16200)
  220. *PrintableOrigin: PAIR(200, 300)
  221. *CursorOrigin: PAIR(200, 16500)
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.12
  225. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9720x5880Y"
  226. }
  227. }
  228. }
  229. }
  230. *Option: EXECUTIVE
  231. {
  232. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1006
  233. *PageProtectMem: 4109
  234. *switch: Orientation
  235. {
  236. *case: PORTRAIT
  237. {
  238. *PrintableArea: PAIR(8100, 12000)
  239. *PrintableOrigin: PAIR(300, 300)
  240. *CursorOrigin: PAIR(300, 160)
  241. *Command: CmdSelect
  242. {
  243. *Order: DOC_SETUP.12
  244. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7368Y"
  245. }
  246. }
  247. *case: LANDSCAPE_CC90
  248. {
  249. *PrintableArea: PAIR(8180, 12000)
  250. *PrintableOrigin: PAIR(220, 300)
  251. *CursorOrigin: PAIR(200, 12300)
  252. *Command: CmdSelect
  253. {
  254. *Order: DOC_SETUP.12
  255. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7200x4980Y"
  256. }
  257. }
  258. }
  259. }
  260. *Option: A4
  261. {
  262. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1008
  263. *PageProtectMem: 4249
  264. *switch: Orientation
  265. {
  266. *case: PORTRAIT
  267. {
  268. *PrintableArea: PAIR(9352, 13400)
  269. *PrintableOrigin: PAIR(260, 300)
  270. *CursorOrigin: PAIR(260, 160)
  271. *Command: CmdSelect
  272. {
  273. *Order: DOC_SETUP.12
  274. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5642x8225Y"
  275. }
  276. }
  277. *case: LANDSCAPE_CC90
  278. {
  279. *PrintableArea: PAIR(9424, 13428)
  280. *PrintableOrigin: PAIR(200, 300)
  281. *CursorOrigin: PAIR(200, 13728)
  282. *Command: CmdSelect
  283. {
  284. *Order: DOC_SETUP.12
  285. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8057x5714Y"
  286. }
  287. }
  288. }
  289. }
  290. *Option: ENV_10
  291. {
  292. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1019
  293. *PageProtectMem: 4109
  294. *switch: Orientation
  295. {
  296. *case: PORTRAIT
  297. {
  298. *PrintableArea: PAIR(4346, 10800)
  299. *PrintableOrigin: PAIR(300, 300)
  300. *switch: Resolution
  301. {
  302. *case: Option2
  303. {
  304. *PrintableArea: PAIR(4344, 10800)
  305. }
  306. }
  307. *CursorOrigin: PAIR(300, 180)
  308. *Command: CmdSelect
  309. {
  310. *Order: DOC_SETUP.12
  311. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6624Y"
  312. }
  313. }
  314. *case: LANDSCAPE_CC90
  315. {
  316. *PrintableArea: PAIR(4476, 10800)
  317. *PrintableOrigin: PAIR(200, 300)
  318. *CursorOrigin: PAIR(200, 11100)
  319. *Command: CmdSelect
  320. {
  321. *Order: DOC_SETUP.12
  322. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  323. }
  324. }
  325. }
  326. }
  327. *Option: ENV_DL
  328. {
  329. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1026
  330. *PageProtectMem: 4109
  331. *switch: Orientation
  332. {
  333. *case: PORTRAIT
  334. {
  335. *PrintableArea: PAIR(4576, 9792)
  336. *PrintableOrigin: PAIR(300, 300)
  337. *CursorOrigin: PAIR(300, 180)
  338. *Command: CmdSelect
  339. {
  340. *Order: DOC_SETUP.12
  341. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2757x6019Y"
  342. }
  343. }
  344. *case: LANDSCAPE_CC90
  345. {
  346. *PrintableArea: PAIR(4796, 9792)
  347. *PrintableOrigin: PAIR(200, 300)
  348. *CursorOrigin: PAIR(200, 10092)
  349. *Command: CmdSelect
  350. {
  351. *Order: DOC_SETUP.12
  352. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  353. }
  354. }
  355. }
  356. }
  357. *Option: ENV_C5
  358. {
  359. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1027
  360. *PageProtectMem: 4109
  361. *switch: Orientation
  362. {
  363. *case: PORTRAIT
  364. {
  365. *PrintableArea: PAIR(7036, 10214)
  366. *PrintableOrigin: PAIR(300, 300)
  367. *switch: Resolution
  368. {
  369. *case: Option2
  370. {
  371. *PrintableArea: PAIR(7036, 10212)
  372. }
  373. }
  374. *CursorOrigin: PAIR(300, 180)
  375. *Command: CmdSelect
  376. {
  377. *Order: DOC_SETUP.12
  378. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6278Y"
  379. }
  380. }
  381. *case: LANDSCAPE_CC90
  382. {
  383. *PrintableArea: PAIR(7056, 10224)
  384. *PrintableOrigin: PAIR(300, 300)
  385. *CursorOrigin: PAIR(200, 10524)
  386. *Command: CmdSelect
  387. {
  388. *Order: DOC_SETUP.12
  389. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  390. }
  391. }
  392. }
  393. }
  394. *Option: ENV_MONARCH
  395. {
  396. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1036
  397. *PageProtectMem: 4109
  398. *switch: Orientation
  399. {
  400. *case: PORTRAIT
  401. {
  402. *PrintableArea: PAIR(4046, 8400)
  403. *PrintableOrigin: PAIR(300, 300)
  404. *switch: Resolution
  405. {
  406. *case: Option2
  407. {
  408. *PrintableArea: PAIR(4044, 8400)
  409. }
  410. }
  411. *CursorOrigin: PAIR(300, 180)
  412. *Command: CmdSelect
  413. {
  414. *Order: DOC_SETUP.12
  415. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5184Y"
  416. }
  417. }
  418. *case: LANDSCAPE_CC90
  419. {
  420. *PrintableArea: PAIR(4076, 8400)
  421. *PrintableOrigin: PAIR(300, 300)
  422. *CursorOrigin: PAIR(200, 8700)
  423. *Command: CmdSelect
  424. {
  425. *Order: DOC_SETUP.12
  426. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2557Y"
  427. }
  428. }
  429. }
  430. }
  431. *Option: CUSTOMSIZE
  432. {
  433. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1255
  434. *MinSize: PAIR(3600, 6000)
  435. *MaxSize: PAIR(10200, 32767)
  436. *MaxPrintableWidth: 10200
  437. *MinLeftMargin: 100
  438. *CenterPrintable?: FALSE
  439. *PageProtectMem: 1692
  440. *switch: Orientation
  441. {
  442. *case: PORTRAIT
  443. {
  444. *Command: CmdSelect
  445. {
  446. *Order: DOC_SETUP.12
  447. *Cmd: "<1B>&l101a4d1e" %d{(PhysPaperLength / 300) - 1}"F<1B>*p0x0Y<1B>*p0x0Y<1B>*c0t" %d{(((PhysPaperWidth - 598) * 6) / 10) }
  448. + "x" %d{(((PhysPaperLength - 440) * 6) / 10) }"Y"
  449. }
  450. }
  451. *case: LANDSCAPE_CC90
  452. {
  453. *Command: CmdSelect
  454. {
  455. *Order: DOC_SETUP.12
  456. *Cmd: "<1B>&l101a4d1e" %d{(PhysPaperLength / 300) - 1}"f" %d{(((PhysPaperLength - 16800) * 6) / 10) }
  457. + "Z<1B>*p0x0Y<1B>*c0t" %d{(((PhysPaperLength - 600) * 6) / 10) }"x" %d{(((PhysPaperWidth - 600) * 6) / 10) }
  458. + "Y"
  459. }
  460. }
  461. }
  462. }
  463. }
  464. *Feature: Economode
  465. {
  466. *rcNameID: 377
  467. *DefaultOption: Option1
  468. *Option: Option1
  469. {
  470. *rcNameID: 265
  471. }
  472. *Option: Option2
  473. {
  474. *rcNameID: 266
  475. *Command: CmdSelect
  476. {
  477. *Order: DOC_SETUP.5
  478. *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  479. }
  480. }
  481. *Option: Option3
  482. {
  483. *rcNameID: 267
  484. *Command: CmdSelect
  485. {
  486. *Order: DOC_SETUP.5
  487. *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  488. }
  489. }
  490. }
  491. *Feature: RET
  492. {
  493. *rcNameID: 378
  494. *DefaultOption: Option1
  495. *Option: Option1
  496. {
  497. *rcNameID: 293
  498. }
  499. *Option: Option2
  500. {
  501. *rcNameID: 297
  502. *Command: CmdSelect
  503. {
  504. *Order: DOC_SETUP.4
  505. *Cmd: "@PJL SET RET=LIGHT<0A>"
  506. }
  507. }
  508. *Option: Option3
  509. {
  510. *rcNameID: 298
  511. *Command: CmdSelect
  512. {
  513. *Order: DOC_SETUP.4
  514. *Cmd: "@PJL SET RET=MEDIUM<0A>"
  515. }
  516. }
  517. *Option: Option4
  518. {
  519. *rcNameID: 299
  520. *Command: CmdSelect
  521. {
  522. *Order: DOC_SETUP.4
  523. *Cmd: "@PJL SET RET=DARK<0A>"
  524. }
  525. }
  526. *Option: Option5
  527. {
  528. *rcNameID: 300
  529. *Command: CmdSelect
  530. {
  531. *Order: DOC_SETUP.4
  532. *Cmd: "@PJL SET RET=OFF<0A>"
  533. }
  534. }
  535. }
  536. *Feature: TRAY3
  537. {
  538. *rcNameID: 410
  539. *FeatureType: PRINTER_PROPERTY
  540. *DefaultOption: FALSE
  541. *Option: FALSE
  542. {
  543. *rcNameID: 444
  544. *Constraints: LIST(InputBin.Tray3)
  545. }
  546. *Option: TRUE
  547. {
  548. *rcNameID: 443
  549. }
  550. }
  551. *Feature: Halftone
  552. {
  553. *rcNameID: =HALFTONING_DISPLAY
  554. *DefaultOption: HT_PATSIZE_AUTO
  555. *Option: HT_PATSIZE_AUTO
  556. {
  557. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  558. }
  559. *Option: HT_PATSIZE_6x6_M
  560. {
  561. *rcNameID: =HT_DITHER6X6_DISPLAY
  562. }
  563. *Option: HT_PATSIZE_8x8_M
  564. {
  565. *rcNameID: =HT_DITHER8X8_DISPLAY
  566. }
  567. }
  568. *Feature: Memory
  569. {
  570. *rcNameID: =PRINTER_MEMORY_DISPLAY
  571. *DefaultOption: 4096KB
  572. *Option: 2048KB
  573. {
  574. *Name: "2MB"
  575. *MemoryConfigKB: PAIR(2048, 1350)
  576. }
  577. *Option: 3072KB
  578. {
  579. *Name: "3MB"
  580. *MemoryConfigKB: PAIR(3072, 2250)
  581. }
  582. *Option: 4096KB
  583. {
  584. *Name: "4MB"
  585. *MemoryConfigKB: PAIR(4096, 3150)
  586. }
  587. *Option: 5120KB
  588. {
  589. *Name: "5MB"
  590. *MemoryConfigKB: PAIR(5120, 4050)
  591. }
  592. *Option: 6144KB
  593. {
  594. *Name: "6MB"
  595. *MemoryConfigKB: PAIR(6144, 4950)
  596. }
  597. *Option: 7168KB
  598. {
  599. *Name: "7MB"
  600. *MemoryConfigKB: PAIR(7168, 5850)
  601. }
  602. *Option: 8192KB
  603. {
  604. *Name: "8MB"
  605. *MemoryConfigKB: PAIR(8192, 6750)
  606. }
  607. *Option: 9216KB
  608. {
  609. *Name: "9MB"
  610. *MemoryConfigKB: PAIR(9216, 7650)
  611. }
  612. *Option: 10240KB
  613. {
  614. *Name: "10MB"
  615. *MemoryConfigKB: PAIR(10240, 8550)
  616. }
  617. *Option: 11264KB
  618. {
  619. *Name: "11MB"
  620. *MemoryConfigKB: PAIR(11264, 9450)
  621. }
  622. *Option: 12288KB
  623. {
  624. *Name: "12MB"
  625. *MemoryConfigKB: PAIR(12288, 10350)
  626. }
  627. *Option: 13312KB
  628. {
  629. *Name: "13MB"
  630. *MemoryConfigKB: PAIR(13312, 11250)
  631. }
  632. *Option: 14336KB
  633. {
  634. *Name: "14MB"
  635. *MemoryConfigKB: PAIR(14336, 12150)
  636. }
  637. *Option: 15360KB
  638. {
  639. *Name: "15MB"
  640. *MemoryConfigKB: PAIR(15360, 13050)
  641. }
  642. *Option: 16384KB
  643. {
  644. *Name: "16MB"
  645. *MemoryConfigKB: PAIR(16384, 13950)
  646. }
  647. *Option: 17408KB
  648. {
  649. *Name: "17MB"
  650. *MemoryConfigKB: PAIR(17408, 14850)
  651. }
  652. *Option: 18432KB
  653. {
  654. *Name: "18MB"
  655. *MemoryConfigKB: PAIR(18432, 15750)
  656. }
  657. *Option: 19456KB
  658. {
  659. *Name: "19MB"
  660. *MemoryConfigKB: PAIR(19456, 16650)
  661. }
  662. *Option: 20480KB
  663. {
  664. *Name: "20MB"
  665. *MemoryConfigKB: PAIR(20480, 17550)
  666. }
  667. *Option: 21504KB
  668. {
  669. *Name: "21MB"
  670. *MemoryConfigKB: PAIR(21504, 18450)
  671. }
  672. *Option: 22528KB
  673. {
  674. *Name: "22MB"
  675. *MemoryConfigKB: PAIR(22528, 19350)
  676. }
  677. *Option: 23552KB
  678. {
  679. *Name: "23MB"
  680. *MemoryConfigKB: PAIR(23552, 20250)
  681. }
  682. *Option: 24576KB
  683. {
  684. *Name: "24MB"
  685. *MemoryConfigKB: PAIR(24576, 21150)
  686. }
  687. *Option: 25600KB
  688. {
  689. *Name: "25MB"
  690. *MemoryConfigKB: PAIR(25600, 22050)
  691. }
  692. *Option: 26624KB
  693. {
  694. *Name: "26MB"
  695. *MemoryConfigKB: PAIR(26624, 22950)
  696. }
  697. *Option: 27648KB
  698. {
  699. *Name: "27MB"
  700. *MemoryConfigKB: PAIR(27648, 23850)
  701. }
  702. *Option: 28672KB
  703. {
  704. *Name: "28MB"
  705. *MemoryConfigKB: PAIR(28672, 24750)
  706. }
  707. *Option: 29696KB
  708. {
  709. *Name: "29MB"
  710. *MemoryConfigKB: PAIR(29696, 25650)
  711. }
  712. *Option: 30720KB
  713. {
  714. *Name: "30MB"
  715. *MemoryConfigKB: PAIR(30720, 26550)
  716. }
  717. *Option: 31744KB
  718. {
  719. *Name: "31MB"
  720. *MemoryConfigKB: PAIR(31744, 27450)
  721. }
  722. *Option: 32768KB
  723. {
  724. *Name: "32MB"
  725. *MemoryConfigKB: PAIR(32768, 28350)
  726. }
  727. *Option: 33792KB
  728. {
  729. *Name: "33MB"
  730. *MemoryConfigKB: PAIR(33792, 29250)
  731. }
  732. *Option: 34816KB
  733. {
  734. *Name: "34MB"
  735. *MemoryConfigKB: PAIR(34816, 30420)
  736. }
  737. *Option: 35840KB
  738. {
  739. *Name: "35MB"
  740. *MemoryConfigKB: PAIR(35840, 31050)
  741. }
  742. *Option: 36864KB
  743. {
  744. *Name: "36MB"
  745. *MemoryConfigKB: PAIR(36864, 31950)
  746. }
  747. *Option: 37888KB
  748. {
  749. *Name: "37MB"
  750. *MemoryConfigKB: PAIR(37888, 32850)
  751. }
  752. *Option: 38912KB
  753. {
  754. *Name: "38MB"
  755. *MemoryConfigKB: PAIR(38912, 33750)
  756. }
  757. *Option: 39936KB
  758. {
  759. *Name: "39MB"
  760. *MemoryConfigKB: PAIR(39936, 34650)
  761. }
  762. *Option: 40960KB
  763. {
  764. *Name: "40MB"
  765. *MemoryConfigKB: PAIR(40960, 35550)
  766. }
  767. *Option: 41984KB
  768. {
  769. *Name: "41MB"
  770. *MemoryConfigKB: PAIR(41984, 36450)
  771. }
  772. *Option: 43008KB
  773. {
  774. *Name: "42MB"
  775. *MemoryConfigKB: PAIR(43008, 37350)
  776. }
  777. *Option: 44032KB
  778. {
  779. *Name: "43MB"
  780. *MemoryConfigKB: PAIR(44032, 38250)
  781. }
  782. *Option: 45056KB
  783. {
  784. *Name: "44MB"
  785. *MemoryConfigKB: PAIR(45056, 39150)
  786. }
  787. *Option: 46080KB
  788. {
  789. *Name: "45MB"
  790. *MemoryConfigKB: PAIR(46080, 40050)
  791. }
  792. *Option: 47104KB
  793. {
  794. *Name: "46MB"
  795. *MemoryConfigKB: PAIR(47104, 40950)
  796. }
  797. *Option: 48128KB
  798. {
  799. *Name: "47MB"
  800. *MemoryConfigKB: PAIR(48128, 41850)
  801. }
  802. *Option: 49152KB
  803. {
  804. *Name: "48MB"
  805. *MemoryConfigKB: PAIR(49152, 42750)
  806. }
  807. *Option: 50176KB
  808. {
  809. *Name: "49MB"
  810. *MemoryConfigKB: PAIR(50176, 43650)
  811. }
  812. *Option: 51200KB
  813. {
  814. *Name: "50MB"
  815. *MemoryConfigKB: PAIR(51200, 44550)
  816. }
  817. }
  818. *Feature: PageProtect
  819. {
  820. *rcNameID: =PAGE_PROTECTION_DISPLAY
  821. *DefaultOption: OFF
  822. *Option: ON
  823. {
  824. *rcNameID: =ON_DISPLAY
  825. *Command: CmdSelect
  826. {
  827. *Order: DOC_SETUP.1
  828. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=ON<0A>"
  829. }
  830. }
  831. *Option: OFF
  832. {
  833. *rcNameID: =OFF_DISPLAY
  834. *Command: CmdSelect
  835. {
  836. *Order: DOC_SETUP.1
  837. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>"
  838. }
  839. }
  840. }
  841. *Command: CmdStartDoc
  842. {
  843. *Order: DOC_SETUP.7
  844. *Cmd: "<1B>&u600D<1B>*r0F"
  845. }
  846. *Command: CmdStartPage
  847. {
  848. *Order: PAGE_SETUP.1
  849. *Cmd: "<1B>*b0M<0D>"
  850. }
  851. *Command: CmdEndJob
  852. {
  853. *Order: JOB_FINISH.1
  854. *Cmd: "<1B>E<1B>%%-12345X"
  855. }
  856. *Command: CmdCopies
  857. {
  858. *Order: DOC_SETUP.13
  859. *Cmd: "<1B>&l" %d[1,32767]{NumOfCopies}"X"
  860. }
  861. *RotateCoordinate?: TRUE
  862. *RotateRaster?: TRUE
  863. *RotateFont?: TRUE
  864. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  865. *MemoryUsage: LIST(FONT)
  866. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  867. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  868. *XMoveThreshold: 0
  869. *YMoveThreshold: 0
  870. *XMoveUnit: 600
  871. *YMoveUnit: 600
  872. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  873. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  874. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  875. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  876. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  877. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  878. *Command: CmdCR { *Cmd : "<0D>" }
  879. *Command: CmdLF { *Cmd : "<0A>" }
  880. *Command: CmdFF { *Cmd : "<0C>" }
  881. *Command: CmdBackSpace { *Cmd : "<08>" }
  882. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  883. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  884. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  885. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  886. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  887. *EjectPageWithFF?: TRUE
  888. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  889. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  890. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  891. *OutputDataFormat: H_BYTE
  892. *OptimizeLeftBound?: TRUE
  893. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  894. *CursorYAfterSendBlockData: AUTO_INCREMENT
  895. *%DefaultFont:
  896. *DefaultCTT: 0
  897. *CharPosition: BASELINE
  898. *TTFSEnabled?: TRUE
  899. *%DeviceFonts:
  900. *MinFontID: 16534
  901. *MaxFontID: 32768
  902. *switch: Resolution
  903. {
  904. *case: Option1
  905. {
  906. *FontFormat: HPPCL_OUTLINE
  907. }
  908. *case: Option2
  909. {
  910. *FontFormat: HPPCL_RES
  911. }
  912. }
  913. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  914. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  915. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  916. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  917. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  918. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  919. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  920. *MinGrayFill: 1
  921. *MaxGrayFill: 100
  922. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  923. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  924. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  925. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  926. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  927. *Ifdef:WINNT_51
  928. *Personality: =PERSONALITY_HPGL2
  929. *%********************************************************************
  930. *% Graphics Mode: Custom Feature
  931. *%********************************************************************
  932. *Feature: GraphicsMode
  933. {
  934. *rcNameID: =GRAPHICSMODE_DISPLAY
  935. *DefaultOption: HPGL2MODE
  936. *Option: HPGL2MODE
  937. {
  938. *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  939. *Constraints: Resolution.Option2
  940. }
  941. *Option: RASTERMODE
  942. {
  943. *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  944. }
  945. }
  946. *Endif: