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.

622 lines
16 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "NCLC860.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "NEC Silentwriter LC 860"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "pcl4res.dll"
  12. *PrintRate: 8
  13. *PrintRatePPM: 8
  14. *PrintRateUnit: PPM
  15. *PrinterType: PAGE
  16. *MaxCopies: 99
  17. *FontCartSlots: 2
  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.4
  28. *Cmd: "<1B>&l0o1E"
  29. }
  30. }
  31. *Option: LANDSCAPE_CC90
  32. {
  33. *rcNameID: =LANDSCAPE_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.4
  37. *Cmd: "<1B>&l1o6d1E"
  38. }
  39. }
  40. }
  41. *Feature: InputBin
  42. {
  43. *rcNameID: =PAPER_SOURCE_DISPLAY
  44. *DefaultOption: UPPER
  45. *Option: UPPER
  46. {
  47. *rcNameID: =UPPER_TRAY_DISPLAY
  48. *Command: CmdSelect
  49. {
  50. *Order: DOC_SETUP.2
  51. *Cmd: "<1B>&l1H"
  52. }
  53. }
  54. *Option: MANUAL
  55. {
  56. *rcNameID: =MANUAL_FEED_DISPLAY
  57. *Command: CmdSelect
  58. {
  59. *Order: DOC_SETUP.2
  60. *Cmd: "<1B>&l2H"
  61. }
  62. }
  63. *Option: LOWER
  64. {
  65. *rcNameID: =LOWER_TRAY_DISPLAY
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.2
  69. *Cmd: "<1B>&l4H"
  70. }
  71. }
  72. }
  73. *Feature: Resolution
  74. {
  75. *rcNameID: =RESOLUTION_DISPLAY
  76. *DefaultOption: Option1
  77. *Option: Option1
  78. {
  79. *Name: "300 x 300 " =DOTS_PER_INCH
  80. *DPI: PAIR(300, 300)
  81. *TextDPI: PAIR(300, 300)
  82. *MinStripBlankPixels: 32
  83. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  84. *SpotDiameter: 100
  85. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  86. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  87. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  88. *Command: CmdSelect
  89. {
  90. *Order: DOC_SETUP.5
  91. *Cmd: "<1B>*t300R"
  92. }
  93. }
  94. *Option: Option2
  95. {
  96. *Name: "150 x 150 " =DOTS_PER_INCH
  97. *DPI: PAIR(150, 150)
  98. *TextDPI: PAIR(300, 300)
  99. *MinStripBlankPixels: 32
  100. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  101. *SpotDiameter: 100
  102. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  103. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  104. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  105. *Command: CmdSelect
  106. {
  107. *Order: DOC_SETUP.5
  108. *Cmd: "<1B>*t150R"
  109. }
  110. }
  111. }
  112. *Feature: PaperSize
  113. {
  114. *rcNameID: =PAPER_SIZE_DISPLAY
  115. *DefaultOption: LETTER
  116. *Option: LETTER
  117. {
  118. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  119. *switch: Orientation
  120. {
  121. *case: PORTRAIT
  122. {
  123. *PrintableArea: PAIR(2334, 3167)
  124. *PrintableOrigin: PAIR(95, 48)
  125. *switch: Resolution
  126. {
  127. *case: Option2
  128. {
  129. *PrintableArea: PAIR(2332, 3166)
  130. *PrintableOrigin: PAIR(96, 48)
  131. }
  132. }
  133. *CursorOrigin: PAIR(38, 38)
  134. *Command: CmdSelect
  135. {
  136. *Order: DOC_SETUP.3
  137. *Cmd: "<1B>&l66P"
  138. }
  139. }
  140. *case: LANDSCAPE_CC90
  141. {
  142. *PrintableArea: PAIR(2334, 3167)
  143. *PrintableOrigin: PAIR(95, 48)
  144. *switch: Resolution
  145. {
  146. *case: Option2
  147. {
  148. *PrintableArea: PAIR(2332, 3166)
  149. *PrintableOrigin: PAIR(96, 48)
  150. }
  151. }
  152. *CursorOrigin: PAIR(42, 3216)
  153. *Command: CmdSelect
  154. {
  155. *Order: DOC_SETUP.3
  156. *Cmd: "<1B>&l66P"
  157. }
  158. }
  159. }
  160. }
  161. *Option: LEGAL
  162. {
  163. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  164. *switch: Orientation
  165. {
  166. *case: PORTRAIT
  167. {
  168. *PrintableArea: PAIR(2344, 4069)
  169. *PrintableOrigin: PAIR(103, 56)
  170. *switch: Resolution
  171. {
  172. *case: Option2
  173. {
  174. *PrintableArea: PAIR(2342, 4068)
  175. *PrintableOrigin: PAIR(104, 56)
  176. }
  177. }
  178. *CursorOrigin: PAIR(47, 37)
  179. *Command: CmdSelect
  180. {
  181. *Order: DOC_SETUP.3
  182. *Cmd: "<1B>&l84P"
  183. }
  184. }
  185. *case: LANDSCAPE_CC90
  186. {
  187. *PrintableArea: PAIR(2344, 4069)
  188. *PrintableOrigin: PAIR(103, 56)
  189. *switch: Resolution
  190. {
  191. *case: Option2
  192. {
  193. *PrintableArea: PAIR(2342, 4068)
  194. *PrintableOrigin: PAIR(104, 56)
  195. }
  196. }
  197. *CursorOrigin: PAIR(42, 4087)
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.3
  201. *Cmd: "<1B>&l84P"
  202. }
  203. }
  204. }
  205. }
  206. *Option: A4
  207. {
  208. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  209. *switch: Orientation
  210. {
  211. *case: PORTRAIT
  212. {
  213. *PrintableArea: PAIR(2265, 3374)
  214. *PrintableOrigin: PAIR(95, 48)
  215. *switch: Resolution
  216. {
  217. *case: Option2
  218. {
  219. *PrintableArea: PAIR(2264, 3374)
  220. *PrintableOrigin: PAIR(96, 48)
  221. }
  222. }
  223. *CursorOrigin: PAIR(38, 38)
  224. *Command: CmdSelect
  225. {
  226. *Order: DOC_SETUP.3
  227. *Cmd: "<1B>&l70P"
  228. }
  229. }
  230. *case: LANDSCAPE_CC90
  231. {
  232. *PrintableArea: PAIR(2265, 3374)
  233. *PrintableOrigin: PAIR(95, 48)
  234. *switch: Resolution
  235. {
  236. *case: Option2
  237. {
  238. *PrintableArea: PAIR(2264, 3374)
  239. *PrintableOrigin: PAIR(96, 48)
  240. }
  241. }
  242. *CursorOrigin: PAIR(42, 3423)
  243. *Command: CmdSelect
  244. {
  245. *Order: DOC_SETUP.3
  246. *Cmd: "<1B>&l70P"
  247. }
  248. }
  249. }
  250. }
  251. *Option: B5
  252. {
  253. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  254. *switch: Orientation
  255. {
  256. *case: PORTRAIT
  257. {
  258. *PrintableArea: PAIR(1935, 2903)
  259. *PrintableOrigin: PAIR(95, 48)
  260. *switch: Resolution
  261. {
  262. *case: Option2
  263. {
  264. *PrintableArea: PAIR(1934, 2902)
  265. *PrintableOrigin: PAIR(96, 48)
  266. }
  267. }
  268. *CursorOrigin: PAIR(38, 38)
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.3
  272. *Cmd: "<1B>&l60P"
  273. }
  274. }
  275. *case: LANDSCAPE_CC90
  276. {
  277. *PrintableArea: PAIR(1935, 2903)
  278. *PrintableOrigin: PAIR(95, 48)
  279. *switch: Resolution
  280. {
  281. *case: Option2
  282. {
  283. *PrintableArea: PAIR(1934, 2902)
  284. *PrintableOrigin: PAIR(96, 48)
  285. }
  286. }
  287. *CursorOrigin: PAIR(42, 2952)
  288. *Command: CmdSelect
  289. {
  290. *Order: DOC_SETUP.3
  291. *Cmd: "<1B>&l60P"
  292. }
  293. }
  294. }
  295. }
  296. }
  297. *Feature: Halftone
  298. {
  299. *rcNameID: =HALFTONING_DISPLAY
  300. *DefaultOption: HT_PATSIZE_AUTO
  301. *Option: HT_PATSIZE_AUTO
  302. {
  303. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  304. }
  305. *Ifdef: WINNT_50
  306. *Option: HT_PATSIZE_SUPERCELL_M
  307. {
  308. *rcNameID: =HT_SUPERCELL_DISPLAY
  309. }
  310. *Endif:
  311. *Option: HT_PATSIZE_6x6_M
  312. {
  313. *rcNameID: =HT_DITHER6X6_DISPLAY
  314. }
  315. *Option: HT_PATSIZE_8x8_M
  316. {
  317. *rcNameID: =HT_DITHER8X8_DISPLAY
  318. }
  319. }
  320. *Feature: Memory
  321. {
  322. *rcNameID: =PRINTER_MEMORY_DISPLAY
  323. *DefaultOption: 1331KB
  324. *Option: 1331KB
  325. {
  326. *Name: "1331KB"
  327. *MemoryConfigKB: PAIR(1331, 1214)
  328. }
  329. *Option: 512KB
  330. {
  331. *Name: "512KB"
  332. *MemoryConfigKB: PAIR(512, 395)
  333. }
  334. *Option: 3072KB
  335. {
  336. *Name: "3MB"
  337. *MemoryConfigKB: PAIR(3072, 2995)
  338. }
  339. }
  340. *Command: CmdStartDoc
  341. {
  342. *Order: DOC_SETUP.1
  343. *Cmd: "<1B>E<1B>&l0L"
  344. }
  345. *Command: CmdStartPage
  346. {
  347. *Order: PAGE_SETUP.1
  348. *Cmd: "<0D>"
  349. }
  350. *Command: CmdEndJob
  351. {
  352. *Order: JOB_FINISH.1
  353. *Cmd: "<1B>E"
  354. }
  355. *Command: CmdCopies
  356. {
  357. *Order: DOC_SETUP.6
  358. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  359. }
  360. *RotateCoordinate?: TRUE
  361. *RotateRaster?: FALSE
  362. *RotateFont?: FALSE
  363. *TextCaps: LIST(TC_UA_ABLE)
  364. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  365. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  366. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  367. *XMoveThreshold: 0
  368. *YMoveThreshold: 0
  369. *XMoveUnit: 300
  370. *YMoveUnit: 300
  371. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  372. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
  373. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{max_repeat(DestXRel )}"X" }
  374. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  375. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  376. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  377. *Command: CmdCR { *Cmd : "<0D>" }
  378. *Command: CmdLF { *Cmd : "<0A>" }
  379. *Command: CmdFF { *Cmd : "<0C>" }
  380. *Command: CmdBackSpace { *Cmd : "<08>" }
  381. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  382. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  383. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  384. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  385. *EjectPageWithFF?: TRUE
  386. *OutputDataFormat: H_BYTE
  387. *OptimizeLeftBound?: TRUE
  388. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  389. *CursorYAfterSendBlockData: AUTO_INCREMENT
  390. *DefaultFont: 203
  391. *DefaultCTT: 0
  392. *MaxFontUsePerPage: 16
  393. *CharPosition: BASELINE
  394. *DLSymbolSet: ROMAN_8
  395. *switch: Orientation
  396. {
  397. *case: PORTRAIT
  398. {
  399. *DeviceFonts: LIST(203,204)
  400. }
  401. *case: LANDSCAPE_CC90
  402. {
  403. *DeviceFonts: LIST(203)
  404. }
  405. }
  406. *FontCartridge: FC1
  407. {
  408. *rcCartridgeNameID: 268
  409. *PortraitFonts: LIST(162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,
  410. + 178,179)
  411. *LandscapeFonts: LIST()
  412. }
  413. *FontCartridge: FC2
  414. {
  415. *rcCartridgeNameID: 269
  416. *PortraitFonts: LIST(5,7,8,9,42,43,44,45,59,60,94,96,98,100,101,102,
  417. + 103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,
  418. + 119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135)
  419. *LandscapeFonts: LIST(42,43,44,45,59,60,104,106,108,118,119,120,121,122,123,124)
  420. }
  421. *FontCartridge: FC3
  422. {
  423. *rcCartridgeNameID: 270
  424. *PortraitFonts: LIST(46,47,48,49,50,51)
  425. *LandscapeFonts: LIST(46,47,48,49,50,51)
  426. }
  427. *FontCartridge: FC4
  428. {
  429. *rcCartridgeNameID: 271
  430. *PortraitFonts: LIST(52,53,54,55,56,57,58)
  431. *LandscapeFonts: LIST()
  432. }
  433. *FontCartridge: FC5
  434. {
  435. *rcCartridgeNameID: 272
  436. *PortraitFonts: LIST(23,24,25,63,64,65,66,148,149,150,151,152,153,154,155,156)
  437. *LandscapeFonts: LIST()
  438. }
  439. *FontCartridge: FC6
  440. {
  441. *rcCartridgeNameID: 273
  442. *PortraitFonts: LIST(55,56,57,58,83,84,89,90,91,92,94,96,98,100,228,231,
  443. + 234,239)
  444. *LandscapeFonts: LIST(55,56,57,58,83,84,89,90,91,92,94,96,98,100,228,231,
  445. + 234,239)
  446. }
  447. *FontCartridge: FC7
  448. {
  449. *rcCartridgeNameID: 274
  450. *PortraitFonts: LIST(15,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88)
  451. *LandscapeFonts: LIST(15,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88)
  452. }
  453. *FontCartridge: FC8
  454. {
  455. *rcCartridgeNameID: 275
  456. *PortraitFonts: LIST(19,33,34,35,36,37,38,39,40)
  457. *LandscapeFonts: LIST(19,33,34,35,36,37,38,39,40)
  458. }
  459. *FontCartridge: FC9
  460. {
  461. *rcCartridgeNameID: 276
  462. *PortraitFonts: LIST(10,11,12,13,14,16,17,18,19,20,227)
  463. *LandscapeFonts: LIST(10,11,12,17,227)
  464. }
  465. *FontCartridge: FC10
  466. {
  467. *rcCartridgeNameID: 277
  468. *PortraitFonts: LIST(1,21)
  469. *LandscapeFonts: LIST(4)
  470. }
  471. *FontCartridge: FC11
  472. {
  473. *rcCartridgeNameID: 278
  474. *PortraitFonts: LIST(6,247,248,249,292)
  475. *LandscapeFonts: LIST(4)
  476. }
  477. *FontCartridge: FC12
  478. {
  479. *rcCartridgeNameID: 279
  480. *PortraitFonts: LIST(1,2,21,22)
  481. *LandscapeFonts: LIST(22)
  482. }
  483. *FontCartridge: FC13
  484. {
  485. *rcCartridgeNameID: 280
  486. *PortraitFonts: LIST(230,233,238)
  487. *LandscapeFonts: LIST()
  488. }
  489. *FontCartridge: FC14
  490. {
  491. *rcCartridgeNameID: 281
  492. *PortraitFonts: LIST(26,27,224)
  493. *LandscapeFonts: LIST()
  494. }
  495. *FontCartridge: FC15
  496. {
  497. *rcCartridgeNameID: 282
  498. *PortraitFonts: LIST(28,29,30,31,32)
  499. *LandscapeFonts: LIST(22)
  500. }
  501. *FontCartridge: FC16
  502. {
  503. *rcCartridgeNameID: 283
  504. *PortraitFonts: LIST(41,229,232,235,240)
  505. *LandscapeFonts: LIST(240)
  506. }
  507. *FontCartridge: FC17
  508. {
  509. *rcCartridgeNameID: 284
  510. *PortraitFonts: LIST(59,60,61,62,240)
  511. *LandscapeFonts: LIST(240)
  512. }
  513. *FontCartridge: FC18
  514. {
  515. *rcCartridgeNameID: 285
  516. *PortraitFonts: LIST(230,233,236,237,238,241,242)
  517. *LandscapeFonts: LIST()
  518. }
  519. *FontCartridge: FC19
  520. {
  521. *rcCartridgeNameID: 286
  522. *PortraitFonts: LIST(67,68,69,70,71,72,73)
  523. *LandscapeFonts: LIST()
  524. }
  525. *FontCartridge: FC20
  526. {
  527. *rcCartridgeNameID: 287
  528. *PortraitFonts: LIST(1,21,22)
  529. *LandscapeFonts: LIST(1,21,22)
  530. }
  531. *FontCartridge: FC21
  532. {
  533. *rcCartridgeNameID: 288
  534. *PortraitFonts: LIST(230,233,238)
  535. *LandscapeFonts: LIST(230,233,238)
  536. }
  537. *FontCartridge: FC22
  538. {
  539. *rcCartridgeNameID: 289
  540. *PortraitFonts: LIST(26,27,224)
  541. *LandscapeFonts: LIST(26,27,224)
  542. }
  543. *FontCartridge: FC23
  544. {
  545. *rcCartridgeNameID: 290
  546. *PortraitFonts: LIST(30,31,32)
  547. *LandscapeFonts: LIST(30,31,32)
  548. }
  549. *FontCartridge: FC24
  550. {
  551. *rcCartridgeNameID: 291
  552. *PortraitFonts: LIST(1,21,26,224)
  553. *LandscapeFonts: LIST(1,21)
  554. }
  555. *FontCartridge: FC25
  556. {
  557. *rcCartridgeNameID: 292
  558. *PortraitFonts: LIST(223,226,227,243,244,245)
  559. *LandscapeFonts: LIST(223,226,227,243,244,245)
  560. }
  561. *FontCartridge: FC26
  562. {
  563. *rcCartridgeNameID: 293
  564. *PortraitFonts: LIST(206,208,212,213)
  565. *LandscapeFonts: LIST(206,208,212,213)
  566. }
  567. *FontCartridge: FC27
  568. {
  569. *rcCartridgeNameID: 294
  570. *PortraitFonts: LIST(140,141,142,143,144)
  571. *LandscapeFonts: LIST()
  572. }
  573. *FontCartridge: FC28
  574. {
  575. *rcCartridgeNameID: 295
  576. *PortraitFonts: LIST(145,146,147,261,262,263,264)
  577. *LandscapeFonts: LIST()
  578. }
  579. *FontCartridge: FC29
  580. {
  581. *rcCartridgeNameID: 296
  582. *PortraitFonts: LIST(157,158,159,160,161,225,227)
  583. *LandscapeFonts: LIST()
  584. }
  585. *FontCartridge: FC30
  586. {
  587. *rcCartridgeNameID: 297
  588. *PortraitFonts: LIST()
  589. *LandscapeFonts: LIST(157,158,159,160,161,225,227)
  590. }
  591. *FontCartridge: FC31
  592. {
  593. *rcCartridgeNameID: 298
  594. *PortraitFonts: LIST(180,181,182,183)
  595. *LandscapeFonts: LIST()
  596. }
  597. *FontCartridge: FC32
  598. {
  599. *rcCartridgeNameID: 299
  600. *PortraitFonts: LIST(136,137,138,139,184,246,250,251,252,253,254,255,256,258,259,260)
  601. *LandscapeFonts: LIST(257)
  602. }
  603. *FontCartridge: FC33
  604. {
  605. *rcCartridgeNameID: 300
  606. *PortraitFonts: LIST(185,186,187,188,189,190,191,192,194,195,196,197,198,199,200,201)
  607. *LandscapeFonts: LIST(193)
  608. }
  609. *MinFontID: 1
  610. *MaxFontID: 99
  611. *MaxNumDownFonts: 32
  612. *FontFormat: HPPCL
  613. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  614. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  615. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  616. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  617. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  618. *MinGrayFill: 1
  619. *MaxGrayFill: 100
  620. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  621. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  622. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }