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.

3853 lines
125 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "0.08"
  7. *GPDFileName: "EP2LC80.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *% Common Macros
  10. *Macros: ResourceIDs
  11. {
  12. *% Font Resource (UFM)
  13. RC_FONT_ROMAN : 1
  14. RC_FONT_SANSRF : 2
  15. RC_FONT_COURIER : 3
  16. RC_FONT_COURIERI : 4
  17. RC_FONT_COURIERB : 5
  18. RC_FONT_COURIERZ : 6
  19. RC_FONT_SYMBOL : 7
  20. RC_FONT_SYMBOLIC : 8
  21. RC_FONT_DUTCH : 33
  22. RC_FONT_DUTCHI : 34
  23. RC_FONT_DUTCHB : 35
  24. RC_FONT_DUTCHZ : 36
  25. RC_FONT_SWISS : 37
  26. RC_FONT_SWISSI : 38
  27. RC_FONT_SWISSB : 39
  28. RC_FONT_SWISSZ : 40
  29. RC_FONT_MOREWB : 43
  30. *% TTFS:Latin; valid only when optional fonts(Swiss721, etc.) provided
  31. RC_TTF_ARIAL : 131 *% L"Arial"
  32. RC_DF_SWISS721 : 132 *% L"Swiss721"
  33. RC_TTF_COURIERNEW : 133 *% L"Courier New"
  34. RC_DF_COURIER : 134 *% L"Courier"
  35. RC_TTF_SYMBOL : 135 *% L"Symbol"
  36. RC_DF_SYMBOLIC : 136 *% L"Symbolic"
  37. RC_TTF_TIMESNR : 137 *% L"Times New Roman"
  38. RC_DF_DUTCH801 : 138 *% L"Dutch801"
  39. RC_TTF_WINGDINGS : 139 *% L"Wingdings"
  40. RC_DF_MOREWINGBATS : 140 *% L"MoreWingBats"
  41. *% PaperSize
  42. RC_STR_HLT : 257 *% L"HalfLetter 5.5 x 8.5 in"
  43. RC_STR_GLG : 258 *% L"Government Legal 8.5 x 13.0 in"
  44. RC_STR_GLT : 259 *% L"Government Letter 8.0 x 10.5 in"
  45. RC_STR_F4 : 260 *% L"F4 210 x 330 mm"
  46. RC_STR_C10 : 261 *% L"Commercial 10 4.125 x 9.5 in"
  47. RC_STR_A3P : 262 *% L"A3+ 329 x 483 mm"
  48. @*
  49. RC_STR_A3W : 266 *% L"A3 Wide 328 x 453 mm"
  50. RC_STR_IB5 : 268 *% L"International-B5 176 x 250 mm"
  51. *% FontCartridgeName:US
  52. *% PaperSource:US
  53. RC_STR_CST : 276 *% L"Paper Cassette"
  54. RC_STR_CST1 : 277 *% L"Lower Paper Cassette 1"
  55. RC_STR_CST2 : 278 *% L"Lower Paper Cassette 2"
  56. RC_STR_CST3 : 279 *% L"Lower Paper Cassette 3"
  57. RC_STR_CST4 : 280 *% L"Lower Paper Cassette 4"
  58. RC_STR_TRAY : 281 *% L"Paper Tray"
  59. RC_STR_MPTRAY : 282 *% L"MP Tray"
  60. RC_STR_LCST : 283 *% L"Lower Paper Cassette"
  61. RC_STR_FTRAY : 284 *% L"Front Tray"
  62. RC_STR_AUTOSEL : 285 *% L"Auto Select"
  63. *% Custom Features
  64. RC_STR_FACEDOWN : 321 *% L"Face Down Tray"
  65. RC_STR_FACEUP : 322 *% L"Face Up Tray"
  66. RC_STR_THICK : 323 *% L"Thick"
  67. RC_STR_THICK_N : 324 *% L"Thick Narrow"
  68. RC_STR_PRNTRMODE : 325 *% L"Printer Mode"
  69. RC_STR_QUALITY : 326 *% L"Quality"
  70. RC_STR_SPEED : 327 *% L"Speed"
  71. RC_STR_CLRADJUST : 328 *% L"Color Adjustment"
  72. RC_STR_NONE : 329 *% L"None"
  73. RC_STR_NATURAL : 330 *% L"Natural/Photo"
  74. RC_STR_VIVID : 331 *% L"Vivid/Graph"
  75. RC_STR_BRGHTNSS : 358 *% L"Device Gamma Adjustment (Brightness)"
  76. RC_STR_DRVDEF : 359 *% L"Driver Default"
  77. RC_STR_DARK2 : 360 *% L"Dark 2 (0.6)"
  78. RC_STR_DARK1 : 361 *% L"Dark 1 (0.7)"
  79. RC_STR_NORMAL : 362 *% L"Normal (0.8)"
  80. RC_STR_LGHT1 : 363 *% L"Light 1 (0.925)"
  81. RC_STR_LGHT2 : 364 *% L"Light 2 (1.0)"
  82. RC_STR_LGHT3 : 365 *% L"Light 3 (1.2)"
  83. RC_STR_LGHT4 : 366 *% L"Light 4 (1.4)"
  84. RC_STR_HUE : 367 *% L"Device Gamma Adjustment (Hue)"
  85. RC_STR_YLW : 368 *% L"Yellow"
  86. RC_STR_YLWGRN : 369 *% L"Yellowish Green"
  87. RC_STR_GRN : 370 *% L"Green"
  88. RC_STR_BLUGRN : 371 *% L"Bluish Green"
  89. RC_STR_GRNBLU : 372 *% L"Greenish Blue"
  90. RC_STR_BLU : 373 *% L"Blue"
  91. RC_STR_BLUPPL : 374 *% L"Bluish Purple"
  92. RC_STR_PPL : 375 *% L"Purple"
  93. RC_STR_REDPPL : 376 *% L"Reddish Purple"
  94. RC_STR_RED : 377 *% L"Red"
  95. RC_STR_ORG : 378 *% L"Orange"
  96. RC_STR_YLWORG : 379 *% L"Yellowish Orange"
  97. RC_STR_CHROMA : 380 *% L"Device Gamma Adjustment (Chroma)"
  98. RC_STR_FLAT : 381 *% L"Flat"
  99. RC_STR_LOW : 382 *% L"Low"
  100. RC_STR_MED : 383 *% L"Medium"
  101. RC_STR_HIGH : 384 *% L"High"
  102. RC_STR_RECTFILL : 385 *% L"Vector Graphics"
  103. RC_STR_ENABLED : 386 *% L"Enabled"
  104. RC_STR_DISABLED : 387 *% L"Disabled"
  105. RC_STR_OPTION_ON : 390 *% L"Installed"
  106. RC_STR_OPTION_OFF: 391 *% L"Not Installed"
  107. }
  108. *Macros: OEMCallbackIDs
  109. {
  110. SET_LCID_J : 10 *% 10 + 0x00000000(=LCID_JPN)
  111. SET_LCID_U : 16777226 *% 10 + 0x01000000(=LCID_USA)
  112. XMOVE_ABS : 11 *% (DestX)
  113. XMOVE_REL_RT : 12 *% (DestXRel)
  114. XMOVE_REL_LF : 13 *% (DestXRel)
  115. YMOVE_ABS : 14 *% (DestY)
  116. YMOVE_REL_DN : 15 *% (DestYRel)
  117. YMOVE_REL_UP : 16 *% (DestYRel)
  118. TEXT_PRN_DIRECTION : 20 *% (PrintDirInCCDegrees)
  119. TEXT_SINGLE_BYTE : 21 *% (FontBold,FontItalic)
  120. TEXT_DOUBLE_BYTE : 22 *% (FontBold,FontItalic)
  121. TEXT_BOLD : 23 *% (FontBold)
  122. TEXT_ITALIC : 24 *% (FontItalic)
  123. TEXT_HORIZONTAL : 25 *% ()
  124. TEXT_VERTICAL : 26 *% ()
  125. TEXT_NO_VPADJUST : 27 *% ()
  126. DOWNLOAD_SELECT_FONT_ID : 30 *% (CurrentFontID)
  127. DOWNLOAD_DELETE_FONT : 31 *% (CurrentFontID)
  128. DOWNLOAD_DELETE_ALLFONT : 32 *% ()
  129. DOWNLOAD_SET_FONT_ID : 33 *% (CurrentFontID)
  130. DOWNLOAD_SET_CHAR_CODE : 34 *% (NextGlyph)
  131. SEND_BLOCK_DATA : 40 *% (NumOfDataBytes,RasterDataWidthInBytes,RasterDataHeightInPixels)
  132. SET_SRC_BMP_WIDTH : 41 *% (RasterDataWidthInBytes)
  133. SET_SRC_BMP_HEIGHT : 42 *% (RasterDataHeightInPixels)
  134. DEFINE_PALETTE_ENTRY : 43 *% (PaletteIndexToProgram,RedValue,GreenValue,BlueValue)
  135. SELECT_PALETTE_ENTRY : 44 *% (CurrentPaletteIndex)
  136. SET_RECT_WIDTH : 45 *% (RectXSize)
  137. SET_RECT_HEIGHT : 46 *% (RectYSize)
  138. COMPRESS_OFF : 50 *% ()
  139. COMPRESS_ON : 51 *% ()
  140. }
  141. *Macros: TTFDownloadCtrls
  142. {
  143. DOWNLOAD_MIN_FONT_ID : 512
  144. DOWNLOAD_MIN_FONT_ID_0 : 0
  145. DOWNLOAD_MIN_FONT_ID_NO_DBCS : 1536 *% 512 + 1024
  146. DOWNLOAD_MAX_FONT_ID : 535
  147. DOWNLOAD_MAX_FONT_ID_10 : 521 *% 512 + 10 - 1
  148. DOWNLOAD_MAX_FONT_ID_5 : 516 *% 512 + 5 - 1
  149. DOWNLOAD_MAX_FONT_ID_0 : 0
  150. DOWNLOAD_MAX_FONT_ID_NO_DBCS : 1559 *% 535 + 1024
  151. DOWNLOAD_MAX_FONTS : 24
  152. DOWNLOAD_MAX_FONTS_10 : 10
  153. DOWNLOAD_MAX_FONTS_5 : 5
  154. DOWNLOAD_MAX_FONTS_0 : 0
  155. DOWNLOAD_MIN_GLYPH_ID : 32
  156. DOWNLOAD_MAX_GLYPH_ID : 543
  157. }
  158. *Macros: TTFSubstCtrls
  159. {
  160. TTFS_ENABLED : TRUE
  161. }
  162. *% BlockMacros for PaperSize feature
  163. *BlockMacro: BM_PS_A3
  164. {
  165. *rcNameID: =A3_DISPLAY
  166. *switch: Orientation
  167. {
  168. *case: PORTRAIT
  169. {
  170. *PrintableArea: PAIR(13552, 19360)
  171. *PrintableOrigin: PAIR(240, 240)
  172. *CursorOrigin: PAIR(240, 240)
  173. *Command: CmdSelect
  174. {
  175. *Order: DOC_SETUP.40
  176. *Cmd: "<1D>13psE"
  177. }
  178. }
  179. *case: LANDSCAPE_CC90
  180. {
  181. *PrintableArea: PAIR(13552, 19360)
  182. *PrintableOrigin: PAIR(240, 240)
  183. *CursorOrigin: PAIR(240, 19600)
  184. *Command: CmdSelect
  185. {
  186. *Order: DOC_SETUP.40
  187. *Cmd: "<1D>13psE<1D>1poE"
  188. }
  189. }
  190. }
  191. }
  192. *BlockMacro: BM_PS_A4
  193. {
  194. *rcNameID: =A4_DISPLAY
  195. *switch: Orientation
  196. {
  197. *case: PORTRAIT
  198. {
  199. *PrintableArea: PAIR(9440, 13552)
  200. *PrintableOrigin: PAIR(240, 240)
  201. *CursorOrigin: PAIR(240, 240)
  202. *Command: CmdSelect
  203. {
  204. *Order: DOC_SETUP.40
  205. *Cmd: "<1D>14psE"
  206. }
  207. }
  208. *case: LANDSCAPE_CC90
  209. {
  210. *PrintableArea: PAIR(9440, 13552)
  211. *PrintableOrigin: PAIR(240, 240)
  212. *CursorOrigin: PAIR(240, 13792)
  213. *Command: CmdSelect
  214. {
  215. *Order: DOC_SETUP.40
  216. *Cmd: "<1D>14psE<1D>1poE"
  217. }
  218. }
  219. }
  220. }
  221. *BlockMacro: BM_PS_A5
  222. {
  223. *rcNameID: =A5_DISPLAY
  224. *switch: Orientation
  225. {
  226. *case: PORTRAIT
  227. {
  228. *PrintableArea: PAIR(6512, 9440)
  229. *PrintableOrigin: PAIR(240, 240)
  230. *CursorOrigin: PAIR(240, 240)
  231. *Command: CmdSelect
  232. {
  233. *Order: DOC_SETUP.40
  234. *Cmd: "<1D>15psE"
  235. }
  236. }
  237. *case: LANDSCAPE_CC90
  238. {
  239. *PrintableArea: PAIR(6512, 9440)
  240. *PrintableOrigin: PAIR(240, 240)
  241. *CursorOrigin: PAIR(240, 9680)
  242. *Command: CmdSelect
  243. {
  244. *Order: DOC_SETUP.40
  245. *Cmd: "<1D>15psE<1D>1poE"
  246. }
  247. }
  248. }
  249. }
  250. *BlockMacro: BM_PS_B5
  251. {
  252. *rcNameID: =B5_DISPLAY
  253. *switch: Orientation
  254. {
  255. *case: PORTRAIT
  256. {
  257. *PrintableArea: PAIR(8120, 11664)
  258. *PrintableOrigin: PAIR(240, 240)
  259. *CursorOrigin: PAIR(240, 240)
  260. *Command: CmdSelect
  261. {
  262. *Order: DOC_SETUP.40
  263. *Cmd: "<1D>25psE"
  264. }
  265. }
  266. *case: LANDSCAPE_CC90
  267. {
  268. *PrintableArea: PAIR(8120, 11664)
  269. *PrintableOrigin: PAIR(240, 240)
  270. *CursorOrigin: PAIR(240, 11904)
  271. *Command: CmdSelect
  272. {
  273. *Order: DOC_SETUP.40
  274. *Cmd: "<1D>25psE<1D>1poE"
  275. }
  276. }
  277. }
  278. }
  279. *BlockMacro: BM_PS_LT
  280. {
  281. *rcNameID: =LETTER_DISPLAY
  282. *switch: Orientation
  283. {
  284. *case: PORTRAIT
  285. {
  286. *PrintableArea: PAIR(9720, 12720)
  287. *PrintableOrigin: PAIR(240, 240)
  288. *CursorOrigin: PAIR(240, 240)
  289. *Command: CmdSelect
  290. {
  291. *Order: DOC_SETUP.40
  292. *Cmd: "<1D>30psE"
  293. }
  294. }
  295. *case: LANDSCAPE_CC90
  296. {
  297. *PrintableArea: PAIR(9720, 12720)
  298. *PrintableOrigin: PAIR(240, 240)
  299. *CursorOrigin: PAIR(240, 12960)
  300. *Command: CmdSelect
  301. {
  302. *Order: DOC_SETUP.40
  303. *Cmd: "<1D>30psE<1D>1poE"
  304. }
  305. }
  306. }
  307. }
  308. *BlockMacro: BM_PS_HLT
  309. {
  310. *rcNameID: =RC_STR_HLT
  311. *PageDimensions: PAIR(6600, 10200)
  312. *switch: Orientation
  313. {
  314. *case: PORTRAIT
  315. {
  316. *PrintableArea: PAIR(6120, 9720)
  317. *PrintableOrigin: PAIR(240, 240)
  318. *CursorOrigin: PAIR(240, 240)
  319. *Command: CmdSelect
  320. {
  321. *Order: DOC_SETUP.40
  322. *Cmd: "<1D>31psE"
  323. }
  324. }
  325. *case: LANDSCAPE_CC90
  326. {
  327. *PrintableArea: PAIR(6120, 9720)
  328. *PrintableOrigin: PAIR(240, 240)
  329. *CursorOrigin: PAIR(240, 9960)
  330. *Command: CmdSelect
  331. {
  332. *Order: DOC_SETUP.40
  333. *Cmd: "<1D>31psE<1D>1poE"
  334. }
  335. }
  336. }
  337. }
  338. *BlockMacro: BM_PS_LGL
  339. {
  340. *rcNameID: =LEGAL_DISPLAY
  341. *switch: Orientation
  342. {
  343. *case: PORTRAIT
  344. {
  345. *PrintableArea: PAIR(9720, 16320)
  346. *PrintableOrigin: PAIR(240, 240)
  347. *CursorOrigin: PAIR(240, 240)
  348. *Command: CmdSelect
  349. {
  350. *Order: DOC_SETUP.40
  351. *Cmd: "<1D>32psE"
  352. }
  353. }
  354. *case: LANDSCAPE_CC90
  355. {
  356. *PrintableArea: PAIR(9720, 16320)
  357. *PrintableOrigin: PAIR(240, 240)
  358. *CursorOrigin: PAIR(240, 16560)
  359. *Command: CmdSelect
  360. {
  361. *Order: DOC_SETUP.40
  362. *Cmd: "<1D>32psE<1D>1poE"
  363. }
  364. }
  365. }
  366. }
  367. *BlockMacro: BM_PS_EXE
  368. {
  369. *rcNameID: =EXECUTIVE_DISPLAY
  370. *switch: Orientation
  371. {
  372. *case: PORTRAIT
  373. {
  374. *PrintableArea: PAIR(8220, 12120)
  375. *PrintableOrigin: PAIR(240, 240)
  376. *CursorOrigin: PAIR(240, 240)
  377. *Command: CmdSelect
  378. {
  379. *Order: DOC_SETUP.40
  380. *Cmd: "<1D>33psE"
  381. }
  382. }
  383. *case: LANDSCAPE_CC90
  384. {
  385. *PrintableArea: PAIR(8220, 12120)
  386. *PrintableOrigin: PAIR(240, 240)
  387. *CursorOrigin: PAIR(240, 12360)
  388. *Command: CmdSelect
  389. {
  390. *Order: DOC_SETUP.40
  391. *Cmd: "<1D>33psE<1D>1poE"
  392. }
  393. }
  394. }
  395. }
  396. *BlockMacro: BM_PS_GLG
  397. {
  398. *rcNameID: =RC_STR_GLG
  399. *PageDimensions: PAIR(10200, 15600)
  400. *switch: Orientation
  401. {
  402. *case: PORTRAIT
  403. {
  404. *PrintableArea: PAIR(9720, 15120)
  405. *PrintableOrigin: PAIR(240, 240)
  406. *CursorOrigin: PAIR(240, 240)
  407. *Command: CmdSelect
  408. {
  409. *Order: DOC_SETUP.40
  410. *Cmd: "<1D>34psE"
  411. }
  412. }
  413. *case: LANDSCAPE_CC90
  414. {
  415. *PrintableArea: PAIR(9720, 15120)
  416. *PrintableOrigin: PAIR(240, 240)
  417. *CursorOrigin: PAIR(240, 15360)
  418. *Command: CmdSelect
  419. {
  420. *Order: DOC_SETUP.40
  421. *Cmd: "<1D>34psE<1D>1poE"
  422. }
  423. }
  424. }
  425. }
  426. *BlockMacro: BM_PS_GLT
  427. {
  428. *rcNameID: =RC_STR_GLT
  429. *PageDimensions: PAIR(9600, 12600)
  430. *switch: Orientation
  431. {
  432. *case: PORTRAIT
  433. {
  434. *PrintableArea: PAIR(9120, 12120)
  435. *PrintableOrigin: PAIR(240, 240)
  436. *CursorOrigin: PAIR(240, 240)
  437. *Command: CmdSelect
  438. {
  439. *Order: DOC_SETUP.40
  440. *Cmd: "<1D>35psE"
  441. }
  442. }
  443. *case: LANDSCAPE_CC90
  444. {
  445. *PrintableArea: PAIR(9120, 12120)
  446. *PrintableOrigin: PAIR(240, 240)
  447. *CursorOrigin: PAIR(240, 12360)
  448. *Command: CmdSelect
  449. {
  450. *Order: DOC_SETUP.40
  451. *Cmd: "<1D>35psE<1D>1poE"
  452. }
  453. }
  454. }
  455. }
  456. *BlockMacro: BM_PS_F4
  457. {
  458. *rcNameID: =RC_STR_F4
  459. *PageDimensions: PAIR(9920, 15592)
  460. *switch: Orientation
  461. {
  462. *case: PORTRAIT
  463. {
  464. *PrintableArea: PAIR(9440, 15112)
  465. *PrintableOrigin: PAIR(240, 240)
  466. *CursorOrigin: PAIR(240, 240)
  467. *Command: CmdSelect
  468. {
  469. *Order: DOC_SETUP.40
  470. *Cmd: "<1D>37psE"
  471. }
  472. }
  473. *case: LANDSCAPE_CC90
  474. {
  475. *PrintableArea: PAIR(9440, 15112)
  476. *PrintableOrigin: PAIR(240, 240)
  477. *CursorOrigin: PAIR(240, 15352)
  478. *Command: CmdSelect
  479. {
  480. *Order: DOC_SETUP.40
  481. *Cmd: "<1D>37psE<1D>1poE"
  482. }
  483. }
  484. }
  485. }
  486. *BlockMacro: BM_PS_MON
  487. {
  488. *rcNameID: =ENV_MONARCH_DISPLAY
  489. *switch: Orientation
  490. {
  491. *case: PORTRAIT
  492. {
  493. *PrintableArea: PAIR(4168, 8520)
  494. *PrintableOrigin: PAIR(240, 240)
  495. *CursorOrigin: PAIR(240, 240)
  496. *Command: CmdSelect
  497. {
  498. *Order: DOC_SETUP.40
  499. *Cmd: "<1D>80psE"
  500. }
  501. }
  502. *case: LANDSCAPE_CC90
  503. {
  504. *PrintableArea: PAIR(4168, 8520)
  505. *PrintableOrigin: PAIR(240, 240)
  506. *CursorOrigin: PAIR(240, 8760)
  507. *Command: CmdSelect
  508. {
  509. *Order: DOC_SETUP.40
  510. *Cmd: "<1D>80psE<1D>1poE"
  511. }
  512. }
  513. }
  514. }
  515. *BlockMacro: BM_PSB_E10
  516. {
  517. *switch: Orientation
  518. {
  519. *case: PORTRAIT
  520. {
  521. *PrintableArea: PAIR(4468, 10920)
  522. *PrintableOrigin: PAIR(240, 240)
  523. *CursorOrigin: PAIR(240, 240)
  524. *Command: CmdSelect
  525. {
  526. *Order: DOC_SETUP.40
  527. *Cmd: "<1D>81psE"
  528. }
  529. }
  530. *case: LANDSCAPE_CC90
  531. {
  532. *PrintableArea: PAIR(4468, 10920)
  533. *PrintableOrigin: PAIR(240, 240)
  534. *CursorOrigin: PAIR(240, 11160)
  535. *Command: CmdSelect
  536. {
  537. *Order: DOC_SETUP.40
  538. *Cmd: "<1D>81psE<1D>1poE"
  539. }
  540. }
  541. }
  542. }
  543. *BlockMacro: BM_PS_C10
  544. {
  545. *rcNameID: =RC_STR_C10
  546. *PageDimensions: PAIR(4948, 11400)
  547. *InsertBlock: =BM_PSB_E10
  548. }
  549. *BlockMacro: BM_PS_E10
  550. {
  551. *rcNameID: =ENV_10_DISPLAY
  552. *InsertBlock: =BM_PSB_E10
  553. }
  554. *BlockMacro: BM_PS_DL
  555. {
  556. *rcNameID: =ENV_DL_DISPLAY
  557. *switch: Orientation
  558. {
  559. *case: PORTRAIT
  560. {
  561. *PrintableArea: PAIR(4716, 9912)
  562. *PrintableOrigin: PAIR(240, 240)
  563. *CursorOrigin: PAIR(240, 240)
  564. *Command: CmdSelect
  565. {
  566. *Order: DOC_SETUP.40
  567. *Cmd: "<1D>90psE"
  568. }
  569. }
  570. *case: LANDSCAPE_CC90
  571. {
  572. *PrintableArea: PAIR(4716, 9912)
  573. *PrintableOrigin: PAIR(240, 240)
  574. *CursorOrigin: PAIR(240, 10152)
  575. *Command: CmdSelect
  576. {
  577. *Order: DOC_SETUP.40
  578. *Cmd: "<1D>90psE<1D>1poE"
  579. }
  580. }
  581. }
  582. }
  583. *BlockMacro: BM_PS_C5
  584. {
  585. *rcNameID: =ENV_C5_DISPLAY
  586. *switch: Orientation
  587. {
  588. *case: PORTRAIT
  589. {
  590. *PrintableArea: PAIR(7172, 10336)
  591. *PrintableOrigin: PAIR(240, 240)
  592. *CursorOrigin: PAIR(240, 240)
  593. *Command: CmdSelect
  594. {
  595. *Order: DOC_SETUP.40
  596. *Cmd: "<1D>91psE"
  597. }
  598. }
  599. *case: LANDSCAPE_CC90
  600. {
  601. *PrintableArea: PAIR(7172, 10336)
  602. *PrintableOrigin: PAIR(240, 240)
  603. *CursorOrigin: PAIR(240, 10576)
  604. *Command: CmdSelect
  605. {
  606. *Order: DOC_SETUP.40
  607. *Cmd: "<1D>91psE<1D>1poE"
  608. }
  609. }
  610. }
  611. }
  612. *BlockMacro: BM_PS_C6
  613. {
  614. *rcNameID: =ENV_C6_DISPLAY
  615. *switch: Orientation
  616. {
  617. *case: PORTRAIT
  618. {
  619. *PrintableArea: PAIR(4906, 7174)
  620. *PrintableOrigin: PAIR(240, 240)
  621. *CursorOrigin: PAIR(240, 240)
  622. *Command: CmdSelect
  623. {
  624. *Order: DOC_SETUP.40
  625. *Cmd: "<1D>92psE"
  626. }
  627. }
  628. *case: LANDSCAPE_CC90
  629. {
  630. *PrintableArea: PAIR(4906, 7174)
  631. *PrintableOrigin: PAIR(240, 240)
  632. *CursorOrigin: PAIR(240, 7414)
  633. *Command: CmdSelect
  634. {
  635. *Order: DOC_SETUP.40
  636. *Cmd: "<1D>92psE<1D>1poE"
  637. }
  638. }
  639. }
  640. }
  641. *BlockMacro: BM_PS_TBLD
  642. {
  643. *rcNameID: =TABLOID_DISPLAY
  644. *switch: Orientation
  645. {
  646. *case: PORTRAIT
  647. {
  648. *PrintableArea: PAIR(12720, 19920)
  649. *PrintableOrigin: PAIR(240, 240)
  650. *CursorOrigin: PAIR(240, 240)
  651. *Command: CmdSelect
  652. {
  653. *Order: DOC_SETUP.40
  654. *Cmd: "<1D>36psE"
  655. }
  656. }
  657. *case: LANDSCAPE_CC90
  658. {
  659. *PrintableArea: PAIR(12720, 19920)
  660. *PrintableOrigin: PAIR(240, 240)
  661. *CursorOrigin: PAIR(240, 20160)
  662. *Command: CmdSelect
  663. {
  664. *Order: DOC_SETUP.40
  665. *Cmd: "<1D>36psE<1D>1poE"
  666. }
  667. }
  668. }
  669. }
  670. *BlockMacro: BM_PS_B4
  671. {
  672. *rcNameID: =B4_DISPLAY
  673. *switch: Orientation
  674. {
  675. *case: PORTRAIT
  676. {
  677. *PrintableArea: PAIR(11664, 16720)
  678. *PrintableOrigin: PAIR(240, 240)
  679. *CursorOrigin: PAIR(240, 240)
  680. *Command: CmdSelect
  681. {
  682. *Order: DOC_SETUP.40
  683. *Cmd: "<1D>24psE"
  684. }
  685. }
  686. *case: LANDSCAPE_CC90
  687. {
  688. *PrintableArea: PAIR(11664, 16720)
  689. *PrintableOrigin: PAIR(240, 240)
  690. *CursorOrigin: PAIR(240, 16960)
  691. *Command: CmdSelect
  692. {
  693. *Order: DOC_SETUP.40
  694. *Cmd: "<1D>24psE<1D>1poE"
  695. }
  696. }
  697. }
  698. }
  699. *BlockMacro: BM_PSB_CTM
  700. {
  701. *MinLeftMargin: 240
  702. *CenterPrintable?: FALSE
  703. *switch: Orientation
  704. {
  705. *case: PORTRAIT
  706. {
  707. *Command: CmdSelect
  708. {
  709. *Order: DOC_SETUP.40
  710. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2) }";" %d{(PhysPaperLength / 2) }"psE"
  711. }
  712. }
  713. *case: LANDSCAPE_CC90
  714. {
  715. *Command: CmdSelect
  716. {
  717. *Order: DOC_SETUP.40
  718. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2) }";" %d{(PhysPaperLength / 2) }"psE<1D>1poE"
  719. }
  720. }
  721. }
  722. }
  723. *% BlockMacros for other features
  724. *BlockMacro: BM_GAMMA_ADJUSTMENT
  725. {
  726. *switch: DeviceGammaAdjustmentBrightness
  727. {
  728. *case: DriverDefault {}
  729. *case: Dark2
  730. { *% 0.6
  731. *switch: DeviceGammaAdjustmentChroma
  732. {
  733. *case: Flat
  734. {
  735. *RedDeviceGamma: 6000
  736. *GreenDeviceGamma: 6000
  737. *BlueDeviceGamma: 6000
  738. }
  739. *case: Low
  740. { *% +5% (+300)
  741. *switch: DeviceGammaAdjustmentHue
  742. {
  743. *case: Yellow
  744. {
  745. *RedDeviceGamma: 6300
  746. *GreenDeviceGamma: 6300
  747. *BlueDeviceGamma: 6000
  748. }
  749. *case: YellowishGreen
  750. {
  751. *RedDeviceGamma: 6150
  752. *GreenDeviceGamma: 6300
  753. *BlueDeviceGamma: 6000
  754. }
  755. *case: Green
  756. {
  757. *RedDeviceGamma: 6000
  758. *GreenDeviceGamma: 6300
  759. *BlueDeviceGamma: 6000
  760. }
  761. *case: BluishGreen
  762. {
  763. *RedDeviceGamma: 6000
  764. *GreenDeviceGamma: 6300
  765. *BlueDeviceGamma: 6150
  766. }
  767. *case: GreenishBlue
  768. {
  769. *RedDeviceGamma: 6000
  770. *GreenDeviceGamma: 6150
  771. *BlueDeviceGamma: 6300
  772. }
  773. *case: Blue
  774. {
  775. *RedDeviceGamma: 6000
  776. *GreenDeviceGamma: 6000
  777. *BlueDeviceGamma: 6300
  778. }
  779. *case: BluishPurple
  780. {
  781. *RedDeviceGamma: 6150
  782. *GreenDeviceGamma: 6000
  783. *BlueDeviceGamma: 6300
  784. }
  785. *case: Purple
  786. {
  787. *RedDeviceGamma: 6300
  788. *GreenDeviceGamma: 6000
  789. *BlueDeviceGamma: 6300
  790. }
  791. *case: ReddishPurple
  792. {
  793. *RedDeviceGamma: 6300
  794. *GreenDeviceGamma: 6000
  795. *BlueDeviceGamma: 6150
  796. }
  797. *case: Red
  798. {
  799. *RedDeviceGamma: 6300
  800. *GreenDeviceGamma: 6000
  801. *BlueDeviceGamma: 6000
  802. }
  803. *case: Orange
  804. {
  805. *RedDeviceGamma: 6300
  806. *GreenDeviceGamma: 6150
  807. *BlueDeviceGamma: 6000
  808. }
  809. *case: YellowishOrange
  810. {
  811. *RedDeviceGamma: 6300
  812. *GreenDeviceGamma: 6225
  813. *BlueDeviceGamma: 6000
  814. }
  815. }
  816. }
  817. *case: Medium
  818. { *% +10% (+600)
  819. *switch: DeviceGammaAdjustmentHue
  820. {
  821. *case: Yellow
  822. {
  823. *RedDeviceGamma: 6600
  824. *GreenDeviceGamma: 6600
  825. *BlueDeviceGamma: 6000
  826. }
  827. *case: YellowishGreen
  828. {
  829. *RedDeviceGamma: 6300
  830. *GreenDeviceGamma: 6600
  831. *BlueDeviceGamma: 6000
  832. }
  833. *case: Green
  834. {
  835. *RedDeviceGamma: 6000
  836. *GreenDeviceGamma: 6600
  837. *BlueDeviceGamma: 6000
  838. }
  839. *case: BluishGreen
  840. {
  841. *RedDeviceGamma: 6000
  842. *GreenDeviceGamma: 6600
  843. *BlueDeviceGamma: 6300
  844. }
  845. *case: GreenishBlue
  846. {
  847. *RedDeviceGamma: 6000
  848. *GreenDeviceGamma: 6300
  849. *BlueDeviceGamma: 6600
  850. }
  851. *case: Blue
  852. {
  853. *RedDeviceGamma: 6000
  854. *GreenDeviceGamma: 6000
  855. *BlueDeviceGamma: 6600
  856. }
  857. *case: BluishPurple
  858. {
  859. *RedDeviceGamma: 6300
  860. *GreenDeviceGamma: 6000
  861. *BlueDeviceGamma: 6600
  862. }
  863. *case: Purple
  864. {
  865. *RedDeviceGamma: 6600
  866. *GreenDeviceGamma: 6000
  867. *BlueDeviceGamma: 6600
  868. }
  869. *case: ReddishPurple
  870. {
  871. *RedDeviceGamma: 6600
  872. *GreenDeviceGamma: 6000
  873. *BlueDeviceGamma: 6300
  874. }
  875. *case: Red
  876. {
  877. *RedDeviceGamma: 6600
  878. *GreenDeviceGamma: 6000
  879. *BlueDeviceGamma: 6000
  880. }
  881. *case: Orange
  882. {
  883. *RedDeviceGamma: 6600
  884. *GreenDeviceGamma: 6300
  885. *BlueDeviceGamma: 6000
  886. }
  887. *case: YellowishOrange
  888. {
  889. *RedDeviceGamma: 6600
  890. *GreenDeviceGamma: 6450
  891. *BlueDeviceGamma: 6000
  892. }
  893. }
  894. }
  895. *case: High
  896. { *% +20% (+1200)
  897. *switch: DeviceGammaAdjustmentHue
  898. {
  899. *case: Yellow
  900. {
  901. *RedDeviceGamma: 7200
  902. *GreenDeviceGamma: 7200
  903. *BlueDeviceGamma: 6000
  904. }
  905. *case: YellowishGreen
  906. {
  907. *RedDeviceGamma: 6600
  908. *GreenDeviceGamma: 7200
  909. *BlueDeviceGamma: 6000
  910. }
  911. *case: Green
  912. {
  913. *RedDeviceGamma: 6000
  914. *GreenDeviceGamma: 7200
  915. *BlueDeviceGamma: 6000
  916. }
  917. *case: BluishGreen
  918. {
  919. *RedDeviceGamma: 6000
  920. *GreenDeviceGamma: 7200
  921. *BlueDeviceGamma: 6600
  922. }
  923. *case: GreenishBlue
  924. {
  925. *RedDeviceGamma: 6000
  926. *GreenDeviceGamma: 6600
  927. *BlueDeviceGamma: 7200
  928. }
  929. *case: Blue
  930. {
  931. *RedDeviceGamma: 6000
  932. *GreenDeviceGamma: 6000
  933. *BlueDeviceGamma: 6600
  934. }
  935. *case: BluishPurple
  936. {
  937. *RedDeviceGamma: 6600
  938. *GreenDeviceGamma: 6000
  939. *BlueDeviceGamma: 7200
  940. }
  941. *case: Purple
  942. {
  943. *RedDeviceGamma: 7200
  944. *GreenDeviceGamma: 6000
  945. *BlueDeviceGamma: 7200
  946. }
  947. *case: ReddishPurple
  948. {
  949. *RedDeviceGamma: 7200
  950. *GreenDeviceGamma: 6000
  951. *BlueDeviceGamma: 6600
  952. }
  953. *case: Red
  954. {
  955. *RedDeviceGamma: 7200
  956. *GreenDeviceGamma: 6000
  957. *BlueDeviceGamma: 6000
  958. }
  959. *case: Orange
  960. {
  961. *RedDeviceGamma: 7200
  962. *GreenDeviceGamma: 6600
  963. *BlueDeviceGamma: 6000
  964. }
  965. *case: YellowishOrange
  966. {
  967. *RedDeviceGamma: 7200
  968. *GreenDeviceGamma: 6900
  969. *BlueDeviceGamma: 6000
  970. }
  971. }
  972. }
  973. }
  974. }
  975. *case: Dark1
  976. { *% 0.7
  977. *switch: DeviceGammaAdjustmentChroma
  978. {
  979. *case: Flat
  980. {
  981. *RedDeviceGamma: 7000
  982. *GreenDeviceGamma: 7000
  983. *BlueDeviceGamma: 7000
  984. }
  985. *case: Low
  986. { *% +5% (+350)
  987. *switch: DeviceGammaAdjustmentHue
  988. {
  989. *case: Yellow
  990. {
  991. *RedDeviceGamma: 7350
  992. *GreenDeviceGamma: 7350
  993. *BlueDeviceGamma: 7000
  994. }
  995. *case: YellowishGreen
  996. {
  997. *RedDeviceGamma: 7175
  998. *GreenDeviceGamma: 7350
  999. *BlueDeviceGamma: 7000
  1000. }
  1001. *case: Green
  1002. {
  1003. *RedDeviceGamma: 7000
  1004. *GreenDeviceGamma: 7350
  1005. *BlueDeviceGamma: 7000
  1006. }
  1007. *case: BluishGreen
  1008. {
  1009. *RedDeviceGamma: 7000
  1010. *GreenDeviceGamma: 7350
  1011. *BlueDeviceGamma: 7175
  1012. }
  1013. *case: GreenishBlue
  1014. {
  1015. *RedDeviceGamma: 7000
  1016. *GreenDeviceGamma: 7175
  1017. *BlueDeviceGamma: 7350
  1018. }
  1019. *case: Blue
  1020. {
  1021. *RedDeviceGamma: 7000
  1022. *GreenDeviceGamma: 7000
  1023. *BlueDeviceGamma: 7350
  1024. }
  1025. *case: BluishPurple
  1026. {
  1027. *RedDeviceGamma: 7175
  1028. *GreenDeviceGamma: 7000
  1029. *BlueDeviceGamma: 7350
  1030. }
  1031. *case: Purple
  1032. {
  1033. *RedDeviceGamma: 7350
  1034. *GreenDeviceGamma: 7000
  1035. *BlueDeviceGamma: 7350
  1036. }
  1037. *case: ReddishPurple
  1038. {
  1039. *RedDeviceGamma: 7350
  1040. *GreenDeviceGamma: 7000
  1041. *BlueDeviceGamma: 7175
  1042. }
  1043. *case: Red
  1044. {
  1045. *RedDeviceGamma: 7350
  1046. *GreenDeviceGamma: 7000
  1047. *BlueDeviceGamma: 7000
  1048. }
  1049. *case: Orange
  1050. {
  1051. *RedDeviceGamma: 7350
  1052. *GreenDeviceGamma: 7175
  1053. *BlueDeviceGamma: 7000
  1054. }
  1055. *case: YellowishOrange
  1056. {
  1057. *RedDeviceGamma: 7350
  1058. *GreenDeviceGamma: 7263
  1059. *BlueDeviceGamma: 7000
  1060. }
  1061. }
  1062. }
  1063. *case: Medium
  1064. { *% +10% (+700)
  1065. *switch: DeviceGammaAdjustmentHue
  1066. {
  1067. *case: Yellow
  1068. {
  1069. *RedDeviceGamma: 7700
  1070. *GreenDeviceGamma: 7700
  1071. *BlueDeviceGamma: 7000
  1072. }
  1073. *case: YellowishGreen
  1074. {
  1075. *RedDeviceGamma: 7350
  1076. *GreenDeviceGamma: 7700
  1077. *BlueDeviceGamma: 7000
  1078. }
  1079. *case: Green
  1080. {
  1081. *RedDeviceGamma: 7000
  1082. *GreenDeviceGamma: 7700
  1083. *BlueDeviceGamma: 7000
  1084. }
  1085. *case: BluishGreen
  1086. {
  1087. *RedDeviceGamma: 7000
  1088. *GreenDeviceGamma: 7700
  1089. *BlueDeviceGamma: 7350
  1090. }
  1091. *case: GreenishBlue
  1092. {
  1093. *RedDeviceGamma: 7000
  1094. *GreenDeviceGamma: 7350
  1095. *BlueDeviceGamma: 7700
  1096. }
  1097. *case: Blue
  1098. {
  1099. *RedDeviceGamma: 7000
  1100. *GreenDeviceGamma: 7000
  1101. *BlueDeviceGamma: 7700
  1102. }
  1103. *case: BluishPurple
  1104. {
  1105. *RedDeviceGamma: 7350
  1106. *GreenDeviceGamma: 7000
  1107. *BlueDeviceGamma: 7700
  1108. }
  1109. *case: Purple
  1110. {
  1111. *RedDeviceGamma: 7700
  1112. *GreenDeviceGamma: 7000
  1113. *BlueDeviceGamma: 7700
  1114. }
  1115. *case: ReddishPurple
  1116. {
  1117. *RedDeviceGamma: 7700
  1118. *GreenDeviceGamma: 7000
  1119. *BlueDeviceGamma: 7350
  1120. }
  1121. *case: Red
  1122. {
  1123. *RedDeviceGamma: 7700
  1124. *GreenDeviceGamma: 7000
  1125. *BlueDeviceGamma: 7000
  1126. }
  1127. *case: Orange
  1128. {
  1129. *RedDeviceGamma: 7700
  1130. *GreenDeviceGamma: 7350
  1131. *BlueDeviceGamma: 7000
  1132. }
  1133. *case: YellowishOrange
  1134. {
  1135. *RedDeviceGamma: 7700
  1136. *GreenDeviceGamma: 7525
  1137. *BlueDeviceGamma: 7000
  1138. }
  1139. }
  1140. }
  1141. *case: High
  1142. { *% +20% (+1400)
  1143. *switch: DeviceGammaAdjustmentHue
  1144. {
  1145. *case: Yellow
  1146. {
  1147. *RedDeviceGamma: 8400
  1148. *GreenDeviceGamma: 8400
  1149. *BlueDeviceGamma: 7000
  1150. }
  1151. *case: YellowishGreen
  1152. {
  1153. *RedDeviceGamma: 7700
  1154. *GreenDeviceGamma: 8400
  1155. *BlueDeviceGamma: 7000
  1156. }
  1157. *case: Green
  1158. {
  1159. *RedDeviceGamma: 7000
  1160. *GreenDeviceGamma: 8400
  1161. *BlueDeviceGamma: 7000
  1162. }
  1163. *case: BluishGreen
  1164. {
  1165. *RedDeviceGamma: 7000
  1166. *GreenDeviceGamma: 8400
  1167. *BlueDeviceGamma: 7700
  1168. }
  1169. *case: GreenishBlue
  1170. {
  1171. *RedDeviceGamma: 7000
  1172. *GreenDeviceGamma: 7700
  1173. *BlueDeviceGamma: 8400
  1174. }
  1175. *case: Blue
  1176. {
  1177. *RedDeviceGamma: 7000
  1178. *GreenDeviceGamma: 7000
  1179. *BlueDeviceGamma: 8400
  1180. }
  1181. *case: BluishPurple
  1182. {
  1183. *RedDeviceGamma: 7700
  1184. *GreenDeviceGamma: 7000
  1185. *BlueDeviceGamma: 8400
  1186. }
  1187. *case: Purple
  1188. {
  1189. *RedDeviceGamma: 8400
  1190. *GreenDeviceGamma: 7000
  1191. *BlueDeviceGamma: 8400
  1192. }
  1193. *case: ReddishPurple
  1194. {
  1195. *RedDeviceGamma: 8400
  1196. *GreenDeviceGamma: 7000
  1197. *BlueDeviceGamma: 7700
  1198. }
  1199. *case: Red
  1200. {
  1201. *RedDeviceGamma: 8400
  1202. *GreenDeviceGamma: 7000
  1203. *BlueDeviceGamma: 7000
  1204. }
  1205. *case: Orange
  1206. {
  1207. *RedDeviceGamma: 8400
  1208. *GreenDeviceGamma: 7700
  1209. *BlueDeviceGamma: 7000
  1210. }
  1211. *case: YellowishOrange
  1212. {
  1213. *RedDeviceGamma: 8400
  1214. *GreenDeviceGamma: 8050
  1215. *BlueDeviceGamma: 7000
  1216. }
  1217. }
  1218. }
  1219. }
  1220. }
  1221. *case: Normal
  1222. { *% 0.8
  1223. *switch: DeviceGammaAdjustmentChroma
  1224. {
  1225. *case: Flat
  1226. {
  1227. *RedDeviceGamma: 8000
  1228. *GreenDeviceGamma: 8000
  1229. *BlueDeviceGamma: 8000
  1230. }
  1231. *case: Low
  1232. { *% +5% (+400)
  1233. *switch: DeviceGammaAdjustmentHue
  1234. {
  1235. *case: Yellow
  1236. {
  1237. *RedDeviceGamma: 8400
  1238. *GreenDeviceGamma: 8400
  1239. *BlueDeviceGamma: 8000
  1240. }
  1241. *case: YellowishGreen
  1242. {
  1243. *RedDeviceGamma: 8200
  1244. *GreenDeviceGamma: 8400
  1245. *BlueDeviceGamma: 8000
  1246. }
  1247. *case: Green
  1248. {
  1249. *RedDeviceGamma: 8000
  1250. *GreenDeviceGamma: 8400
  1251. *BlueDeviceGamma: 8000
  1252. }
  1253. *case: BluishGreen
  1254. {
  1255. *RedDeviceGamma: 8000
  1256. *GreenDeviceGamma: 8400
  1257. *BlueDeviceGamma: 8200
  1258. }
  1259. *case: GreenishBlue
  1260. {
  1261. *RedDeviceGamma: 8000
  1262. *GreenDeviceGamma: 8200
  1263. *BlueDeviceGamma: 8400
  1264. }
  1265. *case: Blue
  1266. {
  1267. *RedDeviceGamma: 8000
  1268. *GreenDeviceGamma: 8000
  1269. *BlueDeviceGamma: 8400
  1270. }
  1271. *case: BluishPurple
  1272. {
  1273. *RedDeviceGamma: 8200
  1274. *GreenDeviceGamma: 8000
  1275. *BlueDeviceGamma: 8400
  1276. }
  1277. *case: Purple
  1278. {
  1279. *RedDeviceGamma: 8400
  1280. *GreenDeviceGamma: 8000
  1281. *BlueDeviceGamma: 8400
  1282. }
  1283. *case: ReddishPurple
  1284. {
  1285. *RedDeviceGamma: 8400
  1286. *GreenDeviceGamma: 8000
  1287. *BlueDeviceGamma: 8200
  1288. }
  1289. *case: Red
  1290. {
  1291. *RedDeviceGamma: 8400
  1292. *GreenDeviceGamma: 8000
  1293. *BlueDeviceGamma: 8000
  1294. }
  1295. *case: Orange
  1296. {
  1297. *RedDeviceGamma: 8400
  1298. *GreenDeviceGamma: 8200
  1299. *BlueDeviceGamma: 8000
  1300. }
  1301. *case: YellowishOrange
  1302. {
  1303. *RedDeviceGamma: 8400
  1304. *GreenDeviceGamma: 8300
  1305. *BlueDeviceGamma: 8000
  1306. }
  1307. }
  1308. }
  1309. *case: Medium
  1310. { *% +10% (+800)
  1311. *switch: DeviceGammaAdjustmentHue
  1312. {
  1313. *case: Yellow
  1314. {
  1315. *RedDeviceGamma: 8800
  1316. *GreenDeviceGamma: 8800
  1317. *BlueDeviceGamma: 8000
  1318. }
  1319. *case: YellowishGreen
  1320. {
  1321. *RedDeviceGamma: 8400
  1322. *GreenDeviceGamma: 8800
  1323. *BlueDeviceGamma: 8000
  1324. }
  1325. *case: Green
  1326. {
  1327. *RedDeviceGamma: 8000
  1328. *GreenDeviceGamma: 8800
  1329. *BlueDeviceGamma: 8000
  1330. }
  1331. *case: BluishGreen
  1332. {
  1333. *RedDeviceGamma: 8000
  1334. *GreenDeviceGamma: 8800
  1335. *BlueDeviceGamma: 8400
  1336. }
  1337. *case: GreenishBlue
  1338. {
  1339. *RedDeviceGamma: 8000
  1340. *GreenDeviceGamma: 8400
  1341. *BlueDeviceGamma: 8800
  1342. }
  1343. *case: Blue
  1344. {
  1345. *RedDeviceGamma: 8000
  1346. *GreenDeviceGamma: 8000
  1347. *BlueDeviceGamma: 8800
  1348. }
  1349. *case: BluishPurple
  1350. {
  1351. *RedDeviceGamma: 8400
  1352. *GreenDeviceGamma: 8000
  1353. *BlueDeviceGamma: 8800
  1354. }
  1355. *case: Purple
  1356. {
  1357. *RedDeviceGamma: 8800
  1358. *GreenDeviceGamma: 8000
  1359. *BlueDeviceGamma: 8800
  1360. }
  1361. *case: ReddishPurple
  1362. {
  1363. *RedDeviceGamma: 8800
  1364. *GreenDeviceGamma: 8000
  1365. *BlueDeviceGamma: 8400
  1366. }
  1367. *case: Red
  1368. {
  1369. *RedDeviceGamma: 8800
  1370. *GreenDeviceGamma: 8000
  1371. *BlueDeviceGamma: 8000
  1372. }
  1373. *case: Orange
  1374. {
  1375. *RedDeviceGamma: 8800
  1376. *GreenDeviceGamma: 8400
  1377. *BlueDeviceGamma: 8000
  1378. }
  1379. *case: YellowishOrange
  1380. {
  1381. *RedDeviceGamma: 8800
  1382. *GreenDeviceGamma: 8600
  1383. *BlueDeviceGamma: 8000
  1384. }
  1385. }
  1386. }
  1387. *case: High
  1388. { *% +20% (+1600)
  1389. *switch: DeviceGammaAdjustmentHue
  1390. {
  1391. *case: Yellow
  1392. {
  1393. *RedDeviceGamma: 9600
  1394. *GreenDeviceGamma: 9600
  1395. *BlueDeviceGamma: 8000
  1396. }
  1397. *case: YellowishGreen
  1398. {
  1399. *RedDeviceGamma: 8800
  1400. *GreenDeviceGamma: 9600
  1401. *BlueDeviceGamma: 8000
  1402. }
  1403. *case: Green
  1404. {
  1405. *RedDeviceGamma: 8000
  1406. *GreenDeviceGamma: 9600
  1407. *BlueDeviceGamma: 8000
  1408. }
  1409. *case: BluishGreen
  1410. {
  1411. *RedDeviceGamma: 8000
  1412. *GreenDeviceGamma: 9600
  1413. *BlueDeviceGamma: 8800
  1414. }
  1415. *case: GreenishBlue
  1416. {
  1417. *RedDeviceGamma: 8000
  1418. *GreenDeviceGamma: 8800
  1419. *BlueDeviceGamma: 9600
  1420. }
  1421. *case: Blue
  1422. {
  1423. *RedDeviceGamma: 8000
  1424. *GreenDeviceGamma: 8000
  1425. *BlueDeviceGamma: 9600
  1426. }
  1427. *case: BluishPurple
  1428. {
  1429. *RedDeviceGamma: 8800
  1430. *GreenDeviceGamma: 8000
  1431. *BlueDeviceGamma: 9600
  1432. }
  1433. *case: Purple
  1434. {
  1435. *RedDeviceGamma: 9600
  1436. *GreenDeviceGamma: 8000
  1437. *BlueDeviceGamma: 9600
  1438. }
  1439. *case: ReddishPurple
  1440. {
  1441. *RedDeviceGamma: 9600
  1442. *GreenDeviceGamma: 8000
  1443. *BlueDeviceGamma: 8800
  1444. }
  1445. *case: Red
  1446. {
  1447. *RedDeviceGamma: 9600
  1448. *GreenDeviceGamma: 8000
  1449. *BlueDeviceGamma: 8000
  1450. }
  1451. *case: Orange
  1452. {
  1453. *RedDeviceGamma: 9600
  1454. *GreenDeviceGamma: 8800
  1455. *BlueDeviceGamma: 8000
  1456. }
  1457. *case: YellowishOrange
  1458. {
  1459. *RedDeviceGamma: 9600
  1460. *GreenDeviceGamma: 9200
  1461. *BlueDeviceGamma: 8000
  1462. }
  1463. }
  1464. }
  1465. }
  1466. }
  1467. *case: Light1
  1468. { *% 0.925
  1469. *switch: DeviceGammaAdjustmentChroma
  1470. {
  1471. *case: Flat
  1472. {
  1473. *RedDeviceGamma: 9250
  1474. *GreenDeviceGamma: 9250
  1475. *BlueDeviceGamma: 9250
  1476. }
  1477. *case: Low
  1478. { *% +5% (+462)
  1479. *switch: DeviceGammaAdjustmentHue
  1480. {
  1481. *case: Yellow
  1482. {
  1483. *RedDeviceGamma: 9712
  1484. *GreenDeviceGamma: 9712
  1485. *BlueDeviceGamma: 9250
  1486. }
  1487. *case: YellowishGreen
  1488. {
  1489. *RedDeviceGamma: 9481
  1490. *GreenDeviceGamma: 9712
  1491. *BlueDeviceGamma: 9250
  1492. }
  1493. *case: Green
  1494. {
  1495. *RedDeviceGamma: 9250
  1496. *GreenDeviceGamma: 9712
  1497. *BlueDeviceGamma: 9250
  1498. }
  1499. *case: BluishGreen
  1500. {
  1501. *RedDeviceGamma: 9250
  1502. *GreenDeviceGamma: 9712
  1503. *BlueDeviceGamma: 9481
  1504. }
  1505. *case: GreenishBlue
  1506. {
  1507. *RedDeviceGamma: 9250
  1508. *GreenDeviceGamma: 9481
  1509. *BlueDeviceGamma: 9712
  1510. }
  1511. *case: Blue
  1512. {
  1513. *RedDeviceGamma: 9250
  1514. *GreenDeviceGamma: 9250
  1515. *BlueDeviceGamma: 9712
  1516. }
  1517. *case: BluishPurple
  1518. {
  1519. *RedDeviceGamma: 9481
  1520. *GreenDeviceGamma: 9250
  1521. *BlueDeviceGamma: 9712
  1522. }
  1523. *case: Purple
  1524. {
  1525. *RedDeviceGamma: 9712
  1526. *GreenDeviceGamma: 9250
  1527. *BlueDeviceGamma: 9712
  1528. }
  1529. *case: ReddishPurple
  1530. {
  1531. *RedDeviceGamma: 9712
  1532. *GreenDeviceGamma: 9250
  1533. *BlueDeviceGamma: 9481
  1534. }
  1535. *case: Red
  1536. {
  1537. *RedDeviceGamma: 9712
  1538. *GreenDeviceGamma: 9250
  1539. *BlueDeviceGamma: 9250
  1540. }
  1541. *case: Orange
  1542. {
  1543. *RedDeviceGamma: 9712
  1544. *GreenDeviceGamma: 9481
  1545. *BlueDeviceGamma: 9250
  1546. }
  1547. *case: YellowishOrange
  1548. {
  1549. *RedDeviceGamma: 9712
  1550. *GreenDeviceGamma: 9597
  1551. *BlueDeviceGamma: 9250
  1552. }
  1553. }
  1554. }
  1555. *case: Medium
  1556. { *% +10% (+925)
  1557. *switch: DeviceGammaAdjustmentHue
  1558. {
  1559. *case: Yellow
  1560. {
  1561. *RedDeviceGamma: 10175
  1562. *GreenDeviceGamma: 10175
  1563. *BlueDeviceGamma: 9250
  1564. }
  1565. *case: YellowishGreen
  1566. {
  1567. *RedDeviceGamma: 9712
  1568. *GreenDeviceGamma: 10175
  1569. *BlueDeviceGamma: 9250
  1570. }
  1571. *case: Green
  1572. {
  1573. *RedDeviceGamma: 9250
  1574. *GreenDeviceGamma: 10175
  1575. *BlueDeviceGamma: 9250
  1576. }
  1577. *case: BluishGreen
  1578. {
  1579. *RedDeviceGamma: 9250
  1580. *GreenDeviceGamma: 10175
  1581. *BlueDeviceGamma: 9712
  1582. }
  1583. *case: GreenishBlue
  1584. {
  1585. *RedDeviceGamma: 9250
  1586. *GreenDeviceGamma: 9712
  1587. *BlueDeviceGamma: 10175
  1588. }
  1589. *case: Blue
  1590. {
  1591. *RedDeviceGamma: 9250
  1592. *GreenDeviceGamma: 9250
  1593. *BlueDeviceGamma: 10175
  1594. }
  1595. *case: BluishPurple
  1596. {
  1597. *RedDeviceGamma: 9712
  1598. *GreenDeviceGamma: 9250
  1599. *BlueDeviceGamma: 10175
  1600. }
  1601. *case: Purple
  1602. {
  1603. *RedDeviceGamma: 10175
  1604. *GreenDeviceGamma: 9250
  1605. *BlueDeviceGamma: 10175
  1606. }
  1607. *case: ReddishPurple
  1608. {
  1609. *RedDeviceGamma: 10175
  1610. *GreenDeviceGamma: 9250
  1611. *BlueDeviceGamma: 9712
  1612. }
  1613. *case: Red
  1614. {
  1615. *RedDeviceGamma: 10175
  1616. *GreenDeviceGamma: 9250
  1617. *BlueDeviceGamma: 9250
  1618. }
  1619. *case: Orange
  1620. {
  1621. *RedDeviceGamma: 10175
  1622. *GreenDeviceGamma: 9712
  1623. *BlueDeviceGamma: 9250
  1624. }
  1625. *case: YellowishOrange
  1626. {
  1627. *RedDeviceGamma: 10175
  1628. *GreenDeviceGamma: 9944
  1629. *BlueDeviceGamma: 9250
  1630. }
  1631. }
  1632. }
  1633. *case: High
  1634. { *% +20% (+1850)
  1635. *switch: DeviceGammaAdjustmentHue
  1636. {
  1637. *case: Yellow
  1638. {
  1639. *RedDeviceGamma: 11100
  1640. *GreenDeviceGamma: 11100
  1641. *BlueDeviceGamma: 9250
  1642. }
  1643. *case: YellowishGreen
  1644. {
  1645. *RedDeviceGamma: 10175
  1646. *GreenDeviceGamma: 11100
  1647. *BlueDeviceGamma: 9250
  1648. }
  1649. *case: Green
  1650. {
  1651. *RedDeviceGamma: 9250
  1652. *GreenDeviceGamma: 11100
  1653. *BlueDeviceGamma: 9250
  1654. }
  1655. *case: BluishGreen
  1656. {
  1657. *RedDeviceGamma: 9250
  1658. *GreenDeviceGamma: 11100
  1659. *BlueDeviceGamma: 10175
  1660. }
  1661. *case: GreenishBlue
  1662. {
  1663. *RedDeviceGamma: 9250
  1664. *GreenDeviceGamma: 10175
  1665. *BlueDeviceGamma: 11100
  1666. }
  1667. *case: Blue
  1668. {
  1669. *RedDeviceGamma: 9250
  1670. *GreenDeviceGamma: 9250
  1671. *BlueDeviceGamma: 11100
  1672. }
  1673. *case: BluishPurple
  1674. {
  1675. *RedDeviceGamma: 10175
  1676. *GreenDeviceGamma: 9250
  1677. *BlueDeviceGamma: 11100
  1678. }
  1679. *case: Purple
  1680. {
  1681. *RedDeviceGamma: 11100
  1682. *GreenDeviceGamma: 9250
  1683. *BlueDeviceGamma: 11100
  1684. }
  1685. *case: ReddishPurple
  1686. {
  1687. *RedDeviceGamma: 11100
  1688. *GreenDeviceGamma: 9250
  1689. *BlueDeviceGamma: 10175
  1690. }
  1691. *case: Red
  1692. {
  1693. *RedDeviceGamma: 11100
  1694. *GreenDeviceGamma: 9250
  1695. *BlueDeviceGamma: 9250
  1696. }
  1697. *case: Orange
  1698. {
  1699. *RedDeviceGamma: 11100
  1700. *GreenDeviceGamma: 10175
  1701. *BlueDeviceGamma: 9250
  1702. }
  1703. *case: YellowishOrange
  1704. {
  1705. *RedDeviceGamma: 11100
  1706. *GreenDeviceGamma: 10812
  1707. *BlueDeviceGamma: 9250
  1708. }
  1709. }
  1710. }
  1711. }
  1712. }
  1713. *case: Light2
  1714. { *% 1.0
  1715. *switch: DeviceGammaAdjustmentChroma
  1716. {
  1717. *case: Flat
  1718. {
  1719. *RedDeviceGamma: 10000
  1720. *GreenDeviceGamma: 10000
  1721. *BlueDeviceGamma: 10000
  1722. }
  1723. *case: Low
  1724. { *% +5% (+500)
  1725. *switch: DeviceGammaAdjustmentHue
  1726. {
  1727. *case: Yellow
  1728. {
  1729. *RedDeviceGamma: 10500
  1730. *GreenDeviceGamma: 10500
  1731. *BlueDeviceGamma: 10000
  1732. }
  1733. *case: YellowishGreen
  1734. {
  1735. *RedDeviceGamma: 10250
  1736. *GreenDeviceGamma: 10500
  1737. *BlueDeviceGamma: 10000
  1738. }
  1739. *case: Green
  1740. {
  1741. *RedDeviceGamma: 10000
  1742. *GreenDeviceGamma: 10500
  1743. *BlueDeviceGamma: 10000
  1744. }
  1745. *case: BluishGreen
  1746. {
  1747. *RedDeviceGamma: 10000
  1748. *GreenDeviceGamma: 10500
  1749. *BlueDeviceGamma: 10250
  1750. }
  1751. *case: GreenishBlue
  1752. {
  1753. *RedDeviceGamma: 10000
  1754. *GreenDeviceGamma: 10250
  1755. *BlueDeviceGamma: 10500
  1756. }
  1757. *case: Blue
  1758. {
  1759. *RedDeviceGamma: 10000
  1760. *GreenDeviceGamma: 10000
  1761. *BlueDeviceGamma: 10500
  1762. }
  1763. *case: BluishPurple
  1764. {
  1765. *RedDeviceGamma: 10250
  1766. *GreenDeviceGamma: 10000
  1767. *BlueDeviceGamma: 10500
  1768. }
  1769. *case: Purple
  1770. {
  1771. *RedDeviceGamma: 10500
  1772. *GreenDeviceGamma: 10000
  1773. *BlueDeviceGamma: 10500
  1774. }
  1775. *case: ReddishPurple
  1776. {
  1777. *RedDeviceGamma: 10500
  1778. *GreenDeviceGamma: 10000
  1779. *BlueDeviceGamma: 10250
  1780. }
  1781. *case: Red
  1782. {
  1783. *RedDeviceGamma: 10500
  1784. *GreenDeviceGamma: 10000
  1785. *BlueDeviceGamma: 10000
  1786. }
  1787. *case: Orange
  1788. {
  1789. *RedDeviceGamma: 10500
  1790. *GreenDeviceGamma: 10250
  1791. *BlueDeviceGamma: 10000
  1792. }
  1793. *case: YellowishOrange
  1794. {
  1795. *RedDeviceGamma: 10500
  1796. *GreenDeviceGamma: 10375
  1797. *BlueDeviceGamma: 10000
  1798. }
  1799. }
  1800. }
  1801. *case: Medium
  1802. { *% +10% (+1000)
  1803. *switch: DeviceGammaAdjustmentHue
  1804. {
  1805. *case: Yellow
  1806. {
  1807. *RedDeviceGamma: 11000
  1808. *GreenDeviceGamma: 11000
  1809. *BlueDeviceGamma: 10000
  1810. }
  1811. *case: YellowishGreen
  1812. {
  1813. *RedDeviceGamma: 10500
  1814. *GreenDeviceGamma: 11000
  1815. *BlueDeviceGamma: 10000
  1816. }
  1817. *case: Green
  1818. {
  1819. *RedDeviceGamma: 10000
  1820. *GreenDeviceGamma: 11000
  1821. *BlueDeviceGamma: 10000
  1822. }
  1823. *case: BluishGreen
  1824. {
  1825. *RedDeviceGamma: 10000
  1826. *GreenDeviceGamma: 11000
  1827. *BlueDeviceGamma: 10500
  1828. }
  1829. *case: GreenishBlue
  1830. {
  1831. *RedDeviceGamma: 10000
  1832. *GreenDeviceGamma: 10500
  1833. *BlueDeviceGamma: 11000
  1834. }
  1835. *case: Blue
  1836. {
  1837. *RedDeviceGamma: 10000
  1838. *GreenDeviceGamma: 10000
  1839. *BlueDeviceGamma: 11000
  1840. }
  1841. *case: BluishPurple
  1842. {
  1843. *RedDeviceGamma: 10500
  1844. *GreenDeviceGamma: 10000
  1845. *BlueDeviceGamma: 11000
  1846. }
  1847. *case: Purple
  1848. {
  1849. *RedDeviceGamma: 11000
  1850. *GreenDeviceGamma: 10000
  1851. *BlueDeviceGamma: 11000
  1852. }
  1853. *case: ReddishPurple
  1854. {
  1855. *RedDeviceGamma: 11000
  1856. *GreenDeviceGamma: 10000
  1857. *BlueDeviceGamma: 10500
  1858. }
  1859. *case: Red
  1860. {
  1861. *RedDeviceGamma: 11000
  1862. *GreenDeviceGamma: 10000
  1863. *BlueDeviceGamma: 10000
  1864. }
  1865. *case: Orange
  1866. {
  1867. *RedDeviceGamma: 11000
  1868. *GreenDeviceGamma: 10500
  1869. *BlueDeviceGamma: 10000
  1870. }
  1871. *case: YellowishOrange
  1872. {
  1873. *RedDeviceGamma: 11000
  1874. *GreenDeviceGamma: 10750
  1875. *BlueDeviceGamma: 10000
  1876. }
  1877. }
  1878. }
  1879. *case: High
  1880. { *% +20% (+2000)
  1881. *switch: DeviceGammaAdjustmentHue
  1882. {
  1883. *case: Yellow
  1884. {
  1885. *RedDeviceGamma: 12000
  1886. *GreenDeviceGamma: 12000
  1887. *BlueDeviceGamma: 10000
  1888. }
  1889. *case: YellowishGreen
  1890. {
  1891. *RedDeviceGamma: 11000
  1892. *GreenDeviceGamma: 12000
  1893. *BlueDeviceGamma: 10000
  1894. }
  1895. *case: Green
  1896. {
  1897. *RedDeviceGamma: 10000
  1898. *GreenDeviceGamma: 12000
  1899. *BlueDeviceGamma: 10000
  1900. }
  1901. *case: BluishGreen
  1902. {
  1903. *RedDeviceGamma: 10000
  1904. *GreenDeviceGamma: 12000
  1905. *BlueDeviceGamma: 11000
  1906. }
  1907. *case: GreenishBlue
  1908. {
  1909. *RedDeviceGamma: 10000
  1910. *GreenDeviceGamma: 11000
  1911. *BlueDeviceGamma: 12000
  1912. }
  1913. *case: Blue
  1914. {
  1915. *RedDeviceGamma: 10000
  1916. *GreenDeviceGamma: 10000
  1917. *BlueDeviceGamma: 12000
  1918. }
  1919. *case: BluishPurple
  1920. {
  1921. *RedDeviceGamma: 11000
  1922. *GreenDeviceGamma: 10000
  1923. *BlueDeviceGamma: 12000
  1924. }
  1925. *case: Purple
  1926. {
  1927. *RedDeviceGamma: 12000
  1928. *GreenDeviceGamma: 10000
  1929. *BlueDeviceGamma: 12000
  1930. }
  1931. *case: ReddishPurple
  1932. {
  1933. *RedDeviceGamma: 12000
  1934. *GreenDeviceGamma: 10000
  1935. *BlueDeviceGamma: 11000
  1936. }
  1937. *case: Red
  1938. {
  1939. *RedDeviceGamma: 12000
  1940. *GreenDeviceGamma: 10000
  1941. *BlueDeviceGamma: 10000
  1942. }
  1943. *case: Orange
  1944. {
  1945. *RedDeviceGamma: 12000
  1946. *GreenDeviceGamma: 11000
  1947. *BlueDeviceGamma: 10000
  1948. }
  1949. *case: YellowishOrange
  1950. {
  1951. *RedDeviceGamma: 12000
  1952. *GreenDeviceGamma: 11500
  1953. *BlueDeviceGamma: 10000
  1954. }
  1955. }
  1956. }
  1957. }
  1958. }
  1959. *case: Light3
  1960. { *% 1.2
  1961. *switch: DeviceGammaAdjustmentChroma
  1962. {
  1963. *case: Flat
  1964. {
  1965. *RedDeviceGamma: 12000
  1966. *GreenDeviceGamma: 12000
  1967. *BlueDeviceGamma: 12000
  1968. }
  1969. *case: Low
  1970. { *% +5% (+600)
  1971. *switch: DeviceGammaAdjustmentHue
  1972. {
  1973. *case: Yellow
  1974. {
  1975. *RedDeviceGamma: 12600
  1976. *GreenDeviceGamma: 12600
  1977. *BlueDeviceGamma: 12000
  1978. }
  1979. *case: YellowishGreen
  1980. {
  1981. *RedDeviceGamma: 12300
  1982. *GreenDeviceGamma: 12600
  1983. *BlueDeviceGamma: 12000
  1984. }
  1985. *case: Green
  1986. {
  1987. *RedDeviceGamma: 12000
  1988. *GreenDeviceGamma: 12600
  1989. *BlueDeviceGamma: 12000
  1990. }
  1991. *case: BluishGreen
  1992. {
  1993. *RedDeviceGamma: 12000
  1994. *GreenDeviceGamma: 12600
  1995. *BlueDeviceGamma: 12300
  1996. }
  1997. *case: GreenishBlue
  1998. {
  1999. *RedDeviceGamma: 12000
  2000. *GreenDeviceGamma: 12300
  2001. *BlueDeviceGamma: 12600
  2002. }
  2003. *case: Blue
  2004. {
  2005. *RedDeviceGamma: 12000
  2006. *GreenDeviceGamma: 12000
  2007. *BlueDeviceGamma: 12600
  2008. }
  2009. *case: BluishPurple
  2010. {
  2011. *RedDeviceGamma: 12300
  2012. *GreenDeviceGamma: 12000
  2013. *BlueDeviceGamma: 12600
  2014. }
  2015. *case: Purple
  2016. {
  2017. *RedDeviceGamma: 12600
  2018. *GreenDeviceGamma: 12000
  2019. *BlueDeviceGamma: 12600
  2020. }
  2021. *case: ReddishPurple
  2022. {
  2023. *RedDeviceGamma: 12600
  2024. *GreenDeviceGamma: 12000
  2025. *BlueDeviceGamma: 12300
  2026. }
  2027. *case: Red
  2028. {
  2029. *RedDeviceGamma: 12600
  2030. *GreenDeviceGamma: 12000
  2031. *BlueDeviceGamma: 12000
  2032. }
  2033. *case: Orange
  2034. {
  2035. *RedDeviceGamma: 12600
  2036. *GreenDeviceGamma: 12300
  2037. *BlueDeviceGamma: 12000
  2038. }
  2039. *case: YellowishOrange
  2040. {
  2041. *RedDeviceGamma: 12600
  2042. *GreenDeviceGamma: 12450
  2043. *BlueDeviceGamma: 12000
  2044. }
  2045. }
  2046. }
  2047. *case: Medium
  2048. { *% +10% (+1200)
  2049. *switch: DeviceGammaAdjustmentHue
  2050. {
  2051. *case: Yellow
  2052. {
  2053. *RedDeviceGamma: 13200
  2054. *GreenDeviceGamma: 13200
  2055. *BlueDeviceGamma: 12000
  2056. }
  2057. *case: YellowishGreen
  2058. {
  2059. *RedDeviceGamma: 12600
  2060. *GreenDeviceGamma: 13200
  2061. *BlueDeviceGamma: 12000
  2062. }
  2063. *case: Green
  2064. {
  2065. *RedDeviceGamma: 12000
  2066. *GreenDeviceGamma: 13200
  2067. *BlueDeviceGamma: 12000
  2068. }
  2069. *case: BluishGreen
  2070. {
  2071. *RedDeviceGamma: 12000
  2072. *GreenDeviceGamma: 13200
  2073. *BlueDeviceGamma: 12600
  2074. }
  2075. *case: GreenishBlue
  2076. {
  2077. *RedDeviceGamma: 12000
  2078. *GreenDeviceGamma: 12600
  2079. *BlueDeviceGamma: 13200
  2080. }
  2081. *case: Blue
  2082. {
  2083. *RedDeviceGamma: 12000
  2084. *GreenDeviceGamma: 12000
  2085. *BlueDeviceGamma: 13200
  2086. }
  2087. *case: BluishPurple
  2088. {
  2089. *RedDeviceGamma: 12600
  2090. *GreenDeviceGamma: 12000
  2091. *BlueDeviceGamma: 13200
  2092. }
  2093. *case: Purple
  2094. {
  2095. *RedDeviceGamma: 13200
  2096. *GreenDeviceGamma: 12000
  2097. *BlueDeviceGamma: 13200
  2098. }
  2099. *case: ReddishPurple
  2100. {
  2101. *RedDeviceGamma: 13200
  2102. *GreenDeviceGamma: 12000
  2103. *BlueDeviceGamma: 12600
  2104. }
  2105. *case: Red
  2106. {
  2107. *RedDeviceGamma: 13200
  2108. *GreenDeviceGamma: 12000
  2109. *BlueDeviceGamma: 12000
  2110. }
  2111. *case: Orange
  2112. {
  2113. *RedDeviceGamma: 13200
  2114. *GreenDeviceGamma: 12600
  2115. *BlueDeviceGamma: 12000
  2116. }
  2117. *case: YellowishOrange
  2118. {
  2119. *RedDeviceGamma: 13200
  2120. *GreenDeviceGamma: 12900
  2121. *BlueDeviceGamma: 12000
  2122. }
  2123. }
  2124. }
  2125. *case: High
  2126. { *% +20% (+2400)
  2127. *switch: DeviceGammaAdjustmentHue
  2128. {
  2129. *case: Yellow
  2130. {
  2131. *RedDeviceGamma: 14400
  2132. *GreenDeviceGamma: 14400
  2133. *BlueDeviceGamma: 12000
  2134. }
  2135. *case: YellowishGreen
  2136. {
  2137. *RedDeviceGamma: 13200
  2138. *GreenDeviceGamma: 14400
  2139. *BlueDeviceGamma: 12000
  2140. }
  2141. *case: Green
  2142. {
  2143. *RedDeviceGamma: 12000
  2144. *GreenDeviceGamma: 14400
  2145. *BlueDeviceGamma: 12000
  2146. }
  2147. *case: BluishGreen
  2148. {
  2149. *RedDeviceGamma: 12000
  2150. *GreenDeviceGamma: 14400
  2151. *BlueDeviceGamma: 13200
  2152. }
  2153. *case: GreenishBlue
  2154. {
  2155. *RedDeviceGamma: 12000
  2156. *GreenDeviceGamma: 13200
  2157. *BlueDeviceGamma: 14400
  2158. }
  2159. *case: Blue
  2160. {
  2161. *RedDeviceGamma: 12000
  2162. *GreenDeviceGamma: 12000
  2163. *BlueDeviceGamma: 14400
  2164. }
  2165. *case: BluishPurple
  2166. {
  2167. *RedDeviceGamma: 13200
  2168. *GreenDeviceGamma: 12000
  2169. *BlueDeviceGamma: 14400
  2170. }
  2171. *case: Purple
  2172. {
  2173. *RedDeviceGamma: 14400
  2174. *GreenDeviceGamma: 12000
  2175. *BlueDeviceGamma: 14400
  2176. }
  2177. *case: ReddishPurple
  2178. {
  2179. *RedDeviceGamma: 14400
  2180. *GreenDeviceGamma: 12000
  2181. *BlueDeviceGamma: 13200
  2182. }
  2183. *case: Red
  2184. {
  2185. *RedDeviceGamma: 14400
  2186. *GreenDeviceGamma: 12000
  2187. *BlueDeviceGamma: 12000
  2188. }
  2189. *case: Orange
  2190. {
  2191. *RedDeviceGamma: 14400
  2192. *GreenDeviceGamma: 13200
  2193. *BlueDeviceGamma: 12000
  2194. }
  2195. *case: YellowishOrange
  2196. {
  2197. *RedDeviceGamma: 14400
  2198. *GreenDeviceGamma: 13800
  2199. *BlueDeviceGamma: 12000
  2200. }
  2201. }
  2202. }
  2203. }
  2204. }
  2205. *case: Light4
  2206. { *% 1.4
  2207. *switch: DeviceGammaAdjustmentChroma
  2208. {
  2209. *case: Flat
  2210. {
  2211. *RedDeviceGamma: 14000
  2212. *GreenDeviceGamma: 14000
  2213. *BlueDeviceGamma: 14000
  2214. }
  2215. *case: Low
  2216. { *% +5% (+700)
  2217. *switch: DeviceGammaAdjustmentHue
  2218. {
  2219. *case: Yellow
  2220. {
  2221. *RedDeviceGamma: 14700
  2222. *GreenDeviceGamma: 14700
  2223. *BlueDeviceGamma: 14000
  2224. }
  2225. *case: YellowishGreen
  2226. {
  2227. *RedDeviceGamma: 14350
  2228. *GreenDeviceGamma: 14700
  2229. *BlueDeviceGamma: 14000
  2230. }
  2231. *case: Green
  2232. {
  2233. *RedDeviceGamma: 14000
  2234. *GreenDeviceGamma: 14700
  2235. *BlueDeviceGamma: 14000
  2236. }
  2237. *case: BluishGreen
  2238. {
  2239. *RedDeviceGamma: 14000
  2240. *GreenDeviceGamma: 14700
  2241. *BlueDeviceGamma: 14350
  2242. }
  2243. *case: GreenishBlue
  2244. {
  2245. *RedDeviceGamma: 14000
  2246. *GreenDeviceGamma: 14350
  2247. *BlueDeviceGamma: 14700
  2248. }
  2249. *case: Blue
  2250. {
  2251. *RedDeviceGamma: 14000
  2252. *GreenDeviceGamma: 14000
  2253. *BlueDeviceGamma: 14700
  2254. }
  2255. *case: BluishPurple
  2256. {
  2257. *RedDeviceGamma: 14350
  2258. *GreenDeviceGamma: 14000
  2259. *BlueDeviceGamma: 14700
  2260. }
  2261. *case: Purple
  2262. {
  2263. *RedDeviceGamma: 14700
  2264. *GreenDeviceGamma: 14000
  2265. *BlueDeviceGamma: 14700
  2266. }
  2267. *case: ReddishPurple
  2268. {
  2269. *RedDeviceGamma: 14700
  2270. *GreenDeviceGamma: 14000
  2271. *BlueDeviceGamma: 14350
  2272. }
  2273. *case: Red
  2274. {
  2275. *RedDeviceGamma: 14700
  2276. *GreenDeviceGamma: 14000
  2277. *BlueDeviceGamma: 14000
  2278. }
  2279. *case: Orange
  2280. {
  2281. *RedDeviceGamma: 14700
  2282. *GreenDeviceGamma: 14350
  2283. *BlueDeviceGamma: 14000
  2284. }
  2285. *case: YellowishOrange
  2286. {
  2287. *RedDeviceGamma: 14700
  2288. *GreenDeviceGamma: 14525
  2289. *BlueDeviceGamma: 14000
  2290. }
  2291. }
  2292. }
  2293. *case: Medium
  2294. { *% +10% (+1400)
  2295. *switch: DeviceGammaAdjustmentHue
  2296. {
  2297. *case: Yellow
  2298. {
  2299. *RedDeviceGamma: 15400
  2300. *GreenDeviceGamma: 15400
  2301. *BlueDeviceGamma: 14000
  2302. }
  2303. *case: YellowishGreen
  2304. {
  2305. *RedDeviceGamma: 15400
  2306. *GreenDeviceGamma: 14700
  2307. *BlueDeviceGamma: 14000
  2308. }
  2309. *case: Green
  2310. {
  2311. *RedDeviceGamma: 14000
  2312. *GreenDeviceGamma: 15400
  2313. *BlueDeviceGamma: 14000
  2314. }
  2315. *case: BluishGreen
  2316. {
  2317. *RedDeviceGamma: 14000
  2318. *GreenDeviceGamma: 15400
  2319. *BlueDeviceGamma: 14700
  2320. }
  2321. *case: GreenishBlue
  2322. {
  2323. *RedDeviceGamma: 14000
  2324. *GreenDeviceGamma: 14700
  2325. *BlueDeviceGamma: 15400
  2326. }
  2327. *case: Blue
  2328. {
  2329. *RedDeviceGamma: 14000
  2330. *GreenDeviceGamma: 14000
  2331. *BlueDeviceGamma: 15400
  2332. }
  2333. *case: BluishPurple
  2334. {
  2335. *RedDeviceGamma: 14700
  2336. *GreenDeviceGamma: 14000
  2337. *BlueDeviceGamma: 15400
  2338. }
  2339. *case: Purple
  2340. {
  2341. *RedDeviceGamma: 15400
  2342. *GreenDeviceGamma: 14000
  2343. *BlueDeviceGamma: 15400
  2344. }
  2345. *case: ReddishPurple
  2346. {
  2347. *RedDeviceGamma: 15400
  2348. *GreenDeviceGamma: 14000
  2349. *BlueDeviceGamma: 14700
  2350. }
  2351. *case: Red
  2352. {
  2353. *RedDeviceGamma: 15400
  2354. *GreenDeviceGamma: 14000
  2355. *BlueDeviceGamma: 14000
  2356. }
  2357. *case: Orange
  2358. {
  2359. *RedDeviceGamma: 15400
  2360. *GreenDeviceGamma: 14700
  2361. *BlueDeviceGamma: 14000
  2362. }
  2363. *case: YellowishOrange
  2364. {
  2365. *RedDeviceGamma: 15400
  2366. *GreenDeviceGamma: 15050
  2367. *BlueDeviceGamma: 14000
  2368. }
  2369. }
  2370. }
  2371. *case: High
  2372. { *% +20% (+2800)
  2373. *switch: DeviceGammaAdjustmentHue
  2374. {
  2375. *case: Yellow
  2376. {
  2377. *RedDeviceGamma: 16800
  2378. *GreenDeviceGamma: 16800
  2379. *BlueDeviceGamma: 14000
  2380. }
  2381. *case: YellowishGreen
  2382. {
  2383. *RedDeviceGamma: 15400
  2384. *GreenDeviceGamma: 16800
  2385. *BlueDeviceGamma: 14000
  2386. }
  2387. *case: Green
  2388. {
  2389. *RedDeviceGamma: 14000
  2390. *GreenDeviceGamma: 16800
  2391. *BlueDeviceGamma: 14000
  2392. }
  2393. *case: BluishGreen
  2394. {
  2395. *RedDeviceGamma: 14000
  2396. *GreenDeviceGamma: 16800
  2397. *BlueDeviceGamma: 15400
  2398. }
  2399. *case: GreenishBlue
  2400. {
  2401. *RedDeviceGamma: 14000
  2402. *GreenDeviceGamma: 15400
  2403. *BlueDeviceGamma: 16800
  2404. }
  2405. *case: Blue
  2406. {
  2407. *RedDeviceGamma: 14000
  2408. *GreenDeviceGamma: 14000
  2409. *BlueDeviceGamma: 16800
  2410. }
  2411. *case: BluishPurple
  2412. {
  2413. *RedDeviceGamma: 15400
  2414. *GreenDeviceGamma: 14000
  2415. *BlueDeviceGamma: 16800
  2416. }
  2417. *case: Purple
  2418. {
  2419. *RedDeviceGamma: 16800
  2420. *GreenDeviceGamma: 14000
  2421. *BlueDeviceGamma: 16800
  2422. }
  2423. *case: ReddishPurple
  2424. {
  2425. *RedDeviceGamma: 16800
  2426. *GreenDeviceGamma: 14000
  2427. *BlueDeviceGamma: 15400
  2428. }
  2429. *case: Red
  2430. {
  2431. *RedDeviceGamma: 16800
  2432. *GreenDeviceGamma: 14000
  2433. *BlueDeviceGamma: 14000
  2434. }
  2435. *case: Orange
  2436. {
  2437. *RedDeviceGamma: 16800
  2438. *GreenDeviceGamma: 15400
  2439. *BlueDeviceGamma: 14000
  2440. }
  2441. *case: YellowishOrange
  2442. {
  2443. *RedDeviceGamma: 16800
  2444. *GreenDeviceGamma: 16100
  2445. *BlueDeviceGamma: 14000
  2446. }
  2447. }
  2448. }
  2449. }
  2450. }
  2451. }
  2452. }
  2453. *BlockMacro: BM_RECTFILL
  2454. {
  2455. *Command: CmdSetRectWidth { *Cmd: "" }
  2456. *Command: CmdSetRectHeight { *Cmd: "" }
  2457. *Command: CmdRectGrayFill
  2458. {
  2459. *Cmd: "<1D>0;0;"%d{GrayPercentage}"spE<1D>1owE<1D>1tsE<1D>1dmG"
  2460. + "<1D>"%d{(DestX / 2)}";"%d{(DestY / 2)}";"
  2461. + %d{((DestX + (RectXSize - 2)) / 2)}";"%d{((DestY + (RectYSize - 2)) / 2)}";0rG"
  2462. + "<1D>0;0;100spE<1D>0owE<1D>0tsE"
  2463. }
  2464. *Command: CmdRectWhiteFill
  2465. {
  2466. *Cmd: "<1D>0;0;0spE<1D>1owE<1D>1tsE<1D>1dmG"
  2467. + "<1D>"%d{(DestX / 2)}";"%d{(DestY / 2)}";"
  2468. + %d{((DestX + (RectXSize - 2)) / 2)}";"%d{((DestY + (RectYSize - 2)) / 2)}";0rG"
  2469. + "<1D>0;0;100spE<1D>0owE<1D>0tsE"
  2470. }
  2471. *Command: CmdRectBlackFill
  2472. {
  2473. *Cmd: "<1D>0;0;100spE<1D>1owE<1D>1tsE<1D>1dmG"
  2474. + "<1D>"%d{(DestX / 2)}";"%d{(DestY / 2)}";"
  2475. + %d{((DestX + (RectXSize - 2)) / 2)}";"%d{((DestY + (RectYSize - 2)) / 2)}";0rG"
  2476. + "<1D>0owE<1D>0tsE"
  2477. }
  2478. }
  2479. *BlockMacro: BM_RECTFILL_C
  2480. {
  2481. *Command: CmdSetRectWidth { *Cmd: "" }
  2482. *Command: CmdSetRectHeight { *Cmd: "" }
  2483. *Command: CmdRectGrayFill
  2484. {
  2485. *Cmd: "<1D>1;2;3;"%d{(((100 - GrayPercentage) * 255) / 100)}";"
  2486. + %d{(((100 - GrayPercentage) * 255) / 100)}";"
  2487. + %d{(((100 - GrayPercentage) * 255) / 100)}"fpE"
  2488. + "<1D>3;2;1cpE<1D>2;240wfE<1D>1dmG"
  2489. + "<1D>"%d{(DestX / 2)}";"%d{(DestY / 2)}";"
  2490. + %d{((DestX + (RectXSize - 2)) / 2)}";"%d{((DestY + (RectYSize - 2)) / 2)}";0rG"
  2491. + "<1D>1;2;3;0;0;0fpE<1D>2;160wfE"
  2492. }
  2493. *Command: CmdRectWhiteFill
  2494. {
  2495. *Cmd: "<1D>1;2;3;255;255;255fpE<1D>3;2;1cpE<1D>2;240wfE<1D>1dmG"
  2496. + "<1D>"%d{(DestX / 2)}";"%d{(DestY / 2)}";"
  2497. + %d{((DestX + (RectXSize - 2)) / 2)}";"%d{((DestY + (RectYSize - 2)) / 2)}";0rG"
  2498. + "<1D>1;2;3;0;0;0fpE<1D>2;160wfE"
  2499. }
  2500. *Command: CmdRectBlackFill
  2501. {
  2502. *Cmd: "<1D>1;2;3;0;0;0fpE<1D>3;2;1cpE<1D>2;240wfE<1D>1dmG"
  2503. + "<1D>"%d{(DestX / 2)}";"%d{(DestY / 2)}";"
  2504. + %d{((DestX + (RectXSize - 2)) / 2)}";"%d{((DestY + (RectYSize - 2)) / 2)}";0rG"
  2505. + "<1D>2;160wfE"
  2506. }
  2507. }
  2508. *Macros: CmdStrings
  2509. {
  2510. CMD_STARTDOC_INI : "<1B01>@EJL <0A>@EJL EN LA=ESC/PAGE<0A>"
  2511. + "<1B01>@EJL <0A>@EJL SE LA=ESC/PAGE<0A>"
  2512. + "@EJL SET EC=ON PU=1 ZO=OFF RS=FN<0A>"
  2513. CMD_STARTDOC_FIN : "@EJL EN LA=ESC/PAGE<0A>"
  2514. + "<1D>rhE<1D>0;0.12muE<1D>14isE<1D>2iaF<1D>24ifF<1D>1ipP"
  2515. CMD_STARTDOC_C_INI : "<1B01>@EJL <0A>@EJL SE LA=ESC/PAGE<0A>"
  2516. + "@EJL SET EC=ON PU=1 ZO=OFF<0A>"
  2517. CMD_STARTDOC_C_FIN : "@EJL EN LA=ESC/PAGE-COLOR<0A>"
  2518. + "<1D>rhE<1D>0;0.12muE<1D>2;160wfE<1D>5;136wfE"
  2519. CMD_STARTDOC_C_FIN_QK : "@EJL SET RS=QK<0A>@EJL EN LA=ESC/PAGE-COLOR<0A>"
  2520. + "<1D>rhE<1D>0;0.12muE"
  2521. CMD_STARTDOC_C_FIN_FN : "@EJL SET RS=FN<0A>@EJL EN LA=ESC/PAGE-COLOR<0A>"
  2522. + "<1D>rhE<1D>0;0.12muE"
  2523. CMD_EJL_SET : "@EJL SET"
  2524. CMD_EJL_FACEDOWN : " OU=FD"
  2525. CMD_EJL_FACEUP : " OU=FU"
  2526. CMD_EJL_NORMAL : " PK=NM"
  2527. CMD_EJL_THICK : " PK=TH"
  2528. CMD_EJL_THICK_N : " PK=TN"
  2529. CMD_EJL_OHP : " PK=TR"
  2530. CMD_EJL_END : "<0A>"
  2531. }
  2532. *% BlockMacros for PaperSize feature:US
  2533. *BlockMacro: BM_PS_A3W
  2534. {
  2535. *rcNameID: =RC_STR_A3W
  2536. *PageDimensions: PAIR(15496, 21400)
  2537. *switch: Orientation
  2538. {
  2539. *case: PORTRAIT
  2540. {
  2541. *PrintableArea: PAIR(15016, 20920)
  2542. *PrintableOrigin: PAIR(240, 240)
  2543. *CursorOrigin: PAIR(240, 240)
  2544. *Command: CmdSelect
  2545. {
  2546. *Order: DOC_SETUP.40
  2547. *Cmd: "<1D>75psE"
  2548. }
  2549. }
  2550. *case: LANDSCAPE_CC90
  2551. {
  2552. *PrintableArea: PAIR(15016, 20920)
  2553. *PrintableOrigin: PAIR(240, 240)
  2554. *CursorOrigin: PAIR(240, 21160)
  2555. *Command: CmdSelect
  2556. {
  2557. *Order: DOC_SETUP.40
  2558. *Cmd: "<1D>75psE<1D>1poE"
  2559. }
  2560. }
  2561. }
  2562. }
  2563. *BlockMacro: BM_PS_IB5
  2564. {
  2565. *rcNameID: =RC_STR_IB5
  2566. *PageDimensions: PAIR(8312, 11808)
  2567. *switch: Orientation
  2568. {
  2569. *case: PORTRAIT
  2570. {
  2571. *PrintableArea: PAIR(7832, 11328)
  2572. *PrintableOrigin: PAIR(240, 240)
  2573. *CursorOrigin: PAIR(240, 240)
  2574. *Command: CmdSelect
  2575. {
  2576. *Order: DOC_SETUP.40
  2577. *Cmd: "<1D>99psE"
  2578. }
  2579. }
  2580. *case: LANDSCAPE_CC90
  2581. {
  2582. *PrintableArea: PAIR(7832, 11328)
  2583. *PrintableOrigin: PAIR(240, 240)
  2584. *CursorOrigin: PAIR(240, 11568)
  2585. *Command: CmdSelect
  2586. {
  2587. *Order: DOC_SETUP.40
  2588. *Cmd: "<1D>99psE<1D>1poE"
  2589. }
  2590. }
  2591. }
  2592. }
  2593. *BlockMacro: BM_PS_A3P
  2594. {
  2595. *rcNameID: =RC_STR_A3P
  2596. *PageDimensions: PAIR(15540, 22816)
  2597. *switch: Orientation
  2598. {
  2599. *case: PORTRAIT
  2600. {
  2601. *PrintableArea: PAIR(15060, 22336)
  2602. *PrintableOrigin: PAIR(240, 240)
  2603. *CursorOrigin: PAIR(240, 240)
  2604. *Command: CmdSelect
  2605. {
  2606. *Order: DOC_SETUP.40
  2607. *Cmd: "<1D>72psE"
  2608. }
  2609. }
  2610. *case: LANDSCAPE_CC90
  2611. {
  2612. *PrintableArea: PAIR(15060, 22336)
  2613. *PrintableOrigin: PAIR(240, 240)
  2614. *CursorOrigin: PAIR(240, 22576)
  2615. *Command: CmdSelect
  2616. {
  2617. *Order: DOC_SETUP.40
  2618. *Cmd: "<1D>72psE<1D>1poE"
  2619. }
  2620. }
  2621. }
  2622. }
  2623. *% BlockMacros for other features
  2624. *BlockMacro: BM_DEVGAMMAADJ_BRIGHTNESS_OPTIONS
  2625. {
  2626. *rcNameID: =RC_STR_BRGHTNSS
  2627. *FeatureType: DOC_PROPERTY
  2628. *DefaultOption: Light3
  2629. *Option: DriverDefault
  2630. {
  2631. *rcNameID: =RC_STR_DRVDEF
  2632. *Command: CmdSelect
  2633. {
  2634. *Order: DOC_SETUP.997
  2635. *Cmd: ""
  2636. }
  2637. }
  2638. *Option: Dark2
  2639. {
  2640. *rcNameID: =RC_STR_DARK2
  2641. *Command: CmdSelect
  2642. {
  2643. *Order: DOC_SETUP.997
  2644. *Cmd: ""
  2645. }
  2646. }
  2647. *Option: Dark1
  2648. {
  2649. *rcNameID: =RC_STR_DARK1
  2650. *Command: CmdSelect
  2651. {
  2652. *Order: DOC_SETUP.997
  2653. *Cmd: ""
  2654. }
  2655. }
  2656. *Option: Normal
  2657. {
  2658. *rcNameID: =RC_STR_NORMAL
  2659. *Command: CmdSelect
  2660. {
  2661. *Order: DOC_SETUP.997
  2662. *Cmd: ""
  2663. }
  2664. }
  2665. *Option: Light1
  2666. {
  2667. *rcNameID: =RC_STR_LGHT1
  2668. *Command: CmdSelect
  2669. {
  2670. *Order: DOC_SETUP.997
  2671. *Cmd: ""
  2672. }
  2673. }
  2674. *Option: Light2
  2675. {
  2676. *rcNameID: =RC_STR_LGHT2
  2677. *Command: CmdSelect
  2678. {
  2679. *Order: DOC_SETUP.997
  2680. *Cmd: ""
  2681. }
  2682. }
  2683. *Option: Light3
  2684. {
  2685. *rcNameID: =RC_STR_LGHT3
  2686. *Command: CmdSelect
  2687. {
  2688. *Order: DOC_SETUP.997
  2689. *Cmd: ""
  2690. }
  2691. }
  2692. *Option: Light4
  2693. {
  2694. *rcNameID: =RC_STR_LGHT4
  2695. *Command: CmdSelect
  2696. {
  2697. *Order: DOC_SETUP.997
  2698. *Cmd: ""
  2699. }
  2700. }
  2701. }
  2702. *BlockMacro: BM_DEVGAMMAADJ_HUE_OPTIONS
  2703. {
  2704. *rcNameID: =RC_STR_HUE
  2705. *FeatureType: DOC_PROPERTY
  2706. *DefaultOption: Red
  2707. *Option: Yellow
  2708. {
  2709. *rcNameID: =RC_STR_YLW
  2710. *Command: CmdSelect
  2711. {
  2712. *Order: DOC_SETUP.996
  2713. *Cmd: ""
  2714. }
  2715. }
  2716. *Option: YellowishGreen
  2717. {
  2718. *rcNameID: =RC_STR_YLWGRN
  2719. *Command: CmdSelect
  2720. {
  2721. *Order: DOC_SETUP.996
  2722. *Cmd: ""
  2723. }
  2724. }
  2725. *Option: Green
  2726. {
  2727. *rcNameID: =RC_STR_GRN
  2728. *Command: CmdSelect
  2729. {
  2730. *Order: DOC_SETUP.996
  2731. *Cmd: ""
  2732. }
  2733. }
  2734. *Option: BluishGreen
  2735. {
  2736. *rcNameID: =RC_STR_BLUGRN
  2737. *Command: CmdSelect
  2738. {
  2739. *Order: DOC_SETUP.996
  2740. *Cmd: ""
  2741. }
  2742. }
  2743. *Option: GreenishBlue
  2744. {
  2745. *rcNameID: =RC_STR_GRNBLU
  2746. *Command: CmdSelect
  2747. {
  2748. *Order: DOC_SETUP.996
  2749. *Cmd: ""
  2750. }
  2751. }
  2752. *Option: Blue
  2753. {
  2754. *rcNameID: =RC_STR_BLU
  2755. *Command: CmdSelect
  2756. {
  2757. *Order: DOC_SETUP.996
  2758. *Cmd: ""
  2759. }
  2760. }
  2761. *Option: BluishPurple
  2762. {
  2763. *rcNameID: =RC_STR_BLUPPL
  2764. *Command: CmdSelect
  2765. {
  2766. *Order: DOC_SETUP.996
  2767. *Cmd: ""
  2768. }
  2769. }
  2770. *Option: Purple
  2771. {
  2772. *rcNameID: =RC_STR_PPL
  2773. *Command: CmdSelect
  2774. {
  2775. *Order: DOC_SETUP.996
  2776. *Cmd: ""
  2777. }
  2778. }
  2779. *Option: ReddishPurple
  2780. {
  2781. *rcNameID: =RC_STR_REDPPL
  2782. *Command: CmdSelect
  2783. {
  2784. *Order: DOC_SETUP.996
  2785. *Cmd: ""
  2786. }
  2787. }
  2788. *Option: Red
  2789. {
  2790. *rcNameID: =RC_STR_RED
  2791. *Command: CmdSelect
  2792. {
  2793. *Order: DOC_SETUP.996
  2794. *Cmd: ""
  2795. }
  2796. }
  2797. *Option: Orange
  2798. {
  2799. *rcNameID: =RC_STR_ORG
  2800. *Command: CmdSelect
  2801. {
  2802. *Order: DOC_SETUP.996
  2803. *Cmd: ""
  2804. }
  2805. }
  2806. *Option: YellowishOrange
  2807. {
  2808. *rcNameID: =RC_STR_YLWORG
  2809. *Command: CmdSelect
  2810. {
  2811. *Order: DOC_SETUP.996
  2812. *Cmd: ""
  2813. }
  2814. }
  2815. }
  2816. *BlockMacro: BM_DEVGAMMAADJ_CHROMA_OPTIONS
  2817. {
  2818. *rcNameID: =RC_STR_CHROMA
  2819. *FeatureType: DOC_PROPERTY
  2820. *DefaultOption: High
  2821. *Option: Flat
  2822. {
  2823. *rcNameID: =RC_STR_FLAT
  2824. *Command: CmdSelect
  2825. {
  2826. *Order: DOC_SETUP.996
  2827. *Cmd: ""
  2828. }
  2829. }
  2830. *Option: Low
  2831. {
  2832. *rcNameID: =RC_STR_LOW
  2833. *Command: CmdSelect
  2834. {
  2835. *Order: DOC_SETUP.996
  2836. *Cmd: ""
  2837. }
  2838. }
  2839. *Option: Medium
  2840. {
  2841. *rcNameID: =RC_STR_MED
  2842. *Command: CmdSelect
  2843. {
  2844. *Order: DOC_SETUP.996
  2845. *Cmd: ""
  2846. }
  2847. }
  2848. *Option: High
  2849. {
  2850. *rcNameID: =RC_STR_HIGH
  2851. *Command: CmdSelect
  2852. {
  2853. *Order: DOC_SETUP.996
  2854. *Cmd: ""
  2855. }
  2856. }
  2857. }
  2858. *CodePage: 1252
  2859. *ModelName: "Epson EPL-C8000"
  2860. *MasterUnits: PAIR(1200, 1200)
  2861. *ResourceDLL: "EPAGCRES.DLL"
  2862. *PrinterType: PAGE
  2863. *MaxCopies: 255
  2864. *PrintRate: 4
  2865. *PrintRateUnit: PPM
  2866. *FontCartSlots: 1
  2867. *rcInstalledOptionNameID: =RC_STR_OPTION_ON
  2868. *rcNotInstalledOptionNameID: =RC_STR_OPTION_OFF
  2869. *Feature: Orientation
  2870. {
  2871. *rcNameID: =ORIENTATION_DISPLAY
  2872. *DefaultOption: PORTRAIT
  2873. *Option: PORTRAIT
  2874. {
  2875. *rcNameID: =PORTRAIT_DISPLAY
  2876. *Command: CmdSelect
  2877. {
  2878. *Order: DOC_SETUP.30
  2879. *Cmd: "<1D>0poE"
  2880. }
  2881. }
  2882. *Option: LANDSCAPE_CC90
  2883. {
  2884. *rcNameID: =LANDSCAPE_DISPLAY
  2885. *Command: CmdSelect
  2886. {
  2887. *Order: DOC_SETUP.30
  2888. *Cmd: "<1D>1poE"
  2889. }
  2890. }
  2891. }
  2892. *Feature: InputBin
  2893. {
  2894. *rcNameID: =PAPER_SOURCE_DISPLAY
  2895. *DefaultOption: AUTOSEL
  2896. *Option: AUTOSEL
  2897. {
  2898. *rcNameID: =RC_STR_AUTOSEL
  2899. *Command: CmdSelect
  2900. {
  2901. *Order: DOC_SETUP.50
  2902. *Cmd: "<1D>0;0iuE"
  2903. }
  2904. }
  2905. *Option: CST1
  2906. {
  2907. *rcNameID: =RC_STR_CST1
  2908. *Command: CmdSelect
  2909. {
  2910. *Order: DOC_SETUP.50
  2911. *Cmd: "<1D>2;1iuE"
  2912. }
  2913. }
  2914. *Option: CST2
  2915. {
  2916. *rcNameID: =RC_STR_CST2
  2917. *Installable?: TRUE
  2918. *rcInstallableFeatureNameID: =RC_STR_CST2
  2919. *Command: CmdSelect
  2920. {
  2921. *Order: DOC_SETUP.50
  2922. *Cmd: "<1D>3;1iuE"
  2923. }
  2924. *% Constraints: LIST(PaperSize.A3)
  2925. }
  2926. *Option: CST3
  2927. {
  2928. *rcNameID: =RC_STR_CST3
  2929. *Installable?: TRUE
  2930. *rcInstallableFeatureNameID: =RC_STR_CST3
  2931. *Command: CmdSelect
  2932. {
  2933. *Order: DOC_SETUP.50
  2934. *Cmd: "<1D>4;1iuE"
  2935. }
  2936. }
  2937. *Option: CST4
  2938. {
  2939. *rcNameID: =RC_STR_CST4
  2940. *Installable?: TRUE
  2941. *rcInstallableFeatureNameID: =RC_STR_CST4
  2942. *Command: CmdSelect
  2943. {
  2944. *Order: DOC_SETUP.50
  2945. *Cmd: "<1D>5;1iuE"
  2946. }
  2947. }
  2948. *Option: TRAY
  2949. {
  2950. *rcNameID: =RC_STR_TRAY
  2951. *Command: CmdSelect
  2952. {
  2953. *Order: DOC_SETUP.50
  2954. *Cmd: "<1D>1;1iuE"
  2955. }
  2956. }
  2957. }
  2958. *Feature: OutputBin
  2959. {
  2960. *rcNameID: =OUTPUTBIN_DISPLAY
  2961. *DefaultOption: FACEDOWN
  2962. *Option: FACEDOWN
  2963. {
  2964. *rcNameID: =RC_STR_FACEDOWN
  2965. *Constraints: LIST(PaperSize.A5, PaperSize.HLT, PaperSize.ENV_MONARCH,
  2966. + PaperSize.C10, PaperSize.ENV_10, PaperSize.ENV_DL,
  2967. + PaperSize.ENV_C5, PaperSize.ENV_C6, PaperSize.IB5,
  2968. + MediaType.TRANSPARENCY)
  2969. *Command: CmdSelect
  2970. {
  2971. *Order: DOC_SETUP.2
  2972. *Cmd: =CMD_EJL_FACEDOWN
  2973. }
  2974. }
  2975. *Option: FACEUP
  2976. {
  2977. *rcNameID: =RC_STR_FACEUP
  2978. *OutputOrderReversed?: TRUE
  2979. *Command: CmdSelect
  2980. {
  2981. *Order: DOC_SETUP.2
  2982. *Cmd: =CMD_EJL_FACEUP
  2983. }
  2984. }
  2985. }
  2986. *Feature: MediaType
  2987. {
  2988. *rcNameID: =MEDIA_TYPE_DISPLAY
  2989. *DefaultOption: STANDARD
  2990. *Option: STANDARD
  2991. {
  2992. *rcNameID: =PLAIN_PAPER_DISPLAY
  2993. *Command: CmdSelect
  2994. {
  2995. *Order: DOC_SETUP.3
  2996. *Cmd: =CMD_EJL_NORMAL
  2997. }
  2998. }
  2999. *Option: TRANSPARENCY
  3000. {
  3001. *rcNameID: =TRANSPARENCY_DISPLAY
  3002. *Command: CmdSelect
  3003. {
  3004. *Order: DOC_SETUP.3
  3005. *Cmd: =CMD_EJL_OHP
  3006. }
  3007. }
  3008. *Option: THICK
  3009. {
  3010. *rcNameID: =RC_STR_THICK
  3011. *Command: CmdSelect
  3012. {
  3013. *Order: DOC_SETUP.3
  3014. *Cmd: =CMD_EJL_THICK
  3015. }
  3016. }
  3017. }
  3018. *Feature: PrinterMode
  3019. {
  3020. *rcNameID: =RC_STR_PRNTRMODE
  3021. *FeatureType: DOC_PROPERTY
  3022. *DefaultOption: CPGI
  3023. *Option: CPGI
  3024. {
  3025. *rcNameID: =RC_STR_QUALITY
  3026. *switch: ColorMode
  3027. {
  3028. *case: Mono
  3029. {
  3030. *Command: CmdSelect
  3031. {
  3032. *Order: DOC_SETUP.15
  3033. *Cmd: ""
  3034. }
  3035. }
  3036. *case: 24bpp
  3037. {
  3038. *Command: CmdSelect
  3039. { *% CPGI
  3040. *Order: DOC_SETUP.15
  3041. *Cmd: "<1D>0pdnO<1D>0pddO<1D>2;160wfE<1D>5;136wfE<1D>0;0mmE<1D>2csE"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. *Option: PGI
  3047. {
  3048. *rcNameID: =RC_STR_SPEED
  3049. *switch: ColorMode
  3050. {
  3051. *case: Mono
  3052. {
  3053. *Command: CmdSelect
  3054. {
  3055. *Order: DOC_SETUP.15
  3056. *Cmd: ""
  3057. }
  3058. }
  3059. *case: 24bpp
  3060. {
  3061. *Command: CmdSelect
  3062. { *% Speed
  3063. *Order: DOC_SETUP.15
  3064. *Cmd: "<1D>0pdnO<1D>1pddO<1D>2;160wfE<1D>5;136wfE<1D>0;0mmE<1D>2csE"
  3065. }
  3066. }
  3067. }
  3068. }
  3069. }
  3070. *Feature: ColorAdjustment
  3071. {
  3072. *rcNameID: =RC_STR_CLRADJUST
  3073. *FeatureType: DOC_PROPERTY
  3074. *DefaultOption: Natural
  3075. *Option: None
  3076. {
  3077. *rcNameID: =RC_STR_NONE
  3078. *switch: ColorMode
  3079. {
  3080. *case: Mono
  3081. {
  3082. *Command: CmdSelect
  3083. {
  3084. *Order: DOC_SETUP.16
  3085. *Cmd: ""
  3086. }
  3087. }
  3088. *case: 24bpp
  3089. {
  3090. *Command: CmdSelect
  3091. { *% Off
  3092. *Order: DOC_SETUP.16
  3093. *Cmd: "<1D>0;1;1cmmE<1D>0;1raE<1D>0;2;1ccmE<1D>9;2;1ccmE"
  3094. }
  3095. }
  3096. }
  3097. }
  3098. *Option: Natural
  3099. {
  3100. *rcNameID: =RC_STR_NATURAL
  3101. *switch: ColorMode
  3102. {
  3103. *case: Mono
  3104. {
  3105. *Command: CmdSelect
  3106. {
  3107. *Order: DOC_SETUP.16
  3108. *Cmd: ""
  3109. }
  3110. }
  3111. *case: 24bpp
  3112. {
  3113. *Command: CmdSelect
  3114. { *% Natural/Photo
  3115. *Order: DOC_SETUP.16
  3116. *Cmd: "<1D>0;1;1cmmE<1D>0;2raE<1D>0;2;4ccmE<1D>9;2;4ccmE<1D>1cmmE"
  3117. }
  3118. }
  3119. }
  3120. }
  3121. *Option: Vivid
  3122. {
  3123. *rcNameID: =RC_STR_VIVID
  3124. *switch: ColorMode
  3125. {
  3126. *case: Mono
  3127. {
  3128. *Command: CmdSelect
  3129. {
  3130. *Order: DOC_SETUP.16
  3131. *Cmd: ""
  3132. }
  3133. }
  3134. *case: 24bpp
  3135. {
  3136. *Command: CmdSelect
  3137. { *% Contrast/Graph
  3138. *Order: DOC_SETUP.16
  3139. *Cmd: "<1D>0;1;1cmmE<1D>0;1raE<1D>0;2;3ccmE<1D>9;2;3ccmE<1D>1cmmE"
  3140. }
  3141. }
  3142. }
  3143. }
  3144. }
  3145. *Feature: DeviceGammaAdjustmentBrightness
  3146. {
  3147. *InsertBlock: =BM_DEVGAMMAADJ_BRIGHTNESS_OPTIONS
  3148. }
  3149. *Feature: DeviceGammaAdjustmentHue
  3150. {
  3151. *InsertBlock: =BM_DEVGAMMAADJ_HUE_OPTIONS
  3152. }
  3153. *Feature: DeviceGammaAdjustmentChroma
  3154. {
  3155. *InsertBlock: =BM_DEVGAMMAADJ_CHROMA_OPTIONS
  3156. }
  3157. *Feature: StartDocFin
  3158. {
  3159. *rcNameID: =RC_STR_NONE *% Dummy
  3160. *ConcealFromUI?: TRUE
  3161. *DefaultOption: Option1
  3162. *Option: Option1
  3163. {
  3164. *rcNameID: =RC_STR_NONE *% Dummy
  3165. *switch: ColorMode
  3166. {
  3167. *case: Mono
  3168. {
  3169. *Command: CmdSelect
  3170. {
  3171. *Order: DOC_SETUP.10
  3172. *Cmd: =CMD_EJL_END =CMD_STARTDOC_FIN
  3173. }
  3174. }
  3175. *case: 24bpp
  3176. {
  3177. *switch: Resolution
  3178. {
  3179. *case: 300dpi
  3180. {
  3181. *Command: CmdSelect
  3182. {
  3183. *Order: DOC_SETUP.10
  3184. *Cmd: =CMD_EJL_END =CMD_STARTDOC_C_FIN_QK
  3185. }
  3186. }
  3187. *case: 600dpi
  3188. {
  3189. *Command: CmdSelect
  3190. {
  3191. *Order: DOC_SETUP.10
  3192. *Cmd: =CMD_EJL_END =CMD_STARTDOC_C_FIN_FN
  3193. }
  3194. }
  3195. }
  3196. }
  3197. }
  3198. }
  3199. }
  3200. *Feature: ColorMode
  3201. {
  3202. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  3203. *DefaultOption: 24bpp
  3204. *Option: Mono
  3205. {
  3206. *rcNameID: =MONO_DISPLAY
  3207. *DevNumOfPlanes: 1
  3208. *DevBPP: 1
  3209. *Color? : FALSE
  3210. *DisabledFeatures: LIST(PrinterMode,ColorAdjustment)
  3211. *Command: CmdSelect
  3212. {
  3213. *Order: DOC_SETUP.11
  3214. *Cmd: ""
  3215. }
  3216. }
  3217. *Option: 24bpp
  3218. {
  3219. *rcNameID: =24BPP_DISPLAY
  3220. *DevNumOfPlanes: 1
  3221. *DevBPP: 24
  3222. *DrvBPP: 24
  3223. *PaletteSize: 16
  3224. *PaletteProgrammable?: TRUE
  3225. *Command: CmdDefinePaletteEntry
  3226. {
  3227. *CallbackID: =DEFINE_PALETTE_ENTRY
  3228. *Params: LIST(PaletteIndexToProgram,RedValue,GreenValue,BlueValue)
  3229. }
  3230. *Command: CmdSelectPaletteEntry
  3231. {
  3232. *CallbackID: =SELECT_PALETTE_ENTRY
  3233. *Params: LIST(CurrentPaletteIndex)
  3234. }
  3235. *Command: CmdSetSrcBmpWidth
  3236. {
  3237. *CallbackID: =SET_SRC_BMP_WIDTH
  3238. *Params: LIST(RasterDataWidthInBytes)
  3239. }
  3240. *Command: CmdSetSrcBmpHeight
  3241. {
  3242. *CallbackID: =SET_SRC_BMP_HEIGHT
  3243. *Params: LIST(RasterDataHeightInPixels)
  3244. }
  3245. *IgnoreBlock
  3246. { *% Not function; never called for now
  3247. *Command: CmdSetDestBmpWidth
  3248. {
  3249. *CallbackID: =SET_DEST_BMP_WIDTH
  3250. *Params: LIST(RasterDataWidthInBytes)
  3251. }
  3252. *Command: CmdSetDestBmpHeight
  3253. {
  3254. *CallbackID: =SET_DEST_BMP_HEIGHT
  3255. *Params: LIST(RasterDataHeightInPixels)
  3256. }
  3257. }
  3258. *Command: CmdSelect
  3259. {
  3260. *Order: DOC_SETUP.11
  3261. *Cmd: ""
  3262. }
  3263. }
  3264. }
  3265. *Feature: Resolution
  3266. {
  3267. *rcNameID: =RESOLUTION_DISPLAY
  3268. *DefaultOption: 300dpi
  3269. *Option: 300dpi
  3270. {
  3271. *Name: "300 x 300 dots per inch"
  3272. *DPI: PAIR(300, 300)
  3273. *TextDPI: PAIR(300, 300)
  3274. *MinStripBlankPixels: 32
  3275. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  3276. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  3277. *SpotDiameter: 100
  3278. *switch: ColorMode
  3279. {
  3280. *case: Mono
  3281. {
  3282. *Command: CmdSendBlockData
  3283. {
  3284. *Cmd: "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";"
  3285. + %d{RasterDataHeightInPixels } ";0bi{I"
  3286. }
  3287. *Command: CmdSelect
  3288. {
  3289. *Order: DOC_SETUP.20
  3290. *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE"
  3291. }
  3292. }
  3293. *case: 24bpp
  3294. {
  3295. *Command: CmdSendBlockData
  3296. {
  3297. *CallbackID: =SEND_BLOCK_DATA
  3298. *Params: LIST(NumOfDataBytes,RasterDataWidthInBytes,RasterDataHeightInPixels)
  3299. }
  3300. *Command: CmdEndBlockData
  3301. {
  3302. *Cmd: "<1D>ecrI"
  3303. }
  3304. *Command: CmdSelect
  3305. {
  3306. *Order: DOC_SETUP.20
  3307. *Cmd: "<1D>0;300;300drE<1D>1;300;300drE<1D>2;300;300drE<1D>3;300;300drE"
  3308. }
  3309. *InsertBlock: =BM_GAMMA_ADJUSTMENT
  3310. }
  3311. }
  3312. }
  3313. *Option: 600dpi
  3314. {
  3315. *Name: "600 x 600 dots per inch"
  3316. *DPI: PAIR(600, 600)
  3317. *TextDPI: PAIR(600, 600)
  3318. *MinStripBlankPixels: 32
  3319. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  3320. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  3321. *SpotDiameter: 100
  3322. *switch: ColorMode
  3323. {
  3324. *case: Mono
  3325. {
  3326. *Command: CmdSendBlockData
  3327. {
  3328. *Cmd : "<1D>" %d{NumOfDataBytes}";" %d{(RasterDataWidthInBytes * 8)}";"
  3329. + %d{RasterDataHeightInPixels}";0bi{I"
  3330. }
  3331. *Command: CmdSelect
  3332. {
  3333. *Order: DOC_SETUP.20
  3334. *Cmd: "<1D>0;600;600drE<1D>1;600;600drE<1D>2;600;600drE"
  3335. }
  3336. }
  3337. *case: 24bpp
  3338. {
  3339. *Command: CmdSendBlockData
  3340. {
  3341. *CallbackID: =SEND_BLOCK_DATA
  3342. *Params: LIST(NumOfDataBytes,RasterDataWidthInBytes,RasterDataHeightInPixels)
  3343. }
  3344. *Command: CmdEndBlockData
  3345. {
  3346. *Cmd: "<1D>ecrI"
  3347. }
  3348. *Command: CmdSelect
  3349. {
  3350. *Order: DOC_SETUP.20
  3351. *Cmd: "<1D>0;600;600drE<1D>1;600;600drE<1D>2;600;600drE<1D>3;600;600drE"
  3352. }
  3353. *InsertBlock: =BM_GAMMA_ADJUSTMENT
  3354. }
  3355. }
  3356. }
  3357. }
  3358. *Feature: PaperSize
  3359. {
  3360. *rcNameID: =PAPER_SIZE_DISPLAY
  3361. *DefaultOption: A4
  3362. *Option: A3
  3363. {
  3364. *InsertBlock: =BM_PS_A3
  3365. }
  3366. *Option: A4
  3367. {
  3368. *InsertBlock: =BM_PS_A4
  3369. }
  3370. *Option: A5
  3371. {
  3372. *InsertBlock: =BM_PS_A5
  3373. }
  3374. *Option: B5
  3375. {
  3376. *InsertBlock: =BM_PS_B5
  3377. }
  3378. *Option: LETTER
  3379. {
  3380. *InsertBlock: =BM_PS_LT
  3381. }
  3382. *Option: HLT
  3383. {
  3384. *InsertBlock: =BM_PS_HLT
  3385. }
  3386. *Option: LEGAL
  3387. {
  3388. *InsertBlock: =BM_PS_LGL
  3389. }
  3390. *Option: EXECUTIVE
  3391. {
  3392. *InsertBlock: =BM_PS_EXE
  3393. }
  3394. *Option: GLG
  3395. {
  3396. *InsertBlock: =BM_PS_GLG
  3397. }
  3398. *Option: GLT
  3399. {
  3400. *InsertBlock: =BM_PS_GLT
  3401. }
  3402. *Option: F4
  3403. {
  3404. *InsertBlock: =BM_PS_F4
  3405. }
  3406. *Option: ENV_MONARCH
  3407. {
  3408. *InsertBlock: =BM_PS_MON
  3409. }
  3410. *Option: C10
  3411. {
  3412. *InsertBlock: =BM_PS_C10
  3413. }
  3414. *Option: ENV_10
  3415. {
  3416. *InsertBlock: =BM_PS_E10
  3417. }
  3418. *Option: ENV_DL
  3419. {
  3420. *InsertBlock: =BM_PS_DL
  3421. }
  3422. *Option: ENV_C5
  3423. {
  3424. *InsertBlock: =BM_PS_C5
  3425. }
  3426. *Option: ENV_C6
  3427. {
  3428. *InsertBlock: =BM_PS_C6
  3429. }
  3430. *Option: TABLOID
  3431. {
  3432. *InsertBlock: =BM_PS_TBLD
  3433. }
  3434. *Option: B4
  3435. {
  3436. *InsertBlock: =BM_PS_B4
  3437. }
  3438. *Option: CUSTOMSIZE
  3439. {
  3440. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  3441. *MinSize: PAIR(4648, 6600)
  3442. *MaxSize: PAIR(14032, 20400)
  3443. *MaxPrintableWidth: 14032
  3444. *InsertBlock: =BM_PSB_CTM
  3445. }
  3446. *Option: A3W
  3447. {
  3448. *InsertBlock: =BM_PS_A3W
  3449. }
  3450. *Option: IB5
  3451. {
  3452. *InsertBlock: =BM_PS_IB5
  3453. }
  3454. }
  3455. *Feature: Halftone
  3456. {
  3457. *rcNameID: =HALFTONING_DISPLAY
  3458. *DefaultOption: HT_PATSIZE_AUTO
  3459. *Option: HT_PATSIZE_AUTO
  3460. {
  3461. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  3462. }
  3463. *Option: HT_PATSIZE_SUPERCELL_M
  3464. {
  3465. *rcNameID: =HT_SUPERCELL_DISPLAY
  3466. }
  3467. *Option: HT_PATSIZE_6x6_M
  3468. {
  3469. *rcNameID: =HT_DITHER6X6_DISPLAY
  3470. }
  3471. *Option: HT_PATSIZE_8x8_M
  3472. {
  3473. *rcNameID: =HT_DITHER8X8_DISPLAY
  3474. }
  3475. }
  3476. *Feature: RectFill
  3477. {
  3478. *rcNameID: =RC_STR_RECTFILL
  3479. *FeatureType: DOC_PROPERTY
  3480. *DefaultOption: Enabled
  3481. *Option: Enabled
  3482. {
  3483. *rcNameID: =RC_STR_ENABLED
  3484. *Command: CmdSelect
  3485. {
  3486. *Order: DOC_SETUP.999
  3487. *Cmd: ""
  3488. }
  3489. }
  3490. *Option: Disabled
  3491. {
  3492. *rcNameID: =RC_STR_DISABLED
  3493. *Command: CmdSelect
  3494. {
  3495. *Order: DOC_SETUP.999
  3496. *Cmd: ""
  3497. }
  3498. }
  3499. }
  3500. *Feature: Memory
  3501. {
  3502. *rcNameID: =PRINTER_MEMORY_DISPLAY
  3503. *DefaultOption: 64MB
  3504. *Option: 64MB
  3505. {
  3506. *Name: "64MB"
  3507. *MemoryConfigMB: PAIR(64, 32)
  3508. }
  3509. *Option: 80MB
  3510. {
  3511. *Name: "80MB"
  3512. *MemoryConfigMB: PAIR(80, 40)
  3513. }
  3514. *Option: 96MB
  3515. {
  3516. *Name: "96MB"
  3517. *MemoryConfigMB: PAIR(96, 48)
  3518. }
  3519. *Option: 112MB
  3520. {
  3521. *Name: "112MB"
  3522. *MemoryConfigMB: PAIR(112, 56)
  3523. }
  3524. *Option: 128MB
  3525. {
  3526. *Name: "128MB"
  3527. *MemoryConfigMB: PAIR(128, 64)
  3528. }
  3529. *Option: 144MB
  3530. {
  3531. *Name: "144MB"
  3532. *MemoryConfigMB: PAIR(144, 72)
  3533. }
  3534. *Option: 160MB
  3535. {
  3536. *Name: "160MB"
  3537. *MemoryConfigMB: PAIR(160, 80)
  3538. }
  3539. *Option: 192MB
  3540. {
  3541. *Name: "192MB"
  3542. *MemoryConfigMB: PAIR(192, 96)
  3543. }
  3544. *Option: 208MB
  3545. {
  3546. *Name: "208MB"
  3547. *MemoryConfigMB: PAIR(208, 104)
  3548. }
  3549. *Option: 224MB
  3550. {
  3551. *Name: "224MB"
  3552. *MemoryConfigMB: PAIR(224, 112)
  3553. }
  3554. *Option: 256MB
  3555. {
  3556. *Name: "256MB"
  3557. *MemoryConfigMB: PAIR(256, 128)
  3558. }
  3559. }
  3560. *Command: CmdStartJob
  3561. {
  3562. *Order: JOB_SETUP.1
  3563. *CallbackID: =SET_LCID_U
  3564. }
  3565. *switch: ColorMode
  3566. {
  3567. *case: Mono
  3568. {
  3569. *Command: CmdStartDoc
  3570. {
  3571. *Order: DOC_SETUP.1
  3572. *Cmd: =CMD_STARTDOC_INI =CMD_EJL_SET
  3573. }
  3574. }
  3575. *case: 24bpp
  3576. {
  3577. *Command: CmdStartDoc
  3578. {
  3579. *Order: DOC_SETUP.1
  3580. *Cmd: =CMD_STARTDOC_C_INI =CMD_EJL_SET
  3581. }
  3582. }
  3583. }
  3584. *Command: CmdStartPage
  3585. {
  3586. *Order: PAGE_SETUP.1
  3587. *Cmd: "<1D>0alfP<1D>0affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  3588. }
  3589. *Command: CmdEndJob
  3590. {
  3591. *Order: JOB_FINISH.1
  3592. *Cmd: "<1D>rhE<1B01>@EJL <0A1B01>@EJL <0A>"
  3593. }
  3594. *Command: CmdCopies
  3595. {
  3596. *Order: PAGE_SETUP.7
  3597. *Cmd: "<1D>"%d[1,255]{NumOfCopies}"coO"
  3598. }
  3599. *RotateCoordinate?: TRUE
  3600. *RotateRaster?: TRUE
  3601. *RotateFont?: TRUE
  3602. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  3603. *MemoryUsage: LIST(FONT,RASTER)
  3604. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  3605. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  3606. *YMoveAttributes: LIST(SEND_CR_FIRST)
  3607. *XMoveThreshold: 0
  3608. *YMoveThreshold: 0
  3609. *XMoveUnit: 600
  3610. *YMoveUnit: 600
  3611. *% #if !defined(DUMPRASTER)
  3612. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  3613. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H" }
  3614. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  3615. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  3616. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  3617. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  3618. *% #else // !defined(DUMPRASTER)
  3619. *IgnoreBlock
  3620. { *% for DEBUG
  3621. *Command: CmdXMoveAbsolute
  3622. {
  3623. *CallbackID : =XMOVE_ABS
  3624. *Params: LIST(DestX)
  3625. }
  3626. *Command: CmdXMoveRelRight
  3627. {
  3628. *CallbackID : =XMOVE_REL_RT
  3629. *Params: LIST(DestXRel)
  3630. }
  3631. *Command: CmdXMoveRelLeft
  3632. {
  3633. *CallbackID : =XMOVE_REL_LF
  3634. *Params: LIST(DestXRel)
  3635. }
  3636. *Command: CmdYMoveAbsolute
  3637. {
  3638. *CallbackID : =YMOVE_ABS
  3639. *Params: LIST(DestY)
  3640. }
  3641. *Command: CmdYMoveRelDown
  3642. {
  3643. *CallbackID : =YMOVE_REL_DN
  3644. *Params: LIST(DestYRel)
  3645. }
  3646. *Command: CmdYMoveRelUp
  3647. {
  3648. *CallbackID : =YMOVE_REL_UP
  3649. *Params: LIST(DestYRel)
  3650. }
  3651. } *% End of *IgnoreBlock
  3652. *% #endif // !defined(DUMPRASTER)
  3653. *Command: CmdCR { *Cmd : "<0D>" }
  3654. *Command: CmdLF { *Cmd : "<0A>" }
  3655. *Command: CmdFF { *Cmd : "<0C>" }
  3656. *Command: CmdBackSpace { *Cmd : "<08>" }
  3657. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  3658. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  3659. *Command: CmdSetSimpleRotation
  3660. {
  3661. *CallbackID: =TEXT_PRN_DIRECTION
  3662. *Params: LIST(PrintDirInCCDegrees)
  3663. }
  3664. *EjectPageWithFF?: TRUE
  3665. *OutputDataFormat: H_BYTE
  3666. *OptimizeLeftBound?: TRUE
  3667. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  3668. *CursorYAfterSendBlockData: NO_MOVE
  3669. *DefaultFont: =RC_FONT_ROMAN
  3670. *DefaultCTT: -1
  3671. *CharPosition: BASELINE
  3672. *DeviceFonts: LIST(=RC_FONT_ROMAN,=RC_FONT_SANSRF,=RC_FONT_COURIER,=RC_FONT_COURIERI,
  3673. + =RC_FONT_COURIERB,=RC_FONT_COURIERZ,=RC_FONT_SYMBOL,
  3674. + =RC_FONT_DUTCH,=RC_FONT_DUTCHI,=RC_FONT_DUTCHB,=RC_FONT_DUTCHZ,
  3675. + =RC_FONT_SWISS,=RC_FONT_SWISSI,=RC_FONT_SWISSB,=RC_FONT_SWISSZ,
  3676. + =RC_FONT_MOREWB)
  3677. *TTFS: Arial
  3678. {
  3679. *rcTTFontNameID: =RC_TTF_ARIAL
  3680. *rcDevFontNameID: =RC_DF_SWISS721
  3681. }
  3682. *TTFS: CourierNew
  3683. {
  3684. *rcTTFontNameID: =RC_TTF_COURIERNEW
  3685. *rcDevFontNameID: =RC_DF_COURIER
  3686. }
  3687. *TTFS: Symbol
  3688. {
  3689. *rcTTFontNameID: =RC_TTF_SYMBOL
  3690. *rcDevFontNameID: =RC_DF_SYMBOLIC
  3691. }
  3692. *TTFS: TimesNewRoman
  3693. {
  3694. *rcTTFontNameID: =RC_TTF_TIMESNR
  3695. *rcDevFontNameID: =RC_DF_DUTCH801
  3696. }
  3697. *TTFS: Wingdings
  3698. {
  3699. *rcTTFontNameID: =RC_TTF_WINGDINGS
  3700. *rcDevFontNameID: =RC_DF_MOREWINGBATS
  3701. }
  3702. *TTFSEnabled?: =TTFS_ENABLED
  3703. *MinFontID: =DOWNLOAD_MIN_FONT_ID
  3704. *MaxFontID: =DOWNLOAD_MAX_FONT_ID
  3705. *MaxNumDownFonts: =DOWNLOAD_MAX_FONTS
  3706. *MinGlyphID: =DOWNLOAD_MIN_GLYPH_ID
  3707. *MaxGlyphID: =DOWNLOAD_MAX_GLYPH_ID
  3708. *FontFormat: OEM_CALLBACK
  3709. *Command: CmdSelectFontID
  3710. {
  3711. *CallbackID: =DOWNLOAD_SELECT_FONT_ID
  3712. *Params: LIST(CurrentFontID)
  3713. }
  3714. *Command: CmdSetFontID
  3715. {
  3716. *CallbackID: =DOWNLOAD_SET_FONT_ID
  3717. *Params: LIST(CurrentFontID)
  3718. }
  3719. *Command: CmdSetCharCode
  3720. {
  3721. *CallbackID: =DOWNLOAD_SET_CHAR_CODE
  3722. *Params: LIST(NextGlyph)
  3723. }
  3724. *Command: CmdDeleteFont
  3725. {
  3726. *CallbackID: =DOWNLOAD_DELETE_FONT
  3727. *Params: LIST(CurrentFontID)
  3728. }
  3729. *Command: CmdBoldOn
  3730. {
  3731. *CallbackID: =TEXT_BOLD
  3732. *Params: LIST(FontBold)
  3733. }
  3734. *Command: CmdBoldOff
  3735. {
  3736. *CallbackID: =TEXT_BOLD
  3737. *Params: LIST(FontBold)
  3738. }
  3739. *Command: CmdItalicOn
  3740. {
  3741. *CallbackID: =TEXT_ITALIC
  3742. *Params: LIST(FontItalic)
  3743. }
  3744. *Command: CmdItalicOff
  3745. {
  3746. *CallbackID: =TEXT_ITALIC
  3747. *Params: LIST(FontItalic)
  3748. }
  3749. *switch: ColorMode
  3750. {
  3751. *case: Mono
  3752. {
  3753. *Command: CmdEnableFE_RLE
  3754. {
  3755. *Cmd : "<1D>1bcI"
  3756. }
  3757. *Command: CmdDisableCompression
  3758. {
  3759. *Cmd : "<1D>0bcI"
  3760. }
  3761. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  3762. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  3763. *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  3764. *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  3765. *Command: CmdSelectWhiteBrush { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  3766. *Command: CmdSelectBlackBrush { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  3767. *Command: CmdVerticalPrintingOn
  3768. {
  3769. *CallbackID: =TEXT_VERTICAL
  3770. }
  3771. *Command: CmdVerticalPrintingOff
  3772. {
  3773. *CallbackID: =TEXT_HORIZONTAL
  3774. }
  3775. *% Vector Printing / Rectangle Fill
  3776. *switch: RectFill
  3777. {
  3778. *case: Enabled
  3779. {
  3780. *InsertBlock: =BM_RECTFILL
  3781. }
  3782. *case: Disabled
  3783. {
  3784. *% Nothing
  3785. }
  3786. }
  3787. }
  3788. *case: 24bpp
  3789. {
  3790. *Command: CmdEnableOEMComp
  3791. {
  3792. *CallbackID: =COMPRESS_ON
  3793. }
  3794. *Command: CmdDisableCompression
  3795. {
  3796. *CallbackID: =COMPRESS_OFF
  3797. }
  3798. *Command: CmdVerticalPrintingOn
  3799. {
  3800. *CallbackID: =TEXT_VERTICAL
  3801. }
  3802. *Command: CmdVerticalPrintingOff
  3803. {
  3804. *CallbackID: =TEXT_HORIZONTAL
  3805. }
  3806. *% Vector Printing / Rectangle Fill
  3807. *switch: RectFill
  3808. {
  3809. *case: Enabled
  3810. {
  3811. *InsertBlock: =BM_RECTFILL_C
  3812. }
  3813. *case: Disabled
  3814. {
  3815. *% Nothing
  3816. }
  3817. }
  3818. }
  3819. }