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.

496 lines
11 KiB

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