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.

351 lines
13 KiB

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-1993 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.8"
  11. *PCFileName: "A_PNT518.PPD"
  12. *LanguageVersion: English
  13. *Product: "(LaserWriter Personal NT)"
  14. *PSVersion: "(51.8) 0"
  15. *ModelName: "Apple LaserWriter Personal NT"
  16. *NickName: "LaserWriter Personal NT v51.8"
  17. *% General Information and Defaults ===============
  18. *FreeVM: "402366"
  19. *LanguageLevel: "1"
  20. *ColorDevice: False
  21. *DefaultColorSpace: Gray
  22. *VariablePaperSize: False
  23. *FileSystem: False
  24. *Throughput: "4"
  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 Dot: "
  78. {abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1
  79. sub }{dup mul exch dup mul add 1 exch sub }ifelse }
  80. "
  81. *End
  82. *ScreenProc Line: "{ pop }"
  83. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  84. *DefaultTransfer: Null
  85. *Transfer Null: "{ }"
  86. *Transfer Null.Inverse: "{ 1 exch sub }"
  87. *% Paper Handling ===================
  88. *% Use these entries to set paper size most of the time, unless there is
  89. *% specific reason to use PageRegion.
  90. *OpenUI *PageSize: PickOne
  91. *OrderDependency: 30 AnySetup *PageSize
  92. *DefaultPageSize: Letter
  93. *PageSize Letter/US Letter: "statusdict begin lettertray end"
  94. *PageSize Legal/US Legal: "statusdict begin legaltray end"
  95. *PageSize A4: "statusdict begin a4tray end"
  96. *PageSize B5: "statusdict begin b5tray end"
  97. *PageSize LetterSmall/US Letter Small: "statusdict begin lettertray end lettersmall"
  98. *PageSize A4Small/A4 Small: "statusdict begin a4tray end a4small"
  99. *PageSize LegalSmall/US Legal Small: "legal"
  100. *PageSize Monarch/Monarch Envelope Edge Fed: "statusdict begin lettertray end"
  101. *PageSize Com10/Com10 Envelope Edge Fed: "statusdict begin lettertray end"
  102. *?PageSize: "
  103. save
  104. 7 dict
  105. dup /getregion {newpath clippath pathbbox pop pop pop ceiling cvi} put
  106. dup /llxltrsml 31 put
  107. dup /llxa4sml 27 put
  108. dup /lettertray {getregion llxltrsml eq {(LetterSmall)}{(Letter)}ifelse} put
  109. dup /a4tray { getregion llxa4sml eq {(A4Small)}{(A4)}ifelse } put
  110. dup /legaltray (Legal) put
  111. dup /b5tray (B5) put
  112. statusdict begin papersize end
  113. 3 1 roll {get} stopped {(Unknown)}if
  114. exch not { print (.Transverse) }if
  115. = flush
  116. restore
  117. "
  118. *End
  119. *CloseUI: *PageSize
  120. *% These entries will set up the frame buffer. Usually used with manual feed.
  121. *OpenUI *PageRegion: PickOne
  122. *OrderDependency: 40 AnySetup *PageRegion
  123. *DefaultPageRegion: Letter
  124. *PageRegion Letter/US Letter: "letter"
  125. *PageRegion Legal/US Legal: "legal"
  126. *PageRegion A4: "a4"
  127. *PageRegion B5: "b5"
  128. *PageRegion LetterSmall/US Letter Small: "lettersmall"
  129. *PageRegion A4Small/A4 Small: "a4small"
  130. *PageRegion LegalSmall/US Legal Small: "legal"
  131. *PageRegion Monarch/Monarch Envelope Edge Fed: "letter"
  132. *PageRegion Com10/Com10 Envelope Edge Fed: "letter"
  133. *CloseUI: *PageRegion
  134. *% The following entries provide information about specific paper keywords.
  135. *DefaultImageableArea: Letter
  136. *ImageableArea Letter/US Letter: "15 6 597 773 "
  137. *ImageableArea Legal/US Legal: "15 6 597 989 "
  138. *ImageableArea A4: "13 4 577 825 "
  139. *ImageableArea B5: "17 6 495 711 "
  140. *ImageableArea LetterSmall/US Letter Small: "31 31 583 761 "
  141. *ImageableArea A4Small/A4 Small: "29 31 567 812 "
  142. *ImageableArea LegalSmall/US Legal Small: "64 54 548 954 "
  143. *ImageableArea Monarch/Monarch Envelope Edge Fed: "17 263 272 767 "
  144. *ImageableArea Com10/Com10 Envelope Edge Fed: "17 119 290 767 "
  145. *?ImageableArea: "
  146. save
  147. /cvp {( ) cvs print ( ) print } bind def
  148. /upperright {10000 mul floor 10000 div} bind def
  149. /lowerleft {10000 mul ceiling 10000 div} bind def
  150. newpath clippath pathbbox
  151. 4 -2 roll exch 2 {lowerleft cvp} repeat
  152. exch 2 {upperright cvp} repeat flush
  153. restore
  154. "
  155. *End
  156. *% These provide the physical dimensions of the paper (by keyword)
  157. *DefaultPaperDimension: Letter
  158. *PaperDimension Letter/US Letter: "612 792"
  159. *PaperDimension Legal/US Legal: "612 1008"
  160. *PaperDimension A4: "595 842"
  161. *PaperDimension B5: "516 729"
  162. *PaperDimension LetterSmall/US Letter Small: "612 792"
  163. *PaperDimension A4Small/A4 Small: "595 842"
  164. *PaperDimension LegalSmall/US Legal Small: "612 1008"
  165. *PaperDimension Monarch/Monarch Envelope Edge Fed: "611 792"
  166. *PaperDimension Com10/Com10 Envelope Edge Fed: "610 792"
  167. *RequiresPageRegion All: True
  168. *OpenUI *InputSlot: PickOne
  169. *OrderDependency: 20 AnySetup *InputSlot
  170. *DefaultInputSlot: Lower
  171. *InputSlot Lower/Multipurpose Tray: "1 statusdict begin setpapertray end"
  172. *InputSlot Upper/Paper Cassette: "0 statusdict begin setpapertray end"
  173. *?InputSlot: "
  174. save
  175. [ (Upper) (Lower) ] statusdict begin papertray end
  176. {get exec} stopped { pop pop (Unknown)} if = flush
  177. restore
  178. "
  179. *End
  180. *CloseUI: *InputSlot
  181. *OpenUI *ManualFeed/Manual Feed: Boolean
  182. *OrderDependency: 20 AnySetup *ManualFeed
  183. *DefaultManualFeed: False
  184. *ManualFeed True: "statusdict /manualfeed true put"
  185. *ManualFeed False: "statusdict /manualfeed false put"
  186. *?ManualFeed: "
  187. save
  188. statusdict /manualfeed get {(True)}{(False)}ifelse = flush
  189. restore
  190. "
  191. *End
  192. *CloseUI: *ManualFeed
  193. *DefaultOutputOrder: Normal
  194. *% Font Information =====================
  195. *DefaultFont: Courier
  196. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  197. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  198. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  199. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  200. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  201. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  202. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  203. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  204. *Font Courier: Standard "(002.002)" Standard ROM
  205. *Font Courier-Bold: Standard "(002.002)" Standard ROM
  206. *Font Courier-BoldOblique: Standard "(002.002)" Standard ROM
  207. *Font Courier-Oblique: Standard "(002.002)" Standard ROM
  208. *Font Emulatorfont: Special "(001.000)" Special ROM
  209. *Font Emulatorfont-Bold: Special "(001.000)" Special ROM
  210. *Font Helvetica: Standard "(001.002)" Standard ROM
  211. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  212. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  213. *Font Helvetica-Narrow: Standard "(001.002)" Standard ROM
  214. *Font Helvetica-Narrow-Bold: Standard "(001.002)" Standard ROM
  215. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)" Standard ROM
  216. *Font Helvetica-Narrow-Oblique: Standard "(001.002)" Standard ROM
  217. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  218. *Font NewCenturySchlbk-Bold: Standard "(001.006)" Standard ROM
  219. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)" Standard ROM
  220. *Font NewCenturySchlbk-Italic: Standard "(001.003)" Standard ROM
  221. *Font NewCenturySchlbk-Roman: Standard "(001.004)" Standard ROM
  222. *Font Palatino-Bold: Standard "(001.002)" Standard ROM
  223. *Font Palatino-BoldItalic: Standard "(001.002)" Standard ROM
  224. *Font Palatino-Italic: Standard "(001.002)" Standard ROM
  225. *Font Palatino-Roman: Standard "(001.001)" Standard ROM
  226. *Font Symbol: Special "(001.003)" Special ROM
  227. *Font Times-Bold: Standard "(001.002)" Standard ROM
  228. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  229. *Font Times-Italic: Standard "(001.002)" Standard ROM
  230. *Font Times-Roman: Standard "(001.002)" Standard ROM
  231. *Font ZapfChancery-MediumItalic: Standard "(001.003)" Standard ROM
  232. *Font ZapfDingbats: Special "(001.002)" Special ROM
  233. *?FontQuery: "
  234. save
  235. /str 100 string dup 0 (fonts/) putinterval def
  236. {
  237. count 1 gt
  238. {
  239. exch dup str 6 94 getinterval cvs
  240. (/) print print (:) print
  241. FontDirectory exch known
  242. {(Yes)}{(No)} ifelse =
  243. }
  244. {exit} ifelse
  245. }bind loop
  246. (*) = flush
  247. restore
  248. "
  249. *End
  250. *?FontList: "
  251. save
  252. FontDirectory { pop == } bind forall flush
  253. (*) = flush
  254. restore
  255. "
  256. *End
  257. *% Printer Messages (verbatim from printer):
  258. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  259. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  260. *Message: "\FontName\ not found, using Courier"
  261. *% Status (format: %%[ status: <one of these> ]%% )
  262. *Status: "idle"
  263. *Status: "busy"
  264. *Status: "waiting"
  265. *Status: "printing"
  266. *Status: "warming up"
  267. *Status: "PrinterError: warming up"
  268. *Status: "PrinterError: cover open"
  269. *Status: "PrinterError: service call"
  270. *Status: "PrinterError: paper jam"
  271. *Status: "PrinterError: lower tray: out of paper"
  272. *Status: "PrinterError: lower tray: no papertray"
  273. *Status: "PrinterError: upper tray: out of paper"
  274. *Status: "PrinterError: upper tray: manual feed timeout"
  275. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  276. *Source: "serial9"
  277. *Source: "serial25"
  278. *Source: "AppleTalk"
  279. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  280. *PrinterError: "warming up"
  281. *PrinterError: "cover open"
  282. *PrinterError: "service call"
  283. *PrinterError: "paper jam"
  284. *PrinterError: "lower tray: out of paper"
  285. *PrinterError: "lower tray: no papertray"
  286. *PrinterError: "upper tray: out of paper"
  287. *PrinterError: "upper tray: manual feed timeout"
  288. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  289. *% Color Separation Information =====================
  290. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  291. *InkName: ProcessBlack/Process Black
  292. *InkName: CustomColor/Custom Color
  293. *InkName: ProcessCyan/Process Cyan
  294. *InkName: ProcessMagenta/Process Magenta
  295. *InkName: ProcessYellow/Process Yellow
  296. *% For 60 lpi / 300 dpi =====================================================
  297. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  298. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  299. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  300. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  301. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  302. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  303. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  304. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  305. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  306. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  307. *% For 53 lpi / 300 dpi =====================================================
  308. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  309. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  310. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  311. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  312. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  313. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  314. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  315. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  316. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  317. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  318. *% For "LaserWriter-Personal II NT" version 51.8
  319. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  320. *% Converted to meet 4.0 specification
  321. *% Last Edit Date: May 21 1993
  322. *% The byte count of this file should be exactly 012605 or 012956
  323. *% depending on the filesystem it resides in.
  324. *% end of PPD file for LaserWriter-Personal II NT