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.

404 lines
9.9 KiB

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