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.

351 lines
7.5 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "IB5587WJ.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 932
  10. *ModelName: "IBM 5587-WIN"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "IB87WRES.DLL"
  13. *PrinterType: SERIAL
  14. *MaxCopies: 255
  15. *OutputOrderReversed?: FALSE
  16. *Feature: Orientation
  17. {
  18. *rcNameID: =ORIENTATION_DISPLAY
  19. *DefaultOption: PORTRAIT
  20. *Option: PORTRAIT
  21. {
  22. *rcNameID: =PORTRAIT_DISPLAY
  23. *Command: CmdSelect
  24. {
  25. *Order: DOC_SETUP.4
  26. *CallbackID:28
  27. }
  28. }
  29. *Option: LANDSCAPE_CC270
  30. {
  31. *rcNameID: =LANDSCAPE_DISPLAY
  32. *Command: CmdSelect
  33. {
  34. *Order: DOC_SETUP.4
  35. *CallbackID:29
  36. }
  37. }
  38. }
  39. *Feature: InputBin
  40. {
  41. *rcNameID: =PAPER_SOURCE_DISPLAY
  42. *DefaultOption: AUTO
  43. *Option: AUTO
  44. {
  45. *rcNameID: 300
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.3
  49. *CallbackID:24
  50. }
  51. }
  52. *Option: TRAY1
  53. {
  54. *rcNameID: 301
  55. *OptionID: 301
  56. *Command: CmdSelect
  57. {
  58. *Order: DOC_SETUP.3
  59. *CallbackID:21
  60. }
  61. }
  62. *Option: TRAY2
  63. {
  64. *rcNameID: 302
  65. *Command: CmdSelect
  66. {
  67. *Order: DOC_SETUP.3
  68. *CallbackID:22
  69. }
  70. }
  71. *Option: TRAY_F
  72. {
  73. *rcNameID: 303
  74. *Command: CmdSelect
  75. {
  76. *Order: DOC_SETUP.3
  77. *CallbackID:20
  78. }
  79. }
  80. }
  81. *Feature: Resolution
  82. {
  83. *rcNameID:=RESOLUTION_DISPLAY
  84. *DefaultOption: Option1
  85. *Option: Option1
  86. {
  87. *Name: "300 x 300 dots per inch"
  88. *DPI: PAIR(300, 300)
  89. *TextDPI: PAIR(300, 300)
  90. *SpotDiameter: 100
  91. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  92. *Command: CmdSelect
  93. {
  94. *Order: DOC_SETUP.6
  95. *CallbackID : 76
  96. *Params: LIST(PhysPaperWidth, PhysPaperLength)
  97. }
  98. }
  99. *Option: Option2
  100. {
  101. *Name: "600 x 600 dots per inch"
  102. *DPI: PAIR(600, 600)
  103. *TextDPI: PAIR(600, 600)
  104. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  105. *SpotDiameter: 100
  106. *Command: CmdSelect
  107. {
  108. *Order: DOC_SETUP.6
  109. *CallbackID : 77
  110. *Params: LIST(PhysPaperWidth, PhysPaperLength)
  111. }
  112. }
  113. }
  114. *Feature: PaperSize
  115. {
  116. *rcNameID: =PAPER_SIZE_DISPLAY
  117. *DefaultOption: A4
  118. *Option: A3
  119. {
  120. *rcNameID: =A3_DISPLAY
  121. *PrintableArea: PAIR(13656, 19474)
  122. *PrintableOrigin: PAIR(240, 240)
  123. *Command: CmdSelect
  124. {
  125. *Order: DOC_SETUP.2
  126. *CallbackID: 50
  127. }
  128. }
  129. *Option: A4
  130. {
  131. *rcNameID: =A4_DISPLAY
  132. *PrintableArea: PAIR(9552, 13656)
  133. *PrintableOrigin: PAIR(240, 240)
  134. *Command: CmdSelect
  135. {
  136. *Order: DOC_SETUP.2
  137. *CallbackID: 51
  138. }
  139. }
  140. *Option: A5
  141. {
  142. *rcNameID: =A5_DISPLAY
  143. *PrintableArea: PAIR(6664, 9552)
  144. *PrintableOrigin: PAIR(240, 240)
  145. *Command: CmdSelect
  146. {
  147. *Order: DOC_SETUP.2
  148. *CallbackID: 52
  149. }
  150. }
  151. *Option: B4
  152. {
  153. *rcNameID: =B4_DISPLAY
  154. *PrintableArea: PAIR(11768, 16824)
  155. *PrintableOrigin: PAIR(240, 240)
  156. *Command: CmdSelect
  157. {
  158. *Order: DOC_SETUP.2
  159. *CallbackID: 53
  160. }
  161. }
  162. *Option: B5
  163. {
  164. *rcNameID: =B5_DISPLAY
  165. *PrintableArea: PAIR(8224, 11768)
  166. *PrintableOrigin: PAIR(240, 240)
  167. *Command: CmdSelect
  168. {
  169. *Order: DOC_SETUP.2
  170. *CallbackID: 54
  171. }
  172. }
  173. *Option: LETTER
  174. {
  175. *rcNameID: =LETTER_DISPLAY
  176. *PrintableArea: PAIR(9824, 12824)
  177. *PrintableOrigin: PAIR(240, 240)
  178. *Command: CmdSelect
  179. {
  180. *Order: DOC_SETUP.2
  181. *CallbackID: 56
  182. }
  183. }
  184. *Option: LEGAL
  185. {
  186. *rcNameID: =LEGAL_DISPLAY
  187. *PrintableArea: PAIR(9824, 16400)
  188. *PrintableOrigin: PAIR(240, 100)
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.2
  192. *CallbackID: 57
  193. }
  194. }
  195. *Option: JAPANESE_POSTCARD
  196. {
  197. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  198. *PrintableArea: PAIR(4352, 6616)
  199. *PrintableOrigin: PAIR(240, 240)
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.2
  203. *CallbackID: 55
  204. }
  205. }
  206. *Option: CUSTOMSIZE
  207. {
  208. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  209. *MinSize: PAIR(4063, 6992)
  210. *MaxSize: PAIR(14079, 19843)
  211. *MaxPrintableWidth: 14079
  212. *MinLeftMargin: 0
  213. *CenterPrintable?: FALSE
  214. *CustCursorOriginX: %d{0}
  215. *CustCursorOriginY: %d{75}
  216. *CustPrintableOriginX: %d{240}
  217. *CustPrintableOriginY: %d{240}
  218. *CustPrintableSizeX: %d{PhysPaperWidth-(188+188)}
  219. *CustPrintableSizeY: %d{PhysPaperLength-(188+376)}
  220. *Command: CmdSelect
  221. {
  222. *Order: DOC_SETUP.2
  223. *CallbackID: 58
  224. }
  225. }
  226. }
  227. *Feature: TonerSave
  228. {
  229. *rcNameID: 305
  230. *DefaultOption: TS_DARK
  231. *Option: TS_DARK
  232. {
  233. *rcNameID: 306
  234. *Command: CmdSelect
  235. {
  236. *Order: DOC_SETUP.5
  237. *CallbackID: 101
  238. }
  239. }
  240. *Option: TS_MEDIUM
  241. {
  242. *rcNameID: 307
  243. *Command: CmdSelect
  244. {
  245. *Order: DOC_SETUP.5
  246. *CallbackID: 100
  247. }
  248. }
  249. *Option: TS_LIGHT
  250. {
  251. *rcNameID: 308
  252. *Command: CmdSelect
  253. {
  254. *Order: DOC_SETUP.5
  255. *CallbackID: 102
  256. }
  257. }
  258. *Option: TS_OFF
  259. {
  260. *rcNameID: 309
  261. }
  262. }
  263. *Feature: Halftone
  264. {
  265. *rcNameID: =HALFTONING_DISPLAY
  266. *DefaultOption: HT_PATSIZE_AUTO
  267. *Option: HT_PATSIZE_AUTO
  268. {
  269. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  270. }
  271. *Option: HT_PATSIZE_SUPERCELL_M
  272. {
  273. *rcNameID: =HT_SUPERCELL_DISPLAY
  274. }
  275. *Option: HT_PATSIZE_6x6_M
  276. {
  277. *rcNameID: =HT_DITHER6X6_DISPLAY
  278. }
  279. *Option: HT_PATSIZE_8x8_M
  280. {
  281. *rcNameID: =HT_DITHER8X8_DISPLAY
  282. }
  283. }
  284. *Command: CmdStartDoc
  285. {
  286. *Order: DOC_SETUP.1
  287. *CallbackID: 30
  288. }
  289. *Command: CmdStartPage
  290. {
  291. *Order: PAGE_SETUP.1
  292. *CallbackID: 31
  293. }
  294. *Command: CmdEndDoc
  295. {
  296. *Order: DOC_FINISH.1
  297. *CallbackID: 32
  298. }
  299. *Command: CmdEndPage
  300. {
  301. *Order: PAGE_FINISH.1
  302. *CallbackID: 33
  303. }
  304. *Command: CmdCopies
  305. {
  306. *Order: DOC_SETUP.5
  307. *CallbackID: 38
  308. *Params: LIST(NumOfCopies)
  309. }
  310. *RotateCoordinate?: FALSE
  311. *RotateRaster?: FALSE
  312. *RotateFont?: FALSE
  313. *EjectPageWithFF?: FALSE
  314. *OutputDataFormat: H_BYTE
  315. *OptimizeLeftBound?: FALSE
  316. *Command: CmdSendBlockData
  317. {
  318. *CallbackID : 82
  319. *Params: LIST(NumOfDataBytes,RasterDataHeightInPixels,RasterDataWidthInBytes)
  320. }
  321. *YMoveThreshold: 0
  322. *XMoveThreshold: 0
  323. *switch: Resolution
  324. {
  325. *case: Option1
  326. {
  327. *XMoveUnit: 300
  328. *YMoveUnit: 300
  329. }
  330. *case: Option2
  331. {
  332. *XMoveUnit: 600
  333. *YMoveUnit: 600
  334. }
  335. }
  336. *Command: CmdCR { *Cmd : "" }
  337. *Command: CmdLF { *Cmd : "" }
  338. *Command: CmdFF { *Cmd : "" }
  339. *RasterZeroFill?:FALSE
  340. *RasterSendAllData?:TRUE
  341. *Command: CmdYMoveRelDown
  342. {
  343. *CallbackID: 71
  344. *Params: LIST(DestYRel)
  345. }
  346. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  347. *CursorYAfterSendBlockData: AUTO_INCREMENT