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.

578 lines
13 KiB

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