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.ppd < prev    next >
PostScript Printer Description  |  1995-02-06  |  12KB  |  345 lines

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