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.

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