home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3.4.17 [SPARC, PA-RISC] / nextstep33_risc.iso / NextLibrary / PrinterTypes / English.lproj / Apple_LaserWriter_II_NTX_v50.5.ppd < prev    next >
PostScript Printer Description  |  1995-02-06  |  12KB  |  352 lines

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