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.

332 lines
11 KiB

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-1992 Adobe Systems Incorporated.
  4. *% All Rights Reserved.
  5. *% Permission is granted for redistribution of this file as
  6. *% long as this copyright notice is intact and the contents
  7. *% of the file is not altered in any way from its original form.
  8. *% End of Copyright statement
  9. *FormatVersion: "4.0"
  10. *FileVersion: "2.1"
  11. *PCFileName: "NCCPS401.PPD"
  12. *LanguageVersion: English
  13. *Product: "(Colormate PS40)"
  14. *PSVersion: "(51.9) 2.1"
  15. *ModelName: "NEC Colormate PS/40"
  16. *NickName: "NEC Colormate PS/40 v51.9"
  17. *% General Information and Defaults ===============
  18. *FreeVM: "263890"
  19. *LanguageLevel: "1"
  20. *Extensions: CMYK FileSystem
  21. *ColorDevice: True
  22. *DefaultColorSpace: CMYK
  23. *VariablePaperSize: False
  24. *FileSystem: True
  25. *?FileSystem: "
  26. save
  27. statusdict /diskstatus known
  28. {statusdict /diskstatus get exec exch pop 0 ne
  29. {(True)} {(False)} ifelse
  30. }
  31. {(Unknown)} ifelse
  32. = flush
  33. restore
  34. "
  35. *End
  36. *Throughput: "1"
  37. *Password: "0"
  38. *ExitServer: "
  39. count 0 eq { % is the password on the stack?
  40. true
  41. }{
  42. dup % potential password
  43. statusdict /checkpassword get exec not
  44. } ifelse
  45. { % if no password or not valid
  46. (WARNING : Cannot perform the exitserver command.) =
  47. (Password supplied is not valid.) =
  48. (Please contact the author of this software.) = flush
  49. quit
  50. } if
  51. serverdict /exitserver get exec
  52. "
  53. *End
  54. *Reset: "
  55. count 0 eq { % is the password on the stack?
  56. true
  57. }{
  58. dup % potential password
  59. statusdict /checkpassword get exec not
  60. } ifelse
  61. { % if no password or not valid
  62. (WARNING : Cannot reset printer.) =
  63. (Password supplied is not valid.) =
  64. (Please contact the author of this software.) = flush
  65. quit
  66. } if
  67. serverdict /exitserver get exec
  68. systemdict /quit get exec
  69. (WARNING : Printer Reset Failed.) = flush
  70. "
  71. *End
  72. *DefaultResolution: 300dpi
  73. *?Resolution: "
  74. save
  75. initgraphics
  76. 0 0 moveto currentpoint matrix defaultmatrix transform
  77. 0 72 lineto currentpoint matrix defaultmatrix transform
  78. 3 -1 roll sub dup mul
  79. 3 1 roll exch sub dup mul
  80. add sqrt round cvi
  81. ( ) cvs print (dpi) = flush
  82. restore
  83. "
  84. *End
  85. *% Halftone Information ===============
  86. *ScreenFreq: "53.0"
  87. *ScreenAngle: "45.0"
  88. *DefaultScreenProc: Dot
  89. *ScreenProc Dot: "
  90. {1.76 1.4 {2 {3 1 roll add dup 1.0 gt {2.0 sub }if }repeat abs exch abs
  91. 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1 sub }{dup mul
  92. exch dup mul add 1 exch sub }ifelse }exec }
  93. "
  94. *End
  95. *ScreenProc Line: "{ pop }"
  96. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  97. *% Paper Handling ===================
  98. *% Use these entries to set paper size most of the time, unless there is
  99. *% specific reason to use PageRegion.
  100. *OpenUI *PageSize: PickOne
  101. *OrderDependency: 30 AnySetup *PageSize
  102. *DefaultPageSize: Letter
  103. *PageSize Letter: "letter"
  104. *PageSize A4: "a4"
  105. *?PageSize: "
  106. save
  107. 2 dict
  108. dup /letter (Letter) put
  109. dup /a4 (A4) put
  110. statusdict /papersize get exec
  111. 3 1 roll {get} stopped {(Unknown)}if
  112. exch not { print (.Transverse) }if
  113. = flush
  114. restore
  115. "
  116. *End
  117. *CloseUI: *PageSize
  118. *% These entries will set up the frame buffer. Usually used with manual feed.
  119. *OpenUI *PageRegion: PickOne
  120. *OrderDependency: 40 AnySetup *PageRegion
  121. *DefaultPageRegion: Letter
  122. *PageRegion Letter: "letter"
  123. *PageRegion A4: "a4"
  124. *CloseUI: *PageRegion
  125. *% The following entries provide information about specific paper keywords.
  126. *DefaultImageableArea: Letter
  127. *ImageableArea Letter: "15 72 597 718 "
  128. *ImageableArea A4: "6 96 589 768 "
  129. *?ImageableArea: "
  130. save
  131. /cvp { ( ) cvs print ( ) print } bind def
  132. /upperright {10000 mul floor 10000 div} bind def
  133. /lowerleft {10000 mul ceiling 10000 div} bind def
  134. newpath clippath pathbbox
  135. 4 -2 roll exch 2 {lowerleft cvp} repeat
  136. exch 2 {upperright cvp} repeat flush
  137. restore
  138. "
  139. *End
  140. *% These provide the physical dimensions of the paper (by keyword)
  141. *DefaultPaperDimension: Letter
  142. *PaperDimension Letter: "612 792"
  143. *PaperDimension A4: "595 842"
  144. *DefaultOutputBin: Upper
  145. *DefaultOutputOrder: Reverse
  146. *PageStackOrder Upper: Reverse
  147. *RequiresPageRegion All: True
  148. *OpenUI *InputSlot: PickOne
  149. *OrderDependency: 20 AnySetup *InputSlot
  150. *DefaultInputSlot: Cassette
  151. *InputSlot Cassette: ""
  152. *CloseUI: *InputSlot
  153. *% Font Information =====================
  154. *DefaultFont: Courier
  155. *Font Courier: Standard "(001.004)" Standard ROM
  156. *Font Courier-Bold: Standard "(001.004)" Standard ROM
  157. *Font Courier-BoldOblique: Standard "(001.004)" Standard ROM
  158. *Font Courier-Oblique: Standard "(001.004)" Standard ROM
  159. *Font Helvetica: Standard "(001.002)" Standard ROM
  160. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  161. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  162. *Font Helvetica-Narrow: Standard "(001.002)" Standard ROM
  163. *Font Helvetica-Narrow-Bold: Standard "(001.002)" Standard ROM
  164. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)" Standard ROM
  165. *Font Helvetica-Narrow-Oblique: Standard "(001.002)" Standard ROM
  166. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  167. *Font Symbol: Special "(001.003)" Special ROM
  168. *Font Times-Bold: Standard "(001.002)" Standard ROM
  169. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  170. *Font Times-Italic: Standard "(001.002)" Standard ROM
  171. *Font Times-Roman: Standard "(001.002)" Standard ROM
  172. *?FontQuery: "
  173. save
  174. {
  175. count 1 gt {
  176. exch dup 128 string cvs (/) print print (:) print
  177. dup FontDirectory exch known {pop (Yes)}
  178. {
  179. (fonts/ )
  180. dup 3 -1 roll 128 string cvs dup length /len exch def
  181. 6 exch putinterval
  182. 0 len 6 add getinterval mark exch
  183. { } 128 string filenameforall counttomark 0 gt {
  184. cleartomark (Yes)}{cleartomark (No)}ifelse
  185. }ifelse =
  186. }{ exit } ifelse
  187. } bind loop
  188. (*) = flush
  189. restore
  190. "
  191. *End
  192. *?FontList: "
  193. save
  194. FontDirectory { pop == } bind forall flush
  195. /filenameforall where {
  196. pop (fonts/*) {
  197. dup length 6 sub 6 exch getinterval cvn ==
  198. } bind
  199. 128 string filenameforall flush
  200. } if
  201. (*) = flush
  202. restore
  203. "
  204. *End
  205. *% Printer Messages (verbatim from printer):
  206. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  207. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  208. *Message: "\FontName\ not found, using Courier"
  209. *% Status (format: %%[ status: <one of these> ]%% )
  210. *Status: "idle"
  211. *Status: "busy"
  212. *Status: "waiting"
  213. *Status: "printing"
  214. *Status: "warming up"
  215. *Status: "PrinterError: PAPER LENGTH ERR"
  216. *Status: "PrinterError: DMA TIMEOUT"
  217. *Status: "PrinterError: COVER OPEN"
  218. *Status: "PrinterError: TEST PRINT"
  219. *Status: "PrinterError: HEAD SENS ERR"
  220. *Status: "PrinterError: PAPER JAM"
  221. *Status: "PrinterError: LC SENS ERROR"
  222. *Status: "PrinterError: PAPER TIMEOUT"
  223. *Status: "PrinterError: VIDEO ERR"
  224. *Status: "PrinterError: COMMAND ERR"
  225. *Status: "PrinterError: ROM ERR"
  226. *Status: "PrinterError: COMMAND ERR"
  227. *Status: "PrinterError: PAPER LENGTH ERR"
  228. *Status: "PrinterError: RIBBON ERROR"
  229. *Status: "PrinterError: I/O ERR"
  230. *Status: "PrinterError: STRANGE ERR"
  231. *Status: "PrinterError: COMMAND ERR"
  232. *Status: "PrinterError: PAPER EMPTY"
  233. *Status: "PrinterError: POWER TEMP"
  234. *Status: "PrinterError: RIBBON SENS ERR"
  235. *Status: "PrinterError: RAM ERR"
  236. *Status: "PrinterError: RIBBON END"
  237. *Status: "PrinterError: PAPER FEED ERROR"
  238. *Status: "PrinterError: HEAD TEMP"
  239. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  240. *Source: "serial25"
  241. *Source: "AppleTalk"
  242. *Source: "Centronics"
  243. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  244. *PrinterError: "PAPER LENGTH ERR"
  245. *PrinterError: "DMA TIMEOUT"
  246. *PrinterError: " COVER OPEN"
  247. *PrinterError: " TEST PRINT"
  248. *PrinterError: " HEAD SENS ERR"
  249. *PrinterError: " PAPER JAM"
  250. *PrinterError: " LC SENS ERROR"
  251. *PrinterError: "PAPER TIMEOUT"
  252. *PrinterError: " VIDEO ERR"
  253. *PrinterError: " COMMAND ERR"
  254. *PrinterError: " ROM ERR"
  255. *PrinterError: " COMMAND ERR"
  256. *PrinterError: "PAPER LENGTH ERR"
  257. *PrinterError: " RIBBON ERROR"
  258. *PrinterError: " I/O ERR"
  259. *PrinterError: " STRANGE ERR"
  260. *PrinterError: " COMMAND ERR"
  261. *PrinterError: " PAPER EMPTY"
  262. *PrinterError: " POWER TEMP"
  263. *PrinterError: "RIBBON SENS ERR"
  264. *PrinterError: " RAM ERR"
  265. *PrinterError: " RIBBON END"
  266. *PrinterError: "PAPER FEED ERROR"
  267. *PrinterError: " HEAD TEMP"
  268. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  269. *% Color Separation Information =====================
  270. *DefaultColorSep: ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi
  271. *InkName: ProcessBlack/Process Black
  272. *InkName: CustomColor/Custom Color
  273. *InkName: ProcessCyan/Process Cyan
  274. *InkName: ProcessMagenta/Process Magenta
  275. *InkName: ProcessYellow/Process Yellow
  276. *% For 60 lpi / 300 dpi ===============================
  277. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  278. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  279. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  280. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  281. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  282. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  283. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  284. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  285. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  286. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  287. *% For 53 lpi / 300 dpi ===============================
  288. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  289. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  290. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  291. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  292. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  293. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  294. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  295. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  296. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  297. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  298. *% For "Colormate PS40" version 51.9
  299. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  300. *% Converted to meet 4.0 specification
  301. *% Last Edit Date: Sep 15 1992
  302. *% The byte count of this file should be exactly 010542 or 010874
  303. *% depending on the filesystem it resides in.
  304. *% end of PPD file for Colormate PS40