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.

775 lines
22 KiB

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