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.

1574 lines
44 KiB

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