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.

354 lines
8.7 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% Copyright (c) 2000 NEC Corporation
  4. *% All Rights Reserved.
  5. *%
  6. *GPDSpecVersion: "1.0"
  7. *Include: "StdNames.gpd"
  8. *GPDFileVersion: "1.4"
  9. *GPDFileName: "nc870.GPD"
  10. *ModelName: "NEC SuperScript 870"
  11. *MasterUnits: PAIR(600, 600)
  12. *ResourceDLL: "ncpclres.Dll"
  13. *PrintRate: 12
  14. *PrintRatePPM: 12
  15. *PrintRateUnit: PPM
  16. *PrinterType: PAGE
  17. *MaxCopies: 999
  18. *Feature: Orientation
  19. {
  20. *rcNameID: =ORIENTATION_DISPLAY
  21. *DefaultOption: PORTRAIT
  22. *Option: PORTRAIT
  23. {
  24. *rcNameID: =PORTRAIT_DISPLAY
  25. }
  26. *Option: LANDSCAPE_CC270
  27. {
  28. *rcNameID: =LANDSCAPE_DISPLAY
  29. }
  30. }
  31. *InstalledOptionName: "Installed"
  32. *NotInstalledOptionName: "Not installed"
  33. *Feature: InputBin
  34. {
  35. *rcNameID: =PAPER_SOURCE_DISPLAY
  36. *DefaultOption: Option2
  37. *Option: Option2
  38. {
  39. *% Multi Purpose Tray
  40. *rcNameID: 286
  41. *OptionID: 286
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.30
  45. *Cmd: "<1B>&l1H"
  46. }
  47. }
  48. *Option: Option3
  49. {
  50. *% Manual feed
  51. *rcNameID: 287
  52. *OptionID: 287
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.30
  56. *Cmd: "<1B>&l2H"
  57. }
  58. }
  59. *Option: Option4
  60. {
  61. *% 500-sheet 2nd cassette
  62. *Name: "500-sheet 2nd cassette"
  63. *OptionID: 288
  64. *Command: CmdSelect
  65. {
  66. *Order: DOC_SETUP.30
  67. *Cmd: "<1B>&l4H"
  68. }
  69. *Constraints: PaperSize.LEGAL
  70. *Constraints: PaperSize.EXECUTIVE
  71. *Constraints: PaperSize.Option8
  72. *Constraints: PaperSize.ENV_MONARCH
  73. *Constraints: PaperSize.ENV_DL
  74. *Constraints: PaperSize.ENV_C5
  75. *Installable?: TRUE
  76. *InstallableFeatureName: "500-sheet 2nd cassette"
  77. }
  78. }
  79. *Feature: Resolution
  80. {
  81. *rcNameID: =RESOLUTION_DISPLAY
  82. *DefaultOption: Option1
  83. *Option: Option1
  84. {
  85. *Name: "600 x 600 " =DOTS_PER_INCH
  86. *DPI: PAIR(600, 600)
  87. *TextDPI: PAIR(600, 600)
  88. *MinStripBlankPixels: 32
  89. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  90. *SpotDiameter: 100
  91. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  92. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  93. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.36
  97. *Cmd: "<1B>*t600R<1B>&u600D<1B>*r3F"
  98. }
  99. }
  100. }
  101. *Feature: PaperSize
  102. {
  103. *rcNameID: =PAPER_SIZE_DISPLAY
  104. *DefaultOption: LETTER
  105. *Option: LETTER
  106. {
  107. *% Letter
  108. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  109. *% OptionID: 259
  110. *PageDimensions: PAIR(5100, 6600)
  111. *PrintableArea: PAIR(4800, 6300)
  112. *PrintableOrigin: PAIR(150, 125)
  113. *CursorOrigin: PAIR(150, 395)
  114. *Command: CmdSelect
  115. {
  116. *Order: DOC_SETUP.35
  117. *Cmd: "<1B>&l2A"
  118. }
  119. }
  120. *Option: LEGAL
  121. {
  122. *% Legal
  123. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  124. *% OptionID: 260
  125. *PageDimensions: PAIR(5100, 8400)
  126. *PrintableArea: PAIR(4800, 8100)
  127. *PrintableOrigin: PAIR(150, 125)
  128. *CursorOrigin: PAIR(150, 375)
  129. *Command: CmdSelect
  130. {
  131. *Order: DOC_SETUP.35
  132. *Cmd: "<1B>&l3A"
  133. }
  134. }
  135. *Option: EXECUTIVE
  136. {
  137. *% Executive
  138. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  139. *% OptionID: 261
  140. *PageDimensions: PAIR(4350, 6300)
  141. *PrintableArea: PAIR(4050, 6000)
  142. *PrintableOrigin: PAIR(150, 125)
  143. *CursorOrigin: PAIR(150, 375)
  144. *Command: CmdSelect
  145. {
  146. *Order: DOC_SETUP.35
  147. *Cmd: "<1B>&l1A"
  148. }
  149. }
  150. *Option: A4
  151. {
  152. *% A4
  153. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  154. *% OptionID: 262
  155. *PageDimensions: PAIR(4960, 7016)
  156. *PrintableArea: PAIR(4676, 6716)
  157. *PrintableOrigin: PAIR(142, 125)
  158. *CursorOrigin: PAIR(150, 375)
  159. *Command: CmdSelect
  160. {
  161. *Order: DOC_SETUP.35
  162. *Cmd: "<1B>&l26A"
  163. }
  164. }
  165. *Option: Option8
  166. {
  167. *% Com 10 Env
  168. *rcNameID: 265
  169. *OptionID: 265
  170. *PageDimensions: PAIR(2474, 5700)
  171. *PrintableArea: PAIR(2174, 5400)
  172. *PrintableOrigin: PAIR(150, 125)
  173. *CursorOrigin: PAIR(150, 375)
  174. *Command: CmdSelect
  175. {
  176. *Order: DOC_SETUP.35
  177. *Cmd: "<1B>&l81A"
  178. }
  179. }
  180. *Option: ENV_MONARCH
  181. {
  182. *% Monarch Env
  183. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  184. *% OptionID: 269
  185. *PageDimensions: PAIR(2324, 4500)
  186. *PrintableArea: PAIR(2024, 4200)
  187. *PrintableOrigin: PAIR(150, 125)
  188. *CursorOrigin: PAIR(150, 375)
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.35
  192. *Cmd: "<1B>&l80A"
  193. }
  194. }
  195. *Option: ENV_DL
  196. {
  197. *% DL Env
  198. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  199. *% OptionID: 270
  200. *PageDimensions: PAIR(2598, 5196)
  201. *PrintableArea: PAIR(2314, 4896)
  202. *PrintableOrigin: PAIR(142, 155)
  203. *CursorOrigin: PAIR(150, 355)
  204. *Command: CmdSelect
  205. {
  206. *Order: DOC_SETUP.35
  207. *Cmd: "<1B>&l90A"
  208. }
  209. }
  210. *Option: ENV_C5
  211. {
  212. *% C5 Env
  213. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  214. *% OptionID: 271
  215. *PageDimensions: PAIR(3826, 5408)
  216. *PrintableArea: PAIR(3542, 5108)
  217. *PrintableOrigin: PAIR(142, 125)
  218. *CursorOrigin: PAIR(150, 375)
  219. *Command: CmdSelect
  220. {
  221. *Order: DOC_SETUP.35
  222. *Cmd: "<1B>&l91A"
  223. }
  224. }
  225. }
  226. *Feature: Halftone
  227. {
  228. *rcNameID: =HALFTONING_DISPLAY
  229. *DefaultOption: HT_PATSIZE_AUTO
  230. *Option: HT_PATSIZE_AUTO
  231. {
  232. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  233. }
  234. *Ifdef: WINNT_50
  235. *Option: HT_PATSIZE_SUPERCELL_M
  236. {
  237. *rcNameID: =HT_SUPERCELL_DISPLAY
  238. }
  239. *Endif:
  240. *Option: HT_PATSIZE_6x6_M
  241. {
  242. *rcNameID: =HT_DITHER6X6_DISPLAY
  243. }
  244. *Option: HT_PATSIZE_8x8_M
  245. {
  246. *rcNameID: =HT_DITHER8X8_DISPLAY
  247. }
  248. }
  249. *Feature: Memory
  250. {
  251. *rcNameID: =PRINTER_MEMORY_DISPLAY
  252. *DefaultOption: 2048KB
  253. *Option: 2048KB
  254. {
  255. *Name: "2MB"
  256. *MemoryConfigKB: PAIR(2048, 1645)
  257. }
  258. *Option: 3072KB
  259. {
  260. *Name: "3MB"
  261. *MemoryConfigKB: PAIR(3072, 2590)
  262. }
  263. *Option: 6144KB
  264. {
  265. *Name: "6MB"
  266. *MemoryConfigKB: PAIR(6144, 6027)
  267. }
  268. *Option: 16384KB
  269. {
  270. *Name: "16MB"
  271. *MemoryConfigKB: PAIR(16384, 13160)
  272. }
  273. }
  274. *Command: CmdStartDoc
  275. {
  276. *Order: DOC_SETUP.15
  277. *Cmd: "<1B>%%-12345X@PJL ENTER LANGUAGE=PCL600<0D0A>"
  278. }
  279. *Command: CmdStartPage
  280. {
  281. *Order: PAGE_SETUP.1
  282. *Cmd: "<0D>"
  283. }
  284. *Command: CmdEndJob
  285. {
  286. *Order: JOB_FINISH.1
  287. *Cmd: "<1B>E<1B>%%-12345X@PJL EOJ<0D><0A>"
  288. }
  289. *Command: CmdEndPage
  290. {
  291. *Order: PAGE_FINISH.1
  292. *Cmd: "<0D>"
  293. }
  294. *Command: CmdCopies
  295. {
  296. *Order: DOC_SETUP.37
  297. *Cmd: "<1B>&l" %d{NumOfCopies}"X"
  298. }
  299. *RotateCoordinate?: FALSE
  300. *RotateRaster?: FALSE
  301. *RotateFont?: FALSE
  302. *TextCaps: LIST(TC_UA_ABLE)
  303. *MemoryUsage: LIST(FONT)
  304. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  305. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  306. *XMoveThreshold: 0
  307. *YMoveThreshold: *
  308. *XMoveUnit: 600
  309. *YMoveUnit: 600
  310. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX) }"X" }
  311. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel) }"X" }
  312. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel) }"X" }
  313. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY) }"Y" }
  314. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel) }"Y" }
  315. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel) }"Y" }
  316. *Command: CmdCR { *Cmd : "<0D>" }
  317. *Command: CmdLF { *Cmd : "<0A>" }
  318. *Command: CmdFF { *Cmd : "<0C>" }
  319. *EjectPageWithFF?: TRUE
  320. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  321. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  322. *OutputDataFormat: H_BYTE
  323. *OptimizeLeftBound?: FALSE
  324. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  325. *CursorYAfterSendBlockData: AUTO_INCREMENT
  326. *LookAheadRegion: 360
  327. *DefaultFont: 1
  328. *DefaultCTT: 0
  329. *CharPosition: BASELINE
  330. *DeviceFonts: LIST(1)
  331. *MinFontID: 16534
  332. *MaxFontID: 32768
  333. *%FontFormat: HPPCL
  334. *%Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  335. *%Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  336. *%Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  337. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  338. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }