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.

403 lines
8.9 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileName: "ALMD400.GPD"
  3. *Include: "STDNAMES.GPD"
  4. *CodePage: 1252
  5. *ModelName: "ALPS MD-4000J"
  6. *MasterUnits: PAIR(1200, 1200)
  7. *ResourceDLL: "alpsres.dll"
  8. *PrinterType: SERIAL
  9. *Feature: Orientation
  10. {
  11. *rcNameID: =ORIENTATION_DISPLAY
  12. *DefaultOption: PORTRAIT
  13. *Option: PORTRAIT
  14. {
  15. *rcNameID: =PORTRAIT_DISPLAY
  16. }
  17. *Option: LANDSCAPE_CC270
  18. {
  19. *rcNameID: =LANDSCAPE_DISPLAY
  20. }
  21. }
  22. *Feature: InputBin
  23. {
  24. *rcNameID: =PAPER_SOURCE_DISPLAY
  25. *DefaultOption: AUTO
  26. *Option: AUTO
  27. {
  28. *rcNameID: =AUTO_DISPLAY
  29. *Command: CmdSelect
  30. {
  31. *Order: DOC_SETUP.4
  32. *CallbackID: 70
  33. }
  34. }
  35. *Option: MANUAL
  36. {
  37. *rcNameID: =MANUAL_FEED_DISPLAY
  38. *Command: CmdSelect
  39. {
  40. *Order: DOC_SETUP.4
  41. *CallbackID: 71
  42. }
  43. }
  44. }
  45. *Feature: Resolution
  46. {
  47. *rcNameID: =RESOLUTION_DISPLAY
  48. *DefaultOption: Option2
  49. *Option: Option1
  50. {
  51. *Name: "600 x 600 dots per inch"
  52. *DPI: PAIR(600, 600)
  53. *TextDPI: PAIR(600, 600)
  54. *MinStripBlankPixels: 10
  55. *% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
  56. *SpotDiameter: 100
  57. *Command: CmdSendBlockData
  58. {
  59. *CallbackID: 13
  60. *Params: LIST(NumOfDataBytes, RasterDataHeightInPixels, RasterDataWidthInBytes)
  61. }
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.2
  65. *CallbackID: 11
  66. }
  67. }
  68. *Option: Option2
  69. {
  70. *Name: "300 x 300 dots per inch"
  71. *DPI: PAIR(300, 300)
  72. *TextDPI: PAIR(300, 300)
  73. *MinStripBlankPixels: 10
  74. *% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
  75. *SpotDiameter: 100
  76. *Command: CmdSendBlockData { *CallbackID: 13 }
  77. *Command: CmdSelect
  78. {
  79. *Order: DOC_SETUP.2
  80. *CallbackID: 12
  81. }
  82. }
  83. }
  84. *Feature: PaperSize
  85. {
  86. *rcNameID: =PAPER_SIZE_DISPLAY
  87. *DefaultOption: A4
  88. *Option: LETTER
  89. {
  90. *rcNameID: =LETTER_DISPLAY
  91. *PrintableArea: PAIR(9600, 11836)
  92. *PrintableOrigin: PAIR(300, 568)
  93. *Command: CmdSelect
  94. {
  95. *Order: DOC_SETUP.3
  96. *CallbackID: 5
  97. }
  98. }
  99. *Option: LEGAL
  100. {
  101. *rcNameID: =LEGAL_DISPLAY
  102. *PrintableArea: PAIR(9600, 15422)
  103. *PrintableOrigin: PAIR(300, 568)
  104. *switch: Resolution
  105. {
  106. *case: Option2
  107. {
  108. *% Warning: the following printable length is adjusted (15422->15420) so it is divisible by the resolution Y scale.
  109. *PrintableArea: PAIR(9600, 15420)
  110. }
  111. }
  112. *Command: CmdSelect
  113. {
  114. *Order: DOC_SETUP.3
  115. *CallbackID: 4
  116. }
  117. }
  118. *Option: EXECUTIVE
  119. {
  120. *rcNameID: =EXECUTIVE_DISPLAY
  121. *PrintableArea: PAIR(8380, 11238)
  122. *PrintableOrigin: PAIR(160, 568)
  123. *switch: Resolution
  124. {
  125. *case: Option2
  126. {
  127. *% Warning: the following printable length is adjusted (11238->11236) so it is divisible by the resolution Y scale.
  128. *PrintableArea: PAIR(8380, 11236)
  129. }
  130. }
  131. *Command: CmdSelect
  132. {
  133. *Order: DOC_SETUP.3
  134. *CallbackID: 3
  135. }
  136. }
  137. *Option: A4
  138. {
  139. *rcNameID: =A4_DISPLAY
  140. *PrintableArea: PAIR(9600, 12660)
  141. *PrintableOrigin: PAIR(160, 568)
  142. *Command: CmdSelect
  143. {
  144. *Order: DOC_SETUP.3
  145. *CallbackID: 1
  146. }
  147. }
  148. *Option: B5
  149. {
  150. *rcNameID: =B5_DISPLAY
  151. *PrintableArea: PAIR(8284, 10784)
  152. *PrintableOrigin: PAIR(160, 568)
  153. *Command: CmdSelect
  154. {
  155. *Order: DOC_SETUP.3
  156. *CallbackID: 2
  157. }
  158. }
  159. *Option: JAPANESE_POSTCARD
  160. {
  161. *rcNameID: =9X11_DISPLAY
  162. *PrintableArea: PAIR(4408, 5656)
  163. *PrintableOrigin: PAIR(160, 568)
  164. *Command: CmdSelect
  165. {
  166. *Order: DOC_SETUP.3
  167. *CallbackID: 6
  168. }
  169. }
  170. *Option: DBL_JAPANESE_POSTCARD
  171. {
  172. *rcNameID: =A6_DISPLAY
  173. *PrintableArea: PAIR(9124, 5656)
  174. *PrintableOrigin: PAIR(160, 568)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.3
  178. *CallbackID: 7
  179. }
  180. }
  181. }
  182. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.DBL_JAPANESE_POSTCARD)
  183. *Feature: MediaType
  184. {
  185. *rcNameID: =MEDIA_TYPE_DISPLAY
  186. *DefaultOption: Option1
  187. *Option: Option1
  188. {
  189. *rcNameID: 259
  190. *Command: CmdSelect
  191. {
  192. *Order: DOC_SETUP.5
  193. *CallbackID: 40
  194. }
  195. }
  196. *Option: Option2
  197. {
  198. *rcNameID: 260
  199. *Command: CmdSelect
  200. {
  201. *Order: DOC_SETUP.5
  202. *CallbackID: 41
  203. }
  204. }
  205. *Option: Option3
  206. {
  207. *rcNameID: 261
  208. *Command: CmdSelect
  209. {
  210. *Order: DOC_SETUP.5
  211. *CallbackID: 42
  212. }
  213. }
  214. *Option: Option4
  215. {
  216. *rcNameID: 263
  217. *Command: CmdSelect
  218. {
  219. *Order: DOC_SETUP.5
  220. *CallbackID: 46
  221. }
  222. }
  223. *Option: Option5
  224. {
  225. *rcNameID: 264
  226. *Command: CmdSelect
  227. {
  228. *Order: DOC_SETUP.5
  229. *CallbackID: 48
  230. }
  231. }
  232. *Option: Option6
  233. {
  234. *rcNameID: 265
  235. *Command: CmdSelect
  236. {
  237. *Order: DOC_SETUP.5
  238. *CallbackID: 49
  239. }
  240. }
  241. *Option: Option7
  242. {
  243. *rcNameID: 266
  244. *Command: CmdSelect
  245. {
  246. *Order: DOC_SETUP.5
  247. *CallbackID: 50
  248. }
  249. }
  250. *Option: Option8
  251. {
  252. *rcNameID: 267
  253. *Command: CmdSelect
  254. {
  255. *Order: DOC_SETUP.5
  256. *CallbackID: 51
  257. }
  258. }
  259. }
  260. *Feature: PrintQuality
  261. {
  262. *rcNameID: =TEXT_QUALITY_DISPLAY
  263. *DefaultOption: Option1
  264. *Option: Option1
  265. {
  266. *rcNameID: 268
  267. *Command: CmdSelect
  268. {
  269. *Order: DOC_SETUP.6
  270. *CallbackID: 30
  271. }
  272. }
  273. *Option: Option2
  274. {
  275. *rcNameID: 269
  276. *Command: CmdSelect
  277. {
  278. *Order: DOC_SETUP.6
  279. *CallbackID: 31
  280. }
  281. }
  282. *Option: Option3
  283. {
  284. *rcNameID: 270
  285. *Command: CmdSelect
  286. {
  287. *Order: DOC_SETUP.6
  288. *CallbackID: 32
  289. }
  290. }
  291. }
  292. *Feature: ImageControl
  293. {
  294. *rcNameID: =IMAGECONTROL_DISPLAY
  295. *DefaultOption: Option1
  296. *Option: Option1
  297. {
  298. *rcNameID: 271
  299. *Command: CmdSelect
  300. {
  301. *Order: DOC_SETUP.7
  302. *Cmd: "<1B1A0000>S"
  303. }
  304. }
  305. *Option: Option2
  306. {
  307. *rcNameID: 272
  308. *Command: CmdSelect
  309. {
  310. *Order: DOC_SETUP.7
  311. *Cmd: "<1B1A0100>S"
  312. }
  313. }
  314. }
  315. *Feature: ColorMode
  316. {
  317. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  318. *DefaultOption: 24bpp
  319. *Option: Mono
  320. {
  321. *rcNameID: =MONO_DISPLAY
  322. *DevNumOfPlanes: 1
  323. *DevBPP: 1
  324. *Color? : FALSE
  325. }
  326. *Option: 24bpp
  327. {
  328. *rcNameID: =24BPP_DISPLAY
  329. *DevNumOfPlanes: 1
  330. *DevBPP: 24
  331. *DrvBPP: 24
  332. *PaletteSize: 256
  333. *PaletteProgrammable? : TRUE
  334. *Command: CmdDefinePaletteEntry { *Cmd : "" }
  335. *Command: CmdSelectPaletteEntry { *Cmd : "" }
  336. *Command: CmdSelect
  337. {
  338. *Order: DOC_SETUP.2
  339. }
  340. }
  341. }
  342. *Feature: Halftone
  343. {
  344. *rcNameID: =HALFTONING_DISPLAY
  345. *DefaultOption: HT_PATSIZE_AUTO
  346. *Option: HT_PATSIZE_AUTO
  347. {
  348. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  349. }
  350. *Option: HT_PATSIZE_SUPERCELL_M
  351. {
  352. *rcNameID: =HT_SUPERCELL_DISPLAY
  353. }
  354. *Option: HT_PATSIZE_6x6_M
  355. {
  356. *rcNameID: =HT_DITHER6X6_DISPLAY
  357. }
  358. *Option: HT_PATSIZE_8x8_M
  359. {
  360. *rcNameID: =HT_DITHER8X8_DISPLAY
  361. }
  362. }
  363. *Command: CmdStartDoc
  364. {
  365. *Order: DOC_SETUP.1
  366. *CallbackID: 61
  367. }
  368. *Command: CmdStartPage
  369. {
  370. *Order: PAGE_SETUP.1
  371. *CallbackID: 62
  372. }
  373. *Command: CmdEndJob
  374. {
  375. *Order: JOB_FINISH.1
  376. *Cmd: "<1B>%%<00>X"
  377. }
  378. *Command: CmdEndPage
  379. {
  380. *Order: PAGE_FINISH.1
  381. *CallbackID: 63
  382. }
  383. *RotateCoordinate?: FALSE
  384. *RotateRaster?: FALSE
  385. *RotateFont?: FALSE
  386. *TextCaps: LIST(TC_RA_ABLE)
  387. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  388. *YMoveThreshold: *
  389. *YMoveUnit: 1200
  390. *Command: CmdYMoveRelDown
  391. {
  392. *CallbackID: 20
  393. *Params: LIST(DestYRel)
  394. }
  395. *Command: CmdCR { *Cmd : "<0D>" }
  396. *Command: CmdLF { *Cmd : "<0A>" }
  397. *Command: CmdFF { *Cmd : "<0C>" }
  398. *EjectPageWithFF?: TRUE
  399. *OutputDataFormat: H_BYTE
  400. *OptimizeLeftBound?: FALSE
  401. *CursorXAfterSendBlockData: AT_GRXDATA_END
  402. *CursorYAfterSendBlockData: AUTO_INCREMENT
  403. *DefaultCTT: 0