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.

777 lines
22 KiB

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