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.

600 lines
13 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "ALMD500.GPD"
  7. *Include: "STDNAMES.GPD"
  8. *GPDFileVersion: "1.00"
  9. *CodePage: 1252
  10. *ModelName: "Alps MD-5000 (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. *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, 6142)
  179. *PrintableOrigin: PAIR(160, 140)
  180. *switch: Resolution
  181. {
  182. *case: Option2
  183. {
  184. *PrintableArea: PAIR(4400, 6140)
  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, 6142)
  197. *PrintableOrigin: PAIR(160, 140)
  198. *switch: Resolution
  199. {
  200. *case: Option2
  201. {
  202. *PrintableArea: PAIR(9128, 6140)
  203. }
  204. }
  205. *Command: CmdSelect
  206. {
  207. *Order: DOC_SETUP.3
  208. *CallbackID: 7
  209. }
  210. *Constraints: InputBin.AUTO
  211. }
  212. *Option: PHOTO_COLOR_LABEL
  213. {
  214. *rcNameID: 277
  215. *PageDimensions: PAIR(4724, 7748)
  216. *PrintableArea: PAIR(4404, 6228)
  217. *PrintableOrigin: PAIR(160, 688)
  218. *Command: CmdSelect
  219. {
  220. *Order: DOC_SETUP.3
  221. *CallbackID: 17
  222. }
  223. }
  224. *Option: VD_PHOTO_POSTCARD
  225. {
  226. *rcNameID: 285
  227. *PageDimensions: PAIR(4724, 7560)
  228. *PrintableArea: PAIR(4404, 6730)
  229. *PrintableOrigin: PAIR(160, 140)
  230. *Command: CmdSelect
  231. {
  232. *Order: DOC_SETUP.3
  233. *CallbackID: 22
  234. }
  235. *Constraints: MediaType.PPC_PAPER
  236. *Constraints: MediaType.PPC_PAPER_FINE
  237. *Constraints: MediaType.OHP_SHEET
  238. *Constraints: MediaType.IRON_PRINT_SHEET
  239. *Constraints: MediaType.THICK_PAPER
  240. *Constraints: MediaType.POATCARD
  241. *Constraints: MediaType.HIGH_GRADE_PAPER
  242. *Constraints: MediaType.BACK_PRINT_FILM
  243. *Constraints: MediaType.LABECA_SHEET
  244. *Constraints: MediaType.DYE_SUB_PAPER
  245. *Constraints: MediaType.DYE_SUB_LABEL
  246. *Constraints: MediaType.VD_PHOTO_FILM
  247. }
  248. }
  249. *Feature: MediaType
  250. {
  251. *rcNameID: =MEDIA_TYPE_DISPLAY
  252. *DefaultOption: PPC_PAPER
  253. *Option: PPC_PAPER
  254. {
  255. *rcNameID: 259
  256. *Command: CmdSelect
  257. {
  258. *Order: DOC_SETUP.5
  259. *CallbackID: 40
  260. }
  261. }
  262. *Option: PPC_PAPER_FINE
  263. {
  264. *rcNameID: 260
  265. *Command: CmdSelect
  266. {
  267. *Order: DOC_SETUP.5
  268. *CallbackID: 41
  269. }
  270. }
  271. *Option: OHP_SHEET
  272. {
  273. *rcNameID: 261
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.5
  277. *CallbackID: 42
  278. }
  279. }
  280. *Option: IRON_PRINT_SHEET
  281. {
  282. *rcNameID: 263
  283. *Command: CmdSelect
  284. {
  285. *Order: DOC_SETUP.5
  286. *CallbackID: 47
  287. }
  288. *Constraints: InputBin.AUTO
  289. }
  290. *Option: THICK_PAPER
  291. {
  292. *rcNameID: 264
  293. *Command: CmdSelect
  294. {
  295. *Order: DOC_SETUP.5
  296. *CallbackID: 48
  297. }
  298. *Constraints: InputBin.AUTO
  299. }
  300. *Option: POATCARD
  301. {
  302. *rcNameID: 265
  303. *Command: CmdSelect
  304. {
  305. *Order: DOC_SETUP.5
  306. *CallbackID: 49
  307. }
  308. *Constraints: PaperSize.LETTER
  309. *Constraints: PaperSize.LEGAL
  310. *Constraints: PaperSize.EXECUTIVE
  311. *Constraints: PaperSize.A4
  312. *Constraints: PaperSize.B5
  313. *Constraints: PaperSize.PHOTO_COLOR_LABEL
  314. *Constraints: PaperSize.VD_PHOTO_POSTCARD
  315. }
  316. *Option: HIGH_GRADE_PAPER
  317. {
  318. *rcNameID: 266
  319. *Command: CmdSelect
  320. {
  321. *Order: DOC_SETUP.5
  322. *CallbackID: 50
  323. }
  324. }
  325. *Option: BACK_PRINT_FILM
  326. {
  327. *rcNameID: 267
  328. *Command: CmdSelect
  329. {
  330. *Order: DOC_SETUP.5
  331. *CallbackID: 51
  332. }
  333. *Constraints: InputBin.AUTO
  334. }
  335. *Option: LABECA_SHEET
  336. {
  337. *rcNameID: 271
  338. *Command: CmdSelect
  339. {
  340. *Order: DOC_SETUP.5
  341. *CallbackID: 52
  342. }
  343. *Constraints: ColorMode.24bpp
  344. }
  345. *Option: DYE_SUB_PAPER
  346. {
  347. *rcNameID: 273
  348. *Command: CmdSelect
  349. {
  350. *Order: DOC_SETUP.5
  351. *CallbackID: 54
  352. }
  353. *Constraints: ColorMode.Mono
  354. }
  355. *Option: DYE_SUB_LABEL
  356. {
  357. *rcNameID: 274
  358. *Command: CmdSelect
  359. {
  360. *Order: DOC_SETUP.5
  361. *CallbackID: 55
  362. }
  363. *Constraints: ColorMode.Mono
  364. }
  365. *Option: VD_PHOTO_FILM
  366. {
  367. *rcNameID: 284
  368. *Command: CmdSelect
  369. {
  370. *Order: DOC_SETUP.5
  371. *CallbackID: 57
  372. }
  373. *Constraints: ColorMode.Mono
  374. }
  375. *Option: VD_PHOTO_CARD
  376. {
  377. *rcNameID: 285
  378. *Command: CmdSelect
  379. {
  380. *Order: DOC_SETUP.5
  381. *CallbackID: 58
  382. }
  383. *Constraints: ColorMode.Mono
  384. *Constraints: PaperSize.LETTER
  385. *Constraints: PaperSize.LEGAL
  386. *Constraints: PaperSize.EXECUTIVE
  387. *Constraints: PaperSize.A4
  388. *Constraints: PaperSize.B5
  389. *Constraints: PaperSize.PHOTO_COLOR_LABEL
  390. *Constraints: PaperSize.JAPANESE_POSTCARD
  391. *Constraints: PaperSize.DBL_JAPANESE_POSTCARD
  392. }
  393. }
  394. *Feature: PrintQuality
  395. {
  396. *rcNameID: =TEXT_QUALITY_DISPLAY
  397. *DefaultOption: COLOR_PHOTO
  398. *Option: COLOR_PHOTO
  399. {
  400. *rcNameID: 268
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.6
  404. *CallbackID: 30
  405. }
  406. }
  407. *Option: PRESENTATION
  408. {
  409. *rcNameID: 269
  410. *Command: CmdSelect
  411. {
  412. *Order: DOC_SETUP.6
  413. *CallbackID: 31
  414. }
  415. }
  416. *Option: DRAFT
  417. {
  418. *rcNameID: 270
  419. *Command: CmdSelect
  420. {
  421. *Order: DOC_SETUP.6
  422. *CallbackID: 32
  423. }
  424. }
  425. }
  426. *Feature: ColorMode
  427. {
  428. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  429. *DefaultOption: 24bpp
  430. *Option: Mono
  431. {
  432. *rcNameID: =MONO_DISPLAY
  433. *DevNumOfPlanes: 1
  434. *DevBPP: 1
  435. *Color? : FALSE
  436. *Command: CmdSelect
  437. {
  438. *Order: DOC_SETUP.1
  439. *CallbackID: 15
  440. }
  441. }
  442. *Option: 24bpp
  443. {
  444. *rcNameID: =24BPP_DISPLAY
  445. *DevNumOfPlanes: 1
  446. *DevBPP: 24
  447. *DrvBPP: 24
  448. *PaletteSize: 256
  449. *PaletteProgrammable? : TRUE
  450. *Command: CmdDefinePaletteEntry { *Cmd : "" }
  451. *Command: CmdSelectPaletteEntry { *Cmd : "" }
  452. *Command: CmdSelect
  453. {
  454. *Order: DOC_SETUP.1
  455. *CallbackID: 16
  456. }
  457. }
  458. }
  459. *Feature: SaveRibbon
  460. {
  461. *rcNameID: 282
  462. *DefaultOption: ON
  463. *Option: ON
  464. {
  465. *rcNameID: 280
  466. *Command: CmdSelect
  467. {
  468. *Order: DOC_SETUP.7
  469. *Cmd: "<1B1A0000>S"
  470. }
  471. }
  472. *Option: OFF
  473. {
  474. *rcNameID: 281
  475. *Command: CmdSelect
  476. {
  477. *Order: DOC_SETUP.7
  478. *Cmd: "<1B1A0100>S"
  479. }
  480. }
  481. }
  482. *Feature: MirrorOutput
  483. {
  484. *rcNameID: 283
  485. *DefaultOption: OFF
  486. *Option: ON
  487. {
  488. *rcNameID: 280
  489. *Command: CmdSelect
  490. {
  491. *Order: DOC_SETUP.7
  492. *CallbackID: 80
  493. }
  494. }
  495. *Option: OFF
  496. {
  497. *rcNameID: 281
  498. *Command: CmdSelect
  499. {
  500. *Order: DOC_SETUP.7
  501. *CallbackID: 81
  502. }
  503. }
  504. }
  505. *Feature: OverCoat
  506. {
  507. *rcNameID: 286
  508. *DefaultOption: OFF
  509. *Option: ON
  510. {
  511. *rcNameID: 280
  512. *Command: CmdSelect
  513. {
  514. *Order: DOC_SETUP.7
  515. *Cmd: "<1B1A0000>O"
  516. }
  517. }
  518. *Option: OFF
  519. {
  520. *rcNameID: 281
  521. *Command: CmdSelect
  522. {
  523. *Order: DOC_SETUP.7
  524. *Cmd: "<1B1A0100>O"
  525. }
  526. }
  527. }
  528. *Feature: Halftone
  529. {
  530. *rcNameID: =HALFTONING_DISPLAY
  531. *DefaultOption: HT_PATSIZE_AUTO
  532. *Option: HT_PATSIZE_AUTO
  533. {
  534. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  535. }
  536. *Option: HT_PATSIZE_SUPERCELL_M
  537. {
  538. *rcNameID: =HT_SUPERCELL_DISPLAY
  539. }
  540. *Option: HT_PATSIZE_6x6_M
  541. {
  542. *rcNameID: =HT_DITHER6X6_DISPLAY
  543. }
  544. *Option: HT_PATSIZE_8x8_M
  545. {
  546. *rcNameID: =HT_DITHER8X8_DISPLAY
  547. }
  548. }
  549. *Command: CmdStartJob
  550. {
  551. *Order: JOB_SETUP.1
  552. *Cmd: ""
  553. }
  554. *Command: CmdEndJob
  555. {
  556. *Order: JOB_FINISH.1
  557. *Cmd: ""
  558. }
  559. *Command: CmdStartDoc
  560. {
  561. *Order: DOC_SETUP.1
  562. *CallbackID: 65
  563. }
  564. *Command: CmdEndDoc
  565. {
  566. *Order: DOC_FINISH.1
  567. *CallbackID: 64
  568. }
  569. *Command: CmdStartPage
  570. {
  571. *Order: PAGE_SETUP.1
  572. *CallbackID: 62
  573. }
  574. *Command: CmdEndPage
  575. {
  576. *Order: PAGE_FINISH.1
  577. *CallbackID: 63
  578. }
  579. *RotateCoordinate?: FALSE
  580. *RotateRaster?: FALSE
  581. *RotateFont?: FALSE
  582. *TextCaps: LIST(TC_RA_ABLE)
  583. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  584. *Command: CmdYMoveRelDown
  585. {
  586. *CallbackID: 20
  587. *Params: LIST(DestYRel)
  588. }
  589. *Command: CmdCR { *Cmd : "" }
  590. *Command: CmdLF { *Cmd : "" }
  591. *Command: CmdFF { *Cmd : "" }
  592. *EjectPageWithFF?: FALSE
  593. *OutputDataFormat: H_BYTE
  594. *OptimizeLeftBound?: FALSE
  595. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  596. *CursorYAfterSendBlockData: AUTO_INCREMENT
  597. *DefaultCTT: 0
  598. *Command: CmdSendBlockData { *Cmd: "" }
  599. *ChangeColorModeOnDoc?: FALSE