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.

543 lines
12 KiB

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