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.

1324 lines
37 KiB

  1. *%
  2. *% Core GPD file for Ricoh PCL5e printer
  3. *% FileName: RIAF85X.GPD
  4. *% Created: 2000/06/01
  5. *% Modified: 2001/12/06
  6. *%
  7. *% Copyright (c) 1999 - 2001 Ricoh Co., Ltd.
  8. *% All rights reserved.
  9. *%
  10. *GPDFileVersion: "1.202"
  11. *Include: "TTFSUB.GPD"
  12. *Include: "RIAF5MAC.GPD"
  13. *MasterUnits: PAIR(1200, 1200)
  14. *ResourceDLL: "RIAFRES.DLL"
  15. *PrinterType: PAGE
  16. *MaxCopies: 999
  17. *rcInstalledOptionNameID: 330 *%%% "Installed"
  18. *rcNotInstalledOptionNameID: 329 *%%% "Not Installed"
  19. *%======== Quality Macros ========
  20. *BestQualitySettings: LIST(Resolution.600dpi, PrintQuality.SmoothingOff, Halftone.HT_PATSIZE_8x8_M)
  21. *DraftQualitySettings: LIST(Resolution.300dpi, PrintQuality.SmoothingOn, Halftone.HT_PATSIZE_6x6_M)
  22. *DefaultQuality: BESTQUALITY
  23. *%======== Memory ========
  24. *Feature: Memory
  25. {
  26. *rcNameID: =PRINTER_MEMORY_DISPLAY
  27. *DefaultOption: 32768KB
  28. *Option: 32768KB
  29. {
  30. *Name: "32MB"
  31. *MemoryConfigKB: PAIR(32768, 28350)
  32. }
  33. }
  34. *Ifdef: USE_NT51_INBOX_PLUGIN
  35. *% Workaround for XP inbox riafui2.dll which doesn't support print job.
  36. *%======== Hard Disk (custom feature) ========
  37. *Feature: HardDisk
  38. {
  39. *rcNameID: 380 *%%% "Hard Disk"
  40. *FeatureType: PRINTER_PROPERTY
  41. *DefaultOption: NotInstalled
  42. *Option: NotInstalled
  43. {
  44. *rcNameID: 329
  45. }
  46. *Option: Installed
  47. {
  48. *rcNameID: 330
  49. }
  50. }
  51. *Endif:
  52. *%======== Finisher (custom feature) ========
  53. *Feature: Finisher
  54. {
  55. *rcNameID: 287 *%%% "Finisher"
  56. *FeatureType: PRINTER_PROPERTY
  57. *DefaultOption: Finisher3000B
  58. *Option: Finisher3000B
  59. {
  60. *rcNameID: 399 *%%% "Finisher 3000B"
  61. *Constraints: OutputBin.BookletFinisherTray
  62. }
  63. *Option: BookletFinisher
  64. {
  65. *rcNameID: 400 *%%% "Booklet Finisher"
  66. *Constraints: OutputBin.FinisherProofTray
  67. *Constraints: OutputBin.FinisherShiftTray
  68. *Constraints: Stapling.TopLeftSlant
  69. *Constraints: Stapling.TopLeftVertical
  70. *Constraints: Stapling.TopLeftHorizontal
  71. *Constraints: Stapling.Top2
  72. *Constraints: Stapling.Left2
  73. *Constraints: PunchUnit.Installed
  74. *DisabledFeatures: LIST(Stapling)
  75. }
  76. }
  77. *%======== Punch Unit (custom feature) ========
  78. *Feature: PunchUnit
  79. {
  80. *rcNameID: 401 *%%% "Punch Unit"
  81. *FeatureType: PRINTER_PROPERTY
  82. *DefaultOption: NotInstalled
  83. *Option: NotInstalled
  84. {
  85. *rcNameID: 329
  86. *Constraints: Punching.Left
  87. *Constraints: Punching.Top
  88. }
  89. *Option: Installed
  90. {
  91. *rcNameID: 330
  92. }
  93. }
  94. *%======== Orientation ========
  95. *Feature: Orientation
  96. {
  97. *rcNameID: =ORIENTATION_DISPLAY
  98. *DefaultOption: PORTRAIT
  99. *Option: PORTRAIT
  100. {
  101. *rcNameID: =PORTRAIT_DISPLAY
  102. }
  103. *Option: LANDSCAPE_CC90
  104. {
  105. *rcNameID: =LANDSCAPE_DISPLAY
  106. }
  107. }
  108. *%======== InputBin ========
  109. *Macros: CmdStrings_InputBin
  110. {
  111. PRECMD_INPUTBIN_PORT: "<1B>&l0O"
  112. PRECMD_INPUTBIN_LAND: "<1B>&l1O"
  113. }
  114. *Feature: InputBin
  115. {
  116. *rcNameID: =PAPER_SOURCE_DISPLAY
  117. *DefaultOption: AUTO
  118. *Option: AUTO
  119. {
  120. *rcNameID: 267 *%%% "Auto Select by Printer"
  121. *switch: Orientation
  122. {
  123. *case: PORTRAIT
  124. {
  125. *Command: CmdSelect
  126. {
  127. *Order: DOC_SETUP.30
  128. *NoPageEject?: TRUE
  129. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l7H"
  130. }
  131. }
  132. *case: LANDSCAPE_CC90
  133. {
  134. *Command: CmdSelect
  135. {
  136. *Order: DOC_SETUP.30
  137. *NoPageEject?: TRUE
  138. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l7H"
  139. }
  140. }
  141. }
  142. }
  143. *Option: Tray1
  144. {
  145. *rcNameID: 268 *%%% "Tray 1"
  146. *OptionID: 1 *%%% DMBIN_UPPER
  147. *switch: Orientation
  148. {
  149. *case: PORTRAIT
  150. {
  151. *Command: CmdSelect
  152. {
  153. *Order: DOC_SETUP.30
  154. *NoPageEject?: TRUE
  155. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l8H"
  156. }
  157. }
  158. *case: LANDSCAPE_CC90
  159. {
  160. *Command: CmdSelect
  161. {
  162. *Order: DOC_SETUP.30
  163. *NoPageEject?: TRUE
  164. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l8H"
  165. }
  166. }
  167. }
  168. }
  169. *Option: Tray2
  170. {
  171. *rcNameID: 269 *%%% "Tray 2"
  172. *OptionID: 3 *%%% DMBIN_MIDDLE
  173. *switch: Orientation
  174. {
  175. *case: PORTRAIT
  176. {
  177. *Command: CmdSelect
  178. {
  179. *Order: DOC_SETUP.30
  180. *NoPageEject?: TRUE
  181. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l1H"
  182. }
  183. }
  184. *case: LANDSCAPE_CC90
  185. {
  186. *Command: CmdSelect
  187. {
  188. *Order: DOC_SETUP.30
  189. *NoPageEject?: TRUE
  190. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l1H"
  191. }
  192. }
  193. }
  194. }
  195. *Option: Tray3
  196. {
  197. *rcNameID: 270 *%%% "Tray 3"
  198. *OptionID: 2 *%%% DMBIN_LOWER
  199. *switch: Orientation
  200. {
  201. *case: PORTRAIT
  202. {
  203. *Command: CmdSelect
  204. {
  205. *Order: DOC_SETUP.30
  206. *NoPageEject?: TRUE
  207. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l4H"
  208. }
  209. }
  210. *case: LANDSCAPE_CC90
  211. {
  212. *Command: CmdSelect
  213. {
  214. *Order: DOC_SETUP.30
  215. *NoPageEject?: TRUE
  216. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l4H"
  217. }
  218. }
  219. }
  220. }
  221. *Option: Tray4
  222. {
  223. *rcNameID: 271 *%%% "Tray 4"
  224. *OptionID: 257 *%%% vendor unique
  225. *Installable?: TRUE
  226. *rcInstallableFeatureNameID: 271
  227. *switch: Orientation
  228. {
  229. *case: PORTRAIT
  230. {
  231. *Command: CmdSelect
  232. {
  233. *Order: DOC_SETUP.30
  234. *NoPageEject?: TRUE
  235. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l22H"
  236. }
  237. }
  238. *case: LANDSCAPE_CC90
  239. {
  240. *Command: CmdSelect
  241. {
  242. *Order: DOC_SETUP.30
  243. *NoPageEject?: TRUE
  244. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l22H"
  245. }
  246. }
  247. }
  248. }
  249. *Option: Tray5
  250. {
  251. *rcNameID: 402 *%%% "Tray 5"
  252. *OptionID: 258 *%%% vendor unique
  253. *Installable?: TRUE
  254. *rcInstallableFeatureNameID: 402
  255. *switch: Orientation
  256. {
  257. *case: PORTRAIT
  258. {
  259. *Command: CmdSelect
  260. {
  261. *Order: DOC_SETUP.30
  262. *NoPageEject?: TRUE
  263. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l23H"
  264. }
  265. }
  266. *case: LANDSCAPE_CC90
  267. {
  268. *Command: CmdSelect
  269. {
  270. *Order: DOC_SETUP.30
  271. *NoPageEject?: TRUE
  272. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l23H"
  273. }
  274. }
  275. }
  276. }
  277. *Option: Tray6
  278. {
  279. *rcNameID: 403 *%%% "Tray 6"
  280. *OptionID: 259 *%%% vendor unique
  281. *Installable?: TRUE
  282. *rcInstallableFeatureNameID: 403
  283. *switch: Orientation
  284. {
  285. *case: PORTRAIT
  286. {
  287. *Command: CmdSelect
  288. {
  289. *Order: DOC_SETUP.30
  290. *NoPageEject?: TRUE
  291. *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l24H"
  292. }
  293. }
  294. *case: LANDSCAPE_CC90
  295. {
  296. *Command: CmdSelect
  297. {
  298. *Order: DOC_SETUP.30
  299. *NoPageEject?: TRUE
  300. *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l24H"
  301. }
  302. }
  303. }
  304. }
  305. }
  306. *%======== Resolution ========
  307. *Feature: Resolution
  308. {
  309. *rcNameID: =RESOLUTION_DISPLAY
  310. *DefaultOption: 600dpi
  311. *Option: 600dpi
  312. {
  313. *rcNameID: 395 *%%% "600 dpi"
  314. *DPI: PAIR(600, 600)
  315. *TextDPI: PAIR(600, 600)
  316. *MinStripBlankPixels: 32
  317. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  318. *SpotDiameter: 100
  319. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  320. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  321. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  322. *Command: CmdSelect
  323. {
  324. *Order: JOB_SETUP.90
  325. *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t600R"
  326. }
  327. }
  328. *Option: 300dpi
  329. {
  330. *rcNameID: 396 *%%% "300 dpi"
  331. *DPI: PAIR(300, 300)
  332. *TextDPI: PAIR(300, 300)
  333. *MinStripBlankPixels: 32
  334. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  335. *SpotDiameter: 100
  336. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  337. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  338. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  339. *Command: CmdSelect
  340. {
  341. *Order: JOB_SETUP.90
  342. *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t300R"
  343. }
  344. }
  345. }
  346. *%======== PaperSize ========
  347. *Feature: PaperSize
  348. {
  349. *rcNameID: =PAPER_SIZE_DISPLAY
  350. *DefaultOption: LETTER
  351. *Option: 11X17
  352. {
  353. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  354. *switch: Orientation
  355. {
  356. *case: PORTRAIT
  357. {
  358. *PrintableArea: PAIR(12600, 19800)
  359. *PrintableOrigin: PAIR(300, 300)
  360. *CursorOrigin: PAIR(300, 200)
  361. *Command: CmdSelect
  362. {
  363. *Order: DOC_SETUP.40
  364. *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  365. }
  366. }
  367. *case: LANDSCAPE_CC90
  368. {
  369. *PrintableArea: PAIR(12600, 19800)
  370. *PrintableOrigin: PAIR(300, 300)
  371. *CursorOrigin: PAIR(200, 20100)
  372. *Command: CmdSelect
  373. {
  374. *Order: DOC_SETUP.40
  375. *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11880x7680Y"
  376. }
  377. }
  378. }
  379. }
  380. *Option: LETTER
  381. {
  382. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  383. *switch: Orientation
  384. {
  385. *case: PORTRAIT
  386. {
  387. *PrintableArea: PAIR(9600, 12648)
  388. *PrintableOrigin: PAIR(300, 300)
  389. *CursorOrigin: PAIR(300, 180)
  390. *Command: CmdSelect
  391. {
  392. *Order: DOC_SETUP.40
  393. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  394. }
  395. }
  396. *case: LANDSCAPE_CC90
  397. {
  398. *PrintableArea: PAIR(9760, 12688)
  399. *PrintableOrigin: PAIR(200, 272)
  400. *CursorOrigin: PAIR(200, 12960)
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.40
  404. *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  405. }
  406. }
  407. }
  408. }
  409. *Option: LEGAL
  410. {
  411. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  412. *switch: Orientation
  413. {
  414. *case: PORTRAIT
  415. {
  416. *PrintableArea: PAIR(9600, 16248)
  417. *PrintableOrigin: PAIR(300, 300)
  418. *CursorOrigin: PAIR(300, 180)
  419. *Command: CmdSelect
  420. {
  421. *Order: DOC_SETUP.40
  422. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  423. }
  424. }
  425. *case: LANDSCAPE_CC90
  426. {
  427. *PrintableArea: PAIR(9760, 16284)
  428. *PrintableOrigin: PAIR(200, 276)
  429. *CursorOrigin: PAIR(200, 16560)
  430. *Command: CmdSelect
  431. {
  432. *Order: DOC_SETUP.40
  433. *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  434. }
  435. }
  436. }
  437. }
  438. *Option: EXECUTIVE
  439. {
  440. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  441. *switch: Orientation
  442. {
  443. *case: PORTRAIT
  444. {
  445. *PrintableArea: PAIR(8100, 12048)
  446. *PrintableOrigin: PAIR(300, 300)
  447. *CursorOrigin: PAIR(300, 180)
  448. *Command: CmdSelect
  449. {
  450. *Order: DOC_SETUP.40
  451. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  452. }
  453. }
  454. *case: LANDSCAPE_CC90
  455. {
  456. *PrintableArea: PAIR(8220, 12080)
  457. *PrintableOrigin: PAIR(240, 280)
  458. *CursorOrigin: PAIR(200, 12360)
  459. *Command: CmdSelect
  460. {
  461. *Order: DOC_SETUP.40
  462. *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  463. }
  464. }
  465. }
  466. }
  467. *Option: STATEMENT
  468. {
  469. *rcNameID: 394 *%%% "5.5x8.5"
  470. *switch: Orientation
  471. {
  472. *case: PORTRAIT
  473. {
  474. *PrintableArea: PAIR(6000, 9600)
  475. *% *PrintableOrigin: PAIR(300, 300)
  476. *PrintableOrigin: PAIR(300, 240)
  477. *CursorOrigin: PAIR(300, 180)
  478. *Command: CmdSelect
  479. {
  480. *Order: DOC_SETUP.40
  481. *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t3618x5778Y"
  482. }
  483. }
  484. *case: LANDSCAPE_CC90
  485. {
  486. *PrintableArea: PAIR(6000, 9600)
  487. *% *PrintableOrigin: PAIR(300, 300)
  488. *% *CursorOrigin: PAIR(200, 9900)
  489. *PrintableOrigin: PAIR(300, 400)
  490. *CursorOrigin: PAIR(200, 10090)
  491. *Command: CmdSelect
  492. {
  493. *Order: DOC_SETUP.40
  494. *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t5778x3618Y"
  495. }
  496. }
  497. }
  498. }
  499. *Option: A3
  500. {
  501. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  502. *switch: Orientation
  503. {
  504. *case: PORTRAIT
  505. {
  506. *PrintableArea: PAIR(13428, 19308)
  507. *PrintableOrigin: PAIR(300, 300)
  508. *CursorOrigin: PAIR(300, 180)
  509. *Command: CmdSelect
  510. {
  511. *Order: DOC_SETUP.40
  512. *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8057x11693Y"
  513. }
  514. }
  515. *case: LANDSCAPE_CC90
  516. {
  517. *PrintableArea: PAIR(13588, 19368)
  518. *PrintableOrigin: PAIR(200, 240)
  519. *CursorOrigin: PAIR(200, 19608)
  520. *Command: CmdSelect
  521. {
  522. *Order: DOC_SETUP.40
  523. *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  524. }
  525. }
  526. }
  527. }
  528. *Option: A4
  529. {
  530. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  531. *switch: Orientation
  532. {
  533. *case: PORTRAIT
  534. {
  535. *PrintableArea: PAIR(9292, 13476)
  536. *PrintableOrigin: PAIR(300, 300)
  537. *CursorOrigin: PAIR(300, 180)
  538. *Command: CmdSelect
  539. {
  540. *Order: DOC_SETUP.40
  541. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  542. }
  543. }
  544. *case: LANDSCAPE_CC90
  545. {
  546. *PrintableArea: PAIR(9464, 13516)
  547. *PrintableOrigin: PAIR(220, 272)
  548. *CursorOrigin: PAIR(200, 13788)
  549. *Command: CmdSelect
  550. {
  551. *Order: DOC_SETUP.40
  552. *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  553. }
  554. }
  555. }
  556. }
  557. *Option: A5
  558. {
  559. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  560. *switch: Orientation
  561. {
  562. *case: PORTRAIT
  563. {
  564. *PrintableArea: PAIR(6416, 9420)
  565. *% *PrintableOrigin: PAIR(300, 300)
  566. *PrintableOrigin: PAIR(300, 220)
  567. *CursorOrigin: PAIR(300, 180)
  568. *Command: CmdSelect
  569. {
  570. *Order: DOC_SETUP.40
  571. *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t3868x5670Y"
  572. }
  573. }
  574. *case: LANDSCAPE_CC90
  575. {
  576. *PrintableArea: PAIR(6416, 9420)
  577. *% *PrintableOrigin: PAIR(280, 204)
  578. *% *CursorOrigin: PAIR(200, 9624)
  579. *PrintableOrigin: PAIR(280, 360)
  580. *CursorOrigin: PAIR(200, 9800)
  581. *Command: CmdSelect
  582. {
  583. *Order: DOC_SETUP.40
  584. *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t5670x3868Y"
  585. }
  586. }
  587. }
  588. }
  589. *Option: B4
  590. {
  591. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  592. *switch: Orientation
  593. {
  594. *case: PORTRAIT
  595. {
  596. *PrintableArea: PAIR(11544, 16656)
  597. *PrintableOrigin: PAIR(300, 300)
  598. *CursorOrigin: PAIR(300, 180)
  599. *Command: CmdSelect
  600. {
  601. *Order: DOC_SETUP.40
  602. *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6926x10102Y"
  603. }
  604. }
  605. *case: LANDSCAPE_CC90
  606. {
  607. *PrintableArea: PAIR(11704, 16716)
  608. *PrintableOrigin: PAIR(200, 240)
  609. *CursorOrigin: PAIR(200, 16956)
  610. *Command: CmdSelect
  611. {
  612. *Order: DOC_SETUP.40
  613. *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10030x7046Y"
  614. }
  615. }
  616. }
  617. }
  618. *Option: B5
  619. {
  620. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  621. *switch: Orientation
  622. {
  623. *case: PORTRAIT
  624. {
  625. *PrintableArea: PAIR(8004, 11604)
  626. *PrintableOrigin: PAIR(300, 300)
  627. *CursorOrigin: PAIR(300, 180)
  628. *Command: CmdSelect
  629. {
  630. *Order: DOC_SETUP.40
  631. *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4802x7070Y"
  632. }
  633. }
  634. *case: LANDSCAPE_CC90
  635. {
  636. *PrintableArea: PAIR(8144, 11664)
  637. *PrintableOrigin: PAIR(220, 240)
  638. *CursorOrigin: PAIR(200, 11904)
  639. *Command: CmdSelect
  640. {
  641. *Order: DOC_SETUP.40
  642. *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6998x4922Y"
  643. }
  644. }
  645. }
  646. }
  647. *Option: GovernmentLegal
  648. {
  649. *rcNameID: 393 *%%% "8x13"
  650. *PageDimensions: PAIR(9600, 15600)
  651. *switch: Orientation
  652. {
  653. *case: PORTRAIT
  654. {
  655. *PrintableArea: PAIR(9000, 15000)
  656. *PrintableOrigin: PAIR(300, 300)
  657. *CursorOrigin: PAIR(300, 180)
  658. *Command: CmdSelect
  659. {
  660. *Order: DOC_SETUP.40
  661. *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t5418x9018Y"
  662. }
  663. }
  664. *case: LANDSCAPE_CC90
  665. {
  666. *PrintableArea: PAIR(9000, 15000)
  667. *PrintableOrigin: PAIR(300, 300)
  668. *CursorOrigin: PAIR(200, 15300)
  669. *Command: CmdSelect
  670. {
  671. *Order: DOC_SETUP.40
  672. *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t9018x5418Y"
  673. }
  674. }
  675. }
  676. }
  677. *Option: Foolscap
  678. {
  679. *rcNameID: 392 *%%% "8.25x13"
  680. *PageDimensions: PAIR(9900, 15600)
  681. *switch: Orientation
  682. {
  683. *case: PORTRAIT
  684. {
  685. *PrintableArea: PAIR(9300, 15000)
  686. *PrintableOrigin: PAIR(300, 300)
  687. *CursorOrigin: PAIR(300, 180)
  688. *Command: CmdSelect
  689. {
  690. *Order: DOC_SETUP.40
  691. *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t5598x9018Y"
  692. }
  693. }
  694. *case: LANDSCAPE_CC90
  695. {
  696. *PrintableArea: PAIR(9300, 15000)
  697. *PrintableOrigin: PAIR(300, 300)
  698. *CursorOrigin: PAIR(200, 15300)
  699. *Command: CmdSelect
  700. {
  701. *Order: DOC_SETUP.40
  702. *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t9018x5598Y"
  703. }
  704. }
  705. }
  706. }
  707. *Option: FOLIO
  708. {
  709. *rcNameID: 391 *%%% "8.5x13"
  710. *switch: Orientation
  711. {
  712. *case: PORTRAIT
  713. {
  714. *PrintableArea: PAIR(9600, 15000)
  715. *PrintableOrigin: PAIR(300, 300)
  716. *CursorOrigin: PAIR(300, 180)
  717. *Command: CmdSelect
  718. {
  719. *Order: DOC_SETUP.40
  720. *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t5760x9018Y"
  721. }
  722. }
  723. *case: LANDSCAPE_CC90
  724. {
  725. *PrintableArea: PAIR(9600, 15000)
  726. *PrintableOrigin: PAIR(300, 300)
  727. *CursorOrigin: PAIR(200, 15300)
  728. *Command: CmdSelect
  729. {
  730. *Order: DOC_SETUP.40
  731. *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t9018x5880Y"
  732. }
  733. }
  734. }
  735. }
  736. }
  737. *%======== OutputBin ========
  738. *Feature: OutputBin
  739. {
  740. *rcNameID: =OUTPUTBIN_DISPLAY
  741. *DefaultOption: PrinterDefault
  742. *Option: PrinterDefault
  743. {
  744. *rcNameID: 291 *%%% "Printer Default"
  745. *Command: CmdSelect
  746. {
  747. *Order: JOB_SETUP.40
  748. *Cmd: ""
  749. }
  750. }
  751. *Option: FinisherProofTray
  752. {
  753. *rcNameID: 357 *%%% "Finisher Proof Tray"
  754. *Command: CmdSelect
  755. {
  756. *Order: JOB_SETUP.40
  757. *Cmd: "@PJL SET OUTBIN=FINISHERPROOF<0A>"
  758. }
  759. }
  760. *Option: FinisherShiftTray
  761. {
  762. *rcNameID: 358 *%%% "Finisher Shift Tray"
  763. *Command: CmdSelect
  764. {
  765. *Order: JOB_SETUP.40
  766. *Cmd: "@PJL SET OUTBIN=FINISHERSHIFT<0A>"
  767. }
  768. }
  769. *Option: BookletFinisherTray
  770. {
  771. *rcNameID: 404 *%%% "Booklet Finisher Tray"
  772. *Command: CmdSelect
  773. {
  774. *Order: JOB_SETUP.40
  775. *Cmd: "@PJL SET OUTBIN=STACKER<0A>"
  776. }
  777. }
  778. }
  779. *%======== Collate ========
  780. *Feature: Collate
  781. {
  782. *Name: "Collated" *%%% This string isn't used in UI.
  783. *DefaultOption: OFF
  784. *Option: ON
  785. {
  786. *rcNameID: =ON_DISPLAY
  787. *Command: CmdSelect
  788. {
  789. *Order: JOB_SETUP.50
  790. *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET JOBOFFSET=SHIFT<0A>"
  791. }
  792. }
  793. *Option: OFF
  794. {
  795. *rcNameID: =OFF_DISPLAY
  796. *Command: CmdSelect
  797. {
  798. *Order: JOB_SETUP.50
  799. *% *Cmd: "@PJL SET JOBOFFSET=OFF<0A>"
  800. *CallbackID: =CMD_COLLATE_JOBOFFSET_SHIFT
  801. *Params: LIST(NumOfCopies)
  802. }
  803. }
  804. }
  805. *%======== Stapling ========
  806. *Macros: CmdStrings_Stapling
  807. {
  808. PRECMD_STAPLE: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET OUTBIN=FINISHERSHIFT<0A>@PJL SET JOBOFFSET=OFF<0A>"
  809. }
  810. *Feature: Stapling
  811. {
  812. *rcNameID: 369 *%%% "Staple"
  813. *DefaultOption: OFF
  814. *Option: OFF
  815. {
  816. *rcNameID: =OFF_DISPLAY
  817. *Command: CmdSelect
  818. {
  819. *Order: JOB_SETUP.60
  820. *Cmd: "@PJL SET STAPLE=OFF<0A>"
  821. }
  822. }
  823. *Option: TopLeftSlant
  824. {
  825. *rcNameID: 405 *%%% "Upper Left Slant"
  826. *switch: Orientation
  827. {
  828. *case: PORTRAIT
  829. {
  830. *Command: CmdSelect
  831. {
  832. *Order: JOB_SETUP.60
  833. *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPSLANTPORT<0A>"
  834. }
  835. }
  836. *case: LANDSCAPE_CC90
  837. {
  838. *Command: CmdSelect
  839. {
  840. *Order: JOB_SETUP.60
  841. *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPSLANTLAND<0A>"
  842. }
  843. }
  844. }
  845. }
  846. *Option: TopLeftHorizontal
  847. {
  848. *rcNameID: 407 *%%% "Upper Left Horizontal"
  849. *switch: Orientation
  850. {
  851. *case: PORTRAIT
  852. {
  853. *Command: CmdSelect
  854. {
  855. *Order: JOB_SETUP.60
  856. *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPHORIZPORT<0A>"
  857. }
  858. }
  859. *case: LANDSCAPE_CC90
  860. {
  861. *Command: CmdSelect
  862. {
  863. *Order: JOB_SETUP.60
  864. *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPHORIZLAND<0A>"
  865. }
  866. }
  867. }
  868. }
  869. *Option: TopLeftVertical
  870. {
  871. *rcNameID: 406 *%%% "Upper Left Vertical"
  872. *switch: Orientation
  873. {
  874. *case: PORTRAIT
  875. {
  876. *Command: CmdSelect
  877. {
  878. *Order: JOB_SETUP.60
  879. *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPVERTPORT<0A>"
  880. }
  881. }
  882. *case: LANDSCAPE_CC90
  883. {
  884. *Command: CmdSelect
  885. {
  886. *Order: JOB_SETUP.60
  887. *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPVERTLAND<0A>"
  888. }
  889. }
  890. }
  891. }
  892. *Option: Top2
  893. {
  894. *rcNameID: 408 *%%% "Upper 2"
  895. *switch: Orientation
  896. {
  897. *case: PORTRAIT
  898. {
  899. *Command: CmdSelect
  900. {
  901. *Order: JOB_SETUP.60
  902. *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=TOP2PORT<0A>"
  903. }
  904. }
  905. *case: LANDSCAPE_CC90
  906. {
  907. *Command: CmdSelect
  908. {
  909. *Order: JOB_SETUP.60
  910. *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=TOP2LAND<0A>"
  911. }
  912. }
  913. }
  914. }
  915. *Option: Left2
  916. {
  917. *rcNameID: 374 *%%% "Left 2"
  918. *switch: Orientation
  919. {
  920. *case: PORTRAIT
  921. {
  922. *Command: CmdSelect
  923. {
  924. *Order: JOB_SETUP.60
  925. *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFT2PORT<0A>"
  926. }
  927. }
  928. *case: LANDSCAPE_CC90
  929. {
  930. *Command: CmdSelect
  931. {
  932. *Order: JOB_SETUP.60
  933. *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFT2LAND<0A>"
  934. }
  935. }
  936. }
  937. }
  938. }
  939. *%======== Punching (custom feature) ========
  940. *Macros: CmdStrings_Punching
  941. {
  942. PRECMD_PUNCH: "@PJL SET OUTBIN=FINISHERSHIFT<0A>"
  943. }
  944. *Feature: Punching
  945. {
  946. *rcNameID: 375 *%%% "Punch"
  947. *FeatureType: DOC_PROPERTY
  948. *DefaultOption: OFF
  949. *Option: OFF
  950. {
  951. *rcNameID: =OFF_DISPLAY
  952. *Command: CmdSelect
  953. {
  954. *Order: JOB_SETUP.70
  955. *Cmd: "@PJL SET PUNCH=OFF<0A>"
  956. }
  957. }
  958. *Option: Left
  959. {
  960. *rcNameID: 376 *%%% "Left"
  961. *switch: Orientation
  962. {
  963. *case: PORTRAIT
  964. {
  965. *Command: CmdSelect
  966. {
  967. *Order: JOB_SETUP.70
  968. *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=LEFTPORT<0A>"
  969. }
  970. }
  971. *case: LANDSCAPE_CC90
  972. {
  973. *Command: CmdSelect
  974. {
  975. *Order: JOB_SETUP.70
  976. *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=LEFTLAND<0A>"
  977. }
  978. }
  979. }
  980. }
  981. *Option: Top
  982. {
  983. *rcNameID: 377 *%%% "Top"
  984. *switch: Orientation
  985. {
  986. *case: PORTRAIT
  987. {
  988. *Command: CmdSelect
  989. {
  990. *Order: JOB_SETUP.70
  991. *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=TOPPORT<0A>"
  992. }
  993. }
  994. *case: LANDSCAPE_CC90
  995. {
  996. *Command: CmdSelect
  997. {
  998. *Order: JOB_SETUP.70
  999. *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=TOPLAND<0A>"
  1000. }
  1001. }
  1002. }
  1003. }
  1004. }
  1005. *%======== Duplex ========
  1006. *Feature: Duplex
  1007. {
  1008. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1009. *DefaultOption: NONE
  1010. *Option: NONE
  1011. {
  1012. *rcNameID: =NONE_DISPLAY
  1013. *Command: CmdSelect
  1014. {
  1015. *Order: DOC_SETUP.20
  1016. *Cmd: "<1B>&l0S"
  1017. }
  1018. }
  1019. *Option: VERTICAL
  1020. {
  1021. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1022. *Command: CmdSelect
  1023. {
  1024. *Order: DOC_SETUP.20
  1025. *Cmd: "<1B>&l1S"
  1026. }
  1027. }
  1028. *Option: HORIZONTAL
  1029. {
  1030. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1031. *Command: CmdSelect
  1032. {
  1033. *Order: DOC_SETUP.20
  1034. *Cmd: "<1B>&l2S"
  1035. }
  1036. }
  1037. }
  1038. *%======== PrintQuality ========
  1039. *Feature: PrintQuality
  1040. {
  1041. *rcNameID: =TEXT_QUALITY_DISPLAY
  1042. *DefaultOption: SmoothingOff
  1043. *Option: SmoothingOff
  1044. {
  1045. *rcNameID: 306 *%%% "Edge Smoothing - Off"
  1046. *Command: CmdSelect
  1047. {
  1048. *Order: JOB_SETUP.20
  1049. *Cmd: "@PJL SET SMOOTHING=OFF<0A>"
  1050. }
  1051. }
  1052. *Option: SmoothingOn
  1053. {
  1054. *rcNameID: 305 *%%% "Edge Smoothing - On"
  1055. *Command: CmdSelect
  1056. {
  1057. *Order: JOB_SETUP.20
  1058. *Cmd: "@PJL SET SMOOTHING=ON<0A>"
  1059. }
  1060. }
  1061. }
  1062. *%======== PrintDensity ========
  1063. *Feature: PrintDensity
  1064. {
  1065. *rcNameID: =PRINTDENSITY_DISPLAY
  1066. *DefaultOption: EconomodeOff
  1067. *Option: EconomodeOff
  1068. {
  1069. *rcNameID: 322 *%%% "Toner Saver - Off"
  1070. *Command: CmdSelect
  1071. {
  1072. *Order: JOB_SETUP.30
  1073. *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  1074. }
  1075. }
  1076. *Option: EconomodeOn
  1077. {
  1078. *rcNameID: 323 *%%% "Toner Saver - On"
  1079. *Command: CmdSelect
  1080. {
  1081. *Order: JOB_SETUP.30
  1082. *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  1083. }
  1084. }
  1085. }
  1086. *%======== Halftone ========
  1087. *Feature: Halftone
  1088. {
  1089. *rcNameID: =HALFTONING_DISPLAY
  1090. *DefaultOption: HT_PATSIZE_8x8_M
  1091. *Option: HT_PATSIZE_AUTO
  1092. {
  1093. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1094. }
  1095. *Option: HT_PATSIZE_6x6_M
  1096. {
  1097. *rcNameID: =HT_DITHER6X6_DISPLAY
  1098. }
  1099. *Option: HT_PATSIZE_8x8_M
  1100. {
  1101. *rcNameID: =HT_DITHER8X8_DISPLAY
  1102. }
  1103. *Option: HT_PATSIZE_10x10_M
  1104. {
  1105. *rcNameID: 397 *%%% "Dither 10x10"
  1106. }
  1107. }
  1108. *%======== StartJob ========
  1109. *switch: Orientation
  1110. {
  1111. *case: PORTRAIT
  1112. {
  1113. *switch: InputBin
  1114. {
  1115. *case: AUTO
  1116. {
  1117. *Command: CmdStartJob
  1118. {
  1119. *Order: JOB_SETUP.10
  1120. *CallbackID: =CMD_STARTJOB_PORT_AUTOTRAYCHANGE_ON
  1121. }
  1122. }
  1123. *default:
  1124. {
  1125. *Command: CmdStartJob
  1126. {
  1127. *Order: JOB_SETUP.10
  1128. *CallbackID: =CMD_STARTJOB_PORT_AUTOTRAYCHANGE_OFF
  1129. }
  1130. }
  1131. }
  1132. }
  1133. *case: LANDSCAPE_CC90
  1134. {
  1135. *switch: InputBin
  1136. {
  1137. *case: AUTO
  1138. {
  1139. *Command: CmdStartJob
  1140. {
  1141. *Order: JOB_SETUP.10
  1142. *CallbackID: =CMD_STARTJOB_LAND_AUTOTRAYCHANGE_ON
  1143. }
  1144. }
  1145. *default:
  1146. {
  1147. *Command: CmdStartJob
  1148. {
  1149. *Order: JOB_SETUP.10
  1150. *CallbackID: =CMD_STARTJOB_LAND_AUTOTRAYCHANGE_OFF
  1151. }
  1152. }
  1153. }
  1154. }
  1155. }
  1156. *%======== StartDoc ========
  1157. *Command: CmdStartDoc
  1158. {
  1159. *Order: DOC_SETUP.10
  1160. *Cmd: "<1B>&u600D<1B>*r0F"
  1161. }
  1162. *%======== StartPage ========
  1163. *Command: CmdStartPage
  1164. {
  1165. *Order: PAGE_SETUP.10
  1166. *Cmd: "<1B>*b0M<0D>"
  1167. }
  1168. *%======== EndJob ========
  1169. *Command: CmdEndJob
  1170. {
  1171. *Order: JOB_FINISH.10
  1172. *CallbackID: =CMD_ENDJOB_P5
  1173. }
  1174. *%======== Copies ========
  1175. *switch: Collate
  1176. {
  1177. *case: OFF
  1178. {
  1179. *switch: Stapling
  1180. {
  1181. *case: OFF
  1182. {
  1183. *Command: CmdCopies
  1184. {
  1185. *Order: DOC_SETUP.50
  1186. *% *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1187. *CallbackID: =CMD_COPIES_P5
  1188. *Params: LIST(NumOfCopies)
  1189. }
  1190. }
  1191. *default:
  1192. {
  1193. *Command: CmdCopies
  1194. {
  1195. *Order: DOC_SETUP.50
  1196. *Cmd: "<1B>&l1X"
  1197. }
  1198. }
  1199. }
  1200. }
  1201. *case: ON
  1202. {
  1203. *Command: CmdCopies
  1204. {
  1205. *Order: DOC_SETUP.50
  1206. *Cmd: "<1B>&l1X"
  1207. }
  1208. }
  1209. }
  1210. *%======== Capabilities ========
  1211. *RotateCoordinate?: TRUE
  1212. *RotateRaster?: TRUE
  1213. *RotateFont?: TRUE
  1214. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1215. *MemoryUsage: LIST(FONT)
  1216. *%======== Cursor Control ========
  1217. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1218. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1219. *XMoveThreshold: 0
  1220. *YMoveThreshold: 0
  1221. *XMoveUnit: 600
  1222. *YMoveUnit: 600
  1223. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2)}"X" }
  1224. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  1225. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  1226. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2)}"Y" }
  1227. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2)}"Y" }
  1228. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2)}"Y" }
  1229. *Command: CmdCR { *Cmd : "<0D>" }
  1230. *Command: CmdLF { *Cmd : "<0A>" }
  1231. *Command: CmdFF { *Cmd : "<0C>" }
  1232. *Command: CmdBackSpace { *Cmd : "<08>" }
  1233. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1234. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1235. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1236. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1237. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1238. *EjectPageWithFF?: TRUE
  1239. *%======== Raster Data ========
  1240. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1241. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1242. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1243. *OutputDataFormat: H_BYTE
  1244. *OptimizeLeftBound?: TRUE
  1245. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1246. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1247. *%======== Font ========
  1248. *DefaultFont: =RC_FONT_COURIERR
  1249. *DeviceFonts: =ALL_DEVICEFONTS
  1250. *DefaultCTT: 0
  1251. *CharPosition: BASELINE
  1252. *TTFSEnabled?: TRUE
  1253. *MinFontID: 16534
  1254. *MaxFontID: 32768
  1255. *switch: Resolution
  1256. {
  1257. *case: 600dpi
  1258. {
  1259. *FontFormat: HPPCL_OUTLINE
  1260. }
  1261. *case: 300dpi
  1262. {
  1263. *FontFormat: HPPCL_RES
  1264. }
  1265. }
  1266. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1267. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1268. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1269. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1270. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1271. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1272. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1273. *%======== RectFill ========
  1274. *MinGrayFill: 1
  1275. *MaxGrayFill: 100
  1276. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2)}"A" }
  1277. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2)}"B" }
  1278. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  1279. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1280. *Ifdef: WINNT_51
  1281. *Personality: =PERSONALITY_HPGL2
  1282. *%======== HP-GL/2 Graphics Mode ========
  1283. *Feature: GraphicsMode
  1284. {
  1285. *rcNameID: =GRAPHICSMODE_DISPLAY
  1286. *DefaultOption: HPGL2MODE
  1287. *Option: HPGL2MODE
  1288. {
  1289. *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  1290. }
  1291. *Option: RASTERMODE
  1292. {
  1293. *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  1294. }
  1295. }
  1296. *Endif: