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.

505 lines
11 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "ALMD200J.GPD"
  7. *Include: "STDNAMES.GPD"
  8. *GPDFileVersion: "1.00"
  9. *CodePage: 1252
  10. *ModelName: "ALPS MD-2000J"
  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. }
  206. *Feature: MediaType
  207. {
  208. *rcNameID: =MEDIA_TYPE_DISPLAY
  209. *DefaultOption: PPC_PAPER
  210. *Option: PPC_PAPER
  211. {
  212. *rcNameID: 259
  213. *Command: CmdSelect
  214. {
  215. *Order: DOC_SETUP.5
  216. *CallbackID: 40
  217. }
  218. }
  219. *Option: PPC_PAPER_FINE
  220. {
  221. *rcNameID: 260
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.5
  225. *CallbackID: 41
  226. }
  227. }
  228. *Option: OHP_SHEET
  229. {
  230. *rcNameID: 261
  231. *Command: CmdSelect
  232. {
  233. *Order: DOC_SETUP.5
  234. *CallbackID: 42
  235. }
  236. }
  237. *Option: OHP_SHEET_FINE
  238. {
  239. *rcNameID: 262
  240. *Command: CmdSelect
  241. {
  242. *Order: DOC_SETUP.5
  243. *CallbackID: 43
  244. }
  245. }
  246. *Option: IRON_PRINT_SHEET
  247. {
  248. *rcNameID: 263
  249. *Command: CmdSelect
  250. {
  251. *Order: DOC_SETUP.5
  252. *CallbackID: 47
  253. }
  254. *Constraints: InputBin.AUTO
  255. }
  256. *Option: THICK_PAPER
  257. {
  258. *rcNameID: 264
  259. *Command: CmdSelect
  260. {
  261. *Order: DOC_SETUP.5
  262. *CallbackID: 48
  263. }
  264. *Constraints: InputBin.AUTO
  265. }
  266. *Option: POATCARD
  267. {
  268. *rcNameID: 265
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.5
  272. *CallbackID: 49
  273. }
  274. *Constraints: PaperSize.LETTER
  275. *Constraints: PaperSize.LEGAL
  276. *Constraints: PaperSize.EXECUTIVE
  277. *Constraints: PaperSize.A4
  278. *Constraints: PaperSize.B5
  279. *% *Constraints: PaperSize.GLOSSY_LABEL
  280. *% *Constraints: PaperSize.PHOTO_COLOR_LABEL
  281. }
  282. *Option: HIGH_GRADE_PAPER
  283. {
  284. *rcNameID: 266
  285. *Command: CmdSelect
  286. {
  287. *Order: DOC_SETUP.5
  288. *CallbackID: 50
  289. }
  290. }
  291. *Option: BACK_PRINT_FILM
  292. {
  293. *rcNameID: 267
  294. *Command: CmdSelect
  295. {
  296. *Order: DOC_SETUP.5
  297. *CallbackID: 51
  298. }
  299. *Constraints: InputBin.AUTO
  300. }
  301. *Option: LABECA_SHEET
  302. {
  303. *rcNameID: 271
  304. *Command: CmdSelect
  305. {
  306. *Order: DOC_SETUP.5
  307. *CallbackID: 52
  308. }
  309. *Constraints: ColorMode.24bpp
  310. }
  311. *Option: CD_MASTER
  312. {
  313. *rcNameID: 272
  314. *Command: CmdSelect
  315. {
  316. *Order: DOC_SETUP.5
  317. *CallbackID: 53
  318. }
  319. *Constraints: ColorMode.24bpp
  320. }
  321. }
  322. *Feature: PrintQuality
  323. {
  324. *rcNameID: =TEXT_QUALITY_DISPLAY
  325. *DefaultOption: COLOR_PHOTO
  326. *Option: COLOR_PHOTO
  327. {
  328. *rcNameID: 268
  329. *Command: CmdSelect
  330. {
  331. *Order: DOC_SETUP.6
  332. *CallbackID: 30
  333. }
  334. }
  335. *Option: PRESENTATION
  336. {
  337. *rcNameID: 269
  338. *Command: CmdSelect
  339. {
  340. *Order: DOC_SETUP.6
  341. *CallbackID: 31
  342. }
  343. }
  344. *Option: DRAFT
  345. {
  346. *rcNameID: 270
  347. *Command: CmdSelect
  348. {
  349. *Order: DOC_SETUP.6
  350. *CallbackID: 32
  351. }
  352. }
  353. }
  354. *Feature: ColorMode
  355. {
  356. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  357. *DefaultOption: 24bpp
  358. *Option: Mono
  359. {
  360. *rcNameID: =MONO_DISPLAY
  361. *DevNumOfPlanes: 1
  362. *DevBPP: 1
  363. *Color? : FALSE
  364. *Command: CmdSelect
  365. {
  366. *Order: DOC_SETUP.1
  367. *CallbackID: 15
  368. }
  369. }
  370. *Option: 24bpp
  371. {
  372. *rcNameID: =24BPP_DISPLAY
  373. *DevNumOfPlanes: 1
  374. *DevBPP: 24
  375. *DrvBPP: 24
  376. *PaletteSize: 256
  377. *PaletteProgrammable? : TRUE
  378. *Command: CmdDefinePaletteEntry { *Cmd : "" }
  379. *Command: CmdSelectPaletteEntry { *Cmd : "" }
  380. *Command: CmdSelect
  381. {
  382. *Order: DOC_SETUP.1
  383. *CallbackID: 16
  384. }
  385. }
  386. }
  387. *Feature: SaveRibbon
  388. {
  389. *rcNameID: 282
  390. *DefaultOption: ON
  391. *Option: ON
  392. {
  393. *rcNameID: 280
  394. *Command: CmdSelect
  395. {
  396. *Order: DOC_SETUP.7
  397. *Cmd: "<1B1A0000>S"
  398. }
  399. }
  400. *Option: OFF
  401. {
  402. *rcNameID: 281
  403. *Command: CmdSelect
  404. {
  405. *Order: DOC_SETUP.7
  406. *Cmd: "<1B1A0100>S"
  407. }
  408. }
  409. }
  410. *Feature: MirrorOutput
  411. {
  412. *rcNameID: 283
  413. *DefaultOption: OFF
  414. *Option: ON
  415. {
  416. *rcNameID: 280
  417. *Command: CmdSelect
  418. {
  419. *Order: DOC_SETUP.7
  420. *CallbackID: 80
  421. }
  422. }
  423. *Option: OFF
  424. {
  425. *rcNameID: 281
  426. *Command: CmdSelect
  427. {
  428. *Order: DOC_SETUP.7
  429. *CallbackID: 81
  430. }
  431. }
  432. }
  433. *Feature: Halftone
  434. {
  435. *rcNameID: =HALFTONING_DISPLAY
  436. *DefaultOption: HT_PATSIZE_AUTO
  437. *Option: HT_PATSIZE_AUTO
  438. {
  439. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  440. }
  441. *Option: HT_PATSIZE_SUPERCELL_M
  442. {
  443. *rcNameID: =HT_SUPERCELL_DISPLAY
  444. }
  445. *Option: HT_PATSIZE_6x6_M
  446. {
  447. *rcNameID: =HT_DITHER6X6_DISPLAY
  448. }
  449. *Option: HT_PATSIZE_8x8_M
  450. {
  451. *rcNameID: =HT_DITHER8X8_DISPLAY
  452. }
  453. }
  454. *Command: CmdStartJob
  455. {
  456. *Order: JOB_SETUP.1
  457. *Cmd: ""
  458. }
  459. *Command: CmdEndJob
  460. {
  461. *Order: JOB_FINISH.1
  462. *Cmd: ""
  463. }
  464. *Command: CmdStartDoc
  465. {
  466. *Order: DOC_SETUP.1
  467. *CallbackID: 60
  468. }
  469. *Command: CmdEndDoc
  470. {
  471. *Order: DOC_FINISH.1
  472. *CallbackID: 64
  473. }
  474. *Command: CmdStartPage
  475. {
  476. *Order: PAGE_SETUP.1
  477. *CallbackID: 62
  478. }
  479. *Command: CmdEndPage
  480. {
  481. *Order: PAGE_FINISH.1
  482. *CallbackID: 63
  483. }
  484. *RotateCoordinate?: FALSE
  485. *RotateRaster?: FALSE
  486. *RotateFont?: FALSE
  487. *TextCaps: LIST(TC_RA_ABLE)
  488. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  489. *Command: CmdYMoveRelDown
  490. {
  491. *CallbackID: 20
  492. *Params: LIST(DestYRel)
  493. }
  494. *Command: CmdCR { *Cmd : "" }
  495. *Command: CmdLF { *Cmd : "" }
  496. *Command: CmdFF { *Cmd : "" }
  497. *EjectPageWithFF?: FALSE
  498. *OutputDataFormat: H_BYTE
  499. *OptimizeLeftBound?: FALSE
  500. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  501. *CursorYAfterSendBlockData: AUTO_INCREMENT
  502. *DefaultCTT: 0
  503. *Command: CmdSendBlockData { *Cmd: "" }
  504. *ChangeColorModeOnDoc?: FALSE