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.

227 lines
5.1 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "NC823J.GPD"
  7. *Include: "STDNAMES.GPD"
  8. *GPDFileVersion: "1.000"
  9. *CodePage: 1252
  10. *ModelName: "NEC PC-PR820/3 (3 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: B5
  89. {
  90. *rcNameID: =B5_DISPLAY
  91. *PrintableArea: PAIR(2087, 2523)
  92. *PrintableOrigin: PAIR(40, 213)
  93. *Command: CmdSelect
  94. {
  95. *Order: DOC_SETUP.4
  96. *CallbackID: 5
  97. }
  98. }
  99. *Option: JAPANESE_POSTCARD
  100. {
  101. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  102. *PrintableArea: PAIR(1118, 1236)
  103. *PrintableOrigin: PAIR(40, 213)
  104. *Command: CmdSelect
  105. {
  106. *Order: DOC_SETUP.4
  107. *CallbackID: 6
  108. }
  109. }
  110. }
  111. *Feature: PrintQuality
  112. {
  113. *rcNameID: =TEXT_QUALITY_DISPLAY
  114. *DefaultOption: Option1
  115. *Option: Option1
  116. {
  117. *rcNameID: 265
  118. *Command: CmdSelect
  119. {
  120. *Order: DOC_SETUP.2
  121. *CallbackID: 41
  122. }
  123. }
  124. }
  125. *Feature: ColorMode
  126. {
  127. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  128. *DefaultOption: Color
  129. *Option: Mono
  130. {
  131. *rcNameID: =MONO_DISPLAY
  132. *DevNumOfPlanes: 1
  133. *DevBPP: 1
  134. *Color? : FALSE
  135. }
  136. *Option: Color
  137. {
  138. *rcNameID: =COLOR_DISPLAY
  139. *DevNumOfPlanes: 3
  140. *DevBPP: 1
  141. *DrvBPP: 4
  142. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN)
  143. *Command: CmdSendYellowData
  144. {
  145. *CallbackID: 20
  146. *Params: LIST(NumOfDataBytes, RasterDataHeightInPixels, RasterDataWidthInBytes)
  147. }
  148. *Command: CmdSendMagentaData
  149. {
  150. *CallbackID: 21
  151. *Params: LIST(NumOfDataBytes, RasterDataHeightInPixels, RasterDataWidthInBytes)
  152. }
  153. *Command: CmdSendCyanData
  154. {
  155. *CallbackID: 22
  156. *Params: LIST(NumOfDataBytes, RasterDataHeightInPixels, RasterDataWidthInBytes)
  157. }
  158. *Command: CmdDefinePaletteEntry { *Cmd : "" }
  159. *Command: CmdSelectPaletteEntry { *Cmd : "" }
  160. *Command: CmdSelect
  161. {
  162. *Order: DOC_SETUP.2
  163. }
  164. }
  165. }
  166. *Feature: Halftone
  167. {
  168. *rcNameID: =HALFTONING_DISPLAY
  169. *DefaultOption: HT_PATSIZE_AUTO
  170. *Option: HT_PATSIZE_AUTO
  171. {
  172. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  173. }
  174. *Option: HT_PATSIZE_SUPERCELL_M
  175. {
  176. *rcNameID: =HT_SUPERCELL_DISPLAY
  177. }
  178. *Option: HT_PATSIZE_6x6_M
  179. {
  180. *rcNameID: =HT_DITHER6X6_DISPLAY
  181. }
  182. *Option: HT_PATSIZE_8x8_M
  183. {
  184. *rcNameID: =HT_DITHER8X8_DISPLAY
  185. }
  186. }
  187. *Command: CmdStartDoc
  188. {
  189. *Order: DOC_SETUP.1
  190. *Cmd: "<1B>'1<1B0900>P BUSYON<0A>"
  191. }
  192. *Command: CmdStartPage
  193. {
  194. *Order: PAGE_SETUP.1
  195. *CallbackID: 50
  196. }
  197. *Command: CmdEndJob
  198. {
  199. *Order: JOB_FINISH.1
  200. *Cmd: "<1B0000>"
  201. }
  202. *Command: CmdEndPage
  203. {
  204. *Order: PAGE_FINISH.1
  205. *CallbackID: 51
  206. }
  207. *RotateCoordinate?: FALSE
  208. *RotateRaster?: FALSE
  209. *RotateFont?: FALSE
  210. *ChangeColorModeOnDoc?: FALSE
  211. *TextCaps: LIST(TC_RA_ABLE)
  212. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  213. *YMoveUnit: 300
  214. *Command: CmdYMoveAbsolute
  215. {
  216. *CallbackID: 31
  217. *Params: LIST(DestY)
  218. }
  219. *Command: CmdCR { *Cmd : "<0D>" }
  220. *Command: CmdLF { *Cmd : "<0A>" }
  221. *Command: CmdFF { *Cmd : "<0C>" }
  222. *EjectPageWithFF?: FALSE
  223. *OutputDataFormat: H_BYTE
  224. *OptimizeLeftBound?: FALSE
  225. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  226. *CursorYAfterSendBlockData: AUTO_INCREMENT
  227. *DefaultCTT: 0