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.

1013 lines
30 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.0"
  7. *GPDFileName: "xr4512.gpd"
  8. *Include: "StdNames.gpd"
  9. *Include: "ttfsub.gpd"
  10. *ModelName: "Xerox DocuPrint 4512"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "pcl5eres.dll"
  13. *PrinterType: PAGE
  14. *MaxCopies: 99
  15. *Feature: Orientation
  16. {
  17. *rcNameID: =ORIENTATION_DISPLAY
  18. *DefaultOption: PORTRAIT
  19. *Option: PORTRAIT
  20. {
  21. *rcNameID: =PORTRAIT_DISPLAY
  22. *Command: CmdSelect
  23. {
  24. *Order: DOC_SETUP.6
  25. *NoPageEject?:TRUE
  26. *Cmd: "<1B>&l0o1E"
  27. }
  28. }
  29. *Option: LANDSCAPE_CC90
  30. {
  31. *rcNameID: =LANDSCAPE_DISPLAY
  32. *Command: CmdSelect
  33. {
  34. *Order: DOC_SETUP.6
  35. *NoPageEject?:TRUE
  36. *Cmd: "<1B>&l1o1E"
  37. }
  38. }
  39. }
  40. *Feature: InputBin
  41. {
  42. *rcNameID: =PAPER_SOURCE_DISPLAY
  43. *DefaultOption: Option1
  44. *Option: Option1
  45. {
  46. *rcNameID: 271
  47. }
  48. *Option: Option2
  49. {
  50. *rcNameID: 276
  51. *Command: CmdSelect
  52. {
  53. *Order: DOC_SETUP.8
  54. *Cmd: "<1B>&l1H"
  55. }
  56. }
  57. *Option: Option3
  58. {
  59. *rcNameID: 277
  60. *Command: CmdSelect
  61. {
  62. *Order: DOC_SETUP.8
  63. *Cmd: "<1B>&l4H"
  64. }
  65. }
  66. *Option: Option4
  67. {
  68. *rcNameID: 350
  69. *Command: CmdSelect
  70. {
  71. *Order: DOC_SETUP.8
  72. *Cmd: "<1B>&l1H"
  73. }
  74. }
  75. *Option: Option5
  76. {
  77. *rcNameID: 470
  78. *Command: CmdSelect
  79. {
  80. *Order: DOC_SETUP.8
  81. *Cmd: "<1B>&l5H"
  82. }
  83. }
  84. *Option: Option6
  85. {
  86. *rcNameID: 471
  87. *Command: CmdSelect
  88. {
  89. *Order: DOC_SETUP.8
  90. *Cmd: "<1B>&l6H"
  91. }
  92. }
  93. *Option: Option7
  94. {
  95. *rcNameID: 472
  96. *Command: CmdSelect
  97. {
  98. *Order: DOC_SETUP.8
  99. *Cmd: "<1B>&l2H"
  100. }
  101. }
  102. }
  103. *Feature: Resolution
  104. {
  105. *rcNameID: =RESOLUTION_DISPLAY
  106. *DefaultOption: Option1
  107. *Option: Option1
  108. {
  109. *Name: "600 x 600 " =DOTS_PER_INCH
  110. *DPI: PAIR(600, 600)
  111. *TextDPI: PAIR(600, 600)
  112. *MinStripBlankPixels: 32
  113. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  114. *SpotDiameter: 100
  115. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  116. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  117. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  118. *Command: CmdSelect
  119. {
  120. *Order: DOC_SETUP.3
  121. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  122. }
  123. }
  124. *Option: Option2
  125. {
  126. *Name: "300 x 300 " =DOTS_PER_INCH
  127. *DPI: PAIR(300, 300)
  128. *TextDPI: PAIR(300, 300)
  129. *MinStripBlankPixels: 16
  130. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  131. *SpotDiameter: 100
  132. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  133. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  134. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  135. *Command: CmdSelect
  136. {
  137. *Order: DOC_SETUP.3
  138. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  139. }
  140. }
  141. *Option: Option3
  142. {
  143. *Name: "150 x 150 " =DOTS_PER_INCH
  144. *DPI: PAIR(150, 150)
  145. *TextDPI: PAIR(300, 300)
  146. *MinStripBlankPixels: 8
  147. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  148. *SpotDiameter: 100
  149. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  150. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  151. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  152. *Command: CmdSelect
  153. {
  154. *Order: DOC_SETUP.3
  155. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t150R"
  156. }
  157. }
  158. *Option: Option4
  159. {
  160. *Name: "75 x 75 " =DOTS_PER_INCH
  161. *DPI: PAIR(75, 75)
  162. *TextDPI: PAIR(300, 300)
  163. *MinStripBlankPixels: 4
  164. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  165. *SpotDiameter: 100
  166. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  167. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  168. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.3
  172. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t75R"
  173. }
  174. }
  175. }
  176. *Feature: PaperSize
  177. {
  178. *rcNameID: =PAPER_SIZE_DISPLAY
  179. *DefaultOption: LETTER
  180. *Option: LETTER
  181. {
  182. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  183. *PageProtectMem: 2048
  184. *switch: Orientation
  185. {
  186. *case: PORTRAIT
  187. {
  188. *PrintableArea: PAIR(9600, 12660)
  189. *PrintableOrigin: PAIR(300, 300)
  190. *switch: Resolution
  191. {
  192. *case: Option3
  193. {
  194. *PrintableArea: PAIR(9592, 12656)
  195. *PrintableOrigin: PAIR(304, 304)
  196. }
  197. *case: Option4
  198. {
  199. *PrintableArea: PAIR(9584, 12656)
  200. *PrintableOrigin: PAIR(304, 304)
  201. }
  202. }
  203. *CursorOrigin: PAIR(300, 220)
  204. *Command: CmdSelect
  205. {
  206. *Order: DOC_SETUP.12
  207. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7656Y"
  208. }
  209. }
  210. *case: LANDSCAPE_CC90
  211. {
  212. *PrintableArea: PAIR(9760, 12720)
  213. *PrintableOrigin: PAIR(200, 240)
  214. *switch: Resolution
  215. {
  216. *case: Option4
  217. {
  218. *PrintableArea: PAIR(9744, 12720)
  219. *PrintableOrigin: PAIR(208, 240)
  220. }
  221. }
  222. *CursorOrigin: PAIR(200, 12960)
  223. *Command: CmdSelect
  224. {
  225. *Order: DOC_SETUP.12
  226. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7652x5880Y"
  227. }
  228. }
  229. }
  230. }
  231. *Option: LEGAL
  232. {
  233. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  234. *PageProtectMem: 2048
  235. *switch: Orientation
  236. {
  237. *case: PORTRAIT
  238. {
  239. *PrintableArea: PAIR(9600, 16260)
  240. *PrintableOrigin: PAIR(300, 300)
  241. *switch: Resolution
  242. {
  243. *case: Option3
  244. {
  245. *PrintableArea: PAIR(9592, 16256)
  246. *PrintableOrigin: PAIR(304, 304)
  247. }
  248. *case: Option4
  249. {
  250. *PrintableArea: PAIR(9584, 16256)
  251. *PrintableOrigin: PAIR(304, 304)
  252. }
  253. }
  254. *CursorOrigin: PAIR(300, 180)
  255. *Command: CmdSelect
  256. {
  257. *Order: DOC_SETUP.12
  258. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  259. }
  260. }
  261. *case: LANDSCAPE_CC90
  262. {
  263. *PrintableArea: PAIR(9760, 16320)
  264. *PrintableOrigin: PAIR(200, 240)
  265. *switch: Resolution
  266. {
  267. *case: Option4
  268. {
  269. *PrintableArea: PAIR(9744, 16320)
  270. *PrintableOrigin: PAIR(208, 240)
  271. }
  272. }
  273. *CursorOrigin: PAIR(200, 16560)
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.12
  277. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  278. }
  279. }
  280. }
  281. }
  282. *Option: Option3
  283. {
  284. *rcNameID: 474
  285. *PageDimensions: PAIR(10200, 15600)
  286. *PageProtectMem: 2048
  287. *switch: Orientation
  288. {
  289. *case: PORTRAIT
  290. {
  291. *PrintableArea: PAIR(9600, 15060)
  292. *PrintableOrigin: PAIR(300, 300)
  293. *switch: Resolution
  294. {
  295. *case: Option3
  296. {
  297. *PrintableArea: PAIR(9592, 15056)
  298. *PrintableOrigin: PAIR(304, 304)
  299. }
  300. *case: Option4
  301. {
  302. *PrintableArea: PAIR(9584, 15056)
  303. *PrintableOrigin: PAIR(304, 304)
  304. }
  305. }
  306. *CursorOrigin: PAIR(300, 180)
  307. *Command: CmdSelect
  308. {
  309. *Order: DOC_SETUP.12
  310. *Cmd: "<1B>&l110a8c1E<1B>*p0x0Y<1B>*c0t5760x9144Y"
  311. }
  312. }
  313. *case: LANDSCAPE_CC90
  314. {
  315. *PrintableArea: PAIR(9760, 15120)
  316. *PrintableOrigin: PAIR(200, 240)
  317. *switch: Resolution
  318. {
  319. *case: Option4
  320. {
  321. *PrintableArea: PAIR(9744, 15120)
  322. *PrintableOrigin: PAIR(208, 240)
  323. }
  324. }
  325. *CursorOrigin: PAIR(200, 15360)
  326. *Command: CmdSelect
  327. {
  328. *Order: DOC_SETUP.12
  329. *Cmd: "<1B>&l110a8c1E<1B>*p0x0Y<1B>*c0t9072x5880Y"
  330. }
  331. }
  332. }
  333. }
  334. *Option: EXECUTIVE
  335. {
  336. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  337. *PageProtectMem: 2048
  338. *switch: Orientation
  339. {
  340. *case: PORTRAIT
  341. {
  342. *PrintableArea: PAIR(8100, 12060)
  343. *PrintableOrigin: PAIR(248, 300)
  344. *switch: Resolution
  345. {
  346. *case: Option3
  347. {
  348. *PrintableArea: PAIR(8096, 12056)
  349. *PrintableOrigin: PAIR(248, 304)
  350. }
  351. *case: Option4
  352. {
  353. *PrintableArea: PAIR(8080, 12048)
  354. *PrintableOrigin: PAIR(256, 304)
  355. }
  356. }
  357. *CursorOrigin: PAIR(248, 240)
  358. *Command: CmdSelect
  359. {
  360. *Order: DOC_SETUP.12
  361. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4922x7272Y"
  362. }
  363. }
  364. *case: LANDSCAPE_CC90
  365. {
  366. *PrintableArea: PAIR(8220, 12120)
  367. *PrintableOrigin: PAIR(240, 240)
  368. *switch: Resolution
  369. {
  370. *case: Option3
  371. {
  372. *PrintableArea: PAIR(8216, 12120)
  373. }
  374. *case: Option4
  375. {
  376. *PrintableArea: PAIR(8208, 12112)
  377. }
  378. }
  379. *CursorOrigin: PAIR(160, 12360)
  380. *Command: CmdSelect
  381. {
  382. *Order: DOC_SETUP.12
  383. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x5028Y"
  384. }
  385. }
  386. }
  387. }
  388. *Option: A4
  389. {
  390. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  391. *PageProtectMem: 2048
  392. *switch: Orientation
  393. {
  394. *case: PORTRAIT
  395. {
  396. *PrintableArea: PAIR(9344, 13488)
  397. *PrintableOrigin: PAIR(248, 300)
  398. *switch: Resolution
  399. {
  400. *case: Option3
  401. {
  402. *PrintableArea: PAIR(9344, 13480)
  403. *PrintableOrigin: PAIR(248, 304)
  404. }
  405. *case: Option4
  406. {
  407. *PrintableArea: PAIR(9328, 13472)
  408. *PrintableOrigin: PAIR(256, 304)
  409. }
  410. }
  411. *CursorOrigin: PAIR(248, 200)
  412. *Command: CmdSelect
  413. {
  414. *Order: DOC_SETUP.12
  415. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5657x8177Y"
  416. }
  417. }
  418. *case: LANDSCAPE_CC90
  419. {
  420. *PrintableArea: PAIR(9424, 13548)
  421. *PrintableOrigin: PAIR(240, 240)
  422. *switch: Resolution
  423. {
  424. *case: Option3
  425. {
  426. *PrintableArea: PAIR(9424, 13544)
  427. }
  428. *case: Option4
  429. {
  430. *PrintableArea: PAIR(9424, 13536)
  431. }
  432. }
  433. *CursorOrigin: PAIR(160, 13788)
  434. *Command: CmdSelect
  435. {
  436. *Order: DOC_SETUP.12
  437. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8128x5762Y"
  438. }
  439. }
  440. }
  441. }
  442. *Option: Option6
  443. {
  444. *rcNameID: 473
  445. *PageDimensions: PAIR(7008, 9912)
  446. *PageProtectMem: 2048
  447. *switch: Orientation
  448. {
  449. *case: PORTRAIT
  450. {
  451. *PrintableArea: PAIR(6396, 9384)
  452. *PrintableOrigin: PAIR(300, 300)
  453. *switch: Resolution
  454. {
  455. *case: Option3
  456. {
  457. *PrintableArea: PAIR(6392, 9376)
  458. *PrintableOrigin: PAIR(304, 304)
  459. }
  460. *case: Option4
  461. {
  462. *PrintableArea: PAIR(6384, 9376)
  463. *PrintableOrigin: PAIR(304, 304)
  464. }
  465. }
  466. *CursorOrigin: PAIR(300, 180)
  467. *Command: CmdSelect
  468. {
  469. *Order: DOC_SETUP.12
  470. *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t3837x5738Y"
  471. }
  472. }
  473. *case: LANDSCAPE_CC90
  474. {
  475. *PrintableArea: PAIR(6396, 9324)
  476. *PrintableOrigin: PAIR(300, 300)
  477. *switch: Resolution
  478. {
  479. *case: Option3
  480. {
  481. *PrintableArea: PAIR(6392, 9320)
  482. *PrintableOrigin: PAIR(304, 304)
  483. }
  484. *case: Option4
  485. {
  486. *PrintableArea: PAIR(6384, 9312)
  487. *PrintableOrigin: PAIR(304, 304)
  488. }
  489. }
  490. *CursorOrigin: PAIR(200, 9624)
  491. *Command: CmdSelect
  492. {
  493. *Order: DOC_SETUP.12
  494. *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5594x3957Y"
  495. }
  496. }
  497. }
  498. }
  499. *Option: ENV_10
  500. {
  501. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  502. *PageProtectMem: 2048
  503. *switch: Orientation
  504. {
  505. *case: PORTRAIT
  506. {
  507. *PrintableArea: PAIR(4336, 10800)
  508. *PrintableOrigin: PAIR(300, 300)
  509. *switch: Resolution
  510. {
  511. *case: Option3
  512. {
  513. *PrintableArea: PAIR(4328, 10792)
  514. *PrintableOrigin: PAIR(304, 304)
  515. }
  516. *case: Option4
  517. {
  518. *PrintableArea: PAIR(4320, 10784)
  519. *PrintableOrigin: PAIR(304, 304)
  520. }
  521. }
  522. *CursorOrigin: PAIR(300, 180)
  523. *Command: CmdSelect
  524. {
  525. *Order: DOC_SETUP.12
  526. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6624Y"
  527. }
  528. }
  529. *case: LANDSCAPE_CC90
  530. {
  531. *PrintableArea: PAIR(4356, 10800)
  532. *PrintableOrigin: PAIR(300, 300)
  533. *switch: Resolution
  534. {
  535. *case: Option3
  536. {
  537. *PrintableArea: PAIR(4352, 10792)
  538. *PrintableOrigin: PAIR(304, 304)
  539. }
  540. *case: Option4
  541. {
  542. *PrintableArea: PAIR(4352, 10784)
  543. *PrintableOrigin: PAIR(304, 304)
  544. }
  545. }
  546. *CursorOrigin: PAIR(200, 11100)
  547. *Command: CmdSelect
  548. {
  549. *Order: DOC_SETUP.12
  550. *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
  551. }
  552. }
  553. }
  554. }
  555. *Option: ENV_DL
  556. {
  557. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  558. *PageProtectMem: 2048
  559. *switch: Orientation
  560. {
  561. *case: PORTRAIT
  562. {
  563. *PrintableArea: PAIR(4576, 9792)
  564. *PrintableOrigin: PAIR(300, 300)
  565. *switch: Resolution
  566. {
  567. *case: Option3
  568. {
  569. *PrintableArea: PAIR(4568, 9784)
  570. *PrintableOrigin: PAIR(304, 304)
  571. }
  572. *case: Option4
  573. {
  574. *PrintableArea: PAIR(4560, 9776)
  575. *PrintableOrigin: PAIR(304, 304)
  576. }
  577. }
  578. *CursorOrigin: PAIR(300, 180)
  579. *Command: CmdSelect
  580. {
  581. *Order: DOC_SETUP.12
  582. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2757x6019Y"
  583. }
  584. }
  585. *case: LANDSCAPE_CC90
  586. {
  587. *PrintableArea: PAIR(4596, 9792)
  588. *PrintableOrigin: PAIR(300, 300)
  589. *switch: Resolution
  590. {
  591. *case: Option3
  592. {
  593. *PrintableArea: PAIR(4592, 9784)
  594. *PrintableOrigin: PAIR(304, 304)
  595. }
  596. *case: Option4
  597. {
  598. *PrintableArea: PAIR(4592, 9776)
  599. *PrintableOrigin: PAIR(304, 304)
  600. }
  601. }
  602. *CursorOrigin: PAIR(200, 10092)
  603. *Command: CmdSelect
  604. {
  605. *Order: DOC_SETUP.12
  606. *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
  607. }
  608. }
  609. }
  610. }
  611. *Option: ENV_C5
  612. {
  613. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  614. *PageProtectMem: 2048
  615. *switch: Orientation
  616. {
  617. *case: PORTRAIT
  618. {
  619. *PrintableArea: PAIR(7036, 10224)
  620. *PrintableOrigin: PAIR(300, 300)
  621. *switch: Resolution
  622. {
  623. *case: Option3
  624. {
  625. *PrintableArea: PAIR(7032, 10216)
  626. *PrintableOrigin: PAIR(304, 304)
  627. }
  628. *case: Option4
  629. {
  630. *PrintableArea: PAIR(7024, 10208)
  631. *PrintableOrigin: PAIR(304, 304)
  632. }
  633. }
  634. *CursorOrigin: PAIR(300, 180)
  635. *Command: CmdSelect
  636. {
  637. *Order: DOC_SETUP.12
  638. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6278Y"
  639. }
  640. }
  641. *case: LANDSCAPE_CC90
  642. {
  643. *PrintableArea: PAIR(7056, 10224)
  644. *PrintableOrigin: PAIR(300, 300)
  645. *switch: Resolution
  646. {
  647. *case: Option3
  648. {
  649. *PrintableArea: PAIR(7048, 10216)
  650. *PrintableOrigin: PAIR(304, 304)
  651. }
  652. *case: Option4
  653. {
  654. *PrintableArea: PAIR(7040, 10208)
  655. *PrintableOrigin: PAIR(304, 304)
  656. }
  657. }
  658. *CursorOrigin: PAIR(200, 10524)
  659. *Command: CmdSelect
  660. {
  661. *Order: DOC_SETUP.12
  662. *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
  663. }
  664. }
  665. }
  666. }
  667. *Option: ENV_MONARCH
  668. {
  669. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  670. *PageProtectMem: 2048
  671. *switch: Orientation
  672. {
  673. *case: PORTRAIT
  674. {
  675. *PrintableArea: PAIR(4036, 8400)
  676. *PrintableOrigin: PAIR(300, 300)
  677. *switch: Resolution
  678. {
  679. *case: Option3
  680. {
  681. *PrintableArea: PAIR(4032, 8392)
  682. *PrintableOrigin: PAIR(304, 304)
  683. }
  684. *case: Option4
  685. {
  686. *PrintableArea: PAIR(4032, 8384)
  687. *PrintableOrigin: PAIR(304, 304)
  688. }
  689. }
  690. *CursorOrigin: PAIR(300, 180)
  691. *Command: CmdSelect
  692. {
  693. *Order: DOC_SETUP.12
  694. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5184Y"
  695. }
  696. }
  697. *case: LANDSCAPE_CC90
  698. {
  699. *PrintableArea: PAIR(4056, 8400)
  700. *PrintableOrigin: PAIR(300, 300)
  701. *switch: Resolution
  702. {
  703. *case: Option3
  704. {
  705. *PrintableArea: PAIR(4048, 8392)
  706. *PrintableOrigin: PAIR(304, 304)
  707. }
  708. *case: Option4
  709. {
  710. *PrintableArea: PAIR(4048, 8384)
  711. *PrintableOrigin: PAIR(304, 304)
  712. }
  713. }
  714. *CursorOrigin: PAIR(200, 8700)
  715. *Command: CmdSelect
  716. {
  717. *Order: DOC_SETUP.12
  718. *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2557Y"
  719. }
  720. }
  721. }
  722. }
  723. }
  724. *Feature: TrueRes
  725. {
  726. *rcNameID: 385
  727. *DefaultOption: Option1
  728. *Option: Option1
  729. {
  730. *rcNameID: 382
  731. }
  732. *Option: Option2
  733. {
  734. *rcNameID: 383
  735. *Command: CmdSelect
  736. {
  737. *Order: DOC_SETUP.2
  738. *Cmd: "@PJL SET RET=ON<0A>"
  739. }
  740. }
  741. *Option: Option3
  742. {
  743. *rcNameID: 384
  744. *Command: CmdSelect
  745. {
  746. *Order: DOC_SETUP.2
  747. *Cmd: "@PJL SET RET=OFF<0A>"
  748. }
  749. }
  750. }
  751. *Feature: OutputBin
  752. {
  753. *rcNameID: =OUTPUTBIN_DISPLAY
  754. *DefaultOption: Option1
  755. *Option: Option1
  756. {
  757. *rcNameID: 350
  758. *Command: CmdSelect
  759. {
  760. *Order: DOC_SETUP.14
  761. *Cmd: "<1B>&l1G"
  762. }
  763. }
  764. }
  765. *Feature: Halftone
  766. {
  767. *rcNameID: =HALFTONING_DISPLAY
  768. *DefaultOption: HT_PATSIZE_AUTO
  769. *Option: HT_PATSIZE_AUTO
  770. {
  771. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  772. }
  773. *Option: HT_PATSIZE_SUPERCELL_M
  774. {
  775. *rcNameID: =HT_SUPERCELL_DISPLAY
  776. }
  777. *Option: HT_PATSIZE_6x6_M
  778. {
  779. *rcNameID: =HT_DITHER6X6_DISPLAY
  780. }
  781. *Option: HT_PATSIZE_8x8_M
  782. {
  783. *rcNameID: =HT_DITHER8X8_DISPLAY
  784. }
  785. }
  786. *Feature: Memory
  787. {
  788. *rcNameID: =PRINTER_MEMORY_DISPLAY
  789. *DefaultOption: 2048KB
  790. *Option: 2048KB
  791. {
  792. *Name: "2MB"
  793. *MemoryConfigKB: PAIR(2048, 1931)
  794. }
  795. *Option: 3072KB
  796. {
  797. *Name: "3MB"
  798. *MemoryConfigKB: PAIR(3072, 2995)
  799. }
  800. *Option: 4096KB
  801. {
  802. *Name: "4MB"
  803. *MemoryConfigKB: PAIR(4096, 3979)
  804. }
  805. *Option: 5120KB
  806. {
  807. *Name: "5MB"
  808. *MemoryConfigKB: PAIR(5120, 5003)
  809. }
  810. *Option: 6144KB
  811. {
  812. *Name: "6MB"
  813. *MemoryConfigKB: PAIR(6144, 6027)
  814. }
  815. *Option: 7168KB
  816. {
  817. *Name: "7MB"
  818. *MemoryConfigKB: PAIR(7168, 7051)
  819. }
  820. *Option: 8192KB
  821. {
  822. *Name: "8MB"
  823. *MemoryConfigKB: PAIR(8192, 8075)
  824. }
  825. *Option: 10240KB
  826. {
  827. *Name: "10MB"
  828. *MemoryConfigKB: PAIR(10240, 10123)
  829. }
  830. *Option: 11264KB
  831. {
  832. *Name: "11MB"
  833. *MemoryConfigKB: PAIR(11264, 11147)
  834. }
  835. *Option: 14336KB
  836. {
  837. *Name: "14MB"
  838. *MemoryConfigKB: PAIR(14336, 14219)
  839. }
  840. *Option: 18432KB
  841. {
  842. *Name: "18MB"
  843. *MemoryConfigKB: PAIR(18432, 18315)
  844. }
  845. *Option: 22528KB
  846. {
  847. *Name: "22MB"
  848. *MemoryConfigKB: PAIR(22528, 22411)
  849. }
  850. *Option: 26624KB
  851. {
  852. *Name: "26MB"
  853. *MemoryConfigKB: PAIR(26624, 26507)
  854. }
  855. *Option: 34816KB
  856. {
  857. *Name: "34MB"
  858. *MemoryConfigKB: PAIR(34816, 34699)
  859. }
  860. *Option: 38912KB
  861. {
  862. *Name: "38MB"
  863. *MemoryConfigKB: PAIR(38912, 38795)
  864. }
  865. *Option: 51200KB
  866. {
  867. *Name: "50MB"
  868. *MemoryConfigKB: PAIR(51200, 51083)
  869. }
  870. }
  871. *Feature: Duplex
  872. {
  873. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  874. *DefaultOption: NONE
  875. *Option: NONE
  876. {
  877. *rcNameID: =NONE_DISPLAY
  878. *Command: CmdSelect
  879. {
  880. *Order: DOC_SETUP.7
  881. *Cmd: "<1B>&l0S"
  882. }
  883. }
  884. *Option: VERTICAL
  885. {
  886. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  887. *Command: CmdSelect
  888. {
  889. *Order: DOC_SETUP.10
  890. *Cmd: "<1B>&l1S"
  891. }
  892. }
  893. *Option: HORIZONTAL
  894. {
  895. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  896. *Command: CmdSelect
  897. {
  898. *Order: DOC_SETUP.10
  899. *Cmd: "<1B>&l2S"
  900. }
  901. }
  902. }
  903. *Feature: PageProtect
  904. {
  905. *rcNameID: =PAGE_PROTECTION_DISPLAY
  906. *DefaultOption: OFF
  907. *Option: ON
  908. {
  909. *rcNameID: =ON_DISPLAY
  910. *Command: CmdSelect
  911. {
  912. *Order: DOC_SETUP.1
  913. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=LETTER<0A>"
  914. }
  915. }
  916. *Option: OFF
  917. {
  918. *rcNameID: =OFF_DISPLAY
  919. *Command: CmdSelect
  920. {
  921. *Order: DOC_SETUP.1
  922. *Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>"
  923. }
  924. }
  925. }
  926. *Command: CmdStartDoc
  927. {
  928. *Order: DOC_SETUP.4
  929. *Cmd: "<1B>&u600D<1B>*r0F"
  930. }
  931. *Command: CmdStartPage
  932. {
  933. *Order: PAGE_SETUP.1
  934. *Cmd: "<1B>*b0M<0D>"
  935. }
  936. *Command: CmdEndJob
  937. {
  938. *Order: JOB_FINISH.1
  939. *Cmd: "<1B>E<1B>%%-12345X"
  940. }
  941. *Command: CmdCopies
  942. {
  943. *Order: DOC_SETUP.13
  944. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  945. }
  946. *RotateCoordinate?: TRUE
  947. *RotateRaster?: TRUE
  948. *RotateFont?: TRUE
  949. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  950. *MemoryUsage: LIST(FONT)
  951. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  952. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  953. *XMoveThreshold: 0
  954. *YMoveThreshold: 0
  955. *XMoveUnit: 600
  956. *YMoveUnit: 600
  957. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{((DestX * 2) / 4) }"X" }
  958. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,4800]{max_repeat(((DestXRel * 2) / 4) )}"X" }
  959. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{max_repeat(((DestXRel * 2) / 4) )}"X" }
  960. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{((DestY * 2) / 4) }"Y" }
  961. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,6300]{max_repeat(((DestYRel * 2) / 4) )}"Y" }
  962. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,6300]{max_repeat(((DestYRel * 2) / 4) )}"Y" }
  963. *Command: CmdCR { *Cmd : "<0D>" }
  964. *Command: CmdLF { *Cmd : "<0A>" }
  965. *Command: CmdFF { *Cmd : "<0C>" }
  966. *Command: CmdBackSpace { *Cmd : "<08>" }
  967. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  968. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  969. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  970. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  971. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  972. *EjectPageWithFF?: TRUE
  973. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  974. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  975. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  976. *OutputDataFormat: H_BYTE
  977. *OptimizeLeftBound?: TRUE
  978. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  979. *CursorYAfterSendBlockData: AUTO_INCREMENT
  980. *DefaultFont: 1
  981. *DefaultCTT: 0
  982. *CharPosition: BASELINE
  983. *TTFSEnabled?: TRUE
  984. *DeviceFonts: LIST(136,138,146,147,148,149,150,151,152,153,154,155,156,157,164,165,
  985. + 166,196,197,198,199,200,201,202,203,209,210,211,212,213,214,215,
  986. + 216,217,218,219,220,221,222,223,224,225,226,227,228,229,230)
  987. *MinFontID: 16534
  988. *MaxFontID: 32768
  989. *switch: Resolution
  990. {
  991. *case: Option1
  992. {
  993. *FontFormat: HPPCL_OUTLINE
  994. }
  995. *default:
  996. {
  997. *FontFormat: HPPCL_RES
  998. }
  999. }
  1000. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1001. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1002. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1003. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1004. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1005. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1006. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1007. *MinGrayFill: 1
  1008. *MaxGrayFill: 100
  1009. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{((RectXSize * 2) / 4) }"A" }
  1010. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{((RectYSize * 2) / 4) }"B" }
  1011. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  1012. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1013. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }