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.

248 lines
5.5 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "NC824J.GPD"
  7. *Include: "STDNAMES.GPD"
  8. *GPDFileVersion: "1.000"
  9. *CodePage: 1252
  10. *ModelName: "NEC PC-PR820/3 (4 Colors)"
  11. *MasterUnits: PAIR(300, 300)
  12. *ResourceDLL: "NC82JRES.DLL"
  13. *PrinterType: SERIAL
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. }
  22. *Option: LANDSCAPE_CC270
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. }
  26. }
  27. *Feature: InputBin
  28. {
  29. *rcNameID: =PAPER_SOURCE_DISPLAY
  30. *DefaultOption: Option1
  31. *Option: Option1
  32. {
  33. *rcNameID: 259
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.5
  37. *CallbackID: 10
  38. }
  39. }
  40. *Option: MANUAL
  41. {
  42. *rcNameID: =MANUAL_FEED_DISPLAY
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.5
  46. *CallbackID: 11
  47. }
  48. }
  49. }
  50. *Feature: Resolution
  51. {
  52. *rcNameID: =RESOLUTION_DISPLAY
  53. *DefaultOption: Option1
  54. *Option: Option1
  55. {
  56. *Name: "300 x 300 dots per inch"
  57. *DPI: PAIR(300, 300)
  58. *TextDPI: PAIR(300, 300)
  59. *MinStripBlankPixels: 10
  60. *SpotDiameter: 100
  61. *Command: CmdSendBlockData
  62. {
  63. *CallbackID: 24
  64. *Params: LIST(NumOfDataBytes, RasterDataHeightInPixels, RasterDataWidthInBytes)
  65. }
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.3
  69. *Cmd: "<1B0300>A,<011B0300>B<0000>"
  70. }
  71. }
  72. }
  73. *Feature: PaperSize
  74. {
  75. *rcNameID: =PAPER_SIZE_DISPLAY
  76. *DefaultOption: A4
  77. *Option: A4
  78. {
  79. *rcNameID: =A4_DISPLAY
  80. *PrintableArea: PAIR(2417, 2994)
  81. *PrintableOrigin: PAIR(40, 213)
  82. *Command: CmdSelect
  83. {
  84. *Order: DOC_SETUP.4
  85. *CallbackID: 3
  86. }
  87. }
  88. *Option: Option4
  89. {
  90. *rcNameID: 258
  91. *PageDimensions: PAIR(2481, 4205)
  92. *PrintableArea: PAIR(2417, 3389)
  93. *PrintableOrigin: PAIR(40, 213)
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.4
  97. *CallbackID: 4
  98. }
  99. }
  100. *Option: B5
  101. {
  102. *rcNameID: =B5_DISPLAY
  103. *PrintableArea: PAIR(2087, 2523)
  104. *PrintableOrigin: PAIR(40, 213)
  105. *Command: CmdSelect
  106. {
  107. *Order: DOC_SETUP.4
  108. *CallbackID: 5
  109. }
  110. }
  111. *Option: JAPANESE_POSTCARD
  112. {
  113. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  114. *PrintableArea: PAIR(1118, 1236)
  115. *PrintableOrigin: PAIR(40, 213)
  116. *Command: CmdSelect
  117. {
  118. *Order: DOC_SETUP.4
  119. *CallbackID: 6
  120. }
  121. }
  122. }
  123. *Feature: PrintQuality
  124. {
  125. *rcNameID: =TEXT_QUALITY_DISPLAY
  126. *DefaultOption: Option1
  127. *Option: Option1
  128. {
  129. *rcNameID: 264
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.2
  133. *CallbackID: 42
  134. }
  135. }
  136. *Option: Option2
  137. {
  138. *rcNameID: 263
  139. *Command: CmdSelect
  140. {
  141. *Order: DOC_SETUP.2
  142. *CallbackID: 43
  143. }
  144. }
  145. }
  146. *Feature: ColorMode
  147. {
  148. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  149. *DefaultOption: Color
  150. *Option: Mono
  151. {
  152. *rcNameID: =MONO_DISPLAY
  153. *DevNumOfPlanes: 1
  154. *DevBPP: 1
  155. *Color? : FALSE
  156. }
  157. *Option: Color
  158. {
  159. *rcNameID: =COLOR_DISPLAY
  160. *DevNumOfPlanes: 3
  161. *DevBPP: 1
  162. *DrvBPP: 4
  163. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN)
  164. *Command: CmdSendYellowData
  165. {
  166. *CallbackID: 20
  167. *Params: LIST(NumOfDataBytes, RasterDataHeightInPixels, RasterDataWidthInBytes)
  168. }
  169. *Command: CmdSendMagentaData
  170. {
  171. *CallbackID: 21
  172. *Params: LIST(NumOfDataBytes, RasterDataHeightInPixels, RasterDataWidthInBytes)
  173. }
  174. *Command: CmdSendCyanData
  175. {
  176. *CallbackID: 22
  177. *Params: LIST(NumOfDataBytes, RasterDataHeightInPixels, RasterDataWidthInBytes)
  178. }
  179. *Command: CmdDefinePaletteEntry { *Cmd : "" }
  180. *Command: CmdSelectPaletteEntry { *Cmd : "" }
  181. *Command: CmdSelect
  182. {
  183. *Order: DOC_SETUP.2
  184. }
  185. }
  186. }
  187. *Feature: Halftone
  188. {
  189. *rcNameID: =HALFTONING_DISPLAY
  190. *DefaultOption: HT_PATSIZE_AUTO
  191. *Option: HT_PATSIZE_AUTO
  192. {
  193. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  194. }
  195. *Option: HT_PATSIZE_SUPERCELL_M
  196. {
  197. *rcNameID: =HT_SUPERCELL_DISPLAY
  198. }
  199. *Option: HT_PATSIZE_6x6_M
  200. {
  201. *rcNameID: =HT_DITHER6X6_DISPLAY
  202. }
  203. *Option: HT_PATSIZE_8x8_M
  204. {
  205. *rcNameID: =HT_DITHER8X8_DISPLAY
  206. }
  207. }
  208. *Command: CmdStartDoc
  209. {
  210. *Order: DOC_SETUP.1
  211. *Cmd: "<1B>'1<1B0900>P BUSYON<0A>"
  212. }
  213. *Command: CmdStartPage
  214. {
  215. *Order: PAGE_SETUP.1
  216. *CallbackID: 50
  217. }
  218. *Command: CmdEndJob
  219. {
  220. *Order: JOB_FINISH.1
  221. *Cmd: "<1B0000>"
  222. }
  223. *Command: CmdEndPage
  224. {
  225. *Order: PAGE_FINISH.1
  226. *CallbackID: 51
  227. }
  228. *RotateCoordinate?: FALSE
  229. *RotateRaster?: FALSE
  230. *RotateFont?: FALSE
  231. *ChangeColorModeOnDoc?: FALSE
  232. *TextCaps: LIST(TC_RA_ABLE)
  233. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  234. *YMoveUnit: 300
  235. *Command: CmdYMoveAbsolute
  236. {
  237. *CallbackID: 31
  238. *Params: LIST(DestY)
  239. }
  240. *Command: CmdCR { *Cmd : "<0D>" }
  241. *Command: CmdLF { *Cmd : "<0A>" }
  242. *Command: CmdFF { *Cmd : "<0C>" }
  243. *EjectPageWithFF?: FALSE
  244. *OutputDataFormat: H_BYTE
  245. *OptimizeLeftBound?: FALSE
  246. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  247. *CursorYAfterSendBlockData: AUTO_INCREMENT
  248. *DefaultCTT: 0