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.

1961 lines
56 KiB

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