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.

1513 lines
46 KiB

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