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.

536 lines
12 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "ALMD150.GPD"
  7. *Include: "STDNAMES.GPD"
  8. *GPDFileVersion: "1.00"
  9. *CodePage: 1252
  10. *ModelName: "Alps MD-1500 (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. *Feature: PrintQuality
  332. {
  333. *rcNameID: =TEXT_QUALITY_DISPLAY
  334. *DefaultOption: COLOR_PHOTO
  335. *Option: COLOR_PHOTO
  336. {
  337. *rcNameID: 268
  338. *Command: CmdSelect
  339. {
  340. *Order: DOC_SETUP.6
  341. *CallbackID: 30
  342. }
  343. }
  344. *Option: PRESENTATION
  345. {
  346. *rcNameID: 269
  347. *Command: CmdSelect
  348. {
  349. *Order: DOC_SETUP.6
  350. *CallbackID: 31
  351. }
  352. }
  353. *Option: DRAFT
  354. {
  355. *rcNameID: 270
  356. *Command: CmdSelect
  357. {
  358. *Order: DOC_SETUP.6
  359. *CallbackID: 32
  360. }
  361. }
  362. }
  363. *Feature: ColorMode
  364. {
  365. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  366. *DefaultOption: 24bpp
  367. *Option: Mono
  368. {
  369. *rcNameID: =MONO_DISPLAY
  370. *DevNumOfPlanes: 1
  371. *DevBPP: 1
  372. *Color? : FALSE
  373. *Command: CmdSelect
  374. {
  375. *Order: DOC_SETUP.1
  376. *CallbackID: 15
  377. }
  378. }
  379. *Option: 24bpp
  380. {
  381. *rcNameID: =24BPP_DISPLAY
  382. *DevNumOfPlanes: 1
  383. *DevBPP: 24
  384. *DrvBPP: 24
  385. *PaletteSize: 256
  386. *PaletteProgrammable? : TRUE
  387. *Command: CmdDefinePaletteEntry { *Cmd : "" }
  388. *Command: CmdSelectPaletteEntry { *Cmd : "" }
  389. *Command: CmdSelect
  390. {
  391. *Order: DOC_SETUP.1
  392. *CallbackID: 16
  393. }
  394. }
  395. }
  396. *Feature: SaveRibbon
  397. {
  398. *rcNameID: 282
  399. *DefaultOption: ON
  400. *Option: ON
  401. {
  402. *rcNameID: 280
  403. *Command: CmdSelect
  404. {
  405. *Order: DOC_SETUP.7
  406. *Cmd: "<1B1A0000>S"
  407. }
  408. }
  409. *Option: OFF
  410. {
  411. *rcNameID: 281
  412. *Command: CmdSelect
  413. {
  414. *Order: DOC_SETUP.7
  415. *Cmd: "<1B1A0100>S"
  416. }
  417. }
  418. }
  419. *Feature: MirrorOutput
  420. {
  421. *rcNameID: 283
  422. *DefaultOption: OFF
  423. *Option: ON
  424. {
  425. *rcNameID: 280
  426. *Command: CmdSelect
  427. {
  428. *Order: DOC_SETUP.7
  429. *CallbackID: 80
  430. }
  431. }
  432. *Option: OFF
  433. {
  434. *rcNameID: 281
  435. *Command: CmdSelect
  436. {
  437. *Order: DOC_SETUP.7
  438. *CallbackID: 81
  439. }
  440. }
  441. }
  442. *Feature: OverCoat
  443. {
  444. *rcNameID: 286
  445. *DefaultOption: OFF
  446. *Option: ON
  447. {
  448. *rcNameID: 280
  449. *Command: CmdSelect
  450. {
  451. *Order: DOC_SETUP.7
  452. *Cmd: "<1B1A0000>O"
  453. }
  454. }
  455. *Option: OFF
  456. {
  457. *rcNameID: 281
  458. *Command: CmdSelect
  459. {
  460. *Order: DOC_SETUP.7
  461. *Cmd: "<1B1A0100>O"
  462. }
  463. }
  464. }
  465. *Feature: Halftone
  466. {
  467. *rcNameID: =HALFTONING_DISPLAY
  468. *DefaultOption: HT_PATSIZE_AUTO
  469. *Option: HT_PATSIZE_AUTO
  470. {
  471. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  472. }
  473. *Option: HT_PATSIZE_SUPERCELL_M
  474. {
  475. *rcNameID: =HT_SUPERCELL_DISPLAY
  476. }
  477. *Option: HT_PATSIZE_6x6_M
  478. {
  479. *rcNameID: =HT_DITHER6X6_DISPLAY
  480. }
  481. *Option: HT_PATSIZE_8x8_M
  482. {
  483. *rcNameID: =HT_DITHER8X8_DISPLAY
  484. }
  485. }
  486. *Command: CmdStartJob
  487. {
  488. *Order: JOB_SETUP.1
  489. *Cmd: ""
  490. }
  491. *Command: CmdEndJob
  492. {
  493. *Order: JOB_FINISH.1
  494. *Cmd: ""
  495. }
  496. *Command: CmdStartDoc
  497. {
  498. *Order: DOC_SETUP.1
  499. *CallbackID: 61
  500. }
  501. *Command: CmdEndDoc
  502. {
  503. *Order: DOC_FINISH.1
  504. *CallbackID: 64
  505. }
  506. *Command: CmdStartPage
  507. {
  508. *Order: PAGE_SETUP.1
  509. *CallbackID: 62
  510. }
  511. *Command: CmdEndPage
  512. {
  513. *Order: PAGE_FINISH.1
  514. *CallbackID: 63
  515. }
  516. *RotateCoordinate?: FALSE
  517. *RotateRaster?: FALSE
  518. *RotateFont?: FALSE
  519. *TextCaps: LIST(TC_RA_ABLE)
  520. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  521. *Command: CmdYMoveRelDown
  522. {
  523. *CallbackID: 20
  524. *Params: LIST(DestYRel)
  525. }
  526. *Command: CmdCR { *Cmd : "" }
  527. *Command: CmdLF { *Cmd : "" }
  528. *Command: CmdFF { *Cmd : "" }
  529. *EjectPageWithFF?: FALSE
  530. *OutputDataFormat: H_BYTE
  531. *OptimizeLeftBound?: FALSE
  532. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  533. *CursorYAfterSendBlockData: AUTO_INCREMENT
  534. *DefaultCTT: 0
  535. *Command: CmdSendBlockData { *Cmd: "" }
  536. *ChangeColorModeOnDoc?: FALSE