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.

1745 lines
50 KiB

  1. *%%
  2. *%% Samsung ML-6060 PCL6
  3. *%%
  4. *%% Copyright 1998 - 1999, Microsoft Corp.
  5. *%% All Rights Reserved.
  6. *%%
  7. *%%
  8. *%% Global Entries
  9. *%%
  10. *GPDSpecVersion: "1.0"
  11. *GPDFileVersion: "1.0"
  12. *%%% ======================
  13. *%%% Include standard GPD files
  14. *%%% =====================
  15. *Include: "StdNames.gpd"
  16. *Include: "ttfsub.gpd"
  17. *%%
  18. *%% Model Specific Global Entries
  19. *%%
  20. *GPDFileName: "sml6060.gpd"
  21. *ModelName: "Samsung ML-6060 PCL6"
  22. *MaxCopies: 32767
  23. *PrintRate: 12
  24. *PrintRatePPM: 12
  25. *PrintRateUnit: PPM
  26. *%%% ======================
  27. *%%% Macros
  28. *%%% ======================
  29. *Include: "pjl.gpd"
  30. *Include: "p6font.gpd"
  31. *Include: "p6disp.gpd"
  32. *%%% ======================
  33. *%%% Main
  34. *%%% ======================
  35. *Include: "pclxl.gpd"
  36. *%%% ======================
  37. *%%% JOB_SETUP, PAGE_FINISH
  38. *%%% , JOB_FINISH
  39. *%%% ======================
  40. *Macros: PCLXLCommand
  41. {
  42. *%%% ---------------------------------------------------------------------------
  43. *%%% PCL XL Stream Header
  44. *%%% ---------------------------------------------------------------------------
  45. PCLXL_StreamHeader: ") HP-PCL XL;1;1;"
  46. + "Comment Copyright(c) 1999 Microsoft Corporation<0A>"
  47. *%%% ---------------------------------------------------------------------------
  48. *%%% BeginSession
  49. *%%% Measure(ubyte) & UnitsPerMeasure(uint16_xy) & {ErrorReport(ubyte)}
  50. *%%% ---------------------------------------------------------------------------
  51. PCLXL_BeginSession1200: =uint16_xy "<b004b004>" =attr_ubyte =UnitsPerMeasure =ubyte
  52. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  53. PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte
  54. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  55. PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte
  56. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  57. Width: %m{ RasterDataWidthInBytes }
  58. Height: %m{ RasterDataHeightInPixels }
  59. DataSize: %l{ NumOfDataBytes }
  60. FntHeight: %l{ FontHeight*600/TextYRes }
  61. FntNextGlyph: %l{ NextGlyph }
  62. *%%% ---------------------------------------------------------------------------
  63. *%%% BeginRaster
  64. *%%% ColorDepth(ubyte) & ColorMapping(ubyte) & SourceWidth(uint16) &
  65. *%%% SourceWidth(uint16) & SourceHeight(uint16)
  66. *%%% ---------------------------------------------------------------------------
  67. PCLXL_CmdBeginRaster: =ubyte =e1Bit =attr_ubyte =ColorDepth
  68. + =ubyte =eDirectPixel =attr_ubyte =ColorMapping
  69. + =uint16 =Width =attr_ubyte =SourceWidth
  70. + =uint16 =Height =attr_ubyte =SourceHeight
  71. + =uint16_xy =Width =Height =attr_ubyte =DestinationSize
  72. + =BeginImage
  73. + =ubyte =eNoCompression =attr_ubyte =CompressMode
  74. + =ubyte "<00>" =attr_ubyte =StartLine
  75. + =uint16 =Height =attr_ubyte =BlockHeight
  76. + =ReadImage
  77. PCLXL_CmdSendBlockData: =dataLength =DataSize "<0000>"
  78. DestinationX: %l{DestX}
  79. DestinationY: %l{DestY}
  80. DestinationXRel: %l{DestYRel}
  81. DestinationYRel: %l{DestXRel}
  82. NumOfCopy: %l{NumOfCopies}
  83. PrintDir: %l{PrintDirInCCDegrees}
  84. FntName: =ubyte_array =uint16 "<1000>" "MS PCLXLFont " %3d{CurrentFontID}
  85. }
  86. *%%% ======================
  87. *%%% Features and Options
  88. *%%% ======================
  89. *%% Orientation
  90. *Feature: Orientation
  91. {
  92. *rcNameID: =ORIENTATION_DISPLAY
  93. *DefaultOption: PORTRAIT
  94. *Option: PORTRAIT
  95. {
  96. *rcNameID: =PORTRAIT_DISPLAY
  97. }
  98. *Option: LANDSCAPE_CC90
  99. {
  100. *rcNameID: =LANDSCAPE_DISPLAY
  101. }
  102. }
  103. *%%% ======================
  104. *%%% JOB_SETUP
  105. *%%% ======================
  106. *%%% ======================
  107. *%%% JOB_SETUP.1
  108. *%%% START PLJ JOB
  109. *%%% PAGEPROTECT
  110. *%%% TIMEOUT
  111. *Feature: PageProtect
  112. {
  113. *rcNameID: =PAGE_PROTECTION_DISPLAY
  114. *DefaultOption: OFF
  115. *Option: ON
  116. {
  117. *rcNameID: =ON_DISPLAY
  118. *Command: CmdSelect
  119. {
  120. *Order: JOB_SETUP.1
  121. *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  122. }
  123. }
  124. *Option: OFF
  125. {
  126. *rcNameID: =OFF_DISPLAY
  127. *Command: CmdSelect
  128. {
  129. *Order: JOB_SETUP.1
  130. *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  131. }
  132. }
  133. }
  134. *%%% ======================
  135. *%%% JOB_SETUP.2
  136. *%%% ECONOMODE
  137. *Feature: Economode
  138. {
  139. *rcNameID: =ECONOMODE_DISPLAY
  140. *DefaultOption: Option1
  141. *Option: Option1
  142. {
  143. *rcNameID: =ECONOMODE_DEFAULT_DISPLAY
  144. }
  145. *Option: Option2
  146. {
  147. *rcNameID: =ECONOMODE_OFF_DISPLAY
  148. *Command: CmdSelect
  149. {
  150. *Order: JOB_SETUP.2
  151. *Cmd: =PJL_ECONOMODE_OFF
  152. }
  153. }
  154. *Option: Option3
  155. {
  156. *rcNameID: =ECONOMODE_ON_DISPLAY
  157. *Command: CmdSelect
  158. {
  159. *Order: JOB_SETUP.2
  160. *Cmd: =PJL_ECONOMODE_ON
  161. }
  162. }
  163. }
  164. *%%% ======================
  165. *%%% JOB_SETUP.3
  166. *%%% RET
  167. *Feature: RET
  168. {
  169. *rcNameID: =PRINT_QUALITY
  170. *DefaultOption: Option1
  171. *Option: Option1
  172. {
  173. *rcNameID: =PRINT_QUALITY_DEFAULT
  174. }
  175. *Option: Option2
  176. {
  177. *rcNameID: =PRINT_QUALITY_LIGHT
  178. *Command: CmdSelect
  179. {
  180. *Order: JOB_SETUP.3
  181. *Cmd: =PJL_RET_LIGHT
  182. }
  183. }
  184. *Option: Option3
  185. {
  186. *rcNameID: =PRINT_QUALITY_MEDIUM
  187. *Command: CmdSelect
  188. {
  189. *Order: JOB_SETUP.3
  190. *Cmd: =PJL_RET_MEDIUM
  191. }
  192. }
  193. *Option: Option4
  194. {
  195. *rcNameID: =PRINT_QUALITY_DARK
  196. *Command: CmdSelect
  197. {
  198. *Order: JOB_SETUP.3
  199. *Cmd: =PJL_RET_DARK
  200. }
  201. }
  202. *Option: Option5
  203. {
  204. *rcNameID: =PRINT_QUALITY_OFF
  205. *Command: CmdSelect
  206. {
  207. *Order: JOB_SETUP.3
  208. *Cmd: =PJL_RET_OFF
  209. }
  210. }
  211. }
  212. *%%% ======================
  213. *%%% JOB_SETUP.4
  214. *%%% Collate
  215. *Feature: Collate
  216. {
  217. *rcNameID: =COLLATOR_DISPLAY *% this shouldn't appear...
  218. *DefaultOption: OFF
  219. *Option: ON
  220. {
  221. *rcNameID: =ON_DISPLAY
  222. *switch: PrinterHardDisk
  223. {
  224. *case: FALSE
  225. {
  226. *Switch: Memory *% need 16MB to collate w/o harddisk
  227. {
  228. *Case: 4MB
  229. {
  230. *Command: CmdSelect
  231. {
  232. *Order: JOB_SETUP.4
  233. *Cmd: =PJL_COLLATE_OFF
  234. }
  235. }
  236. *Case: 8MB
  237. {
  238. *Command: CmdSelect
  239. {
  240. *Order: JOB_SETUP.4
  241. *Cmd: =PJL_COLLATE_OFF
  242. }
  243. }
  244. *Case: 12MB
  245. {
  246. *Command: CmdSelect
  247. {
  248. *Order: JOB_SETUP.4
  249. *Cmd: =PJL_COLLATE_OFF
  250. }
  251. }
  252. *default
  253. {
  254. *Command: CmdSelect
  255. {
  256. *Order: JOB_SETUP.4
  257. *Cmd: =PJL_COLLATE_ON
  258. }
  259. }
  260. }
  261. }
  262. *case: TRUE
  263. {
  264. *Command: CmdSelect
  265. {
  266. *Order: JOB_SETUP.4
  267. *Cmd: =PJL_COLLATE_ON
  268. }
  269. }
  270. }
  271. }
  272. *Option: OFF
  273. {
  274. *rcNameID:=OFF_DISPLAY
  275. *Command: CmdSelect
  276. {
  277. *Order: JOB_SETUP.4
  278. *Cmd: =PJL_COLLATE_OFF
  279. }
  280. }
  281. }
  282. *Feature: JobRetention
  283. {
  284. *rcNameID: =JOB_RETENTION_DISPLAY *% Job Retention
  285. *DefaultOption: Option1
  286. *Option: Option1
  287. {
  288. *rcNameID: =OFF_DISPLAY
  289. *Command: CmdSelect
  290. {
  291. *Order: JOB_SETUP.3
  292. *Cmd: "@PJL SET HOLD=OFF<0A>"
  293. }
  294. }
  295. *Option: Option2
  296. {
  297. *rcNameID: =QUICK_COPY_DISPLAY
  298. *Command: CmdSelect
  299. {
  300. *Order: JOB_SETUP.3
  301. *Cmd: "@PJL SET HOLD=ON<0A>"
  302. }
  303. }
  304. *Option: Option3
  305. {
  306. *rcNameID: =PROOF_HOLD_DISPLAY
  307. *Command: CmdSelect
  308. {
  309. *Order: JOB_SETUP.3
  310. *Cmd: "@PJL SET HOLD=PROOF<0A>"
  311. }
  312. }
  313. *Option: Option4
  314. {
  315. *rcNameID: =STORE_JOB_DISPLAY
  316. *Command: CmdSelect
  317. {
  318. *Order: JOB_SETUP.3
  319. *Cmd: "@PJL SET HOLD=STORE<0A>"
  320. }
  321. }
  322. }
  323. *Feature: JobRetentionUserID
  324. {
  325. *rcNameID: =JOB_RETENTION_USERID_DISPLAY *%"Job Retention User ID"
  326. *DefaultOption: Option1
  327. *Option: Option1
  328. {
  329. *Name: "1"
  330. *Command: CmdSelect
  331. {
  332. *Order: JOB_SETUP.3
  333. *Cmd: "@PJL SET USERNAME=<22>1<22><0A>"
  334. }
  335. }
  336. *Option: Option2
  337. {
  338. *Name: "2"
  339. *Command: CmdSelect
  340. {
  341. *Order: JOB_SETUP.3
  342. *Cmd: "@PJL SET USERNAME=<22>2<22><0A>"
  343. }
  344. }
  345. *Option: Option3
  346. {
  347. *Name: "3"
  348. *Command: CmdSelect
  349. {
  350. *Order: JOB_SETUP.3
  351. *Cmd: "@PJL SET USERNAME=<22>3<22><0A>"
  352. }
  353. }
  354. *Option: Option4
  355. {
  356. *Name: "4"
  357. *Command: CmdSelect
  358. {
  359. *Order: JOB_SETUP.3
  360. *Cmd: "@PJL SET USERNAME=<22>4<22><0A>"
  361. }
  362. }
  363. *Option: Option5
  364. {
  365. *Name: "5"
  366. *Command: CmdSelect
  367. {
  368. *Order: JOB_SETUP.3
  369. *Cmd: "@PJL SET USERNAME=<22>5<22><0A>"
  370. }
  371. }
  372. *Option: Option6
  373. {
  374. *Name: "6"
  375. *Command: CmdSelect
  376. {
  377. *Order: JOB_SETUP.3
  378. *Cmd: "@PJL SET USERNAME=<22>6<22><0A>"
  379. }
  380. }
  381. *Option: Option7
  382. {
  383. *Name: "7"
  384. *Command: CmdSelect
  385. {
  386. *Order: JOB_SETUP.3
  387. *Cmd: "@PJL SET USERNAME=<22>7<22><0A>"
  388. }
  389. }
  390. *Option: Option8
  391. {
  392. *Name: "8"
  393. *Command: CmdSelect
  394. {
  395. *Order: JOB_SETUP.3
  396. *Cmd: "@PJL SET USERNAME=<22>8<22><0A>"
  397. }
  398. }
  399. *Option: Option9
  400. {
  401. *Name: "9"
  402. *Command: CmdSelect
  403. {
  404. *Order: JOB_SETUP.3
  405. *Cmd: "@PJL SET USERNAME=<22>9<22><0A>"
  406. }
  407. }
  408. *Option: Option10
  409. {
  410. *Name: "10"
  411. *Command: CmdSelect
  412. {
  413. *Order: JOB_SETUP.3
  414. *Cmd: "@PJL SET USERNAME=<22>10<22><0A>"
  415. }
  416. }
  417. *Option: Option11
  418. {
  419. *Name: "11"
  420. *Command: CmdSelect
  421. {
  422. *Order: JOB_SETUP.3
  423. *Cmd: "@PJL SET USERNAME=<22>11<22><0A>"
  424. }
  425. }
  426. *Option: Option12
  427. {
  428. *Name: "12"
  429. *Command: CmdSelect
  430. {
  431. *Order: JOB_SETUP.3
  432. *Cmd: "@PJL SET USERNAME=<22>12<22><0A>"
  433. }
  434. }
  435. *Option: Option13
  436. {
  437. *Name: "13"
  438. *Command: CmdSelect
  439. {
  440. *Order: JOB_SETUP.3
  441. *Cmd: "@PJL SET USERNAME=<22>13<22><0A>"
  442. }
  443. }
  444. *Option: Option14
  445. {
  446. *Name: "14"
  447. *Command: CmdSelect
  448. {
  449. *Order: JOB_SETUP.3
  450. *Cmd: "@PJL SET USERNAME=<22>14<22><0A>"
  451. }
  452. }
  453. *Option: Option15
  454. {
  455. *Name: "15"
  456. *Command: CmdSelect
  457. {
  458. *Order: JOB_SETUP.3
  459. *Cmd: "@PJL SET USERNAME=<22>15<22><0A>"
  460. }
  461. }
  462. *Option: Option16
  463. {
  464. *Name: "16"
  465. *Command: CmdSelect
  466. {
  467. *Order: JOB_SETUP.3
  468. *Cmd: "@PJL SET USERNAME=<22>16<22><0A>"
  469. }
  470. }
  471. *Option: Option17
  472. {
  473. *Name: "17"
  474. *Command: CmdSelect
  475. {
  476. *Order: JOB_SETUP.3
  477. *Cmd: "@PJL SET USERNAME=<22>17<22><0A>"
  478. }
  479. }
  480. *Option: Option18
  481. {
  482. *Name: "18"
  483. *Command: CmdSelect
  484. {
  485. *Order: JOB_SETUP.3
  486. *Cmd: "@PJL SET USERNAME=<22>18<22><0A>"
  487. }
  488. }
  489. *Option: Option19
  490. {
  491. *Name: "19"
  492. *Command: CmdSelect
  493. {
  494. *Order: JOB_SETUP.3
  495. *Cmd: "@PJL SET USERNAME=<22>19<22><0A>"
  496. }
  497. }
  498. *Option: Option20
  499. {
  500. *Name: "20"
  501. *Command: CmdSelect
  502. {
  503. *Order: JOB_SETUP.3
  504. *Cmd: "@PJL SET USERNAME=<22>20<22><0A>"
  505. }
  506. }
  507. }
  508. *% constrain all but option 1 when no hard disk installed
  509. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option2)
  510. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option3)
  511. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option4)
  512. *% constrain all but option 1 when no hard disk installed
  513. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option2)
  514. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option3)
  515. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option4)
  516. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option5)
  517. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option6)
  518. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option7)
  519. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option8)
  520. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option9)
  521. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option10)
  522. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option11)
  523. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option12)
  524. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option13)
  525. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option14)
  526. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option15)
  527. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option16)
  528. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option17)
  529. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option18)
  530. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option19)
  531. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option20)
  532. *%%% ======================
  533. *%%% JOB_SETUP.5
  534. *%%% RESOLUTION
  535. *%%% ENTER LANGUAGE=PCLXL
  536. *%%% PCL XL Stream Header
  537. *%%% BeginSession
  538. *%%% CmdEndRaster
  539. *%%% EndImage
  540. *%%% CmdSendBlockData
  541. *%%% EndImage
  542. *Feature: Resolution
  543. {
  544. *rcNameID: =RESOLUTION_DISPLAY
  545. *DefaultOption: Option1
  546. *Option: Option1
  547. {
  548. *Name: "600 x 600 " =DOTS_PER_INCH
  549. *DPI: PAIR(600, 600)
  550. *TextDPI: PAIR(600, 600)
  551. *MinStripBlankPixels: 32
  552. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  553. *SpotDiameter: 100
  554. *Command: CmdBeginRaster
  555. {
  556. *Cmd : =PCLXL_CmdBeginRaster
  557. }
  558. *Command: CmdEndRaster { *Cmd : =EndImage }
  559. *Command: CmdSendBlockData
  560. {
  561. *Cmd: =PCLXL_CmdSendBlockData
  562. }
  563. *Command: CmdSelect
  564. {
  565. *Order: JOB_SETUP.5
  566. *Cmd: =PJL_RESOLUTION_600 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600
  567. }
  568. }
  569. *Option: Option2
  570. {
  571. *Name: "300 x 300 " =DOTS_PER_INCH
  572. *DPI: PAIR(300, 300)
  573. *TextDPI: PAIR(300, 300)
  574. *MinStripBlankPixels: 32
  575. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  576. *SpotDiameter: 100
  577. *Command: CmdBeginRaster
  578. {
  579. *Cmd : =PCLXL_CmdBeginRaster
  580. }
  581. *Command: CmdEndRaster { *Cmd : =EndImage }
  582. *Command: CmdSendBlockData
  583. {
  584. *Cmd: =PCLXL_CmdSendBlockData
  585. }
  586. *Command: CmdSelect
  587. {
  588. *Order: JOB_SETUP.5
  589. *Cmd: =PJL_RESOLUTION_300 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300
  590. }
  591. }
  592. }
  593. *%%% ======================
  594. *%%% JOB_SETUP.6
  595. *%%% OpenDataSource(0x48)
  596. *%%% SourceType(ubyte) & DataOrg(ubyte)
  597. *%%% 136(0x88) 130(0x82)
  598. *Command: CmdStartDoc
  599. {
  600. *Order: JOB_SETUP.6
  601. *Cmd: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
  602. }
  603. *%%% ======================
  604. *%%% PAGE_FINISH
  605. *%%% ======================
  606. *%%% ======================
  607. *%%% PAGE_FINISH.3
  608. *Command: CmdEndPage
  609. {
  610. *Order: PAGE_FINISH.1
  611. *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  612. }
  613. *%%% ======================
  614. *%%% JOB_FINISH.1
  615. *%%% CmdEndJob
  616. *Command: CmdEndJob
  617. {
  618. *Order: JOB_FINISH.1
  619. *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  620. }
  621. *%%% ======================
  622. *%%% PAGE_SETUP
  623. *%%% ======================
  624. *%%% ======================
  625. *%%% PAGE_SETUP.1
  626. *%%% BeginPage(0x43)
  627. *%%% Orientation(40), MediaSize(37), MediaSource(38)
  628. *%%% ubyte ubyte ubyte
  629. *BlockMacro: PaperConstraints
  630. {
  631. *Constraints: LIST(InputBin.Option3, InputBin.Option4, InputBin.Option5)
  632. }
  633. *Feature: PaperSize
  634. {
  635. *rcNameID: =PAPER_SIZE_DISPLAY
  636. *DefaultOption: LETTER
  637. *Option: A5
  638. {
  639. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
  640. *Constraints: InputBin.Option6
  641. *PageProtectMem: 2125
  642. *switch: Orientation
  643. {
  644. *case: PORTRAIT
  645. {
  646. *PrintableArea: PAIR(6396, 9372)
  647. *PrintableOrigin: PAIR(300, 300)
  648. *CursorOrigin: PAIR(300, 380)
  649. *Command: CmdSelect
  650. {
  651. *Order: PAGE_SETUP.1
  652. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  653. + =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  654. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((380*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  655. }
  656. }
  657. *case: LANDSCAPE_CC90
  658. {
  659. *PrintableArea: PAIR(6396, 9324)
  660. *PrintableOrigin: PAIR(300, 300)
  661. *CursorOrigin: PAIR(335, 9624)
  662. *Command: CmdSelect
  663. {
  664. *Order: PAGE_SETUP.1
  665. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  666. + =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  667. + =sint16_xy %l{((335*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  668. }
  669. }
  670. }
  671. }
  672. *Option: LETTER
  673. {
  674. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
  675. *Constraints: InputBin.Option6
  676. *PageProtectMem: 4109
  677. *switch: Orientation
  678. {
  679. *case: PORTRAIT
  680. {
  681. *PrintableArea: PAIR(9600, 12600)
  682. *PrintableOrigin: PAIR(300, 300)
  683. *CursorOrigin: PAIR(300, 360)
  684. *Command: CmdSelect
  685. {
  686. *Order: PAGE_SETUP.1
  687. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  688. + =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  689. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((360*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  690. }
  691. }
  692. *case: LANDSCAPE_CC90
  693. {
  694. *PrintableArea: PAIR(9600, 12600)
  695. *PrintableOrigin: PAIR(200, 300)
  696. *CursorOrigin: PAIR(360, 12900)
  697. *Command: CmdSelect
  698. {
  699. *Order: PAGE_SETUP.1
  700. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  701. + =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  702. + =sint16_xy %l{((360*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  703. }
  704. }
  705. }
  706. }
  707. *Option: LEGAL
  708. {
  709. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  710. *Constraints: InputBin.Option6
  711. *PageProtectMem: 5230
  712. *switch: Orientation
  713. {
  714. *case: PORTRAIT
  715. {
  716. *PrintableArea: PAIR(9600, 16200)
  717. *PrintableOrigin: PAIR(300, 300)
  718. *CursorOrigin: PAIR(300, 385)
  719. *Command: CmdSelect
  720. {
  721. *Order: PAGE_SETUP.1
  722. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  723. + =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  724. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((385*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  725. }
  726. }
  727. *case: LANDSCAPE_CC90
  728. {
  729. *PrintableArea: PAIR(9600, 16200)
  730. *PrintableOrigin: PAIR(200, 250)
  731. *CursorOrigin: PAIR(425, 16500)
  732. *Command: CmdSelect
  733. {
  734. *Order: PAGE_SETUP.1
  735. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  736. + =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  737. + =sint16_xy %l{((425*TextXRes)/1200)}%l{((250*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  738. }
  739. }
  740. }
  741. }
  742. *Option: EXECUTIVE
  743. {
  744. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  745. *Constraints: InputBin.Option6
  746. *PageProtectMem: 4109
  747. *switch: Orientation
  748. {
  749. *case: PORTRAIT
  750. {
  751. *PrintableArea: PAIR(8100, 12000)
  752. *PrintableOrigin: PAIR(300, 300)
  753. *CursorOrigin: PAIR(300, 310)
  754. *Command: CmdSelect
  755. {
  756. *Order: PAGE_SETUP.1
  757. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  758. + =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  759. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((310*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  760. }
  761. }
  762. *case: LANDSCAPE_CC90
  763. {
  764. *PrintableArea: PAIR(8180, 12000)
  765. *PrintableOrigin: PAIR(220, 300)
  766. *CursorOrigin: PAIR(370, 12300)
  767. *Command: CmdSelect
  768. {
  769. *Order: PAGE_SETUP.1
  770. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  771. + =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  772. + =sint16_xy %l{((370*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  773. }
  774. }
  775. }
  776. }
  777. *Option: A4
  778. {
  779. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1008
  780. *Constraints: InputBin.Option6
  781. *PageProtectMem: 4249
  782. *switch: Orientation
  783. {
  784. *case: PORTRAIT
  785. {
  786. *PrintableArea: PAIR(9352, 13400)
  787. *PrintableOrigin: PAIR(260, 300)
  788. *CursorOrigin: PAIR(260, 320)
  789. *Command: CmdSelect
  790. {
  791. *Order: PAGE_SETUP.1
  792. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  793. + =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  794. + =sint16_xy %l{((260*TextXRes)/1200)}%l{((320*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  795. }
  796. }
  797. *case: LANDSCAPE_CC90
  798. {
  799. *PrintableArea: PAIR(9424, 13428)
  800. *PrintableOrigin: PAIR(200, 225)
  801. *CursorOrigin: PAIR(425, 13653)
  802. *Command: CmdSelect
  803. {
  804. *Order: PAGE_SETUP.1
  805. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  806. + =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  807. + =sint16_xy %l{((425*TextXRes)/1200)}%l{((225*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  808. }
  809. }
  810. }
  811. }
  812. *Option: B5
  813. {
  814. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  815. *PageProtectMem: 3198
  816. *Constraints: InputBin.Option6
  817. *switch: Orientation
  818. {
  819. *case: PORTRAIT
  820. {
  821. *PrintableArea: PAIR(7964, 11714)
  822. *PrintableOrigin: PAIR(340, 152)
  823. *CursorOrigin: PAIR(330, 222)
  824. *Command: CmdSelect
  825. {
  826. *Order: PAGE_SETUP.1
  827. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  828. + =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  829. + =sint16_xy %l{((330*TextXRes)/1200)}%l{((222*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  830. }
  831. }
  832. *case: LANDSCAPE_CC90
  833. {
  834. *PrintableArea: PAIR(8104, 11624)
  835. *PrintableOrigin: PAIR(260, 240)
  836. *CursorOrigin: PAIR(320, 11904)
  837. *Command: CmdSelect
  838. {
  839. *Order: PAGE_SETUP.1
  840. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  841. + =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  842. + =sint16_xy %l{((320*TextXRes)/1200)}%l{((280*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  843. }
  844. }
  845. }
  846. }
  847. *Option: ENV_10
  848. {
  849. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1019
  850. *InsertBlock: =PaperConstraints
  851. *Constraints: Duplex.VERTICAL
  852. *Constraints: Duplex.HORIZONTAL
  853. *PageProtectMem: 4109
  854. *switch: Orientation
  855. {
  856. *case: PORTRAIT
  857. {
  858. *PrintableArea: PAIR(4346, 10800)
  859. *PrintableOrigin: PAIR(300, 300)
  860. *switch: Resolution
  861. {
  862. *case: Option1
  863. {
  864. *PrintableArea: PAIR(4344, 10800)
  865. }
  866. }
  867. *CursorOrigin: PAIR(300, 340)
  868. *Command: CmdSelect
  869. {
  870. *Order: PAGE_SETUP.1
  871. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  872. + =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  873. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((340*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  874. }
  875. }
  876. *case: LANDSCAPE_CC90
  877. {
  878. *PrintableArea: PAIR(4476, 10800)
  879. *PrintableOrigin: PAIR(200, 225)
  880. *CursorOrigin: PAIR(420, 11025)
  881. *Command: CmdSelect
  882. {
  883. *Order: PAGE_SETUP.1
  884. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  885. + =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  886. + =sint16_xy %l{((420*TextXRes)/1200)}%l{((225*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  887. }
  888. }
  889. }
  890. }
  891. *Option: ENV_DL
  892. {
  893. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1026
  894. *InsertBlock: =PaperConstraints
  895. *Constraints: Duplex.VERTICAL
  896. *Constraints: Duplex.HORIZONTAL
  897. *PageProtectMem: 4109
  898. *switch: Orientation
  899. {
  900. *case: PORTRAIT
  901. {
  902. *PrintableArea: PAIR(4576, 9792)
  903. *PrintableOrigin: PAIR(300, 300)
  904. *CursorOrigin: PAIR(300, 365)
  905. *Command: CmdSelect
  906. {
  907. *Order: PAGE_SETUP.1
  908. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  909. + =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  910. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((365*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  911. }
  912. }
  913. *case: LANDSCAPE_CC90
  914. {
  915. *PrintableArea: PAIR(4576, 9792)
  916. *PrintableOrigin: PAIR(200, 300)
  917. *CursorOrigin: PAIR(400, 10092)
  918. *Command: CmdSelect
  919. {
  920. *Order: PAGE_SETUP.1
  921. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  922. + =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  923. + =sint16_xy %l{((400*TextXRes)/1200)}%l{((250*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  924. }
  925. }
  926. }
  927. }
  928. *Option: ENV_C5
  929. {
  930. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1027
  931. *InsertBlock: =PaperConstraints
  932. *Constraints: Duplex.VERTICAL
  933. *Constraints: Duplex.HORIZONTAL
  934. *PageProtectMem: 4109
  935. *switch: Orientation
  936. {
  937. *case: PORTRAIT
  938. {
  939. *PrintableArea: PAIR(7036, 10214)
  940. *PrintableOrigin: PAIR(300, 300)
  941. *switch: Resolution
  942. {
  943. *case: Option2
  944. {
  945. *PrintableArea: PAIR(7036, 10212)
  946. }
  947. }
  948. *CursorOrigin: PAIR(300, 180)
  949. *Command: CmdSelect
  950. {
  951. *Order: PAGE_SETUP.1
  952. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  953. + =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  954. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  955. }
  956. }
  957. *case: LANDSCAPE_CC90
  958. {
  959. *PrintableArea: PAIR(7116, 10224)
  960. *PrintableOrigin: PAIR(240, 300)
  961. *CursorOrigin: PAIR(200, 10524)
  962. *Command: CmdSelect
  963. {
  964. *Order: PAGE_SETUP.1
  965. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  966. + =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  967. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  968. }
  969. }
  970. }
  971. }
  972. *Option: ENV_MONARCH
  973. {
  974. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1036
  975. *InsertBlock: =PaperConstraints
  976. *Constraints: Duplex.VERTICAL
  977. *Constraints: Duplex.HORIZONTAL
  978. *PageProtectMem: 4109
  979. *switch: Orientation
  980. {
  981. *case: PORTRAIT
  982. {
  983. *PrintableArea: PAIR(4046, 8400)
  984. *PrintableOrigin: PAIR(300, 300)
  985. *switch: Resolution
  986. {
  987. *case: Option2
  988. {
  989. *PrintableArea: PAIR(4044, 8400)
  990. }
  991. }
  992. *CursorOrigin: PAIR(300, 180)
  993. *Command: CmdSelect
  994. {
  995. *Order: PAGE_SETUP.1
  996. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  997. + =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  998. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  999. }
  1000. }
  1001. *case: LANDSCAPE_CC90
  1002. {
  1003. *PrintableArea: PAIR(4076, 8400)
  1004. *PrintableOrigin: PAIR(300, 300)
  1005. *CursorOrigin: PAIR(200, 8700)
  1006. *Command: CmdSelect
  1007. {
  1008. *Order: PAGE_SETUP.1
  1009. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1010. + =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1011. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1012. }
  1013. }
  1014. }
  1015. }
  1016. *Option: ENV_B5
  1017. {
  1018. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1019. *PageProtectMem: 4109
  1020. *InsertBlock: =PaperConstraints
  1021. *Constraints: Duplex.VERTICAL
  1022. *Constraints: Duplex.HORIZONTAL
  1023. *switch: Orientation
  1024. {
  1025. *case: PORTRAIT
  1026. {
  1027. *PrintableArea: PAIR(7716, 11368)
  1028. *PrintableOrigin: PAIR(300, 140)
  1029. *CursorOrigin: PAIR(300, 220)
  1030. *Command: CmdSelect
  1031. {
  1032. *Order: PAGE_SETUP.1
  1033. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1034. + =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1035. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((220*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1036. }
  1037. }
  1038. *case: LANDSCAPE_CC90
  1039. {
  1040. *PrintableArea: PAIR(7776, 11208)
  1041. *PrintableOrigin: PAIR(240, 225)
  1042. *CursorOrigin: PAIR(425, 11433)
  1043. *Command: CmdSelect
  1044. {
  1045. *Order: PAGE_SETUP.1
  1046. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1047. + =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1048. + =sint16_xy %l{((425*TextXRes)/1200)}%l{((225*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1049. }
  1050. }
  1051. }
  1052. }
  1053. *Option: FOLIO
  1054. {
  1055. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1056. *PrintableArea: PAIR(9600, 15200)
  1057. *PrintableOrigin: PAIR(200, 200)
  1058. *switch: Orientation
  1059. {
  1060. *case: PORTRAIT
  1061. {
  1062. *CursorOrigin: PAIR(200, 200)
  1063. *Command: CmdSelect
  1064. {
  1065. *Order: JOB_SETUP.2
  1066. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1067. + =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1068. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1069. }
  1070. }
  1071. *case: LANDSCAPE_CC90
  1072. {
  1073. *CursorOrigin: PAIR(200, 15400)
  1074. *Command: CmdSelect
  1075. {
  1076. *Order: JOB_SETUP.2
  1077. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1078. + =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1079. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1080. }
  1081. }
  1082. }
  1083. }
  1084. *Option: CUSTOMSIZE
  1085. {
  1086. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1255
  1087. *MinSize: PAIR(3600, 6000)
  1088. *MaxSize: PAIR(10200, 32767)
  1089. *MaxPrintableWidth: 10200
  1090. *MinLeftMargin: 100
  1091. *CenterPrintable?: FALSE
  1092. *PageProtectMem: 1692
  1093. *switch: Orientation
  1094. {
  1095. *case: PORTRAIT
  1096. {
  1097. *CustCursorOriginX: %d{((PhysPaperWidth - 10200) / 2) + 300 }
  1098. *CustCursorOriginY: %d{140 }
  1099. *CustPrintableOriginX: %d{300 }
  1100. *CustPrintableOriginY: %d{220}
  1101. *CustPrintableSizeX: %d{ PhysPaperWidth - 600 }
  1102. *CustPrintableSizeY: %d{ PhysPaperLength - 600 }
  1103. *Command: CmdSelect
  1104. {
  1105. *Order: PAGE_SETUP.1
  1106. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1107. + =uint16_xy %l{(PhysPaperWidth*254 / 1200)}%l{(PhysPaperLength*254 / 1200)} =attr_ubyte =CustomMediaSize
  1108. + =ubyte =eMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1109. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1110. }
  1111. }
  1112. *case: LANDSCAPE_CC90
  1113. {
  1114. *CustCursorOriginX: %d{((PhysPaperWidth - 10200) / 2) + 200 }
  1115. *CustCursorOriginY: %d{16560 }
  1116. *CustPrintableOriginX: %d{200 }
  1117. *CustPrintableOriginY: %d{320}
  1118. *CustPrintableSizeX: %d{ PhysPaperWidth - 480 }
  1119. *CustPrintableSizeY: %d{ PhysPaperLength - 480 }
  1120. *Command: CmdSelect
  1121. {
  1122. *Order: PAGE_SETUP.1
  1123. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1124. + =uint16_xy %l{(PhysPaperWidth*254 / 1200)}%l{(PhysPaperLength*254 / 1200)} =attr_ubyte =CustomMediaSize
  1125. + =ubyte =eMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1126. + =sint16_xy %l{((260*TextXRes)/1200)}%l{((230*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1127. }
  1128. }
  1129. }
  1130. }
  1131. }
  1132. *%%% ======================
  1133. *%%% PAGE_SETUP.2
  1134. *%%% BeginPage(0x43)
  1135. *%%% Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  1136. *%%% ubyte ubyte ubyte
  1137. *%%% MediaSource
  1138. *Feature: InputBin{ *Option: Option1{} *Option: Option7{} *Option: UPPER{} *Option: LOWER{} *Option: MANUAL{}}
  1139. *Feature: InputBin
  1140. {
  1141. *rcNameID: =PAPER_SOURCE_DISPLAY
  1142. *DefaultOption: Option1
  1143. *Option: Option1
  1144. {
  1145. *rcNameID: =AUTO_SELECT_DISPLAY *% Automatically Select
  1146. *Command: CmdSelect
  1147. {
  1148. *Order: PAGE_SETUP.2
  1149. *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  1150. }
  1151. }
  1152. *Option: UPPER
  1153. {
  1154. *rcNameID: =TRAY2_DISPLAY *% Upper Paper tray
  1155. *Command: CmdSelect
  1156. {
  1157. *Order: PAGE_SETUP.2
  1158. *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  1159. }
  1160. }
  1161. *Option: MANUAL
  1162. {
  1163. *rcNameID: =MANUAL_FEED_TRAY1_DISPLAY *% Manual Paper feed
  1164. *Command: CmdSelect
  1165. {
  1166. *Order: PAGE_SETUP.2
  1167. *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1168. }
  1169. }
  1170. *Option: LOWER
  1171. {
  1172. *rcNameID: =TRAY3_DISPLAY *% Lower Paper tray
  1173. *Command: CmdSelect
  1174. {
  1175. *Order: PAGE_SETUP.2
  1176. *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  1177. }
  1178. }
  1179. *Option: Option7
  1180. {
  1181. *rcNameID: =TRAY1_DISPLAY *% MP Tray
  1182. *Command: CmdSelect
  1183. {
  1184. *Order: PAGE_SETUP.2
  1185. *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1186. }
  1187. }
  1188. }
  1189. *%UPPER Paper Tray Constraints
  1190. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_10)
  1191. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_DL)
  1192. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_C5)
  1193. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_MONARCH)
  1194. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_B5)
  1195. *%LOWER Paper Tray Constraints
  1196. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_10)
  1197. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_DL)
  1198. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_C5)
  1199. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_MONARCH)
  1200. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_B5)
  1201. *%%% ======================
  1202. *%%% PAGE_SETUP.3
  1203. *%%% BeginPage(0x43)
  1204. *%%% Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
  1205. *%%% ubyte ubyte ubyte
  1206. *%%% MediaType
  1207. *Feature: MediaType
  1208. {
  1209. *rcNameID: =MEDIA_TYPE_DISPLAY
  1210. *DefaultOption: AutoSelect
  1211. *Option: AutoSelect
  1212. {
  1213. *rcNameID: =AUTO_SELECT_DISPLAY
  1214. }
  1215. *Option: Plain
  1216. {
  1217. *rcNameID: =PLAIN_DISPLAY
  1218. *Command: CmdSelect
  1219. {
  1220. *Order: PAGE_SETUP.3
  1221. *Cmd: =ubyte_array =ePlain =attr_ubyte =MediaType
  1222. }
  1223. }
  1224. *Option: Preprinted
  1225. {
  1226. *rcNameID: =PREPRINTED_DISPLAY
  1227. *Command: CmdSelect
  1228. {
  1229. *Order: PAGE_SETUP.3
  1230. *Cmd: =ubyte_array =ePreprinted =attr_ubyte =MediaType
  1231. }
  1232. }
  1233. *Option: Letterhead
  1234. {
  1235. *rcNameID: =LETTERHEAD_DISPLAY
  1236. *Command: CmdSelect
  1237. {
  1238. *Order: PAGE_SETUP.3
  1239. *Cmd: =ubyte_array =eLetterhead =attr_ubyte =MediaType
  1240. }
  1241. }
  1242. *Option: Transparency
  1243. {
  1244. *rcNameID: =TRANSPARENCY_DISPLAY
  1245. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1246. *Command: CmdSelect
  1247. {
  1248. *Order: PAGE_SETUP.3
  1249. *Cmd: =ubyte_array =eTransparency =attr_ubyte =MediaType
  1250. }
  1251. }
  1252. *Option: Prepunched
  1253. {
  1254. *rcNameID: =PREPUNCHED_DISPLAY
  1255. *Command: CmdSelect
  1256. {
  1257. *Order: PAGE_SETUP.3
  1258. *Cmd: =ubyte_array =ePrepunched =attr_ubyte =MediaType
  1259. }
  1260. }
  1261. *Option: Labels
  1262. {
  1263. *rcNameID: =LABELS_DISPLAY
  1264. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1265. *Command: CmdSelect
  1266. {
  1267. *Order: PAGE_SETUP.3
  1268. *Cmd: =ubyte_array =eLabels =attr_ubyte =MediaType
  1269. }
  1270. }
  1271. *Option: Bond
  1272. {
  1273. *rcNameID: =BOND_DISPLAY
  1274. *Command: CmdSelect
  1275. {
  1276. *Order: PAGE_SETUP.3
  1277. *Cmd: =ubyte_array =eBond =attr_ubyte =MediaType
  1278. }
  1279. }
  1280. *Option: Recycled
  1281. {
  1282. *rcNameID: =RECYCLED_DISPLAY
  1283. *Command: CmdSelect
  1284. {
  1285. *Order: PAGE_SETUP.3
  1286. *Cmd: =ubyte_array =eRecycled =attr_ubyte =MediaType
  1287. }
  1288. }
  1289. *Option: Color
  1290. {
  1291. *rcNameID: =COLOR_DISPLAY
  1292. *Command: CmdSelect
  1293. {
  1294. *Order: PAGE_SETUP.3
  1295. *Cmd: =ubyte_array =eColor =attr_ubyte =MediaType
  1296. }
  1297. }
  1298. *Option: CardStock
  1299. {
  1300. *rcNameID: =CARDSTOCK_DISPLAY
  1301. *Command: CmdSelect
  1302. {
  1303. *Order: PAGE_SETUP.3
  1304. *Cmd: =ubyte_array =eCardstock =attr_ubyte =MediaType
  1305. }
  1306. }
  1307. *Option: Rough
  1308. {
  1309. *rcNameID: =ROUGH_DISPLAY
  1310. *Command: CmdSelect
  1311. {
  1312. *Order: PAGE_SETUP.3
  1313. *Cmd: =ubyte_array =eRough =attr_ubyte =MediaType
  1314. }
  1315. }
  1316. }
  1317. *%%% ======================
  1318. *%%% PAGE_SETUP.3
  1319. *%%% DuplexPageMode(53(0x35))
  1320. *Feature: Duplex
  1321. {
  1322. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1323. *DefaultOption: NONE
  1324. *Option: NONE
  1325. {
  1326. *rcNameID: =NONE_DISPLAY
  1327. *Command: CmdSelect
  1328. {
  1329. *Order: JOB_SETUP.4
  1330. *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  1331. }
  1332. }
  1333. *Option: VERTICAL
  1334. {
  1335. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1336. *Command: CmdSelect
  1337. {
  1338. *Order: JOB_SETUP.4
  1339. *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  1340. }
  1341. }
  1342. *Option: HORIZONTAL
  1343. {
  1344. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1345. *Command: CmdSelect
  1346. {
  1347. *Order: JOB_SETUP.4
  1348. *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  1349. }
  1350. }
  1351. }
  1352. *%%% ======================
  1353. *%%% PAGE_SETUP.4
  1354. *%%% SetPageOrigin
  1355. *%%% PageOrigin
  1356. *%%% SetPageScale
  1357. *Command: CmdStartPage
  1358. {
  1359. *Order: PAGE_SETUP.4
  1360. *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  1361. + =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  1362. }
  1363. *%%% ======================
  1364. *%%% PAGE_SETUP.5
  1365. *%%% Feature
  1366. *%%% Dither
  1367. *Feature: Dither
  1368. {
  1369. *rcNameID: =DITHER_QUALITY_DISPLAY
  1370. *DefaultOption: HIQUALITY
  1371. *Option: HIQUALITY
  1372. {
  1373. *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  1374. *Command: CmdSelect
  1375. {
  1376. *Order: PAGE_SETUP.5
  1377. *Cmd: ""
  1378. }
  1379. }
  1380. *Option: LOQUALITY
  1381. {
  1382. *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  1383. *Command: CmdSelect
  1384. {
  1385. *Order: PAGE_SETUP.5
  1386. *Cmd: ""
  1387. }
  1388. }
  1389. }
  1390. *%%% ======================
  1391. *%%% Feature
  1392. *%%% Memory
  1393. *Feature: Memory
  1394. {
  1395. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1396. *DefaultOption: 12MB
  1397. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1398. *% Max memory 96 (+4 on board) = 100
  1399. *MemConfigMB: PAIR(4, 3)
  1400. *MemConfigMB: PAIR(8, 7)
  1401. *MemConfigMB: PAIR(12, 10)
  1402. *MemConfigMB: PAIR(16, 13)
  1403. *MemConfigMB: PAIR(20, 17)
  1404. *MemConfigMB: PAIR(24, 21)
  1405. *MemConfigMB: PAIR(28, 24)
  1406. *MemConfigMB: PAIR(32, 28)
  1407. *MemConfigMB: PAIR(36, 31)
  1408. *MemConfigMB: PAIR(40, 35)
  1409. *MemConfigMB: PAIR(44, 39)
  1410. *MemConfigMB: PAIR(48, 42)
  1411. *MemConfigMB: PAIR(52, 46)
  1412. *MemConfigMB: PAIR(56, 49)
  1413. *MemConfigMB: PAIR(60, 52)
  1414. *MemConfigMB: PAIR(68, 59)
  1415. }
  1416. *%%% ======================
  1417. *%%% Device fonts
  1418. *%%% ======================
  1419. *DefaultFont: =RC_FONT_COURIERR
  1420. *DefaultCTT: 0
  1421. *DeviceFonts: LIST(
  1422. + =RC_FONT_ALBERTX,
  1423. + =RC_FONT_AOLIVEB,
  1424. + =RC_FONT_AOLIVER,
  1425. + =RC_FONT_ARIALB,
  1426. + =RC_FONT_ARIALI,
  1427. + =RC_FONT_ARIALJ,
  1428. + =RC_FONT_ARIALR,
  1429. + =RC_FONT_COURIERB,
  1430. + =RC_FONT_COURIERI,
  1431. + =RC_FONT_COURIERJ,
  1432. + =RC_FONT_COURIERR,
  1433. + =RC_FONT_LETGOTHB,
  1434. + =RC_FONT_LETGOTHI,
  1435. + =RC_FONT_LETGOTHR,
  1436. + =RC_FONT_MARGOLDR,
  1437. + =RC_FONT_TIMESNRB,
  1438. + =RC_FONT_TIMESNRI,
  1439. + =RC_FONT_TIMESNRJ,
  1440. + =RC_FONT_TIMESNRR,
  1441. + =RC_FONT_WINGDINGS,
  1442. + =RC_FONT_SYMBOL)
  1443. *TTFS: AlbertusX
  1444. {
  1445. *TTFontName: "Albertus Extra Bold"
  1446. *DevFontName: "Albertus Extra Bold"
  1447. }
  1448. *TTFS: AntiqueOlive
  1449. {
  1450. *TTFontName: "Antique Olive"
  1451. *DevFontName: "Antique Olive"
  1452. }
  1453. *TTFS: LetterGothic
  1454. {
  1455. *TTFontName: "Letter Gothic"
  1456. *DevFontName: "Letter Gothic"
  1457. }
  1458. *TTFS: Marigold
  1459. {
  1460. *TTFontName: "Marigold"
  1461. *DevFontName: "Marigold"
  1462. }
  1463. *%% =======================
  1464. *%% Optional Duplex Unit
  1465. *%% =======================
  1466. *Feature: DuplexUnit
  1467. {
  1468. *FeatureType: PRINTER_PROPERTY
  1469. *rcNameID: =DUPLEX_UNIT_DISPLAY
  1470. *DefaultOption: NotInstalled
  1471. *Option: NotInstalled
  1472. {
  1473. *rcNameID: =NOT_INSTALLED_DISPLAY
  1474. *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1475. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1476. }
  1477. *Option: Installed
  1478. {
  1479. *rcNameID: =INSTALLED_DISPLAY
  1480. }
  1481. }
  1482. *Feature: TRAY3
  1483. {
  1484. *rcNameID: =TRAY3_DISPLAY
  1485. *FeatureType: PRINTER_PROPERTY
  1486. *DefaultOption: FALSE
  1487. *Option: FALSE
  1488. {
  1489. *rcNameID: =NOT_INSTALLED_DISPLAY
  1490. *Constraints: LIST(InputBin.LOWER)
  1491. }
  1492. *Option: TRUE
  1493. {
  1494. *rcNameID: =INSTALLED_DISPLAY
  1495. }
  1496. }
  1497. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  1498. *%% =======================
  1499. *%% Optional Hard Disk
  1500. *%% =======================
  1501. *Feature: PrinterHardDisk
  1502. {
  1503. *rcNameID: =PRINTER_HARDDISK_DISPLAY
  1504. *FeatureType: PRINTER_PROPERTY
  1505. *DefaultOption: FALSE
  1506. *Option: FALSE
  1507. {
  1508. *rcNameID: =NOT_INSTALLED_DISPLAY
  1509. *DisabledFeatures: LIST(Collate)
  1510. }
  1511. *Option: TRUE
  1512. {
  1513. *rcNameID: =INSTALLED_DISPLAY
  1514. }
  1515. }
  1516. *%%% ======================
  1517. *%%% PCL XL GPD file main
  1518. *%%% ======================
  1519. *%%% ======================
  1520. *%%% Global Entries
  1521. *%%% Attributes
  1522. *%%% ======================
  1523. *MasterUnits: PAIR(1200, 1200)
  1524. *CodePage: 1252
  1525. *ResourceDLL: "pclxl.dll"
  1526. *PrinterType: PAGE
  1527. *Personality: =PERSONALITY_PCLXL
  1528. *rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1529. *%%% *rcPrinterIconID:
  1530. *%%% ======================
  1531. *%%% Printing attributes
  1532. *%%% ======================
  1533. *RotateCoordinate?: TRUE
  1534. *RotateRaster?: TRUE
  1535. *RotateFont?: TRUE
  1536. *EjectPageWithFF?: FALSE
  1537. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1538. *MemoryUsage: LIST(FONT)
  1539. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1540. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1541. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1542. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1543. *XMoveThreshold: 0
  1544. *YMoveThreshold: 0
  1545. *XMoveUnit: 1200
  1546. *YMoveUnit: 1200
  1547. *%%% *MinGrayFill: 1
  1548. *%%% *MaxGrayFill: 100
  1549. *%%% *OutputDataFormat: H_BYTE
  1550. *%%% *OptimizeLeftBound?: TRUE
  1551. *%%% ======================
  1552. *%%% Color
  1553. *%%% ======================
  1554. *Feature: ColorMode
  1555. {
  1556. *ConcealFromUI?: TRUE
  1557. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1558. *DefaultOption: Mono
  1559. *Option: Mono
  1560. {
  1561. *rcNameID: =COLOR_DISPLAY
  1562. *Color?: FALSE
  1563. *DevNumOfPlanes: 1
  1564. *DevBPP: 24
  1565. *DrvBPP: 24
  1566. *PaletteSize: 256
  1567. *PaletteProgrammable?: FALSE
  1568. }
  1569. }
  1570. *%%% ======================
  1571. *%%% TrueType fonts
  1572. *%%% ======================
  1573. *CharPosition: BASELINE
  1574. *TTFSEnabled?: TRUE
  1575. *FontFormat: OEM_CALLBACK
  1576. *MinFontID: 1
  1577. *MaxFontID: 65535
  1578. *MinGlyphID: 1
  1579. *MaxGlyphID: 1000
  1580. *%%% ======================
  1581. *%%% Cursor commands
  1582. *%%% ======================
  1583. *Command: CmdCR { *Cmd: =CR}
  1584. *Command: CmdLF { *Cmd: =LF}
  1585. *Command: CmdFF { *Cmd: =FF}
  1586. *%%% SetCursor(0x6b)
  1587. *%%% Point(76(0x40c)) uint_16
  1588. *%%% SetCursorRel(0x6c)
  1589. *%%% Point(76(0x40c)) uint_16
  1590. *Command: CmdXMoveAbsolute
  1591. {
  1592. *Cmd: ""
  1593. }
  1594. *Command: CmdXMoveRelRight
  1595. {
  1596. *Cmd: ""
  1597. *Params: LIST(DestXRel, TextXRes)
  1598. }
  1599. *Command: CmdXMoveRelLeft
  1600. {
  1601. *Cmd: ""
  1602. *Params: LIST(DestXRel, TextXRes)
  1603. }
  1604. *Command: CmdYMoveAbsolute
  1605. {
  1606. *Cmd: ""
  1607. *Params: LIST(DestY, TextYRes)
  1608. }
  1609. *Command: CmdYMoveRelDown
  1610. {
  1611. *Cmd: ""
  1612. *Params: LIST(DestYRel, TextYRes)
  1613. }
  1614. *Command: CmdYMoveRelUp
  1615. {
  1616. *Cmd: ""
  1617. *Params: LIST(DestYRel, TextYRes)
  1618. }
  1619. *%%% *Command: CmdPushCursor
  1620. *%%% *Command: CmdPopCursor
  1621. *%%% =======================
  1622. *%%% Font commands
  1623. *%%% =======================
  1624. *Command: CmdSetFontID { *Cmd : "" }
  1625. *Command: CmdSelectFontID
  1626. {
  1627. *Cmd: ""
  1628. *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1629. }
  1630. *Command: CmdSetCharCode
  1631. {
  1632. *Cmd : ""
  1633. }
  1634. *Command: CmdBoldOn
  1635. {
  1636. *Cmd : ""
  1637. }
  1638. *Command: CmdBoldOff
  1639. {
  1640. *Cmd : ""
  1641. }
  1642. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1643. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1644. *%%% *Command: CmdWhiteTextOn:
  1645. *%%% *Command: CmdWhiteTextOff:
  1646. *%%% *Command: CmdSelectSingleByteMode:
  1647. *%%% *Command: CmdSelectDoubleByteMode:
  1648. *Command: CmdSetAnyRotation
  1649. {
  1650. *Cmd: ""
  1651. *Params: LIST(PrintDirInCCDegrees)
  1652. }
  1653. *Command: CmdSetSimpleRotation
  1654. {
  1655. *Cmd: ""
  1656. *Params: LIST(PrintDirInCCDegrees)
  1657. }