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.

1915 lines
58 KiB

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