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.

1607 lines
46 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: "HPLJ40P6.GPD"
  21. *ModelName: "HP LaserJet 4000 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: =COLLATE
  224. *DefaultOption: OFF
  225. *Option: ON
  226. {
  227. *rcNameID: =ON_DISPLAY
  228. *switch: PrinterHardDisk
  229. {
  230. *case: FALSE
  231. {
  232. *Command: CmdSelect
  233. {
  234. *Order: JOB_SETUP.5
  235. *Cmd: =PJL_COLLATE_OFF
  236. }
  237. }
  238. *case: TRUE
  239. {
  240. *Command: CmdSelect
  241. {
  242. *Order: JOB_SETUP.5
  243. *Cmd: =PJL_COLLATE_ON
  244. }
  245. }
  246. }
  247. }
  248. *Option: OFF
  249. {
  250. *rcNameID:=OFF_DISPLAY
  251. *Command: CmdSelect
  252. {
  253. *Order: JOB_SETUP.5
  254. *Cmd: =PJL_COLLATE_OFF
  255. }
  256. }
  257. }
  258. *%%% ======================
  259. *%%% DOC_SETUP.5
  260. *%%% RESOLUTION
  261. *%%% ENTER LANGUAGE=PCLXL
  262. *%%% PCL XL Stream Header
  263. *%%% BeginSession
  264. *%%% CmdEndRaster
  265. *%%% EndImage
  266. *%%% CmdSendBlockData
  267. *%%% EndImage
  268. *Feature: Resolution
  269. {
  270. *rcNameID: =RESOLUTION_DISPLAY
  271. *DefaultOption: Option1
  272. *Option: Option1
  273. {
  274. *Name: "1200 x 1200 " =DOTS_PER_INCH
  275. *DPI: PAIR(1200, 1200)
  276. *TextDPI: PAIR(1200, 1200)
  277. *MinStripBlankPixels: 32
  278. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING, ENCLOSED,TRAILING)
  279. *SpotDiameter: 120
  280. *Command: CmdBeginRaster
  281. {
  282. *Cmd : =PCLXL_CmdBeginRaster
  283. }
  284. *Command: CmdSendBlockData
  285. {
  286. *Cmd : =PCLXL_CmdBeginRaster =PCLXL_CmdSendBlockData
  287. }
  288. *% EndImage(0xb2)
  289. *%
  290. *Command: CmdEndBlockData { *Cmd : =EndImage}
  291. *Command: CmdSelect
  292. {
  293. *Order: JOB_SETUP.7
  294. *Cmd: =PJL_RESOLUTION_1200 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession1200 =PCLXL_OpenDataSource
  295. }
  296. }
  297. *Option: Option2
  298. {
  299. *Name: "600 x 600 " =DOTS_PER_INCH
  300. *DPI: PAIR(600, 600)
  301. *TextDPI: PAIR(600, 600)
  302. *MinStripBlankPixels: 32
  303. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  304. *SpotDiameter: 100
  305. *Command: CmdBeginRaster
  306. {
  307. *Cmd : =PCLXL_CmdBeginRaster
  308. }
  309. *Command: CmdEndRaster { *Cmd : =EndImage }
  310. *Command: CmdSendBlockData
  311. {
  312. *Cmd: =PCLXL_CmdSendBlockData
  313. }
  314. *Command: CmdSelect
  315. {
  316. *Order: JOB_SETUP.7
  317. *Cmd: =PJL_RESOLUTION_600 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600 =PCLXL_OpenDataSource
  318. }
  319. }
  320. *Option: Option3
  321. {
  322. *Name: "300 x 300 " =DOTS_PER_INCH
  323. *DPI: PAIR(300, 300)
  324. *TextDPI: PAIR(300, 300)
  325. *MinStripBlankPixels: 32
  326. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  327. *SpotDiameter: 100
  328. *Command: CmdBeginRaster
  329. {
  330. *Cmd : =PCLXL_CmdBeginRaster
  331. }
  332. *Command: CmdEndRaster { *Cmd : =EndImage }
  333. *Command: CmdSendBlockData
  334. {
  335. *Cmd: =PCLXL_CmdSendBlockData
  336. }
  337. *Command: CmdSelect
  338. {
  339. *Order: JOB_SETUP.7
  340. *Cmd: =PJL_RESOLUTION_300 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300 =PCLXL_OpenDataSource
  341. }
  342. }
  343. }
  344. *%%% ======================
  345. *%%% PAGE_FINISH
  346. *%%% ======================
  347. *%%% ======================
  348. *%%% PAGE_FINISH.3
  349. *Command: CmdEndPage
  350. {
  351. *Order: PAGE_FINISH.1
  352. *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  353. }
  354. *%%% ======================
  355. *%%% JOB_FINISH.1
  356. *%%% CmdEndJob
  357. *Command: CmdEndJob
  358. {
  359. *Order: JOB_FINISH.1
  360. *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  361. }
  362. *%%% ======================
  363. *%%% PAGE_SETUP
  364. *%%% ======================
  365. *%%% ======================
  366. *%%% PAGE_SETUP.1
  367. *%%% BeginPage(0x43)
  368. *%%% Orientation(40), MediaSize(37), MediaSource(38)
  369. *%%% ubyte ubyte ubyte
  370. *BlockMacro: PaperConstraints
  371. {
  372. *Constraints: LIST(InputBin.Option3, InputBin.Option4, InputBin.Option5)
  373. }
  374. *Feature: PaperSize
  375. {
  376. *rcNameID: =PAPER_SIZE_DISPLAY
  377. *DefaultOption: LETTER
  378. *Option: LETTER
  379. {
  380. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
  381. *Constraints: InputBin.Option6
  382. *PageProtectMem: 4109
  383. *switch: Orientation
  384. {
  385. *case: PORTRAIT
  386. {
  387. *PrintableArea: PAIR(9600, 12648)
  388. *PrintableOrigin: PAIR(300, 210)
  389. *CursorOrigin: PAIR(300, 220)
  390. *Command: CmdSelect
  391. {
  392. *Order: PAGE_SETUP.4
  393. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  394. + =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
  395. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  396. }
  397. }
  398. *case: LANDSCAPE_CC90
  399. {
  400. *PrintableArea: PAIR(9760, 12688)
  401. *PrintableOrigin: PAIR(200, 272)
  402. *CursorOrigin: PAIR(200, 12960)
  403. *Command: CmdSelect
  404. {
  405. *Order: PAGE_SETUP.4
  406. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  407. + =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
  408. + =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  409. }
  410. }
  411. }
  412. }
  413. *Option: LEGAL
  414. {
  415. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  416. *Constraints: InputBin.Option6
  417. *PageProtectMem: 5230
  418. *switch: Orientation
  419. {
  420. *case: PORTRAIT
  421. {
  422. *PrintableArea: PAIR(9600, 16380)
  423. *PrintableOrigin: PAIR(300, 140)
  424. *CursorOrigin: PAIR(300, 140)
  425. *Command: CmdSelect
  426. {
  427. *Order: PAGE_SETUP.4
  428. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  429. + =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
  430. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  431. }
  432. }
  433. *case: LANDSCAPE_CC90
  434. {
  435. *PrintableArea: PAIR(9760, 16260)
  436. *PrintableOrigin: PAIR(180, 350)
  437. *CursorOrigin: PAIR(200, 16560)
  438. *Command: CmdSelect
  439. {
  440. *Order: PAGE_SETUP.4
  441. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  442. + =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
  443. + =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  444. }
  445. }
  446. }
  447. }
  448. *Option: EXECUTIVE
  449. {
  450. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  451. *Constraints: InputBin.Option6
  452. *PageProtectMem: 4109
  453. *switch: Orientation
  454. {
  455. *case: PORTRAIT
  456. {
  457. *PrintableArea: PAIR(8050, 12180)
  458. *PrintableOrigin: PAIR(300, 140)
  459. *CursorOrigin: PAIR(240, 140)
  460. *Command: CmdSelect
  461. {
  462. *Order: PAGE_SETUP.4
  463. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  464. + =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
  465. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  466. }
  467. }
  468. *case: LANDSCAPE_CC90
  469. {
  470. *PrintableArea: PAIR(8220, 12120)
  471. *PrintableOrigin: PAIR(240, 240)
  472. *CursorOrigin: PAIR(160, 12360)
  473. *Command: CmdSelect
  474. {
  475. *Order: PAGE_SETUP.4
  476. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  477. + =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
  478. + =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  479. }
  480. }
  481. }
  482. }
  483. *Option: A4
  484. {
  485. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1008
  486. *Constraints: InputBin.Option6
  487. *PageProtectMem: 4249
  488. *switch: Orientation
  489. {
  490. *case: PORTRAIT
  491. {
  492. *PrintableArea: PAIR(9314, 13598)
  493. *PrintableOrigin: PAIR(280, 152)
  494. *CursorOrigin: PAIR(240, 152)
  495. *Command: CmdSelect
  496. {
  497. *Order: PAGE_SETUP.4
  498. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  499. + =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
  500. + =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  501. }
  502. }
  503. *case: LANDSCAPE_CC90
  504. {
  505. *PrintableArea: PAIR(9464, 13548)
  506. *PrintableOrigin: PAIR(200, 200)
  507. *CursorOrigin: PAIR(160, 13788)
  508. *Command: CmdSelect
  509. {
  510. *Order: PAGE_SETUP.4
  511. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  512. + =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
  513. + =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  514. }
  515. }
  516. }
  517. }
  518. *Option: A5
  519. {
  520. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  521. *Constraints: InputBin.Option6
  522. *PageProtectMem: 2125
  523. *switch: Orientation
  524. {
  525. *case: PORTRAIT
  526. {
  527. *PrintableArea: PAIR(6396, 9494)
  528. *PrintableOrigin: PAIR(300, 152)
  529. *CursorOrigin: PAIR(300, 152)
  530. *Command: CmdSelect
  531. {
  532. *Order: PAGE_SETUP.4
  533. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  534. + =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
  535. + =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  536. }
  537. }
  538. *case: LANDSCAPE_CC90
  539. {
  540. *PrintableArea: PAIR(6456, 9324)
  541. *PrintableOrigin: PAIR(240, 300)
  542. *CursorOrigin: PAIR(200, 9624)
  543. *Command: CmdSelect
  544. {
  545. *Order: PAGE_SETUP.4
  546. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  547. + =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
  548. + =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  549. }
  550. }
  551. }
  552. }
  553. *Option: B5
  554. {
  555. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  556. *PageProtectMem: 3198
  557. *Constraints: InputBin.Option6
  558. *switch: Orientation
  559. {
  560. *case: PORTRAIT
  561. {
  562. *PrintableArea: PAIR(7964, 11714)
  563. *PrintableOrigin: PAIR(340, 152)
  564. *CursorOrigin: PAIR(200, 152)
  565. *Command: CmdSelect
  566. {
  567. *Order: PAGE_SETUP.4
  568. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  569. + =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage
  570. + =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  571. }
  572. }
  573. *case: LANDSCAPE_CC90
  574. {
  575. *PrintableArea: PAIR(8104, 11624)
  576. *PrintableOrigin: PAIR(260, 240)
  577. *CursorOrigin: PAIR(200, 11904)
  578. *Command: CmdSelect
  579. {
  580. *Order: PAGE_SETUP.4
  581. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  582. + =ubyte_array =sJB5Paper =attr_ubyte =MediaSize =BeginPage
  583. + =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  584. }
  585. }
  586. }
  587. }
  588. *Option: ENV_10
  589. {
  590. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1019
  591. *InsertBlock: =PaperConstraints
  592. *Constraints: Duplex.VERTICAL
  593. *Constraints: Duplex.HORIZONTAL
  594. *PageProtectMem: 4109
  595. *switch: Orientation
  596. {
  597. *case: PORTRAIT
  598. {
  599. *PrintableArea: PAIR(4336, 10950)
  600. *PrintableOrigin: PAIR(300, 152)
  601. *CursorOrigin: PAIR(300, 152)
  602. *Command: CmdSelect
  603. {
  604. *Order: PAGE_SETUP.4
  605. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  606. + =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  607. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  608. }
  609. }
  610. *case: LANDSCAPE_CC90
  611. {
  612. *PrintableArea: PAIR(4416, 10800)
  613. *PrintableOrigin: PAIR(240, 300)
  614. *CursorOrigin: PAIR(200, 11100)
  615. *Command: CmdSelect
  616. {
  617. *Order: PAGE_SETUP.4
  618. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  619. + =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  620. + =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  621. }
  622. }
  623. }
  624. }
  625. *Option: ENV_DL
  626. {
  627. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1026
  628. *InsertBlock: =PaperConstraints
  629. *Constraints: Duplex.VERTICAL
  630. *Constraints: Duplex.HORIZONTAL
  631. *PageProtectMem: 4109
  632. *switch: Orientation
  633. {
  634. *case: PORTRAIT
  635. {
  636. *PrintableArea: PAIR(4576, 9952)
  637. *PrintableOrigin: PAIR(300, 140)
  638. *CursorOrigin: PAIR(300, 140)
  639. *Command: CmdSelect
  640. {
  641. *Order: PAGE_SETUP.4
  642. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  643. + =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
  644. + =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  645. }
  646. }
  647. *case: LANDSCAPE_CC90
  648. {
  649. *PrintableArea: PAIR(4676, 9792)
  650. *PrintableOrigin: PAIR(220, 300)
  651. *CursorOrigin: PAIR(200, 10092)
  652. *Command: CmdSelect
  653. {
  654. *Order: PAGE_SETUP.4
  655. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  656. + =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
  657. + =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  658. }
  659. }
  660. }
  661. }
  662. *Option: ENV_C5
  663. {
  664. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1027
  665. *InsertBlock: =PaperConstraints
  666. *Constraints: Duplex.VERTICAL
  667. *Constraints: Duplex.HORIZONTAL
  668. *PageProtectMem: 4109
  669. *switch: Orientation
  670. {
  671. *case: PORTRAIT
  672. {
  673. *PrintableArea: PAIR(7036, 10384)
  674. *PrintableOrigin: PAIR(300, 140)
  675. *CursorOrigin: PAIR(300, 140)
  676. *Command: CmdSelect
  677. {
  678. *Order: PAGE_SETUP.4
  679. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  680. + =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
  681. + =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  682. }
  683. }
  684. *case: LANDSCAPE_CC90
  685. {
  686. *PrintableArea: PAIR(7116, 10224)
  687. *PrintableOrigin: PAIR(240, 300)
  688. *CursorOrigin: PAIR(200, 10524)
  689. *Command: CmdSelect
  690. {
  691. *Order: PAGE_SETUP.4
  692. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  693. + =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
  694. + =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  695. }
  696. }
  697. }
  698. }
  699. *Option: ENV_MONARCH
  700. {
  701. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1036
  702. *InsertBlock: =PaperConstraints
  703. *Constraints: Duplex.VERTICAL
  704. *Constraints: Duplex.HORIZONTAL
  705. *PageProtectMem: 4109
  706. *switch: Orientation
  707. {
  708. *case: PORTRAIT
  709. {
  710. *PrintableArea: PAIR(4036, 8560)
  711. *PrintableOrigin: PAIR(300, 140)
  712. *CursorOrigin: PAIR(300, 140)
  713. *Command: CmdSelect
  714. {
  715. *Order: PAGE_SETUP.4
  716. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  717. + =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  718. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  719. }
  720. }
  721. *case: LANDSCAPE_CC90
  722. {
  723. *PrintableArea: PAIR(4116, 8400)
  724. *PrintableOrigin: PAIR(240, 300)
  725. *CursorOrigin: PAIR(200, 8700)
  726. *Command: CmdSelect
  727. {
  728. *Order: PAGE_SETUP.4
  729. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  730. + =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  731. + =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  732. }
  733. }
  734. }
  735. }
  736. *Option: ENV_B5
  737. {
  738. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  739. *PageProtectMem: 4109
  740. *InsertBlock: =PaperConstraints
  741. *Constraints: Duplex.VERTICAL
  742. *Constraints: Duplex.HORIZONTAL
  743. *switch: Orientation
  744. {
  745. *case: PORTRAIT
  746. {
  747. *PrintableArea: PAIR(7716, 11368)
  748. *PrintableOrigin: PAIR(300, 140)
  749. *CursorOrigin: PAIR(300, 140)
  750. *Command: CmdSelect
  751. {
  752. *Order: PAGE_SETUP.4
  753. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  754. + =ubyte_array =sB5Envelope =attr_ubyte =MediaSize =BeginPage
  755. + =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  756. }
  757. }
  758. *case: LANDSCAPE_CC90
  759. {
  760. *PrintableArea: PAIR(7776, 11208)
  761. *PrintableOrigin: PAIR(240, 300)
  762. *CursorOrigin: PAIR(200, 11508)
  763. *Command: CmdSelect
  764. {
  765. *Order: PAGE_SETUP.4
  766. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  767. + =ubyte_array =sB5Envelope =attr_ubyte =MediaSize =BeginPage
  768. + =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  769. }
  770. }
  771. }
  772. }
  773. *Option: CUSTOMSIZE
  774. {
  775. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1255
  776. *MinSize: PAIR(4200, 6000)
  777. *MaxSize: PAIR(10200, 16800)
  778. *MaxPrintableWidth: 10200
  779. *MinLeftMargin: 100
  780. *CenterPrintable?: FALSE
  781. *PageProtectMem: 1692
  782. *switch: Orientation
  783. {
  784. *case: PORTRAIT
  785. {
  786. *CustCursorOriginX: %d{((PhysPaperWidth - 10200) / 2) + 300 }
  787. *CustCursorOriginY: %d{140 }
  788. *CustPrintableOriginX: %d{300 }
  789. *CustPrintableOriginY: %d{300}
  790. *CustPrintableSizeX: %d{ PhysPaperWidth - 600 }
  791. *CustPrintableSizeY: %d{ PhysPaperLength - 600 }
  792. *Command: CmdSelect
  793. {
  794. *Order: PAGE_SETUP.4
  795. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  796. + =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  797. + =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  798. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  799. }
  800. }
  801. *case: LANDSCAPE_CC90
  802. {
  803. *CustCursorOriginX: %d{((PhysPaperWidth - 10200) / 2) + 200 }
  804. *CustCursorOriginY: %d{16560 }
  805. *CustPrintableOriginX: %d{200 }
  806. *CustPrintableOriginY: %d{240}
  807. *CustPrintableSizeX: %d{ PhysPaperWidth - 400 }
  808. *CustPrintableSizeY: %d{ PhysPaperLength - 480 }
  809. *Command: CmdSelect
  810. {
  811. *Order: PAGE_SETUP.4
  812. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  813. + =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  814. + =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  815. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  816. }
  817. }
  818. }
  819. }
  820. }
  821. *%%% ======================
  822. *%%% PAGE_SETUP.2
  823. *%%% BeginPage(0x43)
  824. *%%% Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  825. *%%% ubyte ubyte ubyte
  826. *%%% MediaSource
  827. *Feature: InputBin
  828. {
  829. *rcNameID: =PAPER_SOURCE_DISPLAY
  830. *DefaultOption: Option1
  831. *Option: Option1
  832. {
  833. *rcNameID: =AUTO_DISPLAY
  834. *Command: CmdSelect
  835. {
  836. *Order: PAGE_SETUP.1
  837. *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  838. }
  839. }
  840. *Option: Option2
  841. {
  842. *rcNameID: =TRAY1_DISPLAY
  843. *Command: CmdSelect
  844. {
  845. *Order: PAGE_SETUP.1
  846. *Cmd: =ubyte =eMultiPurposeTray =attr_ubyte =MediaSource
  847. }
  848. }
  849. *Option: Option3
  850. {
  851. *rcNameID: =TRAY2_DISPLAY
  852. *Command: CmdSelect
  853. {
  854. *Order: PAGE_SETUP.1
  855. *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  856. }
  857. }
  858. *Option: Option4
  859. {
  860. *rcNameID: =TRAY3_DISPLAY
  861. *Command: CmdSelect
  862. {
  863. *Order: PAGE_SETUP.1
  864. *Cmd: =ubyte =eThirdCassette =attr_ubyte =MediaSource
  865. }
  866. }
  867. *Option: Option5
  868. {
  869. *rcNameID: =TRAY4_DISPLAY
  870. *Command: CmdSelect
  871. {
  872. *Order: PAGE_SETUP.1
  873. *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  874. }
  875. }
  876. *Option: Option6
  877. {
  878. *rcNameID: =ENV_FEED_DISPLAY
  879. *Command: CmdSelect
  880. {
  881. *Order: PAGE_SETUP.1
  882. *Cmd: =ubyte =eEnvelopeTray =attr_ubyte =MediaSource
  883. }
  884. }
  885. *Option: Option7
  886. {
  887. *rcNameID: =MANUAL_FEED_DISPLAY
  888. *Command: CmdSelect
  889. {
  890. *Order: PAGE_SETUP.1
  891. *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  892. }
  893. }
  894. }
  895. *%%% ======================
  896. *%%% PAGE_SETUP.3
  897. *%%% BeginPage(0x43)
  898. *%%% Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
  899. *%%% ubyte ubyte ubyte
  900. *%%% MediaType
  901. *Feature: MediaType
  902. {
  903. *rcNameID: =MEDIA_TYPE_DISPLAY
  904. *DefaultOption: AutoSelect
  905. *Option: AutoSelect
  906. {
  907. *rcNameID: =AUTO_SELECT_DISPLAY
  908. }
  909. *Option: Plain
  910. {
  911. *rcNameID: =PLAIN_DISPLAY
  912. *Command: CmdSelect
  913. {
  914. *Order: PAGE_SETUP.3
  915. *Cmd: =ubyte_array =uint16 "<0500>" =ePlain =attr_ubyte =MediaType
  916. }
  917. }
  918. *Option: Preprinted
  919. {
  920. *rcNameID: =PREPRINTED_DISPLAY
  921. *Command: CmdSelect
  922. {
  923. *Order: PAGE_SETUP.3
  924. *Cmd: =ubyte_array =uint16 "<0a00>" =ePreprinted =attr_ubyte =MediaType
  925. }
  926. }
  927. *Option: Letterhead
  928. {
  929. *rcNameID: =LETTERHEAD_DISPLAY
  930. *Command: CmdSelect
  931. {
  932. *Order: PAGE_SETUP.3
  933. *Cmd: =ubyte_array =uint16 "<0a00>" =eLetterhead =attr_ubyte =MediaType
  934. }
  935. }
  936. *Option: Transparency
  937. {
  938. *rcNameID: =TRANSPARENCY_DISPLAY
  939. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  940. *Command: CmdSelect
  941. {
  942. *Order: PAGE_SETUP.3
  943. *Cmd: =ubyte_array =uint16 "<0c00>" =eTransparency =attr_ubyte =MediaType
  944. }
  945. }
  946. *Option: Prepunched
  947. {
  948. *rcNameID: =PREPUNCHED_DISPLAY
  949. *Command: CmdSelect
  950. {
  951. *Order: PAGE_SETUP.3
  952. *Cmd: =ubyte_array =uint16 "<0a00>" =ePrepunched =attr_ubyte =MediaType
  953. }
  954. }
  955. *Option: Labels
  956. {
  957. *rcNameID: =LABELS_DISPLAY
  958. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  959. *Command: CmdSelect
  960. {
  961. *Order: PAGE_SETUP.3
  962. *Cmd: =ubyte_array =uint16 "<0600>" =eLabels =attr_ubyte =MediaType
  963. }
  964. }
  965. *Option: Bond
  966. {
  967. *rcNameID: =BOND_DISPLAY
  968. *Command: CmdSelect
  969. {
  970. *Order: PAGE_SETUP.3
  971. *Cmd: =ubyte_array =uint16 "<0400>" =eBond =attr_ubyte =MediaType
  972. }
  973. }
  974. *Option: Recycled
  975. {
  976. *rcNameID: =RECYCLED_DISPLAY
  977. *Command: CmdSelect
  978. {
  979. *Order: PAGE_SETUP.3
  980. *Cmd: =ubyte_array =uint16 "<0800>" =eRecycled =attr_ubyte =MediaType
  981. }
  982. }
  983. *Option: Color
  984. {
  985. *rcNameID: =COLOR_DISPLAY
  986. *Command: CmdSelect
  987. {
  988. *Order: PAGE_SETUP.3
  989. *Cmd: =ubyte_array =uint16 "<0500>" =eColor =attr_ubyte =MediaType
  990. }
  991. }
  992. *Option: CardStock
  993. {
  994. *rcNameID: =CARDSTOCK_DISPLAY
  995. *Command: CmdSelect
  996. {
  997. *Order: PAGE_SETUP.3
  998. *Cmd: =ubyte_array =uint16 "<0a00>" =eCardstock =attr_ubyte =MediaType
  999. }
  1000. }
  1001. *Option: Rough
  1002. {
  1003. *rcNameID: =ROUGH_DISPLAY
  1004. *Command: CmdSelect
  1005. {
  1006. *Order: PAGE_SETUP.3
  1007. *Cmd: =ubyte_array =uint16 "<0500>" =eRough =attr_ubyte =MediaType
  1008. }
  1009. }
  1010. }
  1011. *%%% ======================
  1012. *%%% PAGE_SETUP.3
  1013. *%%% DuplexPageMode(53(0x35))
  1014. *Feature: Duplex
  1015. {
  1016. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1017. *DefaultOption: NONE
  1018. *Option: NONE
  1019. {
  1020. *rcNameID: =NONE_DISPLAY
  1021. *Command: CmdSelect
  1022. {
  1023. *Order: JOB_SETUP.6
  1024. *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  1025. }
  1026. }
  1027. *Option: VERTICAL
  1028. {
  1029. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1030. *Command: CmdSelect
  1031. {
  1032. *Order: JOB_SETUP.6
  1033. *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  1034. }
  1035. }
  1036. *Option: HORIZONTAL
  1037. {
  1038. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1039. *Command: CmdSelect
  1040. {
  1041. *Order: JOB_SETUP.6
  1042. *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  1043. }
  1044. }
  1045. }
  1046. *%%% ======================
  1047. *%%% PAGE_SETUP.4
  1048. *%%% SetPageOrigin
  1049. *%%% PageOrigin
  1050. *%%% SetPageScale
  1051. *Command: CmdStartPage
  1052. {
  1053. *Order: PAGE_SETUP.5
  1054. *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  1055. + =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  1056. }
  1057. *%%% ======================
  1058. *%%% PAGE_SETUP.5
  1059. *%%% Feature
  1060. *%%% Dither
  1061. *Feature: Dither
  1062. {
  1063. *rcNameID: =DITHER_QUALITY_DISPLAY
  1064. *DefaultOption: HIQUALITY
  1065. *Option: HIQUALITY
  1066. {
  1067. *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  1068. *Command: CmdSelect
  1069. {
  1070. *Order: PAGE_SETUP.5
  1071. *Cmd:
  1072. + =ubyte "<00>" =attr_ubyte =DitherMatrixDataType
  1073. + =uint16_xy "<10001000>" =attr_ubyte =DitherMatrixSize
  1074. + =ubyte "<02>" =attr_ubyte =DitherMatrixDepth
  1075. + =SetHalftoneMethod
  1076. + =dataLength "<00010000>"
  1077. + "<42786A3C2B1B1E2E4175673A2A1A1D2D>"
  1078. + "<88FDE8531703042484F8E35116030424>"
  1079. + "<99FFD45E1302072195FFCE5B12010721>"
  1080. + "<4ABFAB36280B0F3248BAA735270A0E31>"
  1081. + "<28171B2B3D6C5F3729191C2C3F716439>"
  1082. + "<130203227AEBD64B1502032380F3DE4E>"
  1083. + "<0F01051F8AFFC2551101062090FFC958>"
  1084. + "<2525080B2F43AE9B3226090D3046B5A234>"
  1085. + "<4073653A29191D2D4276693B2A1A1E2E>"
  1086. + "<82F5E1501502042386FAE65216030424>"
  1087. + "<92FFCC5A1101062097FFD15D12020721>"
  1088. + "<47B8A435260A0D3049BDA936270A0E31>"
  1089. + "<29181C2C3E6F623828181C2B3D6E6138>"
  1090. + "<140203237EF0DB4D140203227CEED94C>"
  1091. + "<1001051F8EFFC7571001051F8CFFC456>"
  1092. + "<26090C2F45B3A0342525080C2F44B09D33>"
  1093. }
  1094. }
  1095. *Option: LOQUALITY
  1096. {
  1097. *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  1098. }
  1099. }
  1100. *%%% ======================
  1101. *%%% Feature
  1102. *%%% Memory
  1103. *Feature: Memory
  1104. {
  1105. *rcNameID: =PRINTER_MEMORY_DISPLAY
  1106. *DefaultOption: 4MB
  1107. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1108. *% Max memory 96 (+4 on board) = 100
  1109. *MemConfigMB: PAIR(4, 3)
  1110. *MemConfigMB: PAIR(8, 7)
  1111. *MemConfigMB: PAIR(12, 10)
  1112. *MemConfigMB: PAIR(16, 13)
  1113. *MemConfigMB: PAIR(20, 17)
  1114. *MemConfigMB: PAIR(24, 21)
  1115. *MemConfigMB: PAIR(28, 24)
  1116. *MemConfigMB: PAIR(32, 28)
  1117. *MemConfigMB: PAIR(36, 31)
  1118. *MemConfigMB: PAIR(40, 35)
  1119. *MemConfigMB: PAIR(44, 39)
  1120. *MemConfigMB: PAIR(48, 42)
  1121. *MemConfigMB: PAIR(52, 46)
  1122. *MemConfigMB: PAIR(56, 49)
  1123. *MemConfigMB: PAIR(60, 52)
  1124. *MemConfigMB: PAIR(68, 59)
  1125. *MemConfigMB: PAIR(72, 64)
  1126. *MemConfigMB: PAIR(76, 67)
  1127. *MemConfigMB: PAIR(84, 75)
  1128. *MemConfigMB: PAIR(100, 89)
  1129. }
  1130. *%%% ======================
  1131. *%%% Device fonts
  1132. *%%% ======================
  1133. *DefaultFont: =RC_FONT_COURIERR
  1134. *DefaultCTT: 0
  1135. *DeviceFonts: LIST(
  1136. + =RC_FONT_ALBERTR,
  1137. + =RC_FONT_ALBERTX,
  1138. + =RC_FONT_AOLIVEB,
  1139. + =RC_FONT_AOLIVEI,
  1140. + =RC_FONT_AOLIVER,
  1141. + =RC_FONT_ARIALB,
  1142. + =RC_FONT_ARIALI,
  1143. + =RC_FONT_ARIALJ,
  1144. + =RC_FONT_ARIALR,
  1145. + =RC_FONT_CGOMEGAB,
  1146. + =RC_FONT_CGOMEGAI,
  1147. + =RC_FONT_CGOMEGAJ,
  1148. + =RC_FONT_CGOMEGAR,
  1149. + =RC_FONT_CGTIMESB,
  1150. + =RC_FONT_CGTIMESI,
  1151. + =RC_FONT_CGTIMESJ,
  1152. + =RC_FONT_CGTIMESR,
  1153. + =RC_FONT_CLARCD,
  1154. + =RC_FONT_CORONETR,
  1155. + =RC_FONT_COURIERB,
  1156. + =RC_FONT_COURIERI,
  1157. + =RC_FONT_COURIERJ,
  1158. + =RC_FONT_COURIERR,
  1159. + =RC_FONT_GARMONDB,
  1160. + =RC_FONT_GARMONDI,
  1161. + =RC_FONT_GARMONDJ,
  1162. + =RC_FONT_GARMONDR,
  1163. + =RC_FONT_LETGOTHB,
  1164. + =RC_FONT_LETGOTHI,
  1165. + =RC_FONT_LETGOTHR,
  1166. + =RC_FONT_MARGOLDR,
  1167. + =RC_FONT_TIMESNRB,
  1168. + =RC_FONT_TIMESNRI,
  1169. + =RC_FONT_TIMESNRJ,
  1170. + =RC_FONT_TIMESNRR,
  1171. + =RC_FONT_UNIVERCB,
  1172. + =RC_FONT_UNIVERCI,
  1173. + =RC_FONT_UNIVERCJ,
  1174. + =RC_FONT_UNIVERCR,
  1175. + =RC_FONT_UNIVERSA,
  1176. + =RC_FONT_UNIVERSB,
  1177. + =RC_FONT_UNIVERSC,
  1178. + =RC_FONT_UNIVERSD,
  1179. + =RC_FONT_UNIVERSE,
  1180. + =RC_FONT_UNIVERSI,
  1181. + =RC_FONT_UNIVERSJ,
  1182. + =RC_FONT_UNIVERSR,
  1183. + =RC_FONT_WINGDINGS,
  1184. + =RC_FONT_SYMBOL)
  1185. *% TT font Substituition table for our device fonts
  1186. *% Arial and TNR are substituted in ttfsub.gpd
  1187. *TTFS: AlbertusM
  1188. {
  1189. *TTFontName: "Albertus Medium"
  1190. *DevFontName: "Albertus Medium"
  1191. }
  1192. *TTFS: AlbertusX
  1193. {
  1194. *TTFontName: "Albertus Extra Bold"
  1195. *DevFontName: "Albertus Extra Bold"
  1196. }
  1197. *TTFS: AntiqueOlive
  1198. {
  1199. *TTFontName: "Antique Olive"
  1200. *DevFontName: "Antique Olive"
  1201. }
  1202. *TTFS: CGOmega
  1203. {
  1204. *TTFontName: "CG Omega"
  1205. *DevFontName: "CG Omega"
  1206. }
  1207. *TTFS: CGTimes
  1208. {
  1209. *TTFontName: "CG Times"
  1210. *DevFontName: "CG Times"
  1211. }
  1212. *TTFS: ClarendonCD
  1213. {
  1214. *TTFontName: "Clarendon Condensed Bold"
  1215. *DevFontName: "Clarendon Condensed"
  1216. }
  1217. *TTFS: Coronet
  1218. {
  1219. *TTFontName: "Coronet"
  1220. *DevFontName: "Coronet"
  1221. }
  1222. *TTFS: Garamond
  1223. {
  1224. *TTFontName: "Garamond"
  1225. *DevFontName: "Garamond"
  1226. }
  1227. *TTFS: LetterGothic
  1228. {
  1229. *TTFontName: "Letter Gothic"
  1230. *DevFontName: "Letter Gothic"
  1231. }
  1232. *TTFS: Marigold
  1233. {
  1234. *TTFontName: "Marigold"
  1235. *DevFontName: "Marigold"
  1236. }
  1237. *TTFS: Univers
  1238. {
  1239. *TTFontName: "Univers Medium"
  1240. *DevFontName: "Univers"
  1241. }
  1242. *TTFS: UniversCD
  1243. {
  1244. *TTFontName: "Univers Condensed Medium"
  1245. *DevFontName: "Univers Condensed"
  1246. }
  1247. *TTFS: CourierNew
  1248. {
  1249. *TTFontName: "Courier New"
  1250. *DevFontName: "Courier New"
  1251. }
  1252. *% These 4 fonts need to be substituted to match the name that applications use to select the font. For
  1253. *% some reason the names are different.
  1254. *TTFS: ClarendonCD1
  1255. {
  1256. *TTFontName: "Clarendon Condensed"
  1257. *DevFontName: "Clarendon Condensed"
  1258. }
  1259. *TTFS: Univers1
  1260. {
  1261. *TTFontName: "Univers"
  1262. *DevFontName: "Univers"
  1263. }
  1264. *TTFS: UniversCD1
  1265. {
  1266. *TTFontName: "Univers Condensed"
  1267. *DevFontName: "Univers Condensed"
  1268. }
  1269. *%% =======================
  1270. *%% Optional Input Trays
  1271. *%% =======================
  1272. *Feature: TRAY3
  1273. {
  1274. *rcNameID: =TRAY3_DISPLAY
  1275. *FeatureType: PRINTER_PROPERTY
  1276. *DefaultOption: FALSE
  1277. *Option: FALSE
  1278. {
  1279. *rcNameID: =NOT_INSTALLED_DISPLAY
  1280. }
  1281. *Option: TRUE
  1282. {
  1283. *rcNameID: =INSTALLED_DISPLAY
  1284. }
  1285. }
  1286. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  1287. *Feature: TRAY4
  1288. {
  1289. *rcNameID: =TRAY4_DISPLAY
  1290. *FeatureType: PRINTER_PROPERTY
  1291. *DefaultOption: FALSE
  1292. *Option: FALSE
  1293. {
  1294. *rcNameID: =NOT_INSTALLED_DISPLAY
  1295. }
  1296. *Option: TRUE
  1297. {
  1298. *rcNameID: =INSTALLED_DISPLAY
  1299. }
  1300. }
  1301. *InvalidCombination: LIST(TRAY4.FALSE,InputBin.Option5)
  1302. *InvalidCombination: LIST(TRAY4.TRUE,TRAY3.FALSE)
  1303. *Feature: EnvFeeder
  1304. {
  1305. *rcNameID: =ENV_FEED_DISPLAY
  1306. *FeatureType: PRINTER_PROPERTY
  1307. *DefaultOption: FALSE
  1308. *Option: FALSE
  1309. {
  1310. *rcNameID: =NOT_INSTALLED_DISPLAY
  1311. }
  1312. *Option: TRUE
  1313. {
  1314. *rcNameID: =INSTALLED_DISPLAY
  1315. }
  1316. }
  1317. *InvalidCombination: LIST(EnvFeeder.FALSE,InputBin.Option6)
  1318. *%% =======================
  1319. *%% Optional Duplex Unit
  1320. *%% =======================
  1321. *Feature: DuplexUnit
  1322. {
  1323. *FeatureType: PRINTER_PROPERTY
  1324. *rcNameID: =DUPLEX_UNIT_DISPLAY
  1325. *DefaultOption: NotInstalled
  1326. *Option: NotInstalled
  1327. {
  1328. *rcNameID: =NOT_INSTALLED_DISPLAY
  1329. *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1330. *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1331. }
  1332. *Option: Installed
  1333. {
  1334. *rcNameID: =INSTALLED_DISPLAY
  1335. }
  1336. }
  1337. *%% =======================
  1338. *%% Optional Hard Disk
  1339. *%% =======================
  1340. *Feature: PrinterHardDisk
  1341. {
  1342. *rcNameID: =PRINTER_HARDDISK_DISPLAY
  1343. *FeatureType: PRINTER_PROPERTY
  1344. *DefaultOption: FALSE
  1345. *Option: FALSE
  1346. {
  1347. *rcNameID: =NOT_INSTALLED_DISPLAY
  1348. *DisabledFeatures: LIST(Collate)
  1349. }
  1350. *Option: TRUE
  1351. {
  1352. *rcNameID: =INSTALLED_DISPLAY
  1353. }
  1354. }
  1355. *%%% ======================
  1356. *%%% PCL XL GPD file main
  1357. *%%% ======================
  1358. *%%% ======================
  1359. *%%% Global Entries
  1360. *%%% Attributes
  1361. *%%% ======================
  1362. *MasterUnits: PAIR(1200, 1200)
  1363. *CodePage: 1252
  1364. *ResourceDLL: "pclxl.dll"
  1365. *PrinterType: PAGE
  1366. *Personality: =PERSONALITY_PCLXL
  1367. *rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1368. *%%% *rcPrinterIconID:
  1369. *%%% *HelpFile:
  1370. *%%% ======================
  1371. *%%% Printing attributes
  1372. *%%% ======================
  1373. *RotateCoordinate?: TRUE
  1374. *RotateRaster?: TRUE
  1375. *RotateFont?: TRUE
  1376. *EjectPageWithFF?: FALSE
  1377. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1378. *MemoryUsage: LIST(FONT)
  1379. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1380. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1381. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1382. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1383. *XMoveThreshold: 0
  1384. *YMoveThreshold: 0
  1385. *XMoveUnit: 1200
  1386. *YMoveUnit: 1200
  1387. *%%% *MinGrayFill: 1
  1388. *%%% *MaxGrayFill: 100
  1389. *%%% *OutputDataFormat: H_BYTE
  1390. *%%% *OptimizeLeftBound?: TRUE
  1391. *%%% ======================
  1392. *%%% TrueType fonts
  1393. *%%% ======================
  1394. *Feature: TrueTypeFormat
  1395. {
  1396. *rcNameID: =TRUETYPE_FORMAT
  1397. *DefaultOption: OUTLINE
  1398. *Option: OUTLINE
  1399. {
  1400. *rcNameID: =TRUETYPE_OUTLINE
  1401. }
  1402. *Option: BITMAP
  1403. {
  1404. *rcNameID: =TRUETYPE_BITMAP
  1405. }
  1406. *Option: GRAPHICS
  1407. {
  1408. *rcNameID: =TRUETYPE_GRAPHICS
  1409. }
  1410. }
  1411. *switch: TrueTypeFormat
  1412. {
  1413. *case: OUTLINE
  1414. {
  1415. *FontFormat: HPPCL_OUTLINE
  1416. }
  1417. *case: BITMAP
  1418. {
  1419. *FontFormat: HPPCL
  1420. }
  1421. *case: GRAPHICS
  1422. {
  1423. }
  1424. }
  1425. *CharPosition: BASELINE
  1426. *TTFSEnabled?: TRUE
  1427. *MinFontID: 1
  1428. *MaxFontID: 65535
  1429. *MinGlyphID: 1
  1430. *MaxGlyphID: 1000
  1431. *%%% ======================
  1432. *%%% Cursor commands
  1433. *%%% ======================
  1434. *Command: CmdCR { *Cmd: "" }
  1435. *Command: CmdLF { *Cmd: "" }
  1436. *Command: CmdFF { *Cmd: "" }
  1437. *%%% SetCursor(0x6b)
  1438. *%%% Point(76(0x40c)) uint_16
  1439. *%%% SetCursorRel(0x6c)
  1440. *%%% Point(76(0x40c)) uint_16
  1441. *Command: CmdXMoveAbsolute
  1442. {
  1443. *Cmd: ""
  1444. }
  1445. *Command: CmdXMoveRelRight
  1446. {
  1447. *Cmd: ""
  1448. *Params: LIST(DestXRel, TextXRes)
  1449. }
  1450. *Command: CmdXMoveRelLeft
  1451. {
  1452. *Cmd: ""
  1453. *Params: LIST(DestXRel, TextXRes)
  1454. }
  1455. *Command: CmdYMoveAbsolute
  1456. {
  1457. *Cmd: ""
  1458. *Params: LIST(DestY, TextYRes)
  1459. }
  1460. *Command: CmdYMoveRelDown
  1461. {
  1462. *Cmd: ""
  1463. *Params: LIST(DestYRel, TextYRes)
  1464. }
  1465. *Command: CmdYMoveRelUp
  1466. {
  1467. *Cmd: ""
  1468. *Params: LIST(DestYRel, TextYRes)
  1469. }
  1470. *%%% *Command: CmdPushCursor
  1471. *%%% *Command: CmdPopCursor
  1472. *%%% =======================
  1473. *%%% Font commands
  1474. *%%% =======================
  1475. *Command: CmdSetFontID { *Cmd : "" }
  1476. *Command: CmdSelectFontID
  1477. {
  1478. *Cmd: ""
  1479. *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1480. }
  1481. *Command: CmdSetCharCode
  1482. {
  1483. *Cmd : ""
  1484. }
  1485. *Command: CmdBoldOn
  1486. {
  1487. *Cmd : ""
  1488. }
  1489. *Command: CmdBoldOff
  1490. {
  1491. *Cmd : ""
  1492. }
  1493. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1494. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1495. *%%% *Command: CmdWhiteTextOn:
  1496. *%%% *Command: CmdWhiteTextOff:
  1497. *%%% *Command: CmdSelectSingleByteMode:
  1498. *%%% *Command: CmdSelectDoubleByteMode:
  1499. *Command: CmdSetAnyRotation
  1500. {
  1501. *Cmd: ""
  1502. *Params: LIST(PrintDirInCCDegrees)
  1503. }
  1504. *Command: CmdSetSimpleRotation
  1505. {
  1506. *Cmd: ""
  1507. *Params: LIST(PrintDirInCCDegrees)
  1508. }