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.

305 lines
10 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: "N2290520.PPD"
  12. *LanguageVersion: English
  13. *Product: "(Silentwriter2)"
  14. *PSVersion: "(52.0) 0"
  15. *ModelName: "Silentwriter2 290"
  16. *NickName: "Silentwriter2 290 v52.0"
  17. *% General Information and Defaults ===============
  18. *FreeVM: "402498"
  19. *LanguageLevel: "1"
  20. *ColorDevice: False
  21. *DefaultColorSpace: Gray
  22. *VariablePaperSize: False
  23. *FileSystem: False
  24. *Throughput: "8"
  25. *Password: "0"
  26. *ExitServer: "
  27. count 0 eq { % is the password on the stack?
  28. true
  29. }{
  30. dup % potential password
  31. statusdict /checkpassword get exec not
  32. } ifelse
  33. { % if no password or not valid
  34. (WARNING : Cannot perform the exitserver command.) =
  35. (Password supplied is not valid.) =
  36. (Please contact the author of this software.) = flush
  37. quit
  38. } if
  39. serverdict /exitserver get exec
  40. "
  41. *End
  42. *Reset: "
  43. count 0 eq { % is the password on the stack?
  44. true
  45. }{
  46. dup % potential password
  47. statusdict /checkpassword get exec not
  48. } ifelse
  49. { % if no password or not valid
  50. (WARNING : Cannot reset printer.) =
  51. (Password supplied is not valid.) =
  52. (Please contact the author of this software.) = flush
  53. quit
  54. } if
  55. serverdict /exitserver get exec
  56. systemdict /quit get exec
  57. (WARNING : Printer Reset Failed.) = flush
  58. "
  59. *End
  60. *DefaultResolution: 300dpi
  61. *?Resolution: "
  62. save
  63. initgraphics
  64. 0 0 moveto currentpoint matrix defaultmatrix transform
  65. 0 72 lineto currentpoint matrix defaultmatrix transform
  66. 3 -1 roll sub dup mul
  67. 3 1 roll exch sub dup mul
  68. add sqrt round cvi
  69. ( ) cvs print (dpi) = flush
  70. restore
  71. "
  72. *End
  73. *% Halftone Information ===============
  74. *ScreenFreq: "60.0"
  75. *ScreenAngle: "45.0"
  76. *DefaultScreenProc: Dot
  77. *ScreenProc Line: "{ pop }"
  78. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  79. *DefaultTransfer: Null
  80. *Transfer Null: "{ }"
  81. *Transfer Null.Inverse: "{ 1 exch sub }"
  82. *% Paper Handling ===================
  83. *% Use these entries to set paper size most of the time, unless there is
  84. *% specific reason to use PageRegion.
  85. *OpenUI *PageSize: PickOne
  86. *OrderDependency: 30 AnySetup *PageSize
  87. *DefaultPageSize: Letter
  88. *PageSize Letter: "statusdict /lettertray get exec"
  89. *PageSize Legal: "statusdict /legaltray get exec"
  90. *PageSize A4: "statusdict /a4tray get exec"
  91. *PageSize B5: "statusdict /b5tray get exec"
  92. *?PageSize: "
  93. save
  94. 4 dict
  95. dup /letter (Letter) put
  96. dup /legal (Legal) put
  97. dup /a4 (A4) put
  98. dup /b5 (B5) put
  99. statusdict /papersize get exec
  100. 3 1 roll {get} stopped {(Unknown)}if
  101. exch not { print (.Transverse) }if
  102. = flush
  103. restore
  104. "
  105. *End
  106. *CloseUI: *PageSize
  107. *% These entries will set up the frame buffer. Usually used with manual feed.
  108. *OpenUI *PageRegion: PickOne
  109. *OrderDependency: 40 AnySetup *PageRegion
  110. *DefaultPageRegion: Letter
  111. *PageRegion Letter: "letter"
  112. *PageRegion Legal: "legal"
  113. *PageRegion A4: "a4"
  114. *PageRegion B5: "b5"
  115. *CloseUI: *PageRegion
  116. *% The following entries provide information about specific paper keywords.
  117. *DefaultImageableArea: Letter
  118. *ImageableArea Letter: "15 11 597 781 "
  119. *ImageableArea Legal: "15 11 597 997 "
  120. *ImageableArea A4: "13 12 580 830 "
  121. *ImageableArea B5: "13 11 503 718 "
  122. *?ImageableArea: "
  123. save
  124. /cvp {( ) cvs print ( ) print } bind def
  125. /upperright {10000 mul floor 10000 div} bind def
  126. /lowerleft {10000 mul ceiling 10000 div} bind def
  127. newpath clippath pathbbox
  128. 4 -2 roll exch 2 {lowerleft cvp} repeat
  129. exch 2 {upperright cvp} repeat flush
  130. restore
  131. "
  132. *End
  133. *% These provide the physical dimensions of the paper (by keyword)
  134. *DefaultPaperDimension: Letter
  135. *PaperDimension Letter: "612 792"
  136. *PaperDimension Legal: "612 1008"
  137. *PaperDimension A4: "595 842"
  138. *PaperDimension B5: "516 729"
  139. *RequiresPageRegion All: True
  140. *OpenUI *InputSlot: PickOne
  141. *OrderDependency: 20 AnySetup *InputSlot
  142. *DefaultInputSlot: Cassette
  143. *InputSlot Cassette: ""
  144. *CloseUI: *InputSlot
  145. *OpenUI *ManualFeed: Boolean
  146. *OrderDependency: 20 AnySetup *ManualFeed
  147. *DefaultManualFeed: False
  148. *ManualFeed True: "statusdict /manualfeed true put"
  149. *ManualFeed False: "statusdict /manualfeed false put"
  150. *?ManualFeed: "
  151. save
  152. statusdict /manualfeed get exec {(True)}{(False)}ifelse = flush
  153. restore
  154. "
  155. *End
  156. *CloseUI: *ManualFeed
  157. *DefaultOutputOrder: Normal
  158. *% Font Information =====================
  159. *DefaultFont: Courier
  160. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  161. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  162. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  163. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  164. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  165. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  166. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  167. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  168. *Font Courier: Standard "(001.004)" Standard ROM
  169. *Font Courier-Bold: Standard "(001.004)" Standard ROM
  170. *Font Courier-BoldOblique: Standard "(001.004)" Standard ROM
  171. *Font Courier-Oblique: Standard "(001.004)" Standard ROM
  172. *Font Helvetica: Standard "(001.002)" Standard ROM
  173. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  174. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  175. *Font Helvetica-Narrow: Standard "(001.002)" Standard ROM
  176. *Font Helvetica-Narrow-Bold: Standard "(001.002)" Standard ROM
  177. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)" Standard ROM
  178. *Font Helvetica-Narrow-Oblique: Standard "(001.002)" Standard ROM
  179. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  180. *Font NewCenturySchlbk-Bold: Standard "(001.006)" Standard ROM
  181. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)" Standard ROM
  182. *Font NewCenturySchlbk-Italic: Standard "(001.003)" Standard ROM
  183. *Font NewCenturySchlbk-Roman: Standard "(001.004)" Standard ROM
  184. *Font Palatino-Bold: Standard "(001.002)" Standard ROM
  185. *Font Palatino-BoldItalic: Standard "(001.002)" Standard ROM
  186. *Font Palatino-Italic: Standard "(001.002)" Standard ROM
  187. *Font Palatino-Roman: Standard "(001.001)" Standard ROM
  188. *Font Symbol: Special "(001.003)" Special ROM
  189. *Font Times-Bold: Standard "(001.002)" Standard ROM
  190. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  191. *Font Times-Italic: Standard "(001.002)" Standard ROM
  192. *Font Times-Roman: Standard "(001.002)" Standard ROM
  193. *Font ZapfChancery-MediumItalic: Standard "(001.003)" Standard ROM
  194. *Font ZapfDingbats: Special "(001.002)" Special ROM
  195. *?FontQuery: "
  196. save
  197. /str 100 string dup 0 (fonts/) putinterval def
  198. {
  199. count 1 gt
  200. {
  201. exch dup str 6 94 getinterval cvs
  202. (/) print print (:) print
  203. FontDirectory exch known
  204. {(Yes)}{(No)} ifelse =
  205. }
  206. {exit} ifelse
  207. }bind loop
  208. (*) = flush
  209. restore
  210. "
  211. *End
  212. *?FontList: "
  213. save
  214. FontDirectory { pop == } bind forall flush
  215. (*) = flush
  216. restore
  217. "
  218. *End
  219. *% Printer Messages (verbatim from printer):
  220. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  221. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  222. *Message: "\FontName\ not found, using Courier"
  223. *% Status (format: %%[ status: <one of these> ]%% )
  224. *Status: "idle"
  225. *Status: "busy"
  226. *Status: "waiting"
  227. *Status: "printing"
  228. *Status: "warming up"
  229. *Status: "PrinterError: PAPER JAM"
  230. *Status: "PrinterError: CASSETTE EMPTY"
  231. *Status: "PrinterError: CALL SERVICE"
  232. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  233. *Source: "serial25"
  234. *Source: "AppleTalk"
  235. *Source: "Centronics"
  236. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  237. *PrinterError: " PAPER JAM"
  238. *PrinterError: " CASSETTE EMPTY"
  239. *PrinterError: " CALL SERVICE"
  240. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  241. *% Color Separation Information =====================
  242. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  243. *InkName: ProcessBlack/Process Black
  244. *InkName: CustomColor/Custom Color
  245. *InkName: ProcessCyan/Process Cyan
  246. *InkName: ProcessMagenta/Process Magenta
  247. *InkName: ProcessYellow/Process Yellow
  248. *% For 60 lpi / 300 dpi ===============================
  249. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  250. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  251. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  252. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  253. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  254. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  255. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  256. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  257. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  258. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  259. *% For 53 lpi / 300 dpi ===============================
  260. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  261. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  262. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  263. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  264. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  265. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  266. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  267. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  268. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  269. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  270. *% For "Silentwriter 2" version 52.0
  271. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  272. *% Converted to meet 4.0 specification
  273. *% Last Edit Date: Sep 15 1992
  274. *% The byte count of this file should be exactly 010097 or 010402
  275. *% depending on the filesystem it resides in.
  276. *% end of PPD file for Silentwriter 2 290