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.

517 lines
11 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "ALMD230J.GPD"
  7. *Include: "STDNAMES.GPD"
  8. *GPDFileVersion: "1.00"
  9. *CodePage: 1252
  10. *ModelName: "ALPS MD-2300J"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "ALPSRES.DLL"
  13. *PrinterType: SERIAL
  14. *OutputOrderReversed?: TRUE
  15. *Feature: Orientation
  16. {
  17. *rcNameID: =ORIENTATION_DISPLAY
  18. *DefaultOption: PORTRAIT
  19. *Option: PORTRAIT
  20. {
  21. *rcNameID: =PORTRAIT_DISPLAY
  22. }
  23. *Option: LANDSCAPE_CC270
  24. {
  25. *rcNameID: =LANDSCAPE_DISPLAY
  26. }
  27. }
  28. *Feature: InputBin
  29. {
  30. *rcNameID: =PAPER_SOURCE_DISPLAY
  31. *DefaultOption: AUTO
  32. *Option: AUTO
  33. {
  34. *rcNameID: =AUTO_DISPLAY
  35. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.4
  38. *CallbackID: 70
  39. }
  40. }
  41. *Option: MANUAL
  42. {
  43. *rcNameID: =MANUAL_FEED_DISPLAY
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.4
  47. *CallbackID: 71
  48. }
  49. }
  50. }
  51. *Feature: Resolution
  52. {
  53. *rcNameID: =RESOLUTION_DISPLAY
  54. *DefaultOption: Option2
  55. *Option: Option1
  56. {
  57. *Name: "600 x 600 dots per inch"
  58. *DPI: PAIR(600, 600)
  59. *TextDPI: PAIR(600, 600)
  60. *MinStripBlankPixels: 10
  61. *SpotDiameter: 100
  62. EXTERN_GLOBAL: *YMoveThreshold: *
  63. EXTERN_GLOBAL: *YMoveUnit: 600
  64. *Command: CmdSelect
  65. {
  66. *Order: DOC_SETUP.2
  67. *CallbackID: 11
  68. }
  69. }
  70. *Option: Option2
  71. {
  72. *Name: "300 x 300 dots per inch"
  73. *DPI: PAIR(300, 300)
  74. *TextDPI: PAIR(300, 300)
  75. *MinStripBlankPixels: 10
  76. *SpotDiameter: 100
  77. EXTERN_GLOBAL: *YMoveThreshold: *
  78. EXTERN_GLOBAL: *YMoveUnit: 300
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.2
  82. *CallbackID: 12
  83. }
  84. }
  85. *Option: Option3
  86. {
  87. *Name: "1200 x 600 dots per inch"
  88. *DPI: PAIR(1200, 600)
  89. *TextDPI: PAIR(1200, 600)
  90. *MinStripBlankPixels: 10
  91. *SpotDiameter: 100
  92. EXTERN_GLOBAL: *YMoveThreshold: *
  93. EXTERN_GLOBAL: *YMoveUnit: 600
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.2
  97. *CallbackID: 10
  98. }
  99. *Constraints: ColorMode.24bpp
  100. }
  101. }
  102. *Feature: PaperSize
  103. {
  104. *rcNameID: =PAPER_SIZE_DISPLAY
  105. *DefaultOption: A4
  106. *Option: LETTER
  107. {
  108. *rcNameID: =LETTER_DISPLAY
  109. *PrintableArea: PAIR(9600, 11920)
  110. *PrintableOrigin: PAIR(300, 568)
  111. *Command: CmdSelect
  112. {
  113. *Order: DOC_SETUP.3
  114. *CallbackID: 5
  115. }
  116. }
  117. *Option: LEGAL
  118. {
  119. *rcNameID: =LEGAL_DISPLAY
  120. *PrintableArea: PAIR(9600, 15510)
  121. *PrintableOrigin: PAIR(300, 568)
  122. *switch: Resolution
  123. {
  124. *case: Option2
  125. {
  126. *PrintableArea: PAIR(9600, 15508)
  127. }
  128. }
  129. *Command: CmdSelect
  130. {
  131. *Order: DOC_SETUP.3
  132. *CallbackID: 4
  133. }
  134. }
  135. *Option: EXECUTIVE
  136. {
  137. *rcNameID: =EXECUTIVE_DISPLAY
  138. *PrintableArea: PAIR(8380, 11326)
  139. *PrintableOrigin: PAIR(160, 568)
  140. *switch: Resolution
  141. {
  142. *case: Option2
  143. {
  144. *PrintableArea: PAIR(8380, 11324)
  145. }
  146. }
  147. *Command: CmdSelect
  148. {
  149. *Order: DOC_SETUP.3
  150. *CallbackID: 3
  151. }
  152. }
  153. *Option: A4
  154. {
  155. *rcNameID: =A4_DISPLAY
  156. *PrintableArea: PAIR(9600, 12744)
  157. *PrintableOrigin: PAIR(160, 568)
  158. *Command: CmdSelect
  159. {
  160. *Order: DOC_SETUP.3
  161. *CallbackID: 1
  162. }
  163. }
  164. *Option: B5
  165. {
  166. *rcNameID: =B5_DISPLAY
  167. *PrintableArea: PAIR(8276, 10860)
  168. *PrintableOrigin: PAIR(160, 568)
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.3
  172. *CallbackID: 2
  173. }
  174. }
  175. *Option: JAPANESE_POSTCARD
  176. {
  177. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  178. *PrintableArea: PAIR(4402, 5712)
  179. *PrintableOrigin: PAIR(160, 568)
  180. *switch: Resolution
  181. {
  182. *case: Option2
  183. {
  184. *PrintableArea: PAIR(4400, 5712)
  185. }
  186. }
  187. *Command: CmdSelect
  188. {
  189. *Order: DOC_SETUP.3
  190. *CallbackID: 6
  191. }
  192. }
  193. *Option: DBL_JAPANESE_POSTCARD
  194. {
  195. *rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
  196. *PrintableArea: PAIR(9128, 5712)
  197. *PrintableOrigin: PAIR(160, 568)
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.3
  201. *CallbackID: 7
  202. }
  203. *Constraints: InputBin.AUTO
  204. }
  205. *Option: PHOTO_COLOR_LABEL
  206. {
  207. *rcNameID: 277
  208. *PageDimensions: PAIR(4724, 7748)
  209. *PrintableArea: PAIR(4404, 6228)
  210. *PrintableOrigin: PAIR(160, 688)
  211. *Command: CmdSelect
  212. {
  213. *Order: DOC_SETUP.3
  214. *CallbackID: 17
  215. }
  216. }
  217. }
  218. *Feature: MediaType
  219. {
  220. *rcNameID: =MEDIA_TYPE_DISPLAY
  221. *DefaultOption: PPC_PAPER
  222. *Option: PPC_PAPER
  223. {
  224. *rcNameID: 259
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.5
  228. *CallbackID: 40
  229. }
  230. }
  231. *Option: PPC_PAPER_FINE
  232. {
  233. *rcNameID: 260
  234. *Command: CmdSelect
  235. {
  236. *Order: DOC_SETUP.5
  237. *CallbackID: 41
  238. }
  239. }
  240. *Option: OHP_SHEET
  241. {
  242. *rcNameID: 261
  243. *Command: CmdSelect
  244. {
  245. *Order: DOC_SETUP.5
  246. *CallbackID: 42
  247. }
  248. }
  249. *Option: IRON_PRINT_SHEET
  250. {
  251. *rcNameID: 263
  252. *Command: CmdSelect
  253. {
  254. *Order: DOC_SETUP.5
  255. *CallbackID: 47
  256. }
  257. *Constraints: InputBin.AUTO
  258. }
  259. *Option: THICK_PAPER
  260. {
  261. *rcNameID: 264
  262. *Command: CmdSelect
  263. {
  264. *Order: DOC_SETUP.5
  265. *CallbackID: 48
  266. }
  267. *Constraints: InputBin.AUTO
  268. }
  269. *Option: POATCARD
  270. {
  271. *rcNameID: 265
  272. *Command: CmdSelect
  273. {
  274. *Order: DOC_SETUP.5
  275. *CallbackID: 49
  276. }
  277. *Constraints: PaperSize.LETTER
  278. *Constraints: PaperSize.LEGAL
  279. *Constraints: PaperSize.EXECUTIVE
  280. *Constraints: PaperSize.A4
  281. *Constraints: PaperSize.B5
  282. *Constraints: PaperSize.PHOTO_COLOR_LABEL
  283. }
  284. *Option: HIGH_GRADE_PAPER
  285. {
  286. *rcNameID: 266
  287. *Command: CmdSelect
  288. {
  289. *Order: DOC_SETUP.5
  290. *CallbackID: 50
  291. }
  292. }
  293. *Option: BACK_PRINT_FILM
  294. {
  295. *rcNameID: 267
  296. *Command: CmdSelect
  297. {
  298. *Order: DOC_SETUP.5
  299. *CallbackID: 51
  300. }
  301. *Constraints: InputBin.AUTO
  302. }
  303. *Option: LABECA_SHEET
  304. {
  305. *rcNameID: 271
  306. *Command: CmdSelect
  307. {
  308. *Order: DOC_SETUP.5
  309. *CallbackID: 52
  310. }
  311. *Constraints: ColorMode.24bpp
  312. }
  313. *Option: DYE_SUB_PAPER
  314. {
  315. *rcNameID: 273
  316. *Command: CmdSelect
  317. {
  318. *Order: DOC_SETUP.5
  319. *CallbackID: 54
  320. }
  321. *Constraints: ColorMode.Mono
  322. }
  323. *Option: DYE_SUB_LABEL
  324. {
  325. *rcNameID: 274
  326. *Command: CmdSelect
  327. {
  328. *Order: DOC_SETUP.5
  329. *CallbackID: 55
  330. }
  331. *Constraints: ColorMode.Mono
  332. }
  333. }
  334. *Feature: PrintQuality
  335. {
  336. *rcNameID: =TEXT_QUALITY_DISPLAY
  337. *DefaultOption: COLOR_PHOTO
  338. *Option: COLOR_PHOTO
  339. {
  340. *rcNameID: 268
  341. *Command: CmdSelect
  342. {
  343. *Order: DOC_SETUP.6
  344. *CallbackID: 30
  345. }
  346. }
  347. *Option: PRESENTATION
  348. {
  349. *rcNameID: 269
  350. *Command: CmdSelect
  351. {
  352. *Order: DOC_SETUP.6
  353. *CallbackID: 31
  354. }
  355. }
  356. *Option: DRAFT
  357. {
  358. *rcNameID: 270
  359. *Command: CmdSelect
  360. {
  361. *Order: DOC_SETUP.6
  362. *CallbackID: 32
  363. }
  364. }
  365. }
  366. *Feature: ColorMode
  367. {
  368. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  369. *DefaultOption: 24bpp
  370. *Option: Mono
  371. {
  372. *rcNameID: =MONO_DISPLAY
  373. *DevNumOfPlanes: 1
  374. *DevBPP: 1
  375. *Color? : FALSE
  376. *Command: CmdSelect
  377. {
  378. *Order: DOC_SETUP.1
  379. *CallbackID: 15
  380. }
  381. }
  382. *Option: 24bpp
  383. {
  384. *rcNameID: =24BPP_DISPLAY
  385. *DevNumOfPlanes: 1
  386. *DevBPP: 24
  387. *DrvBPP: 24
  388. *PaletteSize: 256
  389. *PaletteProgrammable? : TRUE
  390. *Command: CmdDefinePaletteEntry { *Cmd : "" }
  391. *Command: CmdSelectPaletteEntry { *Cmd : "" }
  392. *Command: CmdSelect
  393. {
  394. *Order: DOC_SETUP.1
  395. *CallbackID: 16
  396. }
  397. }
  398. }
  399. *Feature: SaveRibbon
  400. {
  401. *rcNameID: 282
  402. *DefaultOption: ON
  403. *Option: ON
  404. {
  405. *rcNameID: 280
  406. *Command: CmdSelect
  407. {
  408. *Order: DOC_SETUP.7
  409. *Cmd: "<1B1A0000>S"
  410. }
  411. }
  412. *Option: OFF
  413. {
  414. *rcNameID: 281
  415. *Command: CmdSelect
  416. {
  417. *Order: DOC_SETUP.7
  418. *Cmd: "<1B1A0100>S"
  419. }
  420. }
  421. }
  422. *Feature: MirrorOutput
  423. {
  424. *rcNameID: 283
  425. *DefaultOption: OFF
  426. *Option: ON
  427. {
  428. *rcNameID: 280
  429. *Command: CmdSelect
  430. {
  431. *Order: DOC_SETUP.7
  432. *CallbackID: 80
  433. }
  434. }
  435. *Option: OFF
  436. {
  437. *rcNameID: 281
  438. *Command: CmdSelect
  439. {
  440. *Order: DOC_SETUP.7
  441. *CallbackID: 81
  442. }
  443. }
  444. }
  445. *Feature: Halftone
  446. {
  447. *rcNameID: =HALFTONING_DISPLAY
  448. *DefaultOption: HT_PATSIZE_AUTO
  449. *Option: HT_PATSIZE_AUTO
  450. {
  451. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  452. }
  453. *Option: HT_PATSIZE_SUPERCELL_M
  454. {
  455. *rcNameID: =HT_SUPERCELL_DISPLAY
  456. }
  457. *Option: HT_PATSIZE_6x6_M
  458. {
  459. *rcNameID: =HT_DITHER6X6_DISPLAY
  460. }
  461. *Option: HT_PATSIZE_8x8_M
  462. {
  463. *rcNameID: =HT_DITHER8X8_DISPLAY
  464. }
  465. }
  466. *Command: CmdStartJob
  467. {
  468. *Order: JOB_SETUP.1
  469. *Cmd: ""
  470. }
  471. *Command: CmdEndJob
  472. {
  473. *Order: JOB_FINISH.1
  474. *Cmd: ""
  475. }
  476. *Command: CmdStartDoc
  477. {
  478. *Order: DOC_SETUP.1
  479. *CallbackID: 61
  480. }
  481. *Command: CmdEndDoc
  482. {
  483. *Order: DOC_FINISH.1
  484. *CallbackID: 64
  485. }
  486. *Command: CmdStartPage
  487. {
  488. *Order: PAGE_SETUP.1
  489. *CallbackID: 62
  490. }
  491. *Command: CmdEndPage
  492. {
  493. *Order: PAGE_FINISH.1
  494. *CallbackID: 63
  495. }
  496. *RotateCoordinate?: FALSE
  497. *RotateRaster?: FALSE
  498. *RotateFont?: FALSE
  499. *TextCaps: LIST(TC_RA_ABLE)
  500. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  501. *Command: CmdYMoveRelDown
  502. {
  503. *CallbackID: 20
  504. *Params: LIST(DestYRel)
  505. }
  506. *Command: CmdCR { *Cmd : "" }
  507. *Command: CmdLF { *Cmd : "" }
  508. *Command: CmdFF { *Cmd : "" }
  509. *EjectPageWithFF?: FALSE
  510. *OutputDataFormat: H_BYTE
  511. *OptimizeLeftBound?: FALSE
  512. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  513. *CursorYAfterSendBlockData: AUTO_INCREMENT
  514. *DefaultCTT: 0
  515. *Command: CmdSendBlockData { *Cmd: "" }
  516. *ChangeColorModeOnDoc?: FALSE