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.

1797 lines
52 KiB

  1. *%%
  2. *%% Samsung ML-3550 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: "sml3550.gpd"
  21. *ModelName: "Samsung ML-3550 PCL6"
  22. *MaxCopies: 32767
  23. *PrintRate: 35
  24. *PrintRatePPM: 35
  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: A3
  638. {
  639. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  640. *PageProtectMem: 9667
  641. *Constraints: InputBin.Option6
  642. *Constraints: InputBin.Option6
  643. *switch: Orientation
  644. {
  645. *case: PORTRAIT
  646. {
  647. *PrintableArea: PAIR(13428, 19308)
  648. *PrintableOrigin: PAIR(300, 300)
  649. *CursorOrigin: PAIR(300, 180)
  650. *Command: CmdSelect
  651. {
  652. *Order: PAGE_SETUP.1
  653. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  654. + =ubyte =eA3Paper =attr_ubyte =MediaSize =BeginPage
  655. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  656. }
  657. }
  658. *case: LANDSCAPE_CC90
  659. {
  660. *PrintableArea: PAIR(13588, 19368)
  661. *PrintableOrigin: PAIR(200, 240)
  662. *CursorOrigin: PAIR(200, 19608)
  663. *Command: CmdSelect
  664. {
  665. *Order: PAGE_SETUP.1
  666. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  667. + =ubyte =eA3Paper =attr_ubyte =MediaSize =BeginPage
  668. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((240*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  669. }
  670. }
  671. }
  672. }
  673. *Option: A5
  674. {
  675. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
  676. *Constraints: InputBin.Option6
  677. *PageProtectMem: 2125
  678. *switch: Orientation
  679. {
  680. *case: PORTRAIT
  681. {
  682. *PrintableArea: PAIR(6396, 9372)
  683. *PrintableOrigin: PAIR(300, 300)
  684. *CursorOrigin: PAIR(300, 160)
  685. *Command: CmdSelect
  686. {
  687. *Order: PAGE_SETUP.1
  688. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  689. + =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  690. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  691. }
  692. }
  693. *case: LANDSCAPE_CC90
  694. {
  695. *PrintableArea: PAIR(6396, 9324)
  696. *PrintableOrigin: PAIR(300, 300)
  697. *CursorOrigin: PAIR(260, 9624)
  698. *Command: CmdSelect
  699. {
  700. *Order: PAGE_SETUP.1
  701. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  702. + =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  703. + =sint16_xy %l{((260*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  704. }
  705. }
  706. }
  707. }
  708. *Option: LETTER
  709. {
  710. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
  711. *Constraints: InputBin.Option6
  712. *PageProtectMem: 4109
  713. *switch: Orientation
  714. {
  715. *case: PORTRAIT
  716. {
  717. *PrintableArea: PAIR(9600, 12600)
  718. *PrintableOrigin: PAIR(300, 300)
  719. *CursorOrigin: PAIR(300, 160)
  720. *Command: CmdSelect
  721. {
  722. *Order: PAGE_SETUP.1
  723. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  724. + =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  725. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  726. }
  727. }
  728. *case: LANDSCAPE_CC90
  729. {
  730. *PrintableArea: PAIR(9760, 12600)
  731. *PrintableOrigin: PAIR(200, 300)
  732. *CursorOrigin: PAIR(200, 12900)
  733. *Command: CmdSelect
  734. {
  735. *Order: PAGE_SETUP.1
  736. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  737. + =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  738. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  739. }
  740. }
  741. }
  742. }
  743. *Option: LEGAL
  744. {
  745. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  746. *Constraints: InputBin.Option6
  747. *PageProtectMem: 5230
  748. *switch: Orientation
  749. {
  750. *case: PORTRAIT
  751. {
  752. *PrintableArea: PAIR(9600, 16200)
  753. *PrintableOrigin: PAIR(300, 300)
  754. *CursorOrigin: PAIR(300, 160)
  755. *Command: CmdSelect
  756. {
  757. *Order: PAGE_SETUP.1
  758. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  759. + =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  760. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  761. }
  762. }
  763. *case: LANDSCAPE_CC90
  764. {
  765. *PrintableArea: PAIR(9760, 16200)
  766. *PrintableOrigin: PAIR(200, 300)
  767. *CursorOrigin: PAIR(200, 16500)
  768. *Command: CmdSelect
  769. {
  770. *Order: PAGE_SETUP.1
  771. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  772. + =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  773. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  774. }
  775. }
  776. }
  777. }
  778. *Option: EXECUTIVE
  779. {
  780. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  781. *Constraints: InputBin.Option6
  782. *PageProtectMem: 4109
  783. *switch: Orientation
  784. {
  785. *case: PORTRAIT
  786. {
  787. *PrintableArea: PAIR(8100, 12000)
  788. *PrintableOrigin: PAIR(300, 300)
  789. *CursorOrigin: PAIR(300, 160)
  790. *Command: CmdSelect
  791. {
  792. *Order: PAGE_SETUP.1
  793. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  794. + =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  795. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  796. }
  797. }
  798. *case: LANDSCAPE_CC90
  799. {
  800. *PrintableArea: PAIR(8180, 12000)
  801. *PrintableOrigin: PAIR(220, 300)
  802. *CursorOrigin: PAIR(200, 12300)
  803. *Command: CmdSelect
  804. {
  805. *Order: PAGE_SETUP.1
  806. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  807. + =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  808. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  809. }
  810. }
  811. }
  812. }
  813. *Option: A4
  814. {
  815. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1008
  816. *Constraints: InputBin.Option6
  817. *PageProtectMem: 4249
  818. *switch: Orientation
  819. {
  820. *case: PORTRAIT
  821. {
  822. *PrintableArea: PAIR(9352, 13400)
  823. *PrintableOrigin: PAIR(260, 300)
  824. *CursorOrigin: PAIR(260, 160)
  825. *Command: CmdSelect
  826. {
  827. *Order: PAGE_SETUP.1
  828. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  829. + =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  830. + =sint16_xy %l{((260*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  831. }
  832. }
  833. *case: LANDSCAPE_CC90
  834. {
  835. *PrintableArea: PAIR(9424, 13428)
  836. *PrintableOrigin: PAIR(200, 300)
  837. *CursorOrigin: PAIR(200, 13728)
  838. *Command: CmdSelect
  839. {
  840. *Order: PAGE_SETUP.1
  841. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  842. + =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  843. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  844. }
  845. }
  846. }
  847. }
  848. *Option: B5
  849. {
  850. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  851. *PageProtectMem: 3198
  852. *Constraints: InputBin.Option6
  853. *switch: Orientation
  854. {
  855. *case: PORTRAIT
  856. {
  857. *PrintableArea: PAIR(7964, 11714)
  858. *PrintableOrigin: PAIR(340, 152)
  859. *CursorOrigin: PAIR(200, 152)
  860. *Command: CmdSelect
  861. {
  862. *Order: PAGE_SETUP.1
  863. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  864. + =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  865. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((152*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  866. }
  867. }
  868. *case: LANDSCAPE_CC90
  869. {
  870. *PrintableArea: PAIR(8104, 11624)
  871. *PrintableOrigin: PAIR(260, 240)
  872. *CursorOrigin: PAIR(200, 11904)
  873. *Command: CmdSelect
  874. {
  875. *Order: PAGE_SETUP.1
  876. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  877. + =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  878. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((280*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  879. }
  880. }
  881. }
  882. }
  883. *Option: ENV_10
  884. {
  885. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1019
  886. *InsertBlock: =PaperConstraints
  887. *Constraints: Duplex.VERTICAL
  888. *Constraints: Duplex.HORIZONTAL
  889. *PageProtectMem: 4109
  890. *switch: Orientation
  891. {
  892. *case: PORTRAIT
  893. {
  894. *PrintableArea: PAIR(4346, 10800)
  895. *PrintableOrigin: PAIR(300, 300)
  896. *switch: Resolution
  897. {
  898. *case: Option1
  899. {
  900. *PrintableArea: PAIR(4344, 10800)
  901. }
  902. }
  903. *CursorOrigin: PAIR(300, 180)
  904. *Command: CmdSelect
  905. {
  906. *Order: PAGE_SETUP.1
  907. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  908. + =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  909. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  910. }
  911. }
  912. *case: LANDSCAPE_CC90
  913. {
  914. *PrintableArea: PAIR(4476, 10800)
  915. *PrintableOrigin: PAIR(200, 300)
  916. *CursorOrigin: PAIR(200, 11100)
  917. *Command: CmdSelect
  918. {
  919. *Order: PAGE_SETUP.1
  920. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  921. + =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  922. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  923. }
  924. }
  925. }
  926. }
  927. *Option: ENV_DL
  928. {
  929. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1026
  930. *InsertBlock: =PaperConstraints
  931. *Constraints: Duplex.VERTICAL
  932. *Constraints: Duplex.HORIZONTAL
  933. *PageProtectMem: 4109
  934. *switch: Orientation
  935. {
  936. *case: PORTRAIT
  937. {
  938. *PrintableArea: PAIR(4576, 9792)
  939. *PrintableOrigin: PAIR(300, 300)
  940. *CursorOrigin: PAIR(300, 180)
  941. *Command: CmdSelect
  942. {
  943. *Order: PAGE_SETUP.1
  944. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  945. + =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  946. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  947. }
  948. }
  949. *case: LANDSCAPE_CC90
  950. {
  951. *PrintableArea: PAIR(4796, 9792)
  952. *PrintableOrigin: PAIR(200, 300)
  953. *CursorOrigin: PAIR(200, 10092)
  954. *Command: CmdSelect
  955. {
  956. *Order: PAGE_SETUP.1
  957. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  958. + =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  959. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  960. }
  961. }
  962. }
  963. }
  964. *Option: ENV_C5
  965. {
  966. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1027
  967. *InsertBlock: =PaperConstraints
  968. *Constraints: Duplex.VERTICAL
  969. *Constraints: Duplex.HORIZONTAL
  970. *PageProtectMem: 4109
  971. *switch: Orientation
  972. {
  973. *case: PORTRAIT
  974. {
  975. *PrintableArea: PAIR(7036, 10214)
  976. *PrintableOrigin: PAIR(300, 300)
  977. *switch: Resolution
  978. {
  979. *case: Option2
  980. {
  981. *PrintableArea: PAIR(7036, 10212)
  982. }
  983. }
  984. *CursorOrigin: PAIR(300, 180)
  985. *Command: CmdSelect
  986. {
  987. *Order: PAGE_SETUP.1
  988. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  989. + =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  990. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  991. }
  992. }
  993. *case: LANDSCAPE_CC90
  994. {
  995. *PrintableArea: PAIR(7116, 10224)
  996. *PrintableOrigin: PAIR(240, 300)
  997. *CursorOrigin: PAIR(200, 10524)
  998. *Command: CmdSelect
  999. {
  1000. *Order: PAGE_SETUP.1
  1001. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1002. + =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  1003. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1004. }
  1005. }
  1006. }
  1007. }
  1008. *Option: ENV_MONARCH
  1009. {
  1010. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1036
  1011. *InsertBlock: =PaperConstraints
  1012. *Constraints: Duplex.VERTICAL
  1013. *Constraints: Duplex.HORIZONTAL
  1014. *PageProtectMem: 4109
  1015. *switch: Orientation
  1016. {
  1017. *case: PORTRAIT
  1018. {
  1019. *PrintableArea: PAIR(4046, 8400)
  1020. *PrintableOrigin: PAIR(300, 300)
  1021. *switch: Resolution
  1022. {
  1023. *case: Option2
  1024. {
  1025. *PrintableArea: PAIR(4044, 8400)
  1026. }
  1027. }
  1028. *CursorOrigin: PAIR(300, 180)
  1029. *Command: CmdSelect
  1030. {
  1031. *Order: PAGE_SETUP.1
  1032. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1033. + =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1034. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1035. }
  1036. }
  1037. *case: LANDSCAPE_CC90
  1038. {
  1039. *PrintableArea: PAIR(4076, 8400)
  1040. *PrintableOrigin: PAIR(300, 300)
  1041. *CursorOrigin: PAIR(200, 8700)
  1042. *Command: CmdSelect
  1043. {
  1044. *Order: PAGE_SETUP.1
  1045. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1046. + =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1047. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1048. }
  1049. }
  1050. }
  1051. }
  1052. *Option: ENV_B5
  1053. {
  1054. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1055. *PageProtectMem: 4109
  1056. *InsertBlock: =PaperConstraints
  1057. *Constraints: Duplex.VERTICAL
  1058. *Constraints: Duplex.HORIZONTAL
  1059. *switch: Orientation
  1060. {
  1061. *case: PORTRAIT
  1062. {
  1063. *PrintableArea: PAIR(7716, 11368)
  1064. *PrintableOrigin: PAIR(300, 140)
  1065. *CursorOrigin: PAIR(300, 140)
  1066. *Command: CmdSelect
  1067. {
  1068. *Order: PAGE_SETUP.1
  1069. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1070. + =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1071. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((140*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1072. }
  1073. }
  1074. *case: LANDSCAPE_CC90
  1075. {
  1076. *PrintableArea: PAIR(7776, 11208)
  1077. *PrintableOrigin: PAIR(240, 300)
  1078. *CursorOrigin: PAIR(200, 11508)
  1079. *Command: CmdSelect
  1080. {
  1081. *Order: PAGE_SETUP.1
  1082. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1083. + =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1084. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1085. }
  1086. }
  1087. }
  1088. }
  1089. *Option: FOLIO
  1090. {
  1091. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1092. *PrintableArea: PAIR(9600, 15200)
  1093. *PrintableOrigin: PAIR(200, 200)
  1094. *switch: Orientation
  1095. {
  1096. *case: PORTRAIT
  1097. {
  1098. *CursorOrigin: PAIR(200, 200)
  1099. *Command: CmdSelect
  1100. {
  1101. *Order: JOB_SETUP.2
  1102. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1103. + =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1104. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1105. }
  1106. }
  1107. *case: LANDSCAPE_CC90
  1108. {
  1109. *CursorOrigin: PAIR(200, 15400)
  1110. *Command: CmdSelect
  1111. {
  1112. *Order: JOB_SETUP.2
  1113. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1114. + =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1115. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1116. }
  1117. }
  1118. }
  1119. }
  1120. *Option: CUSTOMSIZE
  1121. {
  1122. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1255
  1123. *MinSize: PAIR(3600, 6000)
  1124. *MaxSize: PAIR(10200, 32767)
  1125. *MaxPrintableWidth: 10200
  1126. *MinLeftMargin: 100
  1127. *CenterPrintable?: FALSE
  1128. *PageProtectMem: 1692
  1129. *switch: Orientation
  1130. {
  1131. *case: PORTRAIT
  1132. {
  1133. *CustCursorOriginX: %d{((PhysPaperWidth - 10200) / 2) + 300 }
  1134. *CustCursorOriginY: %d{140 }
  1135. *CustPrintableOriginX: %d{300 }
  1136. *CustPrintableOriginY: %d{300}
  1137. *CustPrintableSizeX: %d{ PhysPaperWidth - 600 }
  1138. *CustPrintableSizeY: %d{ PhysPaperLength - 600 }
  1139. *Command: CmdSelect
  1140. {
  1141. *Order: PAGE_SETUP.1
  1142. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1143. + =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1144. + =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1145. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1146. }
  1147. }
  1148. *case: LANDSCAPE_CC90
  1149. {
  1150. *CustCursorOriginX: %d{((PhysPaperWidth - 10200) / 2) + 200 }
  1151. *CustCursorOriginY: %d{16560 }
  1152. *CustPrintableOriginX: %d{200 }
  1153. *CustPrintableOriginY: %d{240}
  1154. *CustPrintableSizeX: %d{ PhysPaperWidth - 400 }
  1155. *CustPrintableSizeY: %d{ PhysPaperLength - 480 }
  1156. *Command: CmdSelect
  1157. {
  1158. *Order: PAGE_SETUP.1
  1159. *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1160. + =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1161. + =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1162. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1163. }
  1164. }
  1165. }
  1166. }
  1167. }
  1168. *%%% ======================
  1169. *%%% PAGE_SETUP.2
  1170. *%%% BeginPage(0x43)
  1171. *%%% Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  1172. *%%% ubyte ubyte ubyte
  1173. *%%% MediaSource
  1174. *Feature: InputBin{ *Option: Option1{} *Option: Option7{} *Option: UPPER{} *Option: LOWER{} *Option: MANUAL{}}
  1175. *Feature: InputBin
  1176. {
  1177. *rcNameID: =PAPER_SOURCE_DISPLAY
  1178. *DefaultOption: Option1
  1179. *Option: Option1
  1180. {
  1181. *rcNameID: =AUTO_SELECT_DISPLAY *% Automatically Select
  1182. *Command: CmdSelect
  1183. {
  1184. *Order: PAGE_SETUP.2
  1185. *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  1186. }
  1187. }
  1188. *Option: UPPER
  1189. {
  1190. *rcNameID: =TRAY2_DISPLAY *% Upper Paper tray
  1191. *Command: CmdSelect
  1192. {
  1193. *Order: PAGE_SETUP.2
  1194. *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  1195. }
  1196. }
  1197. *Option: MANUAL
  1198. {
  1199. *rcNameID: =MANUAL_FEED_TRAY1_DISPLAY *% Manual Paper feed
  1200. *Command: CmdSelect
  1201. {
  1202. *Order: PAGE_SETUP.2
  1203. *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1204. }
  1205. }
  1206. *Option: LOWER
  1207. {
  1208. *rcNameID: =TRAY3_DISPLAY *% Lower Paper tray
  1209. *Command: CmdSelect
  1210. {
  1211. *Order: PAGE_SETUP.2
  1212. *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  1213. }
  1214. }
  1215. *Option: Option7
  1216. {
  1217. *rcNameID: =TRAY1_DISPLAY *% MP Tray
  1218. *Command: CmdSelect
  1219. {
  1220. *Order: PAGE_SETUP.2
  1221. *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1222. }
  1223. }
  1224. }
  1225. *%Following Papersizes cannot be duplexed
  1226. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_10)
  1227. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_DL)
  1228. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_C5)
  1229. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_MONARCH)
  1230. *InvalidCombination: LIST(Duplex.VERTICAL, PaperSize.ENV_B5)
  1231. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_10)
  1232. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_DL)
  1233. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_C5)
  1234. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_MONARCH)
  1235. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_B5)
  1236. *%UPPER Paper Tray Constraints
  1237. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_10)
  1238. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_DL)
  1239. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_C5)
  1240. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_MONARCH)
  1241. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_B5)
  1242. *%LOWER Paper Tray Constraints
  1243. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_10)
  1244. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_DL)
  1245. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_C5)
  1246. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_MONARCH)
  1247. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_B5)
  1248. *%%% ======================
  1249. *%%% PAGE_SETUP.3
  1250. *%%% BeginPage(0x43)
  1251. *%%% Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
  1252. *%%% ubyte ubyte ubyte
  1253. *%%% MediaType
  1254. *Feature: MediaType
  1255. {
  1256. *rcNameID: =MEDIA_TYPE_DISPLAY
  1257. *DefaultOption: AutoSelect
  1258. *Option: AutoSelect
  1259. {
  1260. *rcNameID: =AUTO_SELECT_DISPLAY
  1261. }
  1262. *Option: Plain
  1263. {
  1264. *rcNameID: =PLAIN_DISPLAY
  1265. *Command: CmdSelect
  1266. {
  1267. *Order: PAGE_SETUP.3
  1268. *Cmd: =ubyte_array =ePlain =attr_ubyte =MediaType
  1269. }
  1270. }
  1271. *Option: Preprinted
  1272. {
  1273. *rcNameID: =PREPRINTED_DISPLAY
  1274. *Command: CmdSelect
  1275. {
  1276. *Order: PAGE_SETUP.3
  1277. *Cmd: =ubyte_array =ePreprinted =attr_ubyte =MediaType
  1278. }
  1279. }
  1280. *Option: Letterhead
  1281. {
  1282. *rcNameID: =LETTERHEAD_DISPLAY
  1283. *Command: CmdSelect
  1284. {
  1285. *Order: PAGE_SETUP.3
  1286. *Cmd: =ubyte_array =eLetterhead =attr_ubyte =MediaType
  1287. }
  1288. }
  1289. *Option: Transparency
  1290. {
  1291. *rcNameID: =TRANSPARENCY_DISPLAY
  1292. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1293. *Command: CmdSelect
  1294. {
  1295. *Order: PAGE_SETUP.3
  1296. *Cmd: =ubyte_array =eTransparency =attr_ubyte =MediaType
  1297. }
  1298. }
  1299. *Option: Prepunched
  1300. {
  1301. *rcNameID: =PREPUNCHED_DISPLAY
  1302. *Command: CmdSelect
  1303. {
  1304. *Order: PAGE_SETUP.3
  1305. *Cmd: =ubyte_array =ePrepunched =attr_ubyte =MediaType
  1306. }
  1307. }
  1308. *Option: Labels
  1309. {
  1310. *rcNameID: =LABELS_DISPLAY
  1311. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1312. *Command: CmdSelect
  1313. {
  1314. *Order: PAGE_SETUP.3
  1315. *Cmd: =ubyte_array =eLabels =attr_ubyte =MediaType
  1316. }
  1317. }
  1318. *Option: Bond
  1319. {
  1320. *rcNameID: =BOND_DISPLAY
  1321. *Command: CmdSelect
  1322. {
  1323. *Order: PAGE_SETUP.3
  1324. *Cmd: =ubyte_array =eBond =attr_ubyte =MediaType
  1325. }
  1326. }
  1327. *Option: Recycled
  1328. {
  1329. *rcNameID: =RECYCLED_DISPLAY
  1330. *Command: CmdSelect
  1331. {
  1332. *Order: PAGE_SETUP.3
  1333. *Cmd: =ubyte_array =eRecycled =attr_ubyte =MediaType
  1334. }
  1335. }
  1336. *Option: Color
  1337. {
  1338. *rcNameID: =COLOR_DISPLAY
  1339. *Command: CmdSelect
  1340. {
  1341. *Order: PAGE_SETUP.3
  1342. *Cmd: =ubyte_array =eColor =attr_ubyte =MediaType
  1343. }
  1344. }
  1345. *Option: CardStock
  1346. {
  1347. *rcNameID: =CARDSTOCK_DISPLAY
  1348. *Command: CmdSelect
  1349. {
  1350. *Order: PAGE_SETUP.3
  1351. *Cmd: =ubyte_array =eCardstock =attr_ubyte =MediaType
  1352. }
  1353. }
  1354. *Option: Rough
  1355. {
  1356. *rcNameID: =ROUGH_DISPLAY
  1357. *Command: CmdSelect
  1358. {
  1359. *Order: PAGE_SETUP.3
  1360. *Cmd: =ubyte_array =eRough =attr_ubyte =MediaType
  1361. }
  1362. }
  1363. }
  1364. *%%% ======================
  1365. *%%% PAGE_SETUP.3
  1366. *%%% DuplexPageMode(53(0x35))
  1367. *Feature: Duplex
  1368. {
  1369. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1370. *DefaultOption: NONE
  1371. *Option: NONE
  1372. {
  1373. *rcNameID: =NONE_DISPLAY
  1374. *Command: CmdSelect
  1375. {
  1376. *Order: JOB_SETUP.4
  1377. *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  1378. }
  1379. }
  1380. *Option: VERTICAL
  1381. {
  1382. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1383. *Command: CmdSelect
  1384. {
  1385. *Order: JOB_SETUP.4
  1386. *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  1387. }
  1388. }
  1389. *Option: HORIZONTAL
  1390. {
  1391. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1392. *Command: CmdSelect
  1393. {
  1394. *Order: JOB_SETUP.4
  1395. *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  1396. }
  1397. }
  1398. }
  1399. *%%% ======================
  1400. *%%% PAGE_SETUP.4
  1401. *%%% SetPageOrigin
  1402. *%%% PageOrigin
  1403. *%%% SetPageScale
  1404. *Command: CmdStartPage
  1405. {
  1406. *Order: PAGE_SETUP.4
  1407. *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  1408. + =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  1409. }
  1410. *%%% ======================
  1411. *%%% PAGE_SETUP.5
  1412. *%%% Feature
  1413. *%%% Dither
  1414. *Feature: Dither
  1415. {
  1416. *rcNameID: =DITHER_QUALITY_DISPLAY
  1417. *DefaultOption: HIQUALITY
  1418. *Option: HIQUALITY
  1419. {
  1420. *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  1421. *Command: CmdSelect
  1422. {
  1423. *Order: PAGE_SETUP.5
  1424. *Cmd: ""
  1425. }
  1426. }
  1427. *Option: LOQUALITY
  1428. {
  1429. *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  1430. *Command: CmdSelect
  1431. {
  1432. *Order: PAGE_SETUP.5
  1433. *Cmd: ""
  1434. }
  1435. }
  1436. }
  1437. *%%% ======================
  1438. *%%% Feature
  1439. *%%% Memory
  1440. *Feature: Memory
  1441. {
  1442. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1443. *DefaultOption: 32MB
  1444. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1445. *% Max memory 96 (+4 on board) = 100
  1446. *MemConfigMB: PAIR(4, 3)
  1447. *MemConfigMB: PAIR(8, 7)
  1448. *MemConfigMB: PAIR(12, 10)
  1449. *MemConfigMB: PAIR(16, 13)
  1450. *MemConfigMB: PAIR(20, 17)
  1451. *MemConfigMB: PAIR(24, 21)
  1452. *MemConfigMB: PAIR(28, 24)
  1453. *MemConfigMB: PAIR(32, 28)
  1454. *MemConfigMB: PAIR(36, 31)
  1455. *MemConfigMB: PAIR(40, 35)
  1456. *MemConfigMB: PAIR(44, 39)
  1457. *MemConfigMB: PAIR(48, 42)
  1458. *MemConfigMB: PAIR(52, 46)
  1459. *MemConfigMB: PAIR(56, 49)
  1460. *MemConfigMB: PAIR(60, 52)
  1461. *MemConfigMB: PAIR(68, 59)
  1462. }
  1463. *%%% ======================
  1464. *%%% Device fonts
  1465. *%%% ======================
  1466. *DefaultFont: =RC_FONT_COURIERR
  1467. *DefaultCTT: 0
  1468. *DeviceFonts: LIST(
  1469. + =RC_FONT_ALBERTX,
  1470. + =RC_FONT_AOLIVEB,
  1471. + =RC_FONT_AOLIVER,
  1472. + =RC_FONT_ARIALB,
  1473. + =RC_FONT_ARIALI,
  1474. + =RC_FONT_ARIALJ,
  1475. + =RC_FONT_ARIALR,
  1476. + =RC_FONT_COURIERB,
  1477. + =RC_FONT_COURIERI,
  1478. + =RC_FONT_COURIERJ,
  1479. + =RC_FONT_COURIERR,
  1480. + =RC_FONT_LETGOTHB,
  1481. + =RC_FONT_LETGOTHI,
  1482. + =RC_FONT_LETGOTHR,
  1483. + =RC_FONT_MARGOLDR,
  1484. + =RC_FONT_TIMESNRB,
  1485. + =RC_FONT_TIMESNRI,
  1486. + =RC_FONT_TIMESNRJ,
  1487. + =RC_FONT_TIMESNRR,
  1488. + =RC_FONT_WINGDINGS,
  1489. + =RC_FONT_SYMBOL)
  1490. *TTFS: AlbertusX
  1491. {
  1492. *TTFontName: "Albertus Extra Bold"
  1493. *DevFontName: "Albertus Extra Bold"
  1494. }
  1495. *TTFS: AntiqueOlive
  1496. {
  1497. *TTFontName: "Antique Olive"
  1498. *DevFontName: "Antique Olive"
  1499. }
  1500. *TTFS: LetterGothic
  1501. {
  1502. *TTFontName: "Letter Gothic"
  1503. *DevFontName: "Letter Gothic"
  1504. }
  1505. *TTFS: Marigold
  1506. {
  1507. *TTFontName: "Marigold"
  1508. *DevFontName: "Marigold"
  1509. }
  1510. *%% =======================
  1511. *%% Optional Duplex Unit
  1512. *%% =======================
  1513. *Feature: DuplexUnit
  1514. {
  1515. *FeatureType: PRINTER_PROPERTY
  1516. *rcNameID: =DUPLEX_UNIT_DISPLAY
  1517. *DefaultOption: Installed
  1518. *Option: NotInstalled
  1519. {
  1520. *rcNameID: =NOT_INSTALLED_DISPLAY
  1521. *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1522. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1523. }
  1524. *Option: Installed
  1525. {
  1526. *rcNameID: =INSTALLED_DISPLAY
  1527. }
  1528. }
  1529. *Feature: TRAY3
  1530. {
  1531. *rcNameID: =TRAY3_DISPLAY
  1532. *FeatureType: PRINTER_PROPERTY
  1533. *DefaultOption: FALSE
  1534. *Option: FALSE
  1535. {
  1536. *rcNameID: =NOT_INSTALLED_DISPLAY
  1537. *Constraints: LIST(InputBin.LOWER)
  1538. }
  1539. *Option: TRUE
  1540. {
  1541. *rcNameID: =INSTALLED_DISPLAY
  1542. }
  1543. }
  1544. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  1545. *%% =======================
  1546. *%% Optional Hard Disk
  1547. *%% =======================
  1548. *Feature: PrinterHardDisk
  1549. {
  1550. *rcNameID: =PRINTER_HARDDISK_DISPLAY
  1551. *FeatureType: PRINTER_PROPERTY
  1552. *DefaultOption: FALSE
  1553. *Option: FALSE
  1554. {
  1555. *rcNameID: =NOT_INSTALLED_DISPLAY
  1556. *DisabledFeatures: LIST(Collate)
  1557. }
  1558. *Option: TRUE
  1559. {
  1560. *rcNameID: =INSTALLED_DISPLAY
  1561. }
  1562. }
  1563. *%%% ======================
  1564. *%%% PCL XL GPD file main
  1565. *%%% ======================
  1566. *%%% ======================
  1567. *%%% Global Entries
  1568. *%%% Attributes
  1569. *%%% ======================
  1570. *MasterUnits: PAIR(1200, 1200)
  1571. *CodePage: 1252
  1572. *ResourceDLL: "pclxl.dll"
  1573. *PrinterType: PAGE
  1574. *Personality: =PERSONALITY_PCLXL
  1575. *rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1576. *%%% *rcPrinterIconID:
  1577. *%%% ======================
  1578. *%%% Printing attributes
  1579. *%%% ======================
  1580. *RotateCoordinate?: TRUE
  1581. *RotateRaster?: TRUE
  1582. *RotateFont?: TRUE
  1583. *EjectPageWithFF?: FALSE
  1584. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1585. *MemoryUsage: LIST(FONT)
  1586. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1587. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1588. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1589. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1590. *XMoveThreshold: 0
  1591. *YMoveThreshold: 0
  1592. *XMoveUnit: 1200
  1593. *YMoveUnit: 1200
  1594. *%%% *MinGrayFill: 1
  1595. *%%% *MaxGrayFill: 100
  1596. *%%% *OutputDataFormat: H_BYTE
  1597. *%%% *OptimizeLeftBound?: TRUE
  1598. *%%% ======================
  1599. *%%% Color
  1600. *%%% ======================
  1601. *Feature: ColorMode
  1602. {
  1603. *ConcealFromUI?: TRUE
  1604. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1605. *DefaultOption: Mono
  1606. *Option: Mono
  1607. {
  1608. *rcNameID: =COLOR_DISPLAY
  1609. *Color?: FALSE
  1610. *DevNumOfPlanes: 1
  1611. *DevBPP: 24
  1612. *DrvBPP: 24
  1613. *PaletteSize: 256
  1614. *PaletteProgrammable?: FALSE
  1615. }
  1616. }
  1617. *%%% ======================
  1618. *%%% TrueType fonts
  1619. *%%% ======================
  1620. *CharPosition: BASELINE
  1621. *TTFSEnabled?: TRUE
  1622. *FontFormat: OEM_CALLBACK
  1623. *MinFontID: 1
  1624. *MaxFontID: 65535
  1625. *MinGlyphID: 1
  1626. *MaxGlyphID: 1000
  1627. *%%% ======================
  1628. *%%% Cursor commands
  1629. *%%% ======================
  1630. *Command: CmdCR { *Cmd: =CR}
  1631. *Command: CmdLF { *Cmd: =LF}
  1632. *Command: CmdFF { *Cmd: =FF}
  1633. *%%% SetCursor(0x6b)
  1634. *%%% Point(76(0x40c)) uint_16
  1635. *%%% SetCursorRel(0x6c)
  1636. *%%% Point(76(0x40c)) uint_16
  1637. *Command: CmdXMoveAbsolute
  1638. {
  1639. *Cmd: ""
  1640. }
  1641. *Command: CmdXMoveRelRight
  1642. {
  1643. *Cmd: ""
  1644. *Params: LIST(DestXRel, TextXRes)
  1645. }
  1646. *Command: CmdXMoveRelLeft
  1647. {
  1648. *Cmd: ""
  1649. *Params: LIST(DestXRel, TextXRes)
  1650. }
  1651. *Command: CmdYMoveAbsolute
  1652. {
  1653. *Cmd: ""
  1654. *Params: LIST(DestY, TextYRes)
  1655. }
  1656. *Command: CmdYMoveRelDown
  1657. {
  1658. *Cmd: ""
  1659. *Params: LIST(DestYRel, TextYRes)
  1660. }
  1661. *Command: CmdYMoveRelUp
  1662. {
  1663. *Cmd: ""
  1664. *Params: LIST(DestYRel, TextYRes)
  1665. }
  1666. *%%% *Command: CmdPushCursor
  1667. *%%% *Command: CmdPopCursor
  1668. *%%% =======================
  1669. *%%% Font commands
  1670. *%%% =======================
  1671. *Command: CmdSetFontID { *Cmd : "" }
  1672. *Command: CmdSelectFontID
  1673. {
  1674. *Cmd: ""
  1675. *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1676. }
  1677. *Command: CmdSetCharCode
  1678. {
  1679. *Cmd : ""
  1680. }
  1681. *Command: CmdBoldOn
  1682. {
  1683. *Cmd : ""
  1684. }
  1685. *Command: CmdBoldOff
  1686. {
  1687. *Cmd : ""
  1688. }
  1689. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1690. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1691. *%%% *Command: CmdWhiteTextOn:
  1692. *%%% *Command: CmdWhiteTextOff:
  1693. *%%% *Command: CmdSelectSingleByteMode:
  1694. *%%% *Command: CmdSelectDoubleByteMode:
  1695. *Command: CmdSetAnyRotation
  1696. {
  1697. *Cmd: ""
  1698. *Params: LIST(PrintDirInCCDegrees)
  1699. }
  1700. *Command: CmdSetSimpleRotation
  1701. {
  1702. *Cmd: ""
  1703. *Params: LIST(PrintDirInCCDegrees)
  1704. }