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. *% This is based on HPLJ5 in the DDK samples
  6. *GPDSpecVersion: "1.0"
  7. *GPDFileName: "HPLJ5.GPD"
  8. *GPDFileVersion: "1.0"
  9. *Include: "StdNames.gpd"
  10. *%Include: "ttfsub.gpd"
  11. *ModelName: "HP LaserJet 5"
  12. *MasterUnits: PAIR(1200, 1200)
  13. *ResourceDLL: "pcl5eres.dll"
  14. *PrintRate: 12
  15. *PrintRatePPM: 12
  16. *PrintRateUnit: PPM
  17. *PrinterType: PAGE
  18. *MaxCopies: 32767
  19. *FontCartSlots: 2
  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. *NoPageEject?: TRUE
  31. *Cmd: "<1B>&l0o1E"
  32. }
  33. }
  34. *Option: LANDSCAPE_CC90
  35. {
  36. *rcNameID: =LANDSCAPE_DISPLAY
  37. *Command: CmdSelect
  38. {
  39. *Order: DOC_SETUP.8
  40. *NoPageEject?: TRUE
  41. *Cmd: "<1B>&l1o1E"
  42. }
  43. }
  44. }
  45. *Feature: InputBin
  46. {
  47. *rcNameID: =PAPER_SOURCE_DISPLAY
  48. *DefaultOption: Option1
  49. *Option: Option1
  50. {
  51. *rcNameID: 271
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.11
  55. *Cmd: "<1B>&l0H"
  56. }
  57. }
  58. *Option: UPPER
  59. {
  60. *rcNameID: =UPPER_TRAY_DISPLAY
  61. *Command: CmdSelect
  62. {
  63. *Order: DOC_SETUP.11
  64. *Cmd: "<1B>&l4H"
  65. }
  66. }
  67. *Option: MANUAL
  68. {
  69. *rcNameID: =MANUAL_FEED_DISPLAY
  70. *Command: CmdSelect
  71. {
  72. *Order: DOC_SETUP.11
  73. *Cmd: "<1B>&l2H"
  74. }
  75. }
  76. *Option: LOWER
  77. {
  78. *rcNameID: =LOWER_TRAY_DISPLAY
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.11
  82. *Cmd: "<1B>&l1H"
  83. }
  84. }
  85. *Option: ENVFEED
  86. {
  87. *rcNameID: =ENV_FEED_DISPLAY
  88. *Command: CmdSelect
  89. {
  90. *Order: DOC_SETUP.11
  91. *Cmd: "<1B>&l6H"
  92. }
  93. }
  94. *Option: LARGECAPACITY
  95. {
  96. *rcNameID: =LARGE_CAP_DISPLAY
  97. *Command: CmdSelect
  98. {
  99. *Order: DOC_SETUP.11
  100. *Cmd: "<1B>&l5H"
  101. }
  102. }
  103. }
  104. *Feature: Resolution
  105. {
  106. *rcNameID: =RESOLUTION_DISPLAY
  107. *DefaultOption: Option1
  108. *Option: Option1
  109. {
  110. *Name: "600 x 600 " =DOTS_PER_INCH
  111. *DPI: PAIR(600, 600)
  112. *TextDPI: PAIR(600, 600)
  113. *MinStripBlankPixels: 32
  114. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  115. *SpotDiameter: 100
  116. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  117. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  118. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  119. *Command: CmdSelect
  120. {
  121. *Order: DOC_SETUP.6
  122. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  123. }
  124. }
  125. *Option: Option2
  126. {
  127. *Name: "300 x 300 " =DOTS_PER_INCH
  128. *DPI: PAIR(300, 300)
  129. *TextDPI: PAIR(300, 300)
  130. *MinStripBlankPixels: 32
  131. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  132. *SpotDiameter: 100
  133. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  134. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  135. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  136. *Command: CmdSelect
  137. {
  138. *Order: DOC_SETUP.6
  139. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  140. }
  141. }
  142. }
  143. *Feature: PaperSize
  144. {
  145. *rcNameID: =PAPER_SIZE_DISPLAY
  146. *DefaultOption: LETTER
  147. *Option: LETTER
  148. {
  149. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  150. *PageProtectMem: 4109
  151. *switch: Orientation
  152. {
  153. *case: PORTRAIT
  154. {
  155. *PrintableArea: PAIR(9600, 12720)
  156. *PrintableOrigin: PAIR(300, 220)
  157. *CursorOrigin: PAIR(300, 220)
  158. *Command: CmdSelect
  159. {
  160. *Order: DOC_SETUP.12
  161. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7656Y"
  162. }
  163. }
  164. *case: LANDSCAPE_CC90
  165. {
  166. *PrintableArea: PAIR(9760, 12720)
  167. *PrintableOrigin: PAIR(200, 240)
  168. *CursorOrigin: PAIR(200, 12960)
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.12
  172. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7652x5880Y"
  173. }
  174. }
  175. }
  176. }
  177. *Option: LEGAL
  178. {
  179. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  180. *PageProtectMem: 5230
  181. *switch: Orientation
  182. {
  183. *case: PORTRAIT
  184. {
  185. *PrintableArea: PAIR(9600, 16320)
  186. *PrintableOrigin: PAIR(300, 200)
  187. *CursorOrigin: PAIR(300, 180)
  188. *Command: CmdSelect
  189. {
  190. *Order: DOC_SETUP.12
  191. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  192. }
  193. }
  194. *case: LANDSCAPE_CC90
  195. {
  196. *PrintableArea: PAIR(9760, 16320)
  197. *PrintableOrigin: PAIR(200, 240)
  198. *CursorOrigin: PAIR(200, 16560)
  199. *Command: CmdSelect
  200. {
  201. *Order: DOC_SETUP.12
  202. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  203. }
  204. }
  205. }
  206. }
  207. *Option: EXECUTIVE
  208. {
  209. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  210. *PageProtectMem: 4109
  211. *switch: Orientation
  212. {
  213. *case: PORTRAIT
  214. {
  215. *PrintableArea: PAIR(8100, 12120)
  216. *PrintableOrigin: PAIR(248, 240)
  217. *CursorOrigin: PAIR(248, 240)
  218. *Command: CmdSelect
  219. {
  220. *Order: DOC_SETUP.12
  221. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4922x7272Y"
  222. }
  223. }
  224. *case: LANDSCAPE_CC90
  225. {
  226. *PrintableArea: PAIR(8220, 12120)
  227. *PrintableOrigin: PAIR(240, 240)
  228. *CursorOrigin: PAIR(160, 12360)
  229. *Command: CmdSelect
  230. {
  231. *Order: DOC_SETUP.12
  232. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x5028Y"
  233. }
  234. }
  235. }
  236. }
  237. *Option: A4
  238. {
  239. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  240. *PageProtectMem: 4249
  241. *switch: Orientation
  242. {
  243. *case: PORTRAIT
  244. {
  245. *PrintableArea: PAIR(9344, 13548)
  246. *PrintableOrigin: PAIR(248, 200)
  247. *CursorOrigin: PAIR(248, 200)
  248. *Command: CmdSelect
  249. {
  250. *Order: DOC_SETUP.12
  251. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5657x8177Y"
  252. }
  253. }
  254. *case: LANDSCAPE_CC90
  255. {
  256. *PrintableArea: PAIR(9424, 13548)
  257. *PrintableOrigin: PAIR(240, 240)
  258. *CursorOrigin: PAIR(160, 13788)
  259. *Command: CmdSelect
  260. {
  261. *Order: DOC_SETUP.12
  262. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8128x5762Y"
  263. }
  264. }
  265. }
  266. }
  267. *Option: ENV_10
  268. {
  269. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  270. *PageProtectMem: 4109
  271. *switch: Orientation
  272. {
  273. *case: PORTRAIT
  274. {
  275. *PrintableArea: PAIR(4336, 10800)
  276. *PrintableOrigin: PAIR(300, 300)
  277. *CursorOrigin: PAIR(300, 180)
  278. *Command: CmdSelect
  279. {
  280. *Order: DOC_SETUP.12
  281. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6624Y"
  282. }
  283. }
  284. *case: LANDSCAPE_CC90
  285. {
  286. *PrintableArea: PAIR(4356, 10800)
  287. *PrintableOrigin: PAIR(300, 300)
  288. *CursorOrigin: PAIR(200, 11100)
  289. *Command: CmdSelect
  290. {
  291. *Order: DOC_SETUP.12
  292. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  293. }
  294. }
  295. }
  296. }
  297. *Option: ENV_DL
  298. {
  299. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  300. *PageProtectMem: 4109
  301. *switch: Orientation
  302. {
  303. *case: PORTRAIT
  304. {
  305. *PrintableArea: PAIR(4576, 9792)
  306. *PrintableOrigin: PAIR(300, 300)
  307. *CursorOrigin: PAIR(300, 180)
  308. *Command: CmdSelect
  309. {
  310. *Order: DOC_SETUP.12
  311. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2757x6019Y"
  312. }
  313. }
  314. *case: LANDSCAPE_CC90
  315. {
  316. *PrintableArea: PAIR(4596, 9792)
  317. *PrintableOrigin: PAIR(300, 300)
  318. *CursorOrigin: PAIR(200, 10092)
  319. *Command: CmdSelect
  320. {
  321. *Order: DOC_SETUP.12
  322. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  323. }
  324. }
  325. }
  326. }
  327. *Option: ENV_C5
  328. {
  329. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  330. *PageProtectMem: 4109
  331. *switch: Orientation
  332. {
  333. *case: PORTRAIT
  334. {
  335. *PrintableArea: PAIR(7036, 10224)
  336. *PrintableOrigin: PAIR(300, 300)
  337. *CursorOrigin: PAIR(300, 180)
  338. *Command: CmdSelect
  339. {
  340. *Order: DOC_SETUP.12
  341. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6278Y"
  342. }
  343. }
  344. *case: LANDSCAPE_CC90
  345. {
  346. *PrintableArea: PAIR(7056, 10224)
  347. *PrintableOrigin: PAIR(300, 300)
  348. *CursorOrigin: PAIR(200, 10524)
  349. *Command: CmdSelect
  350. {
  351. *Order: DOC_SETUP.12
  352. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  353. }
  354. }
  355. }
  356. }
  357. *Option: ENV_MONARCH
  358. {
  359. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  360. *PageProtectMem: 4109
  361. *switch: Orientation
  362. {
  363. *case: PORTRAIT
  364. {
  365. *PrintableArea: PAIR(4036, 8400)
  366. *PrintableOrigin: PAIR(300, 300)
  367. *CursorOrigin: PAIR(300, 180)
  368. *Command: CmdSelect
  369. {
  370. *Order: DOC_SETUP.12
  371. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5184Y"
  372. }
  373. }
  374. *case: LANDSCAPE_CC90
  375. {
  376. *PrintableArea: PAIR(4056, 8400)
  377. *PrintableOrigin: PAIR(300, 300)
  378. *CursorOrigin: PAIR(200, 8700)
  379. *Command: CmdSelect
  380. {
  381. *Order: DOC_SETUP.12
  382. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2557Y"
  383. }
  384. }
  385. }
  386. }
  387. *Option: ENV_B5
  388. {
  389. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  390. *PageProtectMem: 4109
  391. *switch: Orientation
  392. {
  393. *case: PORTRAIT
  394. {
  395. *PrintableArea: PAIR(7716, 11208)
  396. *PrintableOrigin: PAIR(300, 300)
  397. *CursorOrigin: PAIR(300, 180)
  398. *Command: CmdSelect
  399. {
  400. *Order: DOC_SETUP.12
  401. *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4630x6869Y"
  402. }
  403. }
  404. *case: LANDSCAPE_CC90
  405. {
  406. *PrintableArea: PAIR(7716, 11208)
  407. *PrintableOrigin: PAIR(300, 300)
  408. *CursorOrigin: PAIR(200, 11508)
  409. *Command: CmdSelect
  410. {
  411. *Order: DOC_SETUP.12
  412. *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6725x4750Y"
  413. }
  414. }
  415. }
  416. }
  417. *Option: CUSTOMSIZE
  418. {
  419. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  420. *MinSize: PAIR(4200, 7560)
  421. *MaxSize: PAIR(10200, 32767)
  422. *MaxPrintableWidth: 10200
  423. *MinLeftMargin: 100
  424. *CenterPrintable?: FALSE
  425. *PageProtectMem: 1692
  426. *switch: Orientation
  427. {
  428. *case: PORTRAIT
  429. {
  430. *Command: CmdSelect
  431. {
  432. *Order: DOC_SETUP.12
  433. *Cmd: "<1B>&l101a4d1e" %d{(PhysPaperLength / 300) - 1}"F<1B>*p0x0Y<1B>*p0x0Y<1B>*c0t" %d{(((PhysPaperWidth - 598) * 6) / 10) }
  434. + "x" %d{(((PhysPaperLength - 440) * 6) / 10) }"Y"
  435. }
  436. }
  437. *case: LANDSCAPE_CC90
  438. {
  439. *Command: CmdSelect
  440. {
  441. *Order: DOC_SETUP.12
  442. *Cmd: "<1B>&l101a4d1e" %d{(PhysPaperLength / 300) - 1}"f" %d{(((PhysPaperLength - 16800) * 6) / 10) }
  443. + "Z<1B>*p0x0Y<1B>*c0t" %d{(((PhysPaperLength - 600) * 6) / 10) }"x" %d{(((PhysPaperWidth - 600) * 6) / 10) }
  444. + "Y"
  445. }
  446. }
  447. }
  448. }
  449. }
  450. *Feature: Economode
  451. {
  452. *rcNameID: 377
  453. *DefaultOption: Option1
  454. *Option: Option1
  455. {
  456. *rcNameID: 265
  457. }
  458. *Option: Option2
  459. {
  460. *rcNameID: 266
  461. *Command: CmdSelect
  462. {
  463. *Order: DOC_SETUP.5
  464. *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  465. }
  466. }
  467. *Option: Option3
  468. {
  469. *rcNameID: 267
  470. *Command: CmdSelect
  471. {
  472. *Order: DOC_SETUP.5
  473. *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  474. }
  475. }
  476. }
  477. *Feature: RET
  478. {
  479. *rcNameID: 378
  480. *DefaultOption: Option1
  481. *Option: Option1
  482. {
  483. *rcNameID: 293
  484. }
  485. *Option: Option2
  486. {
  487. *rcNameID: 297
  488. *Command: CmdSelect
  489. {
  490. *Order: DOC_SETUP.4
  491. *Cmd: "@PJL SET RET=LIGHT<0A>"
  492. }
  493. }
  494. *Option: Option3
  495. {
  496. *rcNameID: 298
  497. *Command: CmdSelect
  498. {
  499. *Order: DOC_SETUP.4
  500. *Cmd: "@PJL SET RET=MEDIUM<0A>"
  501. }
  502. }
  503. *Option: Option4
  504. {
  505. *rcNameID: 299
  506. *Command: CmdSelect
  507. {
  508. *Order: DOC_SETUP.4
  509. *Cmd: "@PJL SET RET=DARK<0A>"
  510. }
  511. }
  512. *Option: Option5
  513. {
  514. *rcNameID: 300
  515. *Command: CmdSelect
  516. {
  517. *Order: DOC_SETUP.4
  518. *Cmd: "@PJL SET RET=OFF<0A>"
  519. }
  520. }
  521. }
  522. *Feature: Halftone
  523. {
  524. *rcNameID: =HALFTONING_DISPLAY
  525. *DefaultOption: HT_PATSIZE_AUTO
  526. *Option: HT_PATSIZE_AUTO
  527. {
  528. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  529. }
  530. *Option: HT_PATSIZE_6x6_M
  531. {
  532. *rcNameID: =HT_DITHER6X6_DISPLAY
  533. }
  534. *Option: HT_PATSIZE_8x8_M
  535. {
  536. *rcNameID: =HT_DITHER8X8_DISPLAY
  537. }
  538. }
  539. *Feature: Memory
  540. {
  541. *rcNameID: =PRINTER_MEMORY_DISPLAY
  542. *DefaultOption: 2048KB
  543. *MemConfigKB: PAIR(2048, 1350)
  544. *MemConfigKB: PAIR(3072, 2250)
  545. *MemConfigKB: PAIR(4096, 3150)
  546. *MemConfigKB: PAIR(5120, 4050)
  547. *MemConfigKB: PAIR(6144, 4950)
  548. *MemConfigKB: PAIR(7168, 5850)
  549. *MemConfigKB: PAIR(8192, 6750)
  550. *MemConfigKB: PAIR(9216, 7650)
  551. *MemConfigKB: PAIR(10240, 8550)
  552. *MemConfigKB: PAIR(11264, 9450)
  553. *MemConfigKB: PAIR(12288, 10350)
  554. *MemConfigKB: PAIR(13312, 11250)
  555. *MemConfigKB: PAIR(14336, 12150)
  556. *MemConfigKB: PAIR(15360, 13050)
  557. *MemConfigKB: PAIR(16384, 13950)
  558. *MemConfigKB: PAIR(17408, 14850)
  559. *MemConfigKB: PAIR(18432, 15750)
  560. *MemConfigKB: PAIR(19456, 16650)
  561. *MemConfigKB: PAIR(20480, 17550)
  562. *MemConfigKB: PAIR(21504, 18450)
  563. *MemConfigKB: PAIR(22528, 19350)
  564. *MemConfigKB: PAIR(23552, 20250)
  565. *MemConfigKB: PAIR(24576, 21150)
  566. *MemConfigKB: PAIR(25600, 22050)
  567. *MemConfigKB: PAIR(26624, 22950)
  568. *MemConfigKB: PAIR(27648, 23850)
  569. *MemConfigKB: PAIR(28672, 24750)
  570. *MemConfigKB: PAIR(29696, 25650)
  571. *MemConfigKB: PAIR(30720, 26550)
  572. *MemConfigKB: PAIR(31744, 27450)
  573. *MemConfigKB: PAIR(32768, 28350)
  574. *MemConfigKB: PAIR(33792, 29250)
  575. *MemConfigKB: PAIR(34816, 30150)
  576. *MemConfigKB: PAIR(35840, 31050)
  577. *MemConfigKB: PAIR(36864, 31950)
  578. *MemConfigKB: PAIR(37888, 32850)
  579. *MemConfigKB: PAIR(38912, 33750)
  580. *MemConfigKB: PAIR(39936, 34650)
  581. *MemConfigKB: PAIR(40960, 35550)
  582. *MemConfigKB: PAIR(41984, 36450)
  583. *MemConfigKB: PAIR(43008, 37350)
  584. *MemConfigKB: PAIR(44032, 38250)
  585. *MemConfigKB: PAIR(45056, 39150)
  586. *MemConfigKB: PAIR(46080, 40050)
  587. *MemConfigKB: PAIR(47104, 40950)
  588. *MemConfigKB: PAIR(48128, 41850)
  589. *MemConfigKB: PAIR(49152, 42750)
  590. *MemConfigKB: PAIR(50176, 43650)
  591. *MemConfigKB: PAIR(51200, 44550)
  592. *MemConfigKB: PAIR(52224, 45540)
  593. *MemConfigKB: PAIR(53248, 46350)
  594. *MemConfigKB: PAIR(54272, 47250)
  595. *MemConfigKB: PAIR(55296, 48150)
  596. *MemConfigKB: PAIR(56320, 49050)
  597. *MemConfigKB: PAIR(57344, 49950)
  598. *MemConfigKB: PAIR(58368, 50850)
  599. *MemConfigKB: PAIR(59392, 51750)
  600. *MemConfigKB: PAIR(60416, 52650)
  601. *MemConfigKB: PAIR(61440, 53550)
  602. *MemConfigKB: PAIR(62464, 54450)
  603. *MemConfigKB: PAIR(63488, 55350)
  604. *MemConfigKB: PAIR(64512, 56250)
  605. *MemConfigKB: PAIR(65536, 57150)
  606. *MemConfigKB: PAIR(66560, 58050)
  607. *MemConfigKB: PAIR(67584, 58950)
  608. }
  609. *Feature: Duplex
  610. {
  611. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  612. *DefaultOption: NONE
  613. *Option: NONE
  614. {
  615. *rcNameID: =NONE_DISPLAY
  616. *Command: CmdSelect
  617. {
  618. *Order: DOC_SETUP.9
  619. *Cmd: "<1B>&l0S"
  620. }
  621. }
  622. *Option: VERTICAL
  623. {
  624. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  625. *Command: CmdSelect
  626. {
  627. *Order: DOC_SETUP.10
  628. *Cmd: "<1B>&l1S"
  629. }
  630. }
  631. *Option: HORIZONTAL
  632. {
  633. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  634. *Command: CmdSelect
  635. {
  636. *Order: DOC_SETUP.10
  637. *Cmd: "<1B>&l2S"
  638. }
  639. }
  640. }
  641. *Feature: DuplexUnit
  642. {
  643. *FeatureType: PRINTER_PROPERTY
  644. *rcNameID: 429
  645. *DefaultOption: Installed
  646. *Option: NotInstalled
  647. {
  648. *rcNameID: 444
  649. *DisabledFeatures: LIST(Duplex)
  650. *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL)
  651. }
  652. *Option: Installed
  653. {
  654. *rcNameID: 443
  655. }
  656. }
  657. *Feature: PageProtect
  658. {
  659. *rcNameID: =PAGE_PROTECTION_DISPLAY
  660. *DefaultOption: OFF
  661. *Option: ON
  662. {
  663. *rcNameID: =ON_DISPLAY
  664. *Command: CmdSelect
  665. {
  666. *Order: DOC_SETUP.1
  667. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=ON<0A>"
  668. }
  669. }
  670. *Option: OFF
  671. {
  672. *rcNameID: =OFF_DISPLAY
  673. *Command: CmdSelect
  674. {
  675. *Order: DOC_SETUP.1
  676. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=AUTO<0A>"
  677. }
  678. }
  679. }
  680. *Command: CmdStartDoc
  681. {
  682. *Order: DOC_SETUP.7
  683. *Cmd: "<1B>&u600D<1B>*r0F"
  684. }
  685. *Command: CmdStartPage
  686. {
  687. *Order: PAGE_SETUP.1
  688. *Cmd: "<1B>*b0M<0D>"
  689. }
  690. *Command: CmdEndJob
  691. {
  692. *Order: JOB_FINISH.1
  693. *Cmd: "<1B>E<1B>%%-12345X"
  694. }
  695. *Command: CmdCopies
  696. {
  697. *Order: DOC_SETUP.13
  698. *Cmd: "<1B>&l" %d[1,32767]{NumOfCopies}"X"
  699. }
  700. *RotateCoordinate?: TRUE
  701. *RotateRaster?: TRUE
  702. *RotateFont?: TRUE
  703. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  704. *MemoryUsage: LIST(FONT)
  705. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  706. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  707. *XMoveThreshold: 0
  708. *YMoveThreshold: 0
  709. *XMoveUnit: 600
  710. *YMoveUnit: 600
  711. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  712. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  713. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  714. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  715. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  716. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  717. *Command: CmdCR { *Cmd : "<0D>" }
  718. *Command: CmdLF { *Cmd : "<0A>" }
  719. *Command: CmdFF { *Cmd : "<0C>" }
  720. *Command: CmdBackSpace { *Cmd : "<08>" }
  721. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  722. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  723. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  724. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  725. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  726. *EjectPageWithFF?: TRUE
  727. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  728. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  729. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  730. *OutputDataFormat: H_BYTE
  731. *OptimizeLeftBound?: TRUE
  732. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  733. *CursorYAfterSendBlockData: AUTO_INCREMENT
  734. *%DefaultFont:
  735. *DefaultCTT: 0
  736. *CharPosition: BASELINE
  737. *TTFSEnabled?: TRUE
  738. *%DeviceFonts:
  739. *MinFontID: 16534
  740. *MaxFontID: 32768
  741. *switch: Resolution
  742. {
  743. *case: Option1
  744. {
  745. *FontFormat: HPPCL_OUTLINE
  746. }
  747. *case: Option2
  748. {
  749. *FontFormat: HPPCL_RES
  750. }
  751. }
  752. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  753. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  754. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  755. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  756. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  757. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  758. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  759. *MinGrayFill: 1
  760. *MaxGrayFill: 100
  761. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  762. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  763. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  764. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  765. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }