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.

1761 lines
51 KiB

  1. *%%
  2. *%% Samsung ML-1660 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: "sml1660.gpd"
  21. *ModelName: "Samsung ML-1660 PCL"
  22. *MaxCopies: 32767
  23. *PrintRate: 16
  24. *PrintRatePPM: 16
  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, 160)
  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{((160*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(260, 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{((260*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, 160)
  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{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  690. }
  691. }
  692. *case: LANDSCAPE_CC90
  693. {
  694. *PrintableArea: PAIR(9760, 12600)
  695. *PrintableOrigin: PAIR(200, 300)
  696. *CursorOrigin: PAIR(200, 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{((200*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, 160)
  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{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  725. }
  726. }
  727. *case: LANDSCAPE_CC90
  728. {
  729. *PrintableArea: PAIR(9760, 16200)
  730. *PrintableOrigin: PAIR(200, 300)
  731. *CursorOrigin: PAIR(200, 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{((200*TextXRes)/1200)}%l{((300*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, 160)
  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{((160*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(200, 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{((200*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, 160)
  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{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  795. }
  796. }
  797. *case: LANDSCAPE_CC90
  798. {
  799. *PrintableArea: PAIR(9424, 13428)
  800. *PrintableOrigin: PAIR(200, 300)
  801. *CursorOrigin: PAIR(200, 13728)
  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{((200*TextXRes)/1200)}%l{((300*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(200, 152)
  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{((200*TextXRes)/1200)}%l{((152*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(200, 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{((200*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, 180)
  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{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  874. }
  875. }
  876. *case: LANDSCAPE_CC90
  877. {
  878. *PrintableArea: PAIR(4476, 10800)
  879. *PrintableOrigin: PAIR(200, 300)
  880. *CursorOrigin: PAIR(200, 11100)
  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{((200*TextXRes)/1200)}%l{((300*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, 180)
  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{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  911. }
  912. }
  913. *case: LANDSCAPE_CC90
  914. {
  915. *PrintableArea: PAIR(4796, 9792)
  916. *PrintableOrigin: PAIR(200, 300)
  917. *CursorOrigin: PAIR(200, 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{((200*TextXRes)/1200)}%l{((300*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, 140)
  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{((140*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1036. }
  1037. }
  1038. *case: LANDSCAPE_CC90
  1039. {
  1040. *PrintableArea: PAIR(7776, 11208)
  1041. *PrintableOrigin: PAIR(240, 300)
  1042. *CursorOrigin: PAIR(200, 11508)
  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{((200*TextXRes)/1200)}%l{((300*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{300}
  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 / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1108. + =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1109. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*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{240}
  1118. *CustPrintableSizeX: %d{ PhysPaperWidth - 400 }
  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 / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1125. + =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1126. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*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. *%Following Papersizes cannot be duplexed
  1190. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_10)
  1191. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_DL)
  1192. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_C5)
  1193. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_MONARCH)
  1194. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_B5)
  1195. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_10)
  1196. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_DL)
  1197. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_C5)
  1198. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_MONARCH)
  1199. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_B5)
  1200. *%UPPER Paper Tray Constraints
  1201. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_10)
  1202. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_DL)
  1203. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_C5)
  1204. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_MONARCH)
  1205. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_B5)
  1206. *%LOWER Paper Tray Constraints
  1207. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_10)
  1208. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_DL)
  1209. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_C5)
  1210. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_MONARCH)
  1211. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_B5)
  1212. *%%% ======================
  1213. *%%% PAGE_SETUP.3
  1214. *%%% BeginPage(0x43)
  1215. *%%% Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
  1216. *%%% ubyte ubyte ubyte
  1217. *%%% MediaType
  1218. *Feature: MediaType
  1219. {
  1220. *rcNameID: =MEDIA_TYPE_DISPLAY
  1221. *DefaultOption: AutoSelect
  1222. *Option: AutoSelect
  1223. {
  1224. *rcNameID: =AUTO_SELECT_DISPLAY
  1225. }
  1226. *Option: Plain
  1227. {
  1228. *rcNameID: =PLAIN_DISPLAY
  1229. *Command: CmdSelect
  1230. {
  1231. *Order: PAGE_SETUP.3
  1232. *Cmd: =ubyte_array =ePlain =attr_ubyte =MediaType
  1233. }
  1234. }
  1235. *Option: Preprinted
  1236. {
  1237. *rcNameID: =PREPRINTED_DISPLAY
  1238. *Command: CmdSelect
  1239. {
  1240. *Order: PAGE_SETUP.3
  1241. *Cmd: =ubyte_array =ePreprinted =attr_ubyte =MediaType
  1242. }
  1243. }
  1244. *Option: Letterhead
  1245. {
  1246. *rcNameID: =LETTERHEAD_DISPLAY
  1247. *Command: CmdSelect
  1248. {
  1249. *Order: PAGE_SETUP.3
  1250. *Cmd: =ubyte_array =eLetterhead =attr_ubyte =MediaType
  1251. }
  1252. }
  1253. *Option: Transparency
  1254. {
  1255. *rcNameID: =TRANSPARENCY_DISPLAY
  1256. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1257. *Command: CmdSelect
  1258. {
  1259. *Order: PAGE_SETUP.3
  1260. *Cmd: =ubyte_array =eTransparency =attr_ubyte =MediaType
  1261. }
  1262. }
  1263. *Option: Prepunched
  1264. {
  1265. *rcNameID: =PREPUNCHED_DISPLAY
  1266. *Command: CmdSelect
  1267. {
  1268. *Order: PAGE_SETUP.3
  1269. *Cmd: =ubyte_array =ePrepunched =attr_ubyte =MediaType
  1270. }
  1271. }
  1272. *Option: Labels
  1273. {
  1274. *rcNameID: =LABELS_DISPLAY
  1275. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1276. *Command: CmdSelect
  1277. {
  1278. *Order: PAGE_SETUP.3
  1279. *Cmd: =ubyte_array =eLabels =attr_ubyte =MediaType
  1280. }
  1281. }
  1282. *Option: Bond
  1283. {
  1284. *rcNameID: =BOND_DISPLAY
  1285. *Command: CmdSelect
  1286. {
  1287. *Order: PAGE_SETUP.3
  1288. *Cmd: =ubyte_array =eBond =attr_ubyte =MediaType
  1289. }
  1290. }
  1291. *Option: Recycled
  1292. {
  1293. *rcNameID: =RECYCLED_DISPLAY
  1294. *Command: CmdSelect
  1295. {
  1296. *Order: PAGE_SETUP.3
  1297. *Cmd: =ubyte_array =eRecycled =attr_ubyte =MediaType
  1298. }
  1299. }
  1300. *Option: Color
  1301. {
  1302. *rcNameID: =COLOR_DISPLAY
  1303. *Command: CmdSelect
  1304. {
  1305. *Order: PAGE_SETUP.3
  1306. *Cmd: =ubyte_array =eColor =attr_ubyte =MediaType
  1307. }
  1308. }
  1309. *Option: CardStock
  1310. {
  1311. *rcNameID: =CARDSTOCK_DISPLAY
  1312. *Command: CmdSelect
  1313. {
  1314. *Order: PAGE_SETUP.3
  1315. *Cmd: =ubyte_array =eCardstock =attr_ubyte =MediaType
  1316. }
  1317. }
  1318. *Option: Rough
  1319. {
  1320. *rcNameID: =ROUGH_DISPLAY
  1321. *Command: CmdSelect
  1322. {
  1323. *Order: PAGE_SETUP.3
  1324. *Cmd: =ubyte_array =eRough =attr_ubyte =MediaType
  1325. }
  1326. }
  1327. }
  1328. *%%% ======================
  1329. *%%% PAGE_SETUP.3
  1330. *%%% DuplexPageMode(53(0x35))
  1331. *Feature: Duplex
  1332. {
  1333. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1334. *DefaultOption: NONE
  1335. *Option: NONE
  1336. {
  1337. *rcNameID: =NONE_DISPLAY
  1338. *Command: CmdSelect
  1339. {
  1340. *Order: JOB_SETUP.4
  1341. *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  1342. }
  1343. }
  1344. *Option: VERTICAL
  1345. {
  1346. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1347. *Command: CmdSelect
  1348. {
  1349. *Order: JOB_SETUP.4
  1350. *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  1351. }
  1352. }
  1353. *Option: HORIZONTAL
  1354. {
  1355. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1356. *Command: CmdSelect
  1357. {
  1358. *Order: JOB_SETUP.4
  1359. *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  1360. }
  1361. }
  1362. }
  1363. *%%% ======================
  1364. *%%% PAGE_SETUP.4
  1365. *%%% SetPageOrigin
  1366. *%%% PageOrigin
  1367. *%%% SetPageScale
  1368. *Command: CmdStartPage
  1369. {
  1370. *Order: PAGE_SETUP.4
  1371. *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  1372. + =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  1373. }
  1374. *%%% ======================
  1375. *%%% PAGE_SETUP.5
  1376. *%%% Feature
  1377. *%%% Dither
  1378. *Feature: Dither
  1379. {
  1380. *rcNameID: =DITHER_QUALITY_DISPLAY
  1381. *DefaultOption: HIQUALITY
  1382. *Option: HIQUALITY
  1383. {
  1384. *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  1385. *Command: CmdSelect
  1386. {
  1387. *Order: PAGE_SETUP.5
  1388. *Cmd: ""
  1389. }
  1390. }
  1391. *Option: LOQUALITY
  1392. {
  1393. *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  1394. *Command: CmdSelect
  1395. {
  1396. *Order: PAGE_SETUP.5
  1397. *Cmd: ""
  1398. }
  1399. }
  1400. }
  1401. *%%% ======================
  1402. *%%% Feature
  1403. *%%% Memory
  1404. *Feature: Memory
  1405. {
  1406. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1407. *DefaultOption: 12MB
  1408. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1409. *% Max memory 96 (+4 on board) = 100
  1410. *MemConfigMB: PAIR(4, 3)
  1411. *MemConfigMB: PAIR(8, 7)
  1412. *MemConfigMB: PAIR(12, 10)
  1413. *MemConfigMB: PAIR(16, 13)
  1414. *MemConfigMB: PAIR(20, 17)
  1415. *MemConfigMB: PAIR(24, 21)
  1416. *MemConfigMB: PAIR(28, 24)
  1417. *MemConfigMB: PAIR(32, 28)
  1418. *MemConfigMB: PAIR(36, 31)
  1419. *MemConfigMB: PAIR(40, 35)
  1420. *MemConfigMB: PAIR(44, 39)
  1421. *MemConfigMB: PAIR(48, 42)
  1422. *MemConfigMB: PAIR(52, 46)
  1423. *MemConfigMB: PAIR(56, 49)
  1424. *MemConfigMB: PAIR(60, 52)
  1425. *MemConfigMB: PAIR(68, 59)
  1426. }
  1427. *%%% ======================
  1428. *%%% Device fonts
  1429. *%%% ======================
  1430. *DefaultFont: =RC_FONT_COURIERR
  1431. *DefaultCTT: 0
  1432. *DeviceFonts: LIST(
  1433. + =RC_FONT_ALBERTX,
  1434. + =RC_FONT_AOLIVEB,
  1435. + =RC_FONT_AOLIVER,
  1436. + =RC_FONT_ARIALB,
  1437. + =RC_FONT_ARIALI,
  1438. + =RC_FONT_ARIALJ,
  1439. + =RC_FONT_ARIALR,
  1440. + =RC_FONT_COURIERB,
  1441. + =RC_FONT_COURIERI,
  1442. + =RC_FONT_COURIERJ,
  1443. + =RC_FONT_COURIERR,
  1444. + =RC_FONT_LETGOTHB,
  1445. + =RC_FONT_LETGOTHI,
  1446. + =RC_FONT_LETGOTHR,
  1447. + =RC_FONT_MARGOLDR,
  1448. + =RC_FONT_TIMESNRB,
  1449. + =RC_FONT_TIMESNRI,
  1450. + =RC_FONT_TIMESNRJ,
  1451. + =RC_FONT_TIMESNRR,
  1452. + =RC_FONT_WINGDINGS,
  1453. + =RC_FONT_SYMBOL)
  1454. *TTFS: AlbertusX
  1455. {
  1456. *TTFontName: "Albertus Extra Bold"
  1457. *DevFontName: "Albertus Extra Bold"
  1458. }
  1459. *TTFS: AntiqueOlive
  1460. {
  1461. *TTFontName: "Antique Olive"
  1462. *DevFontName: "Antique Olive"
  1463. }
  1464. *TTFS: LetterGothic
  1465. {
  1466. *TTFontName: "Letter Gothic"
  1467. *DevFontName: "Letter Gothic"
  1468. }
  1469. *TTFS: Marigold
  1470. {
  1471. *TTFontName: "Marigold"
  1472. *DevFontName: "Marigold"
  1473. }
  1474. *%% =======================
  1475. *%% Optional Duplex Unit
  1476. *%% =======================
  1477. *Feature: DuplexUnit
  1478. {
  1479. *FeatureType: PRINTER_PROPERTY
  1480. *rcNameID: =DUPLEX_UNIT_DISPLAY
  1481. *DefaultOption: Installed
  1482. *Option: NotInstalled
  1483. {
  1484. *rcNameID: =NOT_INSTALLED_DISPLAY
  1485. *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1486. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1487. }
  1488. *Option: Installed
  1489. {
  1490. *rcNameID: =INSTALLED_DISPLAY
  1491. }
  1492. }
  1493. *Feature: TRAY3
  1494. {
  1495. *rcNameID: =TRAY3_DISPLAY
  1496. *FeatureType: PRINTER_PROPERTY
  1497. *DefaultOption: FALSE
  1498. *Option: FALSE
  1499. {
  1500. *rcNameID: =NOT_INSTALLED_DISPLAY
  1501. *Constraints: LIST(InputBin.LOWER)
  1502. }
  1503. *Option: TRUE
  1504. {
  1505. *rcNameID: =INSTALLED_DISPLAY
  1506. }
  1507. }
  1508. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  1509. *%% =======================
  1510. *%% Optional Hard Disk
  1511. *%% =======================
  1512. *Feature: PrinterHardDisk
  1513. {
  1514. *rcNameID: =PRINTER_HARDDISK_DISPLAY
  1515. *FeatureType: PRINTER_PROPERTY
  1516. *DefaultOption: FALSE
  1517. *Option: FALSE
  1518. {
  1519. *rcNameID: =NOT_INSTALLED_DISPLAY
  1520. *DisabledFeatures: LIST(Collate)
  1521. }
  1522. *Option: TRUE
  1523. {
  1524. *rcNameID: =INSTALLED_DISPLAY
  1525. }
  1526. }
  1527. *%%% ======================
  1528. *%%% PCL XL GPD file main
  1529. *%%% ======================
  1530. *%%% ======================
  1531. *%%% Global Entries
  1532. *%%% Attributes
  1533. *%%% ======================
  1534. *MasterUnits: PAIR(1200, 1200)
  1535. *CodePage: 1252
  1536. *ResourceDLL: "pclxl.dll"
  1537. *PrinterType: PAGE
  1538. *Personality: =PERSONALITY_PCLXL
  1539. *rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1540. *%%% *rcPrinterIconID:
  1541. *%%% ======================
  1542. *%%% Printing attributes
  1543. *%%% ======================
  1544. *RotateCoordinate?: TRUE
  1545. *RotateRaster?: TRUE
  1546. *RotateFont?: TRUE
  1547. *EjectPageWithFF?: FALSE
  1548. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1549. *MemoryUsage: LIST(FONT)
  1550. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1551. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1552. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1553. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1554. *XMoveThreshold: 0
  1555. *YMoveThreshold: 0
  1556. *XMoveUnit: 1200
  1557. *YMoveUnit: 1200
  1558. *%%% *MinGrayFill: 1
  1559. *%%% *MaxGrayFill: 100
  1560. *%%% *OutputDataFormat: H_BYTE
  1561. *%%% *OptimizeLeftBound?: TRUE
  1562. *%%% ======================
  1563. *%%% Color
  1564. *%%% ======================
  1565. *Feature: ColorMode
  1566. {
  1567. *ConcealFromUI?: TRUE
  1568. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1569. *DefaultOption: Mono
  1570. *Option: Mono
  1571. {
  1572. *rcNameID: =COLOR_DISPLAY
  1573. *Color?: FALSE
  1574. *DevNumOfPlanes: 1
  1575. *DevBPP: 24
  1576. *DrvBPP: 24
  1577. *PaletteSize: 256
  1578. *PaletteProgrammable?: FALSE
  1579. }
  1580. }
  1581. *%%% ======================
  1582. *%%% TrueType fonts
  1583. *%%% ======================
  1584. *CharPosition: BASELINE
  1585. *TTFSEnabled?: TRUE
  1586. *FontFormat: OEM_CALLBACK
  1587. *MinFontID: 1
  1588. *MaxFontID: 65535
  1589. *MinGlyphID: 1
  1590. *MaxGlyphID: 1000
  1591. *%%% ======================
  1592. *%%% Cursor commands
  1593. *%%% ======================
  1594. *Command: CmdCR { *Cmd: =CR}
  1595. *Command: CmdLF { *Cmd: =LF}
  1596. *Command: CmdFF { *Cmd: =FF}
  1597. *%%% SetCursor(0x6b)
  1598. *%%% Point(76(0x40c)) uint_16
  1599. *%%% SetCursorRel(0x6c)
  1600. *%%% Point(76(0x40c)) uint_16
  1601. *Command: CmdXMoveAbsolute
  1602. {
  1603. *Cmd: ""
  1604. }
  1605. *Command: CmdXMoveRelRight
  1606. {
  1607. *Cmd: ""
  1608. *Params: LIST(DestXRel, TextXRes)
  1609. }
  1610. *Command: CmdXMoveRelLeft
  1611. {
  1612. *Cmd: ""
  1613. *Params: LIST(DestXRel, TextXRes)
  1614. }
  1615. *Command: CmdYMoveAbsolute
  1616. {
  1617. *Cmd: ""
  1618. *Params: LIST(DestY, TextYRes)
  1619. }
  1620. *Command: CmdYMoveRelDown
  1621. {
  1622. *Cmd: ""
  1623. *Params: LIST(DestYRel, TextYRes)
  1624. }
  1625. *Command: CmdYMoveRelUp
  1626. {
  1627. *Cmd: ""
  1628. *Params: LIST(DestYRel, TextYRes)
  1629. }
  1630. *%%% *Command: CmdPushCursor
  1631. *%%% *Command: CmdPopCursor
  1632. *%%% =======================
  1633. *%%% Font commands
  1634. *%%% =======================
  1635. *Command: CmdSetFontID { *Cmd : "" }
  1636. *Command: CmdSelectFontID
  1637. {
  1638. *Cmd: ""
  1639. *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1640. }
  1641. *Command: CmdSetCharCode
  1642. {
  1643. *Cmd : ""
  1644. }
  1645. *Command: CmdBoldOn
  1646. {
  1647. *Cmd : ""
  1648. }
  1649. *Command: CmdBoldOff
  1650. {
  1651. *Cmd : ""
  1652. }
  1653. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1654. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1655. *%%% *Command: CmdWhiteTextOn:
  1656. *%%% *Command: CmdWhiteTextOff:
  1657. *%%% *Command: CmdSelectSingleByteMode:
  1658. *%%% *Command: CmdSelectDoubleByteMode:
  1659. *Command: CmdSetAnyRotation
  1660. {
  1661. *Cmd: ""
  1662. *Params: LIST(PrintDirInCCDegrees)
  1663. }
  1664. *Command: CmdSetSimpleRotation
  1665. {
  1666. *Cmd: ""
  1667. *Params: LIST(PrintDirInCCDegrees)
  1668. }