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.

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