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.

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