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.

484 lines
13 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *Include: "StdNames.gpd"
  7. *GPDFileVersion: "1.4"
  8. *GPDFileName: "nc860.GPD"
  9. *ModelName: "NEC SuperScript 860"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "ncpclres.Dll"
  12. *PrintRate: 8
  13. *PrintRatePPM: 8
  14. *PrintRateUnit: PPM
  15. *PrinterType: PAGE
  16. *FontCartSlots: 0
  17. *MaxCopies: 999
  18. *Feature: Orientation
  19. {
  20. *rcNameID: =ORIENTATION_DISPLAY
  21. *DefaultOption: PORTRAIT
  22. *Option: PORTRAIT
  23. {
  24. *rcNameID: =PORTRAIT_DISPLAY
  25. *Command: CmdSelect
  26. {
  27. *Order: DOC_SETUP.5
  28. *Cmd: "<1B>&l0O"
  29. }
  30. }
  31. *Option: LANDSCAPE_CC90
  32. {
  33. *rcNameID: =LANDSCAPE_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.5
  37. *Cmd: "<1B>&l1O"
  38. }
  39. }
  40. }
  41. *Feature: InputBin
  42. {
  43. *rcNameID: =PAPER_SOURCE_DISPLAY
  44. *DefaultOption: Option1
  45. *Option: Option1
  46. {
  47. *Name: "Hopper"
  48. *OptionID: 286
  49. *Command: CmdSelect
  50. {
  51. *Order: DOC_SETUP.6
  52. *Cmd: "<1B>&l1H"
  53. }
  54. }
  55. *Option: Option2
  56. {
  57. *rcNameID: 287
  58. *OptionID: 287
  59. *Command: CmdSelect
  60. {
  61. *Order: DOC_SETUP.6
  62. *Cmd: "<1B>&l3H"
  63. }
  64. }
  65. }
  66. *Feature: Resolution
  67. {
  68. *rcNameID: =RESOLUTION_DISPLAY
  69. *DefaultOption: Option1
  70. *Option: Option1
  71. {
  72. *Name: "300 x 300 " =DOTS_PER_INCH
  73. *DPI: PAIR(300, 300)
  74. *TextDPI: PAIR(300, 300)
  75. *MinStripBlankPixels: 32
  76. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  77. *SpotDiameter: 100
  78. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  79. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  80. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  81. *Command: CmdSelect
  82. {
  83. *Order: DOC_SETUP.8
  84. *Cmd: "<1B>*t300R"
  85. }
  86. }
  87. }
  88. *Feature: PaperSize
  89. {
  90. *rcNameID: =PAPER_SIZE_DISPLAY
  91. *DefaultOption: LETTER
  92. *Option: LETTER
  93. {
  94. *% Letter
  95. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  96. *% OptionID: 259
  97. *PageDimensions: PAIR(2550, 3300)
  98. *switch: Orientation
  99. {
  100. *case: PORTRAIT
  101. {
  102. *PrintableArea: PAIR(2400, 3150)
  103. *PrintableOrigin: PAIR(75, 75)
  104. *CursorOrigin: PAIR(75, 75)
  105. *Command: CmdSelect
  106. {
  107. *Order: DOC_SETUP.7
  108. *Cmd: "<1B>&l2a4d1e42F"
  109. }
  110. }
  111. *case: LANDSCAPE_CC90
  112. {
  113. *PrintableArea: PAIR(2400, 3150)
  114. *PrintableOrigin: PAIR(75, 60)
  115. *CursorOrigin: PAIR(75, 3240)
  116. *Command: CmdSelect
  117. {
  118. *Order: DOC_SETUP.7
  119. *Cmd: "<1B>&l2a4d1e42F"
  120. }
  121. }
  122. }
  123. }
  124. *Option: LEGAL
  125. {
  126. *% Legal
  127. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  128. *% OptionID: 260
  129. *PageDimensions: PAIR(2550, 4200)
  130. *switch: Orientation
  131. {
  132. *case: PORTRAIT
  133. {
  134. *PrintableArea: PAIR(2400, 4050)
  135. *PrintableOrigin: PAIR(75, 75)
  136. *CursorOrigin: PAIR(75, 75)
  137. *Command: CmdSelect
  138. {
  139. *Order: DOC_SETUP.7
  140. *Cmd: "<1B>&l3a4d1e54F"
  141. }
  142. }
  143. *case: LANDSCAPE_CC90
  144. {
  145. *PrintableArea: PAIR(2400, 4050)
  146. *PrintableOrigin: PAIR(75, 75)
  147. *CursorOrigin: PAIR(75, 4140)
  148. *Command: CmdSelect
  149. {
  150. *Order: DOC_SETUP.7
  151. *Cmd: "<1B>&l3a4d1e54F"
  152. }
  153. }
  154. }
  155. }
  156. *Option: EXECUTIVE
  157. {
  158. *% Executive
  159. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  160. *% OptionID: 261
  161. *PageDimensions: PAIR(2175, 3150)
  162. *switch: Orientation
  163. {
  164. *case: PORTRAIT
  165. {
  166. *PrintableArea: PAIR(2025, 3000)
  167. *PrintableOrigin: PAIR(75, 75)
  168. *CursorOrigin: PAIR(75, 75)
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.7
  172. *Cmd: "<1B>&l1a4d1e40F"
  173. }
  174. }
  175. *case: LANDSCAPE_CC90
  176. {
  177. *PrintableArea: PAIR(2025, 3000)
  178. *PrintableOrigin: PAIR(75, 60)
  179. *CursorOrigin: PAIR(75, 3090)
  180. *Command: CmdSelect
  181. {
  182. *Order: DOC_SETUP.7
  183. *Cmd: "<1B>&l1a4d1e40F"
  184. }
  185. }
  186. }
  187. }
  188. *Option: A4
  189. {
  190. *% A4
  191. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  192. *% OptionID: 262
  193. *PageDimensions: PAIR(2480, 3507)
  194. *switch: Orientation
  195. {
  196. *case: PORTRAIT
  197. {
  198. *PrintableArea: PAIR(2331, 3347)
  199. *PrintableOrigin: PAIR(71, 80)
  200. *CursorOrigin: PAIR(71, 80)
  201. *Command: CmdSelect
  202. {
  203. *Order: DOC_SETUP.7
  204. *Cmd: "<1B>&l26a4d1e45F"
  205. }
  206. }
  207. *case: LANDSCAPE_CC90
  208. {
  209. *PrintableArea: PAIR(2331, 3357)
  210. *PrintableOrigin: PAIR(71, 60)
  211. *CursorOrigin: PAIR(71, 3447)
  212. *Command: CmdSelect
  213. {
  214. *Order: DOC_SETUP.7
  215. *Cmd: "<1B>&l26a4d1e45F"
  216. }
  217. }
  218. }
  219. }
  220. *Option: Option7
  221. {
  222. *% Com 10 Env
  223. *rcNameID: 265
  224. *OptionID: 265
  225. *PageDimensions: PAIR(1237, 2850)
  226. *switch: Orientation
  227. {
  228. *case: PORTRAIT
  229. {
  230. *PrintableArea: PAIR(1087, 2700)
  231. *PrintableOrigin: PAIR(75, 75)
  232. *CursorOrigin: PAIR(75, 75)
  233. *Command: CmdSelect
  234. {
  235. *Order: DOC_SETUP.7
  236. *Cmd: "<1B>&l81a4d1E"
  237. }
  238. }
  239. *case: LANDSCAPE_CC90
  240. {
  241. *PrintableArea: PAIR(1087, 2700)
  242. *PrintableOrigin: PAIR(75, 85)
  243. *CursorOrigin: PAIR(75, 2785)
  244. *Command: CmdSelect
  245. {
  246. *Order: DOC_SETUP.7
  247. *Cmd: "<1B>&l81a4d1E"
  248. }
  249. }
  250. }
  251. }
  252. *Option: ENV_DL
  253. {
  254. *% DL Env
  255. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  256. *% OptionID: 270
  257. *PageDimensions: PAIR(1299, 2598)
  258. *switch: Orientation
  259. {
  260. *case: PORTRAIT
  261. {
  262. *PrintableArea: PAIR(1149, 2448)
  263. *PrintableOrigin: PAIR(75, 75)
  264. *CursorOrigin: PAIR(75, 75)
  265. *Command: CmdSelect
  266. {
  267. *Order: DOC_SETUP.7
  268. *Cmd: "<1B>&l90a4d1E"
  269. }
  270. }
  271. *case: LANDSCAPE_CC90
  272. {
  273. *PrintableArea: PAIR(1149, 2448)
  274. *PrintableOrigin: PAIR(75, 75)
  275. *CursorOrigin: PAIR(75, 2523)
  276. *Command: CmdSelect
  277. {
  278. *Order: DOC_SETUP.7
  279. *Cmd: "<1B>&l90a4d1E"
  280. }
  281. }
  282. }
  283. }
  284. *Option: ENV_C5
  285. {
  286. *% C5 Env
  287. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  288. *% OptionID: 271
  289. *PageDimensions: PAIR(1913, 2704)
  290. *switch: Orientation
  291. {
  292. *case: PORTRAIT
  293. {
  294. *PrintableArea: PAIR(1771, 2546)
  295. *PrintableOrigin: PAIR(71, 80)
  296. *CursorOrigin: PAIR(71, 80)
  297. *Command: CmdSelect
  298. {
  299. *Order: DOC_SETUP.7
  300. *Cmd: "<1B>&l91a4d1E"
  301. }
  302. }
  303. *case: LANDSCAPE_CC90
  304. {
  305. *PrintableArea: PAIR(1771, 2546)
  306. *PrintableOrigin: PAIR(71, 60)
  307. *CursorOrigin: PAIR(71, 2644)
  308. *Command: CmdSelect
  309. {
  310. *Order: DOC_SETUP.7
  311. *Cmd: "<1B>&l91a4d1E"
  312. }
  313. }
  314. }
  315. }
  316. *Option: ENV_MONARCH
  317. {
  318. *% Monarch Env
  319. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  320. *% OptionID: 269
  321. *PageDimensions: PAIR(1162, 2250)
  322. *switch: Orientation
  323. {
  324. *case: PORTRAIT
  325. {
  326. *PrintableArea: PAIR(1012, 2100)
  327. *PrintableOrigin: PAIR(75, 75)
  328. *CursorOrigin: PAIR(75, 75)
  329. *Command: CmdSelect
  330. {
  331. *Order: DOC_SETUP.7
  332. *Cmd: "<1B>&l80a4d1E"
  333. }
  334. }
  335. *case: LANDSCAPE_CC90
  336. {
  337. *PrintableArea: PAIR(1012, 2100)
  338. *PrintableOrigin: PAIR(75, 85)
  339. *CursorOrigin: PAIR(75, 2185)
  340. *Command: CmdSelect
  341. {
  342. *Order: DOC_SETUP.7
  343. *Cmd: "<1B>&l80a4d1E"
  344. }
  345. }
  346. }
  347. }
  348. }
  349. *Feature: TonerSave
  350. {
  351. *Name: "Toner Usage"
  352. *DefaultOption: Option2
  353. *Option: Option2
  354. {
  355. *Name: "Normal"
  356. *Command: CmdSelect
  357. {
  358. *Order: DOC_SETUP.2
  359. *Cmd: "<1B>E<1B>%%-12345X@PJL SET TONERSAVER=OFF<0D><0A>"
  360. }
  361. }
  362. *Option: Option3
  363. {
  364. *Name: "Save Toner"
  365. *Command: CmdSelect
  366. {
  367. *Order: DOC_SETUP.2
  368. *Cmd: "<1B>E<1B>%%-12345X@PJL SET TONERSAVER=ON<0D><0A>"
  369. }
  370. }
  371. }
  372. *Feature: Halftone
  373. {
  374. *rcNameID: =HALFTONING_DISPLAY
  375. *DefaultOption: HT_PATSIZE_AUTO
  376. *Option: HT_PATSIZE_AUTO
  377. {
  378. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  379. }
  380. *Ifdef: WINNT_50
  381. *Option: HT_PATSIZE_SUPERCELL_M
  382. {
  383. *rcNameID: =HT_SUPERCELL_DISPLAY
  384. }
  385. *Endif:
  386. *Option: HT_PATSIZE_6x6_M
  387. {
  388. *rcNameID: =HT_DITHER6X6_DISPLAY
  389. }
  390. *Option: HT_PATSIZE_8x8_M
  391. {
  392. *rcNameID: =HT_DITHER8X8_DISPLAY
  393. }
  394. }
  395. *Feature: Memory
  396. {
  397. *rcNameID: =PRINTER_MEMORY_DISPLAY
  398. *DefaultOption: 1024KB
  399. *Option: 1024KB
  400. {
  401. *Name: "1MB"
  402. *MemoryConfigKB: PAIR(1024, 512)
  403. }
  404. *Option: 2048KB
  405. {
  406. *Name: "2MB"
  407. *MemoryConfigKB: PAIR(2048, 1350)
  408. }
  409. *Option: 5120KB
  410. {
  411. *Name: "5MB"
  412. *MemoryConfigKB: PAIR(5120, 4050)
  413. }
  414. }
  415. *Command: CmdStartDoc
  416. {
  417. *Order: DOC_SETUP.4
  418. *Cmd: "@PJL SET ADOBEMEMORYBOOSTER=ON<0D><0A>@PJL ENTER LANGUAGE=PCL<0D><0A><1B>E<1B>&l0L<1B>*r0F<1B>&l0S"
  419. }
  420. *Command: CmdStartPage
  421. {
  422. *Order: PAGE_SETUP.1
  423. *Cmd: "<1B>*p0Y<1B>*p0X<1B>*b0M<0D>"
  424. }
  425. *Command: CmdEndJob
  426. {
  427. *Order: DOC_FINISH.1
  428. *Cmd: "<1B>E<1B>%%-12345X@PJL EOJ<0D><0A>"
  429. }
  430. *Command: CmdCopies
  431. {
  432. *Order: DOC_SETUP.9
  433. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  434. }
  435. *RotateCoordinate?: TRUE
  436. *RotateFont?: TRUE
  437. *RotateRaster?: TRUE
  438. *TextCaps: LIST(TC_UA_ABLE)
  439. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  440. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  441. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  442. *XMoveThreshold: 0
  443. *YMoveThreshold: 0
  444. *XMoveUnit: 300
  445. *YMoveUnit: 300
  446. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  447. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
  448. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{max_repeat(DestXRel )}"X" }
  449. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  450. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  451. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  452. *Command: CmdCR { *Cmd : "<0D>" }
  453. *Command: CmdLF { *Cmd : "<0A>" }
  454. *Command: CmdFF { *Cmd : "<0C>" }
  455. *Command: CmdBackSpace { *Cmd : "<08>" }
  456. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  457. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  458. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  459. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  460. *EjectPageWithFF?: TRUE
  461. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  462. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  463. *OutputDataFormat: H_BYTE
  464. *OptimizeLeftBound?: TRUE
  465. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  466. *CursorYAfterSendBlockData: AUTO_INCREMENT
  467. *DefaultFont: 207
  468. *DefaultCTT: 0
  469. *CharPosition: BASELINE
  470. *DeviceFonts: LIST(1)
  471. *MinFontID: 16534
  472. *MaxFontID: 32768
  473. *%FontFormat: HPPCL
  474. *%Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  475. *%Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  476. *%Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  477. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  478. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  479. *MinGrayFill: 1
  480. *MaxGrayFill: 100
  481. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  482. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  483. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  484. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }