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.

1484 lines
41 KiB

  1. *%%
  2. *%% HP LaserJet 2100 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: "HPLJ21P6.GPD"
  21. *ModelName: "HP LaserJet 2100 PCL6"
  22. *MaxCopies: 32767
  23. *PrintRate: 10
  24. *PrintRatePPM: 10
  25. *PrintRateUnit: PPM
  26. *MasterUnits: PAIR(1200, 1200)
  27. *CodePage: 1252
  28. *ResourceDLL: "pclxl.dll"
  29. *PrinterType: PAGE
  30. *Personality: =PERSONALITY_PCLXL
  31. *%%% ======================
  32. *%%% Macros
  33. *%%% ======================
  34. *Include: "pjl.gpd"
  35. *Include: "p6font.gpd"
  36. *Include: "p6disp.gpd"
  37. *%%% ======================
  38. *%%% Main
  39. *%%% ======================
  40. *Include: "pclxl.gpd"
  41. *%%% ======================
  42. *%%% DOC_SETUP, PAGE_FINISH
  43. *%%% , JOB_FINISH
  44. *%%% ======================
  45. *Macros: PCLXLCommand
  46. {
  47. *%%% ---------------------------------------------------------------------------
  48. *%%% PCL XL Stream Header
  49. *%%% ---------------------------------------------------------------------------
  50. PCLXL_StreamHeader: ") HP-PCL XL;2;0;"
  51. + "Comment Copyright(c) 1999 Microsoft Corporation<0A>"
  52. PCLXL_OpenDataSource: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
  53. *%%% ---------------------------------------------------------------------------
  54. *%%% BeginSession
  55. *%%% Measure(ubyte) & UnitsPerMeasure(uint16_xy) & {ErrorReport(ubyte)}
  56. *%%% ---------------------------------------------------------------------------
  57. PCLXL_BeginSession1200: =uint16_xy "<b004b004>" =attr_ubyte =UnitsPerMeasure =ubyte
  58. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  59. PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte
  60. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  61. PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte
  62. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  63. Width: %m{ RasterDataWidthInBytes }
  64. Height: %m{ RasterDataHeightInPixels }
  65. DataSize: %l{ NumOfDataBytes }
  66. FntHeight: %l{ FontHeight*600/TextYRes }
  67. FntNextGlyph: %l{ NextGlyph }
  68. *%%% ---------------------------------------------------------------------------
  69. *%%% BeginRaster
  70. *%%% ColorDepth(ubyte) & ColorMapping(ubyte) & SourceWidth(uint16) &
  71. *%%% SourceWidth(uint16) & SourceHeight(uint16)
  72. *%%% ---------------------------------------------------------------------------
  73. PCLXL_CmdBeginRaster: =ubyte =e1Bit =attr_ubyte =ColorDepth
  74. + =ubyte =eDirectPixel =attr_ubyte =ColorMapping
  75. + =uint16 =Width =attr_ubyte =SourceWidth
  76. + =uint16 =Height =attr_ubyte =SourceHeight
  77. + =uint16_xy =Width =Height =attr_ubyte =DestinationSize
  78. + =BeginImage
  79. + =ubyte =eNoCompression =attr_ubyte =CompressMode
  80. + =ubyte "<00>" =attr_ubyte =StartLine
  81. + =uint16 =Height =attr_ubyte =BlockHeight
  82. + =ReadImage
  83. PCLXL_CmdSendBlockData: =dataLength =DataSize "<0000>"
  84. DestinationX: %l{DestX}
  85. DestinationY: %l{DestY}
  86. DestinationXRel: %l{DestYRel}
  87. DestinationYRel: %l{DestXRel}
  88. NumOfCopy: %l{NumOfCopies}
  89. PrintDir: %l{PrintDirInCCDegrees}
  90. FntName: =ubyte_array =uint16 "<1000>" "MS PCLXLFont " %3d{CurrentFontID}
  91. }
  92. *%%% ======================
  93. *%%% Features and Options
  94. *%%% ======================
  95. *%% Optional Tray 3
  96. *Feature: TRAY3
  97. {
  98. *rcNameID: =TRAY3_DISPLAY
  99. *FeatureType: PRINTER_PROPERTY
  100. *DefaultOption: FALSE
  101. *Option: FALSE
  102. {
  103. *rcNameID: =NOT_INSTALLED_DISPLAY
  104. *Constraints: LIST(InputBin.Option5)
  105. }
  106. *Option: TRUE
  107. {
  108. *rcNameID: =INSTALLED_DISPLAY
  109. }
  110. }
  111. *Command: CmdStartJob
  112. {
  113. *Order: JOB_SETUP.1
  114. *Cmd: =PJL_STARTJOB =PJL_COMMENT
  115. }
  116. *Feature: ColorMode
  117. {
  118. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  119. *DefaultOption: 24bpp
  120. *Option: Mono
  121. {
  122. *rcNameID: =MONO_DISPLAY
  123. *DevNumOfPlanes: 1
  124. *DevBPP: 1
  125. *Color? : FALSE
  126. }
  127. *Option: 24bpp
  128. {
  129. *rcNameID: =24BPP_DISPLAY
  130. *DevNumOfPlanes: 1
  131. *DevBPP: 24
  132. *DrvBPP: 24
  133. *PaletteSize: 256
  134. *PaletteProgrammable? : TRUE
  135. *Command: CmdDefinePaletteEntry { "" }
  136. }
  137. }
  138. *%%% ======================
  139. *%%% DOC_SETUP
  140. *%%% ======================
  141. *%%% ======================
  142. *%%% DOC_SETUP.1
  143. *%%% START PLJ JOB
  144. *%%% PAGEPROTECT
  145. *%%% TIMEOUT
  146. *Feature: PageProtect
  147. {
  148. *rcNameID: =PAGE_PROTECTION_DISPLAY
  149. *DefaultOption: OFF
  150. *Option: ON
  151. {
  152. *rcNameID: =ON_DISPLAY
  153. *Command: CmdSelect
  154. {
  155. *Order: JOB_SETUP.2
  156. *Cmd: =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  157. }
  158. }
  159. *Option: OFF
  160. {
  161. *rcNameID: =OFF_DISPLAY
  162. *Command: CmdSelect
  163. {
  164. *Order: JOB_SETUP.2
  165. *Cmd: =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  166. }
  167. }
  168. }
  169. *%%% ======================
  170. *%%% DOC_SETUP.2
  171. *%%% ECONOMODE
  172. *Feature: Economode
  173. {
  174. *rcNameID: =ECONOMODE_DISPLAY
  175. *DefaultOption: Option1
  176. *Option: Option1
  177. {
  178. *rcNameID: =ECONOMODE_DEFAULT_DISPLAY
  179. }
  180. *Option: Option2
  181. {
  182. *rcNameID: =ECONOMODE_OFF_DISPLAY
  183. *Command: CmdSelect
  184. {
  185. *Order: JOB_SETUP.3
  186. *Cmd: =PJL_ECONOMODE_OFF
  187. }
  188. }
  189. *Option: Option3
  190. {
  191. *rcNameID: =ECONOMODE_ON_DISPLAY
  192. *Command: CmdSelect
  193. {
  194. *Order: JOB_SETUP.3
  195. *Cmd: =PJL_ECONOMODE_ON
  196. }
  197. }
  198. }
  199. *%%% ======================
  200. *%%% DOC_SETUP.3
  201. *%%% RET
  202. *Feature: RET
  203. {
  204. *rcNameID: =PRINT_QUALITY
  205. *DefaultOption: Option1
  206. *Option: Option1
  207. {
  208. *rcNameID: =PRINT_QUALITY_DEFAULT
  209. }
  210. *Option: Option2
  211. {
  212. *rcNameID: =PRINT_QUALITY_LIGHT
  213. *Command: CmdSelect
  214. {
  215. *Order: JOB_SETUP.4
  216. *Cmd: =PJL_RET_LIGHT
  217. }
  218. }
  219. *Option: Option3
  220. {
  221. *rcNameID: =PRINT_QUALITY_MEDIUM
  222. *Command: CmdSelect
  223. {
  224. *Order: JOB_SETUP.4
  225. *Cmd: =PJL_RET_MEDIUM
  226. }
  227. }
  228. *Option: Option4
  229. {
  230. *rcNameID: =PRINT_QUALITY_DARK
  231. *Command: CmdSelect
  232. {
  233. *Order: JOB_SETUP.4
  234. *Cmd: =PJL_RET_DARK
  235. }
  236. }
  237. *Option: Option5
  238. {
  239. *rcNameID: =PRINT_QUALITY_OFF
  240. *Command: CmdSelect
  241. {
  242. *Order: JOB_SETUP.4
  243. *Cmd: =PJL_RET_OFF
  244. }
  245. }
  246. }
  247. *%%% ======================
  248. *%%% DOC_SETUP.4
  249. *%%% RESOLUTION
  250. *%%% ENTER LANGUAGE=PCLXL
  251. *%%% PCL XL Stream Header
  252. *%%% BeginSession
  253. *%%% CmdEndRaster
  254. *%%% EndImage
  255. *%%% CmdSendBlockData
  256. *%%% EndImage
  257. *Feature: Resolution
  258. {
  259. *rcNameID: =RESOLUTION_DISPLAY
  260. *DefaultOption: Option2
  261. *Option: Option1
  262. {
  263. *Name: "1200 x 1200 " =DOTS_PER_INCH
  264. *DPI: PAIR(1200, 1200)
  265. *TextDPI: PAIR(1200, 1200)
  266. *MinStripBlankPixels: 32
  267. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING, ENCLOSED,TRAILING)
  268. *SpotDiameter: 120
  269. *Command: CmdBeginRaster
  270. {
  271. *Cmd : =PCLXL_CmdBeginRaster
  272. }
  273. *Command: CmdSendBlockData
  274. {
  275. *Cmd : =PCLXL_CmdBeginRaster =PCLXL_CmdSendBlockData
  276. }
  277. *% EndImage(0xb2)
  278. *%
  279. *Command: CmdEndBlockData { *Cmd : =EndImage}
  280. *Command: CmdSelect
  281. {
  282. *Order: JOB_SETUP.5
  283. *Cmd: =PJL_RESOLUTION_1200 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession1200 =PCLXL_OpenDataSource
  284. }
  285. }
  286. *Option: Option2
  287. {
  288. *Name: "600 x 600 " =DOTS_PER_INCH
  289. *DPI: PAIR(600, 600)
  290. *TextDPI: PAIR(600, 600)
  291. *MinStripBlankPixels: 32
  292. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  293. *SpotDiameter: 100
  294. *Command: CmdBeginRaster
  295. {
  296. *Cmd : =PCLXL_CmdBeginRaster
  297. }
  298. *Command: CmdEndRaster { *Cmd : =EndImage }
  299. *Command: CmdSendBlockData
  300. {
  301. *Cmd: =PCLXL_CmdSendBlockData
  302. }
  303. *Command: CmdSelect
  304. {
  305. *Order: JOB_SETUP.5
  306. *Cmd: =PJL_RESOLUTION_600 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600 =PCLXL_OpenDataSource
  307. }
  308. }
  309. *Option: Option3
  310. {
  311. *Name: "300 x 300 " =DOTS_PER_INCH
  312. *DPI: PAIR(300, 300)
  313. *TextDPI: PAIR(300, 300)
  314. *MinStripBlankPixels: 32
  315. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  316. *SpotDiameter: 100
  317. *Command: CmdBeginRaster
  318. {
  319. *Cmd : =PCLXL_CmdBeginRaster
  320. }
  321. *Command: CmdEndRaster { *Cmd : =EndImage }
  322. *Command: CmdSendBlockData
  323. {
  324. *Cmd: =PCLXL_CmdSendBlockData
  325. }
  326. *Command: CmdSelect
  327. {
  328. *Order: JOB_SETUP.5
  329. *Cmd: =PJL_RESOLUTION_300 =PJL_BITSPERPIXEL_2 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300 =PCLXL_OpenDataSource
  330. }
  331. }
  332. }
  333. *Feature: Orientation
  334. {
  335. *rcNameID: =ORIENTATION_DISPLAY
  336. *DefaultOption: PORTRAIT
  337. *Option: PORTRAIT
  338. {
  339. *rcNameID: =PORTRAIT_DISPLAY
  340. }
  341. *Option: LANDSCAPE_CC90
  342. {
  343. *rcNameID: =LANDSCAPE_DISPLAY
  344. }
  345. }
  346. *%%% ======================
  347. *%%% PAGE_SETUP
  348. *%%% ======================
  349. *%%% ======================
  350. *%%% PAGE_SETUP.1
  351. *%%% BeginPage(0x43)
  352. *%%% Orientation(40), MediaSize(37), MediaSource(38)
  353. *%%% ubyte ubyte ubyte
  354. *Feature: PaperSize
  355. {
  356. *rcNameID: =PAPER_SIZE_DISPLAY
  357. *DefaultOption: LETTER
  358. *Option: A5
  359. {
  360. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
  361. *PageProtectMem: 2125
  362. *switch: Orientation
  363. {
  364. *case: PORTRAIT
  365. {
  366. *PrintableArea: PAIR(6396, 9372)
  367. *PrintableOrigin: PAIR(300, 300)
  368. *CursorOrigin: PAIR(300, 160)
  369. *Command: CmdSelect
  370. {
  371. *Order: PAGE_SETUP.3
  372. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  373. + =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
  374. + =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  375. }
  376. }
  377. *case: LANDSCAPE_CC90
  378. {
  379. *PrintableArea: PAIR(6396, 9324)
  380. *PrintableOrigin: PAIR(300, 300)
  381. *CursorOrigin: PAIR(260, 9624)
  382. *Command: CmdSelect
  383. {
  384. *Order: PAGE_SETUP.3
  385. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  386. + =ubyte_array =sA5Paper =attr_ubyte =MediaSize =BeginPage
  387. + =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  388. }
  389. }
  390. }
  391. }
  392. *Option: LETTER
  393. {
  394. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% rcid 1000
  395. *PageProtectMem: 4109
  396. *switch: Orientation
  397. {
  398. *case: PORTRAIT
  399. {
  400. *PrintableArea: PAIR(9600, 12600)
  401. *PrintableOrigin: PAIR(300, 300)
  402. *CursorOrigin: PAIR(300, 160)
  403. *Command: CmdSelect
  404. {
  405. *Order: PAGE_SETUP.3
  406. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  407. + =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
  408. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  409. }
  410. }
  411. *case: LANDSCAPE_CC90
  412. {
  413. *PrintableArea: PAIR(9760, 12600)
  414. *PrintableOrigin: PAIR(200, 300)
  415. *CursorOrigin: PAIR(200, 12900)
  416. *Command: CmdSelect
  417. {
  418. *Order: PAGE_SETUP.3
  419. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  420. + =ubyte_array =sLetterPaper =attr_ubyte =MediaSize =BeginPage
  421. + =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  422. }
  423. }
  424. }
  425. }
  426. *Option: LEGAL
  427. {
  428. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  429. *PageProtectMem: 5230
  430. *switch: Orientation
  431. {
  432. *case: PORTRAIT
  433. {
  434. *PrintableArea: PAIR(9600, 16200)
  435. *PrintableOrigin: PAIR(300, 300)
  436. *CursorOrigin: PAIR(300, 160)
  437. *Command: CmdSelect
  438. {
  439. *Order: PAGE_SETUP.3
  440. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  441. + =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
  442. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  443. }
  444. }
  445. *case: LANDSCAPE_CC90
  446. {
  447. *PrintableArea: PAIR(9760, 16200)
  448. *PrintableOrigin: PAIR(200, 300)
  449. *CursorOrigin: PAIR(200, 16500)
  450. *Command: CmdSelect
  451. {
  452. *Order: PAGE_SETUP.3
  453. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  454. + =ubyte_array =sLegalPaper =attr_ubyte =MediaSize =BeginPage
  455. + =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  456. }
  457. }
  458. }
  459. }
  460. *Option: EXECUTIVE
  461. {
  462. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  463. *PageProtectMem: 4109
  464. *switch: Orientation
  465. {
  466. *case: PORTRAIT
  467. {
  468. *PrintableArea: PAIR(8100, 12000)
  469. *PrintableOrigin: PAIR(300, 300)
  470. *CursorOrigin: PAIR(300, 160)
  471. *Command: CmdSelect
  472. {
  473. *Order: PAGE_SETUP.3
  474. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  475. + =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
  476. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  477. }
  478. }
  479. *case: LANDSCAPE_CC90
  480. {
  481. *PrintableArea: PAIR(8180, 12000)
  482. *PrintableOrigin: PAIR(220, 300)
  483. *CursorOrigin: PAIR(200, 12300)
  484. *Command: CmdSelect
  485. {
  486. *Order: PAGE_SETUP.3
  487. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  488. + =ubyte_array =sExecPaper =attr_ubyte =MediaSize =BeginPage
  489. + =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  490. }
  491. }
  492. }
  493. }
  494. *Option: A4
  495. {
  496. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1008
  497. *PageProtectMem: 4249
  498. *switch: Orientation
  499. {
  500. *case: PORTRAIT
  501. {
  502. *PrintableArea: PAIR(9352, 13400)
  503. *PrintableOrigin: PAIR(260, 300)
  504. *CursorOrigin: PAIR(260, 160)
  505. *Command: CmdSelect
  506. {
  507. *Order: PAGE_SETUP.3
  508. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  509. + =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
  510. + =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  511. }
  512. }
  513. *case: LANDSCAPE_CC90
  514. {
  515. *PrintableArea: PAIR(9424, 13428)
  516. *PrintableOrigin: PAIR(200, 300)
  517. *CursorOrigin: PAIR(200, 13728)
  518. *Command: CmdSelect
  519. {
  520. *Order: PAGE_SETUP.3
  521. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  522. + =ubyte_array =sA4Paper =attr_ubyte =MediaSize =BeginPage
  523. + =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  524. }
  525. }
  526. }
  527. }
  528. *Option: ENV_10
  529. {
  530. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1019
  531. *PageProtectMem: 4109
  532. *switch: Orientation
  533. {
  534. *case: PORTRAIT
  535. {
  536. *PrintableArea: PAIR(4346, 10800)
  537. *PrintableOrigin: PAIR(300, 300)
  538. *switch: Resolution
  539. {
  540. *case: Option2
  541. {
  542. *PrintableArea: PAIR(4344, 10800)
  543. }
  544. }
  545. *CursorOrigin: PAIR(300, 180)
  546. *Command: CmdSelect
  547. {
  548. *Order: PAGE_SETUP.3
  549. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  550. + =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  551. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  552. }
  553. }
  554. *case: LANDSCAPE_CC90
  555. {
  556. *PrintableArea: PAIR(4476, 10800)
  557. *PrintableOrigin: PAIR(200, 300)
  558. *CursorOrigin: PAIR(200, 11100)
  559. *Command: CmdSelect
  560. {
  561. *Order: PAGE_SETUP.3
  562. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  563. + =ubyte_array =sCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  564. + =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  565. }
  566. }
  567. }
  568. }
  569. *Option: ENV_DL
  570. {
  571. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1026
  572. *PageProtectMem: 4109
  573. *switch: Orientation
  574. {
  575. *case: PORTRAIT
  576. {
  577. *PrintableArea: PAIR(4576, 9792)
  578. *PrintableOrigin: PAIR(300, 300)
  579. *CursorOrigin: PAIR(300, 180)
  580. *Command: CmdSelect
  581. {
  582. *Order: PAGE_SETUP.3
  583. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  584. + =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
  585. + =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  586. }
  587. }
  588. *case: LANDSCAPE_CC90
  589. {
  590. *PrintableArea: PAIR(4796, 9792)
  591. *PrintableOrigin: PAIR(200, 300)
  592. *CursorOrigin: PAIR(200, 10092)
  593. *Command: CmdSelect
  594. {
  595. *Order: PAGE_SETUP.3
  596. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  597. + =ubyte_array =sDLEnvelope =attr_ubyte =MediaSize =BeginPage
  598. + =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  599. }
  600. }
  601. }
  602. }
  603. *Option: ENV_C5
  604. {
  605. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1027
  606. *PageProtectMem: 4109
  607. *switch: Orientation
  608. {
  609. *case: PORTRAIT
  610. {
  611. *PrintableArea: PAIR(7036, 10214)
  612. *PrintableOrigin: PAIR(300, 300)
  613. *switch: Resolution
  614. {
  615. *case: Option3
  616. {
  617. *PrintableArea: PAIR(7036, 10212)
  618. }
  619. }
  620. *CursorOrigin: PAIR(300, 180)
  621. *Command: CmdSelect
  622. {
  623. *Order: PAGE_SETUP.3
  624. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  625. + =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
  626. + =sint16_xy %l{((284*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  627. }
  628. }
  629. *case: LANDSCAPE_CC90
  630. {
  631. *PrintableArea: PAIR(7056, 10224)
  632. *PrintableOrigin: PAIR(300, 300)
  633. *CursorOrigin: PAIR(200, 10524)
  634. *Command: CmdSelect
  635. {
  636. *Order: PAGE_SETUP.3
  637. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  638. + =ubyte_array =sC5Envelope =attr_ubyte =MediaSize =BeginPage
  639. + =sint16_xy %l{((236*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  640. }
  641. }
  642. }
  643. }
  644. *Option: ENV_MONARCH
  645. {
  646. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1036
  647. *PageProtectMem: 4109
  648. *switch: Orientation
  649. {
  650. *case: PORTRAIT
  651. {
  652. *PrintableArea: PAIR(4046, 8400)
  653. *PrintableOrigin: PAIR(300, 300)
  654. *switch: Resolution
  655. {
  656. *case: Option3
  657. {
  658. *PrintableArea: PAIR(4044, 8400)
  659. }
  660. }
  661. *CursorOrigin: PAIR(300, 180)
  662. *Command: CmdSelect
  663. {
  664. *Order: PAGE_SETUP.3
  665. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  666. + =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  667. + =sint16_xy %l{((300*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  668. }
  669. }
  670. *case: LANDSCAPE_CC90
  671. {
  672. *PrintableArea: PAIR(4076, 8400)
  673. *PrintableOrigin: PAIR(300, 300)
  674. *CursorOrigin: PAIR(200, 8700)
  675. *Command: CmdSelect
  676. {
  677. *Order: PAGE_SETUP.3
  678. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  679. + =ubyte_array =sMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  680. + =sint16_xy %l{((240*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  681. }
  682. }
  683. }
  684. }
  685. *Option: CUSTOMSIZE
  686. {
  687. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *% 1255
  688. *MinSize: PAIR(3600, 6000)
  689. *MaxSize: PAIR(10200, 32767)
  690. *MaxPrintableWidth: 10200
  691. *MinLeftMargin: 100
  692. *CenterPrintable?: FALSE
  693. *PageProtectMem: 1692
  694. *switch: Orientation
  695. {
  696. *case: PORTRAIT
  697. {
  698. *CustCursorOriginX: %d{((PhysPaperWidth - 10200) / 2) + 300 }
  699. *CustCursorOriginY: %d{140 }
  700. *CustPrintableOriginX: %d{300 }
  701. *CustPrintableOriginY: %d{300}
  702. *CustPrintableSizeX: %d{ PhysPaperWidth - 600 }
  703. *CustPrintableSizeY: %d{ PhysPaperLength - 600 }
  704. *Command: CmdSelect
  705. {
  706. *Order: PAGE_SETUP.3
  707. *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  708. + =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  709. + =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  710. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  711. }
  712. }
  713. *case: LANDSCAPE_CC90
  714. {
  715. *CustCursorOriginX: %d{((PhysPaperWidth - 10200) / 2) + 200 }
  716. *CustCursorOriginY: %d{16560 }
  717. *CustPrintableOriginX: %d{200 }
  718. *CustPrintableOriginY: %d{240}
  719. *CustPrintableSizeX: %d{ PhysPaperWidth - 400 }
  720. *CustPrintableSizeY: %d{ PhysPaperLength - 480 }
  721. *Command: CmdSelect
  722. {
  723. *Order: PAGE_SETUP.3
  724. *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  725. + =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  726. + =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  727. + =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  728. }
  729. }
  730. }
  731. }
  732. }
  733. *%%% ======================
  734. *%%% PAGE_SETUP.2
  735. *%%% BeginPage(0x43)
  736. *%%% Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  737. *%%% ubyte ubyte ubyte
  738. *%%% MediaSource
  739. *Feature: InputBin
  740. {
  741. *rcNameID: =PAPER_SOURCE_DISPLAY
  742. *DefaultOption: Option1
  743. *Option: Option1
  744. {
  745. *rcNameID: =FIRST_AVAILABLE_TRAY_DISPLAY
  746. *Command: CmdSelect
  747. {
  748. *Order: PAGE_SETUP.1
  749. *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  750. }
  751. }
  752. *Option: Option2
  753. {
  754. *rcNameID: =TRAY1_DISPLAY
  755. *Command: CmdSelect
  756. {
  757. *Order: PAGE_SETUP.1
  758. *Cmd: =ubyte =eMultiPurposeTray =attr_ubyte =MediaSource
  759. }
  760. }
  761. *Option: Option3
  762. {
  763. *rcNameID: =TRAY2_DISPLAY
  764. *Command: CmdSelect
  765. {
  766. *Order: PAGE_SETUP.1
  767. *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  768. }
  769. *Constraints: LIST(PaperSize.A5,PaperSize.ENV_10,PaperSize.ENV_DL,PaperSize.ENV_C5,
  770. + PaperSize.ENV_MONARCH,PaperSize.CUSTOMSIZE)
  771. }
  772. *Option: Option4
  773. {
  774. *rcNameID: =MANUAL_FEED_DISPLAY
  775. *Command: CmdSelect
  776. {
  777. *Order: PAGE_SETUP.1
  778. *Cmd: =ubyte =eEnvelopeTray =attr_ubyte =MediaSource
  779. }
  780. }
  781. *Option: Option5
  782. {
  783. *rcNameID: =TRAY3_DISPLAY
  784. *Command: CmdSelect
  785. {
  786. *Order: PAGE_SETUP.1
  787. *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  788. }
  789. *Constraints: LIST(PaperSize.A5,PaperSize.ENV_10,PaperSize.ENV_DL,PaperSize.ENV_C5,
  790. + PaperSize.ENV_MONARCH,PaperSize.CUSTOMSIZE)
  791. }
  792. }
  793. *%%% ======================
  794. *%%% PAGE_SETUP.4
  795. *%%% SetPageOrigin
  796. *%%% PageOrigin
  797. *%%% SetPageScale
  798. *Command: CmdStartPage
  799. {
  800. *Order: PAGE_SETUP.4
  801. *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  802. + =ubyte eRGB =attr_ubyte =ColorSpace =SetColorSpace
  803. }
  804. *%%% ======================
  805. *%%% PAGE_SETUP.5
  806. *%%% Feature
  807. *%%% Dither
  808. *Feature: Dither
  809. {
  810. *rcNameID: =DITHER_QUALITY_DISPLAY
  811. *DefaultOption: HIQUALITY
  812. *Option: HIQUALITY
  813. {
  814. *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  815. *Command: CmdSelect
  816. {
  817. *Order: PAGE_SETUP.5
  818. *Cmd:
  819. + =ubyte "<00>" =attr_ubyte =DitherMatrixDataType
  820. + =uint16_xy "<10001000>" =attr_ubyte =DitherMatrixSize
  821. + =ubyte "<02>" =attr_ubyte =DitherMatrixDepth
  822. + =SetHalftoneMethod
  823. + =dataLength "<00010000>"
  824. + "<42786A3C2B1B1E2E4175673A2A1A1D2D>"
  825. + "<88FDE8531703042484F8E35116030424>"
  826. + "<99FFD45E1302072195FFCE5B12010721>"
  827. + "<4ABFAB36280B0F3248BAA735270A0E31>"
  828. + "<28171B2B3D6C5F3729191C2C3F716439>"
  829. + "<130203227AEBD64B1502032380F3DE4E>"
  830. + "<0F01051F8AFFC2551101062090FFC958>"
  831. + "<2525080B2F43AE9B3226090D3046B5A234>"
  832. + "<4073653A29191D2D4276693B2A1A1E2E>"
  833. + "<82F5E1501502042386FAE65216030424>"
  834. + "<92FFCC5A1101062097FFD15D12020721>"
  835. + "<47B8A435260A0D3049BDA936270A0E31>"
  836. + "<29181C2C3E6F623828181C2B3D6E6138>"
  837. + "<140203237EF0DB4D140203227CEED94C>"
  838. + "<1001051F8EFFC7571001051F8CFFC456>"
  839. + "<26090C2F45B3A0342525080C2F44B09D33>"
  840. }
  841. }
  842. *Option: LOQUALITY
  843. {
  844. *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  845. }
  846. }
  847. *%%% ======================
  848. *%%% PAGE_FINISH
  849. *%%% ======================
  850. *%%% ======================
  851. *%%% PAGE_FINISH.3
  852. *Command: CmdEndPage
  853. {
  854. *Order: PAGE_FINISH.1
  855. *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  856. }
  857. *%%% ======================
  858. *%%% JOB_FINISH.1
  859. *%%% CmdEndJob
  860. *Command: CmdEndJob
  861. {
  862. *Order: JOB_FINISH.1
  863. *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  864. }
  865. *%%% ======================
  866. *%%% Feature
  867. *%%% Memory
  868. *Feature: Memory
  869. {
  870. *rcNameID: =PRINTER_MEMORY_DISPLAY
  871. *DefaultOption: 4096KB
  872. *Option: 2048KB
  873. {
  874. *Name: "2MB"
  875. *MemoryConfigKB: PAIR(2048, 1350)
  876. }
  877. *Option: 3072KB
  878. {
  879. *Name: "3MB"
  880. *MemoryConfigKB: PAIR(3072, 2250)
  881. }
  882. *Option: 4096KB
  883. {
  884. *Name: "4MB"
  885. *MemoryConfigKB: PAIR(4096, 3150)
  886. }
  887. *Option: 5120KB
  888. {
  889. *Name: "5MB"
  890. *MemoryConfigKB: PAIR(5120, 4050)
  891. }
  892. *Option: 6144KB
  893. {
  894. *Name: "6MB"
  895. *MemoryConfigKB: PAIR(6144, 4950)
  896. }
  897. *Option: 7168KB
  898. {
  899. *Name: "7MB"
  900. *MemoryConfigKB: PAIR(7168, 5850)
  901. }
  902. *Option: 8192KB
  903. {
  904. *Name: "8MB"
  905. *MemoryConfigKB: PAIR(8192, 6750)
  906. }
  907. *Option: 9216KB
  908. {
  909. *Name: "9MB"
  910. *MemoryConfigKB: PAIR(9216, 7650)
  911. }
  912. *Option: 10240KB
  913. {
  914. *Name: "10MB"
  915. *MemoryConfigKB: PAIR(10240, 8550)
  916. }
  917. *Option: 11264KB
  918. {
  919. *Name: "11MB"
  920. *MemoryConfigKB: PAIR(11264, 9450)
  921. }
  922. *Option: 12288KB
  923. {
  924. *Name: "12MB"
  925. *MemoryConfigKB: PAIR(12288, 10350)
  926. }
  927. *Option: 13312KB
  928. {
  929. *Name: "13MB"
  930. *MemoryConfigKB: PAIR(13312, 11250)
  931. }
  932. *Option: 14336KB
  933. {
  934. *Name: "14MB"
  935. *MemoryConfigKB: PAIR(14336, 12150)
  936. }
  937. *Option: 15360KB
  938. {
  939. *Name: "15MB"
  940. *MemoryConfigKB: PAIR(15360, 13050)
  941. }
  942. *Option: 16384KB
  943. {
  944. *Name: "16MB"
  945. *MemoryConfigKB: PAIR(16384, 13950)
  946. }
  947. *Option: 17408KB
  948. {
  949. *Name: "17MB"
  950. *MemoryConfigKB: PAIR(17408, 14850)
  951. }
  952. *Option: 18432KB
  953. {
  954. *Name: "18MB"
  955. *MemoryConfigKB: PAIR(18432, 15750)
  956. }
  957. *Option: 19456KB
  958. {
  959. *Name: "19MB"
  960. *MemoryConfigKB: PAIR(19456, 16650)
  961. }
  962. *Option: 20480KB
  963. {
  964. *Name: "20MB"
  965. *MemoryConfigKB: PAIR(20480, 17550)
  966. }
  967. *Option: 21504KB
  968. {
  969. *Name: "21MB"
  970. *MemoryConfigKB: PAIR(21504, 18450)
  971. }
  972. *Option: 22528KB
  973. {
  974. *Name: "22MB"
  975. *MemoryConfigKB: PAIR(22528, 19350)
  976. }
  977. *Option: 23552KB
  978. {
  979. *Name: "23MB"
  980. *MemoryConfigKB: PAIR(23552, 20250)
  981. }
  982. *Option: 24576KB
  983. {
  984. *Name: "24MB"
  985. *MemoryConfigKB: PAIR(24576, 21150)
  986. }
  987. *Option: 25600KB
  988. {
  989. *Name: "25MB"
  990. *MemoryConfigKB: PAIR(25600, 22050)
  991. }
  992. *Option: 26624KB
  993. {
  994. *Name: "26MB"
  995. *MemoryConfigKB: PAIR(26624, 22950)
  996. }
  997. *Option: 27648KB
  998. {
  999. *Name: "27MB"
  1000. *MemoryConfigKB: PAIR(27648, 23850)
  1001. }
  1002. *Option: 28672KB
  1003. {
  1004. *Name: "28MB"
  1005. *MemoryConfigKB: PAIR(28672, 24750)
  1006. }
  1007. *Option: 29696KB
  1008. {
  1009. *Name: "29MB"
  1010. *MemoryConfigKB: PAIR(29696, 25650)
  1011. }
  1012. *Option: 30720KB
  1013. {
  1014. *Name: "30MB"
  1015. *MemoryConfigKB: PAIR(30720, 26550)
  1016. }
  1017. *Option: 31744KB
  1018. {
  1019. *Name: "31MB"
  1020. *MemoryConfigKB: PAIR(31744, 27450)
  1021. }
  1022. *Option: 32768KB
  1023. {
  1024. *Name: "32MB"
  1025. *MemoryConfigKB: PAIR(32768, 28350)
  1026. }
  1027. *Option: 33792KB
  1028. {
  1029. *Name: "33MB"
  1030. *MemoryConfigKB: PAIR(33792, 29250)
  1031. }
  1032. *Option: 34816KB
  1033. {
  1034. *Name: "34MB"
  1035. *MemoryConfigKB: PAIR(34816, 30420)
  1036. }
  1037. *Option: 35840KB
  1038. {
  1039. *Name: "35MB"
  1040. *MemoryConfigKB: PAIR(35840, 31050)
  1041. }
  1042. *Option: 36864KB
  1043. {
  1044. *Name: "36MB"
  1045. *MemoryConfigKB: PAIR(36864, 31950)
  1046. }
  1047. *Option: 37888KB
  1048. {
  1049. *Name: "37MB"
  1050. *MemoryConfigKB: PAIR(37888, 32850)
  1051. }
  1052. *Option: 38912KB
  1053. {
  1054. *Name: "38MB"
  1055. *MemoryConfigKB: PAIR(38912, 33750)
  1056. }
  1057. *Option: 39936KB
  1058. {
  1059. *Name: "39MB"
  1060. *MemoryConfigKB: PAIR(39936, 34650)
  1061. }
  1062. *Option: 40960KB
  1063. {
  1064. *Name: "40MB"
  1065. *MemoryConfigKB: PAIR(40960, 35550)
  1066. }
  1067. *Option: 41984KB
  1068. {
  1069. *Name: "41MB"
  1070. *MemoryConfigKB: PAIR(41984, 36450)
  1071. }
  1072. *Option: 43008KB
  1073. {
  1074. *Name: "42MB"
  1075. *MemoryConfigKB: PAIR(43008, 37350)
  1076. }
  1077. *Option: 44032KB
  1078. {
  1079. *Name: "43MB"
  1080. *MemoryConfigKB: PAIR(44032, 38250)
  1081. }
  1082. *Option: 45056KB
  1083. {
  1084. *Name: "44MB"
  1085. *MemoryConfigKB: PAIR(45056, 39150)
  1086. }
  1087. *Option: 46080KB
  1088. {
  1089. *Name: "45MB"
  1090. *MemoryConfigKB: PAIR(46080, 40050)
  1091. }
  1092. *Option: 47104KB
  1093. {
  1094. *Name: "46MB"
  1095. *MemoryConfigKB: PAIR(47104, 40950)
  1096. }
  1097. *Option: 48128KB
  1098. {
  1099. *Name: "47MB"
  1100. *MemoryConfigKB: PAIR(48128, 41850)
  1101. }
  1102. *Option: 49152KB
  1103. {
  1104. *Name: "48MB"
  1105. *MemoryConfigKB: PAIR(49152, 42750)
  1106. }
  1107. *Option: 50176KB
  1108. {
  1109. *Name: "49MB"
  1110. *MemoryConfigKB: PAIR(50176, 43650)
  1111. }
  1112. *Option: 51200KB
  1113. {
  1114. *Name: "50MB"
  1115. *MemoryConfigKB: PAIR(51200, 44550)
  1116. }
  1117. }
  1118. *%%% ======================
  1119. *%%% Device fonts
  1120. *%%% ======================
  1121. *DefaultFont: =RC_FONT_COURIERR
  1122. *DefaultCTT: 0
  1123. *DeviceFonts: LIST(
  1124. + =RC_FONT_ALBERTR,
  1125. + =RC_FONT_ALBERTX,
  1126. + =RC_FONT_AOLIVEB,
  1127. + =RC_FONT_AOLIVEI,
  1128. + =RC_FONT_AOLIVER,
  1129. + =RC_FONT_ARIALB,
  1130. + =RC_FONT_ARIALI,
  1131. + =RC_FONT_ARIALJ,
  1132. + =RC_FONT_ARIALR,
  1133. + =RC_FONT_CGOMEGAB,
  1134. + =RC_FONT_CGOMEGAI,
  1135. + =RC_FONT_CGOMEGAJ,
  1136. + =RC_FONT_CGOMEGAR,
  1137. + =RC_FONT_CGTIMESB,
  1138. + =RC_FONT_CGTIMESI,
  1139. + =RC_FONT_CGTIMESJ,
  1140. + =RC_FONT_CGTIMESR,
  1141. + =RC_FONT_CLARCD,
  1142. + =RC_FONT_CORONETR,
  1143. + =RC_FONT_COURIERB,
  1144. + =RC_FONT_COURIERI,
  1145. + =RC_FONT_COURIERJ,
  1146. + =RC_FONT_COURIERR,
  1147. + =RC_FONT_GARMONDB,
  1148. + =RC_FONT_GARMONDI,
  1149. + =RC_FONT_GARMONDJ,
  1150. + =RC_FONT_GARMONDR,
  1151. + =RC_FONT_LETGOTHB,
  1152. + =RC_FONT_LETGOTHI,
  1153. + =RC_FONT_LETGOTHR,
  1154. + =RC_FONT_MARGOLDR,
  1155. + =RC_FONT_TIMESNRB,
  1156. + =RC_FONT_TIMESNRI,
  1157. + =RC_FONT_TIMESNRJ,
  1158. + =RC_FONT_TIMESNRR,
  1159. + =RC_FONT_UNIVERCB,
  1160. + =RC_FONT_UNIVERCI,
  1161. + =RC_FONT_UNIVERCJ,
  1162. + =RC_FONT_UNIVERCR,
  1163. + =RC_FONT_UNIVERSA,
  1164. + =RC_FONT_UNIVERSB,
  1165. + =RC_FONT_UNIVERSC,
  1166. + =RC_FONT_UNIVERSD,
  1167. + =RC_FONT_UNIVERSE,
  1168. + =RC_FONT_UNIVERSI,
  1169. + =RC_FONT_UNIVERSJ,
  1170. + =RC_FONT_UNIVERSR,
  1171. + =RC_FONT_WINGDINGS,
  1172. + =RC_FONT_SYMBOL)
  1173. *% TT font Substituition table for our device fonts
  1174. *% Arial and TNR are substituted in ttfsub.gpd
  1175. *TTFS: AlbertusM
  1176. {
  1177. *TTFontName: "Albertus Medium"
  1178. *DevFontName: "Albertus Medium"
  1179. }
  1180. *TTFS: AlbertusX
  1181. {
  1182. *TTFontName: "Albertus Extra Bold"
  1183. *DevFontName: "Albertus Extra Bold"
  1184. }
  1185. *TTFS: AntiqueOlive
  1186. {
  1187. *TTFontName: "Antique Olive"
  1188. *DevFontName: "Antique Olive"
  1189. }
  1190. *TTFS: CGOmega
  1191. {
  1192. *TTFontName: "CG Omega"
  1193. *DevFontName: "CG Omega"
  1194. }
  1195. *TTFS: CGTimes
  1196. {
  1197. *TTFontName: "CG Times"
  1198. *DevFontName: "CG Times"
  1199. }
  1200. *TTFS: ClarendonCD
  1201. {
  1202. *TTFontName: "Clarendon Condensed Bold"
  1203. *DevFontName: "Clarendon Condensed"
  1204. }
  1205. *TTFS: Coronet
  1206. {
  1207. *TTFontName: "Coronet"
  1208. *DevFontName: "Coronet"
  1209. }
  1210. *TTFS: Garamond
  1211. {
  1212. *TTFontName: "Garamond"
  1213. *DevFontName: "Garamond"
  1214. }
  1215. *TTFS: LetterGothic
  1216. {
  1217. *TTFontName: "Letter Gothic"
  1218. *DevFontName: "Letter Gothic"
  1219. }
  1220. *TTFS: Marigold
  1221. {
  1222. *TTFontName: "Marigold"
  1223. *DevFontName: "Marigold"
  1224. }
  1225. *TTFS: Univers
  1226. {
  1227. *TTFontName: "Univers Medium"
  1228. *DevFontName: "Univers"
  1229. }
  1230. *TTFS: UniversCD
  1231. {
  1232. *TTFontName: "Univers Condensed Medium"
  1233. *DevFontName: "Univers Condensed"
  1234. }
  1235. *TTFS: CourierNew
  1236. {
  1237. *TTFontName: "Courier New"
  1238. *DevFontName: "Courier New"
  1239. }
  1240. *% These 4 fonts need to be substituted to match the name that applications use to select the font. For
  1241. *% some reason the names are different.
  1242. *TTFS: ClarendonCD1
  1243. {
  1244. *TTFontName: "Clarendon Condensed"
  1245. *DevFontName: "Clarendon Condensed"
  1246. }
  1247. *TTFS: Univers1
  1248. {
  1249. *TTFontName: "Univers"
  1250. *DevFontName: "Univers"
  1251. }
  1252. *TTFS: UniversCD1
  1253. {
  1254. *TTFontName: "Univers Condensed"
  1255. *DevFontName: "Univers Condensed"
  1256. }
  1257. *%%% ======================
  1258. *%%% Global Entries
  1259. *%%% Attributes
  1260. *%%% ======================
  1261. *%%%rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1262. *%%% *rcPrinterIconID:
  1263. *%%% *HelpFile:
  1264. *%%% ======================
  1265. *%%% Printing attributes
  1266. *%%% ======================
  1267. *RotateCoordinate?: TRUE
  1268. *RotateRaster?: TRUE
  1269. *RotateFont?: TRUE
  1270. *EjectPageWithFF?: FALSE
  1271. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1272. *MemoryUsage: LIST(FONT)
  1273. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1274. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1275. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1276. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1277. *XMoveThreshold: 0
  1278. *YMoveThreshold: 0
  1279. *XMoveUnit: 1200
  1280. *YMoveUnit: 1200
  1281. *%%% *MinGrayFill: 1
  1282. *%%% *MaxGrayFill: 100
  1283. *%%% *OutputDataFormat: H_BYTE
  1284. *%%% *OptimizeLeftBound?: TRUE
  1285. *%%% ======================
  1286. *%%% TrueType fonts
  1287. *%%% ======================
  1288. *Feature: TrueTypeFormat
  1289. {
  1290. *rcNameID: =TRUETYPE_FORMAT
  1291. *DefaultOption: OUTLINE
  1292. *Option: OUTLINE
  1293. {
  1294. *rcNameID: =TRUETYPE_OUTLINE
  1295. }
  1296. *Option: BITMAP
  1297. {
  1298. *rcNameID: =TRUETYPE_BITMAP
  1299. }
  1300. *Option: GRAPHICS
  1301. {
  1302. *rcNameID: =TRUETYPE_GRAPHICS
  1303. }
  1304. }
  1305. *switch: TrueTypeFormat
  1306. {
  1307. *case: OUTLINE
  1308. {
  1309. *FontFormat: HPPCL_OUTLINE
  1310. }
  1311. *case: BITMAP
  1312. {
  1313. *FontFormat: HPPCL
  1314. }
  1315. *case: GRAPHICS
  1316. {
  1317. }
  1318. }
  1319. *CharPosition: BASELINE
  1320. *TTFSEnabled?: TRUE
  1321. *MinFontID: 1
  1322. *MaxFontID: 65535
  1323. *MinGlyphID: 1
  1324. *MaxGlyphID: 1000
  1325. *%%% ======================
  1326. *%%% Cursor commands
  1327. *%%% ======================
  1328. *Command: CmdCR { *Cmd: "" }
  1329. *Command: CmdLF { *Cmd: "" }
  1330. *Command: CmdFF { *Cmd: "" }
  1331. *%%% SetCursor(0x6b)
  1332. *%%% Point(76(0x40c)) uint_16
  1333. *%%% SetCursorRel(0x6c)
  1334. *%%% Point(76(0x40c)) uint_16
  1335. *Command: CmdXMoveAbsolute
  1336. {
  1337. *Cmd: ""
  1338. }
  1339. *Command: CmdXMoveRelRight
  1340. {
  1341. *Cmd: ""
  1342. *Params: LIST(DestXRel, TextXRes)
  1343. }
  1344. *Command: CmdXMoveRelLeft
  1345. {
  1346. *Cmd: ""
  1347. *Params: LIST(DestXRel, TextXRes)
  1348. }
  1349. *Command: CmdYMoveAbsolute
  1350. {
  1351. *Cmd: ""
  1352. *Params: LIST(DestY, TextYRes)
  1353. }
  1354. *Command: CmdYMoveRelDown
  1355. {
  1356. *Cmd: ""
  1357. *Params: LIST(DestYRel, TextYRes)
  1358. }
  1359. *Command: CmdYMoveRelUp
  1360. {
  1361. *Cmd: ""
  1362. *Params: LIST(DestYRel, TextYRes)
  1363. }
  1364. *%%% *Command: CmdPushCursor
  1365. *%%% *Command: CmdPopCursor
  1366. *%%% =======================
  1367. *%%% Font commands
  1368. *%%% =======================
  1369. *Command: CmdSetFontID { *Cmd : "" }
  1370. *Command: CmdSelectFontID
  1371. {
  1372. *Cmd: ""
  1373. *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1374. }
  1375. *Command: CmdSetCharCode
  1376. {
  1377. *Cmd : ""
  1378. }
  1379. *Command: CmdBoldOn
  1380. {
  1381. *Cmd : ""
  1382. }
  1383. *Command: CmdBoldOff
  1384. {
  1385. *Cmd : ""
  1386. }
  1387. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1388. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1389. *%%% *Command: CmdWhiteTextOn:
  1390. *%%% *Command: CmdWhiteTextOff:
  1391. *%%% *Command: CmdSelectSingleByteMode:
  1392. *%%% *Command: CmdSelectDoubleByteMode:
  1393. *Command: CmdSetAnyRotation
  1394. {
  1395. *Cmd: ""
  1396. *Params: LIST(PrintDirInCCDegrees)
  1397. }
  1398. *Command: CmdSetSimpleRotation
  1399. {
  1400. *Cmd: ""
  1401. *Params: LIST(PrintDirInCCDegrees)
  1402. }