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.

4004 lines
128 KiB

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