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.

305 lines
14 KiB

  1. *%
  2. *% Macro file for Ricoh PCL5c printer
  3. *% FileName: RIAFCMAC.GPD
  4. *% Created: 2001/11/02
  5. *% Modified: 2002/03/11
  6. *%
  7. *% Copyright (c) 1999 - 2002 Ricoh Co., Ltd.
  8. *% All rights reserved.
  9. *%
  10. *%======== Callback ID ========
  11. *Macros: CallbackIDs
  12. {
  13. *% CMD_STARTJOB_PORT_AUTOTRAYCHANGE_OFF: 1
  14. *% CMD_STARTJOB_PORT_AUTOTRAYCHANGE_ON: 2
  15. *% CMD_STARTJOB_LAND_AUTOTRAYCHANGE_OFF: 3
  16. *% CMD_STARTJOB_LAND_AUTOTRAYCHANGE_ON: 4
  17. CMD_ENDJOB_P5: 5
  18. CMD_ENDJOB_P6: 6
  19. CMD_STARTJOB_AUTOTRAYCHANGE_OFF: 7
  20. CMD_STARTJOB_AUTOTRAYCHANGE_ON: 8
  21. CMD_COLLATE_JOBOFFSET_OFF: 9
  22. CMD_COLLATE_JOBOFFSET_ROTATE: 10
  23. CMD_COLLATE_JOBOFFSET_SHIFT: 11
  24. CMD_COPIES_P5: 12
  25. CMD_ENDPAGE_P6: 13
  26. }
  27. *%======== Help ID ========
  28. *Macros: HelpIDs
  29. {
  30. HLP_PAPER_SOURCE: 1
  31. HLP_MEDIA_TYPE: 2
  32. HLP_HALFTONING: 3
  33. HLP_OUTPUTBIN: 4
  34. HLP_STAPLE: 5
  35. HLP_PUNCH: 6
  36. HLP_EDGE_TO_EDGE_PRINT: 7
  37. HLP_TEXT_QUALITY: 8
  38. HLP_PRINTDENSITY: 9
  39. HLP_SLIPSHEET: 10
  40. HLP_SLIPSHEET_PAPER_SOURCE: 11
  41. HLP_COLOR_MAP: 12
  42. HLP_GRADATION: 13
  43. HLP_TEXTHALFTONE: 14
  44. HLP_GRAPHICSHALFTONE: 15
  45. HLP_PHOTOHALFTONE: 16
  46. HLP_GRAPHICSMODE: 17
  47. HLP_PAGE_PROTECTION: 18
  48. HLP_PRINT_TEXT_AS_BLACK: 19
  49. HLP_DITHER: 20
  50. HLP_TRUETYPE_FORMAT: 21
  51. }
  52. *%======== Option ID ========
  53. *Macros: RI_OptionIDs
  54. {
  55. *%%% DMBIN
  56. RI_DMBIN_BYPASS_TRAY: 4 *%%% DMBIN_MANUAL
  57. RI_DMBIN_TRAY1: 1 *%%% DMBIN_UPPER
  58. RI_DMBIN_TRAY2: 3 *%%% DMBIN_MIDDLE
  59. RI_DMBIN_TRAY3: 2 *%%% DMBIN_LOWER
  60. RI_DMBIN_TRAY4: 257 *%%% vendor unique
  61. RI_DMBIN_TRAY5: 258 *%%% vendor unique
  62. RI_DMBIN_TRAY6: 259 *%%% vendor unique
  63. }
  64. *%======== PJL Command ========
  65. *Macros: PJLCommand
  66. {
  67. PJL_STARTJOB: "<1B>%%-12345X@PJL JOB<0A>"
  68. PJL_ENDJOB: "<1B>%%-12345X@PJL EOJ<0A><1B>%%-12345X"
  69. }
  70. *%======== Resource ========
  71. *Feature: RESDLL
  72. {
  73. *Option: MyRes
  74. { *Name: "RIAFRES.DLL" }
  75. *Option: MyRes2
  76. *Ifdef: USE_SUPPLEMENT_RESDLL
  77. { *Name: "RIAFSTR1.DLL" }
  78. *Else: *%%% !USE_SUPPLEMENT_RESDLL
  79. { *Name: "RIAFRES.DLL" }
  80. *Endif: *%%% !USE_SUPPLEMENT_RESDLL
  81. }
  82. *Macros: MyResStrings
  83. {
  84. RC_STR_A6: RESDLL.MyRes.259
  85. RC_STR_AUTO_SELECT_BY_PRINTER: RESDLL.MyRes.267
  86. RC_STR_TRAY1: RESDLL.MyRes.268
  87. RC_STR_TRAY2: RESDLL.MyRes.269
  88. RC_STR_TRAY3: RESDLL.MyRes.270
  89. RC_STR_TRAY4: RESDLL.MyRes.271
  90. RC_STR_BYPASS_TRAY: RESDLL.MyRes.272
  91. RC_STR_FINISHER: RESDLL.MyRes.287
  92. RC_STR_PRINTER_DEFAULT: RESDLL.MyRes.291
  93. RC_STR_EDGE_SMOOTHING_ON: RESDLL.MyRes.305
  94. RC_STR_EDGE_SMOOTHING_OFF: RESDLL.MyRes.306
  95. RC_STR_TONER_SAVER_OFF: RESDLL.MyRes.322
  96. RC_STR_TONER_SAVER_ON: RESDLL.MyRes.323
  97. RC_STR_NOTINSTALLED: RESDLL.MyRes.329
  98. RC_STR_INSTALLED: RESDLL.MyRes.330
  99. RC_STR_DUPLEX_UNIT: RESDLL.MyRes.350
  100. RC_STR_FINISHER_1000: RESDLL.MyRes.351
  101. RC_STR_FINISHER_500: RESDLL.MyRes.411
  102. RC_STR_MAILBOX: RESDLL.MyRes.354
  103. RC_STR_FINISHER_SHIFT_TRAY: RESDLL.MyRes.358
  104. RC_STR_MAILBOX_TRAY1: RESDLL.MyRes.360
  105. RC_STR_MAILBOX_TRAY2: RESDLL.MyRes.361
  106. RC_STR_MAILBOX_TRAY3: RESDLL.MyRes.362
  107. RC_STR_MAILBOX_TRAY4: RESDLL.MyRes.363
  108. RC_STR_UPPER_TRAY: RESDLL.MyRes.382
  109. RC_STR_STAPLE: RESDLL.MyRes.369
  110. RC_STR_TOP_LEFT_SLANT: RESDLL.MyRes.370
  111. RC_STR_TOP_RIGHT_SLANT: RESDLL.MyRes.383
  112. RC_STR_LEFT: RESDLL.MyRes.376
  113. RC_STR_RIGHT: RESDLL.MyRes.412
  114. RC_STR_THICK_PAPER: RESDLL.MyRes.378
  115. RC_STR_LARGE_CAPACITY_TRAY: RESDLL.MyRes.379
  116. RC_STR_STANDARD_TRAY: RESDLL.MyRes.381
  117. RC_STR_MEMORY_HARDDISK: RESDLL.MyRes.384
  118. RC_STR_16MB_NOTINSTALLED: RESDLL.MyRes.385
  119. RC_STR_16MB_INSTALLED: RESDLL.MyRes.386
  120. RC_STR_32MB_NOTINSTALLED: RESDLL.MyRes.413
  121. RC_STR_32MB_INSTALLED: RESDLL.MyRes.414
  122. RC_STR_48MB_NOTINSTALLED: RESDLL.MyRes.387
  123. RC_STR_48MB_INSTALLED: RESDLL.MyRes.388
  124. RC_STR_64MB_NOTINSTALLED: RESDLL.MyRes.415
  125. RC_STR_64MB_INSTALLED: RESDLL.MyRes.416
  126. RC_STR_80MB_NOTINSTALLED: RESDLL.MyRes.389
  127. RC_STR_80MB_INSTALLED: RESDLL.MyRes.390
  128. RC_STR_96MB_NOTINSTALLED: RESDLL.MyRes.417
  129. RC_STR_96MB_INSTALLED: RESDLL.MyRes.418
  130. RC_STR_160MB_NOTINSTALLED: RESDLL.MyRes.419
  131. RC_STR_160MB_INSTALLED: RESDLL.MyRes.420
  132. RC_STR_8_5X13: RESDLL.MyRes.391
  133. RC_STR_8_25X13: RESDLL.MyRes.392
  134. RC_STR_8X13: RESDLL.MyRes.393
  135. RC_STR_5_5X8_5: RESDLL.MyRes.394
  136. RC_STR_1200DPI: RESDLL.MyRes.410
  137. RC_STR_600DPI: RESDLL.MyRes.395
  138. RC_STR_300DPI: RESDLL.MyRes.396
  139. RC_STR_DITHER_6X6: RESDLL.MyRes.421
  140. RC_STR_DITHER_8X8: RESDLL.MyRes.422
  141. RC_STR_DITHER_10X10: RESDLL.MyRes.397
  142. RC_STR_TRUETYPE_FORMAT: RESDLL.MyRes.425
  143. RC_STR_TRUETYPE_OUTLINE: RESDLL.MyRes.426
  144. RC_STR_TRUETYPE_BITMAP: RESDLL.MyRes.427
  145. RC_STR_TRUETYPE_DOWNLOADNONE: RESDLL.MyRes.428
  146. RC_STR_DITHER_QUALITY: RESDLL.MyRes.429
  147. RC_STR_HIGH: RESDLL.MyRes.430
  148. RC_STR_LOW: RESDLL.MyRes.431
  149. *%
  150. RC_STR_EXTERNAL_TRAY: RESDLL.MyRes.279 *% difined at v1.22
  151. RC_STR_FINISHER_3000: RESDLL.MyRes.352 *% difined at v1.22
  152. RC_STR_INNER_TRAY1: RESDLL.MyRes.355 *% difined at v1.22
  153. RC_STR_INNER_TRAY2: RESDLL.MyRes.356 *% difined at v1.22
  154. RC_STR_FINISHER_PROOF_TRAY: RESDLL.MyRes.357 *% difined at v1.22
  155. RC_STR_MAILBOX_PROOF_TRAY: RESDLL.MyRes.359 *% difined at v1.22
  156. RC_STR_MAILBOX_TRAY5: RESDLL.MyRes.364 *% difined at v1.22
  157. RC_STR_MAILBOX_TRAY6: RESDLL.MyRes.365 *% difined at v1.22
  158. RC_STR_MAILBOX_TRAY7: RESDLL.MyRes.366 *% difined at v1.22
  159. RC_STR_MAILBOX_TRAY8: RESDLL.MyRes.367 *% difined at v1.22
  160. RC_STR_MAILBOX_TRAY9: RESDLL.MyRes.368 *% difined at v1.22
  161. RC_STR_TOP_LEFT_VERT: RESDLL.MyRes.371 *% difined at v1.22
  162. RC_STR_TOP_LEFT_HORIZ: RESDLL.MyRes.372 *% difined at v1.22
  163. RC_STR_TOP2: RESDLL.MyRes.373 *% difined at v1.22
  164. RC_STR_LEFT2: RESDLL.MyRes.374 *% difined at v1.22
  165. RC_STR_PUNCH: RESDLL.MyRes.375 *% difined at v1.22
  166. RC_STR_TOP: RESDLL.MyRes.377 *% difined at v1.22
  167. RC_STR_HARDDISK: RESDLL.MyRes.380 *% difined at v1.22
  168. RC_STR_FINISHER_3000M: RESDLL.MyRes.398 *% difined at v1.24
  169. RC_STR_FINISHER_3000B: RESDLL.MyRes.399 *% difined at v1.24
  170. RC_STR_BOOKLET_FINISHER: RESDLL.MyRes.400 *% difined at v1.24
  171. RC_STR_PUNCH_UNIT: RESDLL.MyRes.401 *% difined at v1.22
  172. *% v1.22 ->
  173. RC_STR_2TRAY_FINISHER: RESDLL.MyRes2.432
  174. RC_STR_FINISHER_SHIFT_TRAY1: RESDLL.MyRes2.433
  175. RC_STR_FINISHER_SHIFT_TRAY2: RESDLL.MyRes2.434
  176. RC_STR_PUNCH_UNIT_2_AND_3: RESDLL.MyRes2.435
  177. RC_STR_PUNCH_UNIT_2_AND_4: RESDLL.MyRes2.436
  178. RC_STR_PUNCH_UNIT_4: RESDLL.MyRes2.437
  179. RC_STR_RIGHT2: RESDLL.MyRes2.438
  180. RC_STR_LEFT3: RESDLL.MyRes2.439
  181. RC_STR_TOP3: RESDLL.MyRes2.440
  182. RC_STR_RIGHT3: RESDLL.MyRes2.441
  183. RC_STR_LEFT4: RESDLL.MyRes2.442
  184. RC_STR_TOP4: RESDLL.MyRes2.443
  185. RC_STR_RIGHT4: RESDLL.MyRes2.444
  186. RC_STR_INTERNAL_TRAY1: RESDLL.MyRes2.445
  187. RC_STR_INTERNAL_TRAY2: RESDLL.MyRes2.446
  188. RC_STR_TOP_LEFT: RESDLL.MyRes2.447
  189. RC_STR_TOP_RIGHT: RESDLL.MyRes2.448
  190. RC_STR_AUTO: RESDLL.MyRes2.449
  191. RC_STR_SHIFT_TRAY: RESDLL.MyRes2.450
  192. RC_STR_PUNCH_UNIT_2: RESDLL.MyRes2.451
  193. RC_STR_PUNCH_UNIT_3: RESDLL.MyRes2.452
  194. RC_STR_128MB_NOTINSTALLED: RESDLL.MyRes2.453
  195. RC_STR_128MB_INSTALLED: RESDLL.MyRes2.454
  196. RC_STR_192MB_NOTINSTALLED: RESDLL.MyRes2.455
  197. RC_STR_192MB_INSTALLED: RESDLL.MyRes2.456
  198. RC_STR_320MB_NOTINSTALLED: RESDLL.MyRes2.457
  199. RC_STR_320MB_INSTALLED: RESDLL.MyRes2.458
  200. *% v1.23 ->
  201. RC_STR_LEFT_TRAY_1_AND_2: RESDLL.MyRes2.459
  202. RC_STR_LEFT_TRAY1: RESDLL.MyRes2.460
  203. RC_STR_LEFT_TRAY2: RESDLL.MyRes2.461
  204. RC_STR_256MBORMORE_NOTINSTALLED: RESDLL.MyRes2.462
  205. RC_STR_256MBORMORE_INSTALLED: RESDLL.MyRes2.463
  206. RC_STR_SLIPSHEET: RESDLL.MyRes2.464
  207. RC_STR_SLIPSHEET_PAPER_SOURCE: RESDLL.MyRes2.465
  208. RC_STR_PLAIN: RESDLL.MyRes2.466
  209. RC_STR_RECYCLED: RESDLL.MyRes2.467
  210. RC_STR_SPECIAL: RESDLL.MyRes2.468
  211. RC_STR_THICK: RESDLL.MyRes2.469
  212. RC_STR_COLOR: RESDLL.MyRes2.470
  213. RC_STR_LETTERHEAD: RESDLL.MyRes2.471
  214. RC_STR_PREPRINTED: RESDLL.MyRes2.472
  215. RC_STR_PREPUNCHED: RESDLL.MyRes2.473
  216. RC_STR_LABELS: RESDLL.MyRes2.474
  217. RC_STR_BOND: RESDLL.MyRes2.475
  218. RC_STR_CARDSTOCK: RESDLL.MyRes2.476
  219. RC_STR_PLAIN_DUPLEX_BACKSIDE: RESDLL.MyRes2.477
  220. RC_STR_THICK_DUPLEX_BACKSIDE: RESDLL.MyRes2.478
  221. RC_STR_THIN: RESDLL.MyRes2.479
  222. RC_STR_TEXT: RESDLL.MyRes2.480
  223. RC_STR_PHOTOGRAPHIC: RESDLL.MyRes2.481
  224. RC_STR_LIGHT: RESDLL.MyRes2.482
  225. RC_STR_FINISHER_TRAY: RESDLL.MyRes2.483
  226. RC_STR_GRADATION: RESDLL.MyRes2.484
  227. RC_STR_STANDARD_2BPP: RESDLL.MyRes2.485
  228. RC_STR_FAST_1BPP: RESDLL.MyRes2.486
  229. RC_STR_COLOR_MAP: RESDLL.MyRes2.487
  230. RC_STR_STANDARD: RESDLL.MyRes2.488
  231. RC_STR_VIVID: RESDLL.MyRes2.489
  232. RC_STR_EDGE_TO_EDGE_PRINT: RESDLL.MyRes2.490
  233. RC_STR_8K: RESDLL.MyRes2.491
  234. RC_STR_16K: RESDLL.MyRes2.492
  235. *% v1.24 ->
  236. RC_STR_12X18: RESDLL.MyRes2.493
  237. RC_STR_FINISHER_TRAY1: RESDLL.MyRes2.494
  238. RC_STR_FINISHER_TRAY2: RESDLL.MyRes2.495
  239. RC_STR_TRAY5: RESDLL.MyRes2.496
  240. RC_STR_COPY_TRAY: RESDLL.MyRes2.497
  241. RC_STR_FINISHER_UPPER_TRAY: RESDLL.MyRes2.498
  242. RC_STR_TRANSLUCENT: RESDLL.MyRes2.499
  243. RC_STR_COLOR1: RESDLL.MyRes2.500
  244. RC_STR_COLOR2: RESDLL.MyRes2.501
  245. RC_STR_TABSTOCK: RESDLL.MyRes2.502
  246. RC_STR_96MBORMORE: RESDLL.MyRes2.503
  247. RC_STR_128MBORMORE_NOTINSTALLED: RESDLL.MyRes2.504
  248. RC_STR_128MBORMORE_INSTALLED: RESDLL.MyRes2.505
  249. }
  250. *%======== PJL Command Emission Order ========
  251. *Macros: PJL_Order
  252. {
  253. PJL_SETUP_10: JOB_SETUP.10 *%%% CmdStartJob
  254. PJL_SETUP_11: JOB_SETUP.11 *%%% PageProtect (for Destiny controller)
  255. PJL_SETUP_15: JOB_SETUP.15 *%%% Duplex
  256. PJL_SETUP_20: JOB_SETUP.20 *%%% PrintQuality (SMOOTHING)
  257. PJL_SETUP_30: JOB_SETUP.30 *%%% PrintDensity (ECONOMODE)
  258. PJL_SETUP_40: JOB_SETUP.40 *%%% OutputBin
  259. PJL_SETUP_50: JOB_SETUP.50 *%%% Collate
  260. PJL_SETUP_60: JOB_SETUP.60 *%%% Stapling
  261. PJL_SETUP_70: JOB_SETUP.70 *%%% Punching
  262. PJL_SETUP_80: JOB_SETUP.80 *%%% MediaType (for Destiny controller)
  263. PJL_SETUP_90: JOB_SETUP.90 *%%% Slip Sheet
  264. PJL_SETUP_100: JOB_SETUP.100 *%%% Slip Sheet InputBin
  265. PJL_SETUP_110: JOB_SETUP.110 *%%% Gradation
  266. PJL_SETUP_120: JOB_SETUP.120 *%%% Edge to Edge
  267. PJL_SETUP_LAST: JOB_SETUP.130 *%%% Resolution
  268. }
  269. *%======== NOTE: PCL5c Command Emission Order ========
  270. *% DOC_SETUP.10 CmdStartDoc (OBSOLETE)
  271. *% DOC_SETUP.20 Duplex (OBSOLETE)
  272. *% DOC_SETUP.30 InputBin
  273. *% DOC_SETUP.35 MediaType
  274. *% DOC_SETUP.40 Papser Size
  275. *% DOC_SETUP.50 Copies
  276. *% DOC_SETUP.60 ColorMode
  277. *%======== NOTE: ConflictPriority ========
  278. *% *ConflictPriority: 10 SlipSheet
  279. *% *ConflictPriority: 20 InputBin
  280. *% *ConflictPriority: 30 MediaType
  281. *%======== TrueType Font Substituition Table (addition to ttfsub.gpd) ========
  282. *TTFS: CourierNew
  283. {
  284. *TTFontName: "Courier New"
  285. *DevFontName: "Courier"
  286. }
  287. *%======== Device Font List ========
  288. *Macros: DeviceFontList
  289. {
  290. RC_FONT_COURIERR: 223
  291. ALL_DEVICEFONTS: LIST(201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,
  292. + 216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,
  293. + 231,232,233,234,235,236,237,238,239,240,241,242,243,244,245)
  294. }