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.

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