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_NT.ppd < prev    next >
PostScript Printer Description  |  1995-02-06  |  12KB  |  335 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. *FormatVersion: "4.0"
  10. *FileVersion: "3.7"
  11. *PCFileName: "LWNT_470.PPD"
  12. *LanguageVersion: English
  13. *Product: "(LaserWriter II NT)"
  14. *PSVersion: "(47.0) 1"
  15. *ModelName: "Apple LaserWriter II NT"
  16. *NickName: "Apple LaserWriter II NT v47.0"
  17.  
  18. *% General Information and Defaults ===============
  19. *ColorDevice: False
  20. *DefaultColorSpace: Gray
  21. *FreeVM: "434204"
  22. *LanguageLevel: "1"
  23. *VariablePaperSize: False
  24. *FileSystem: False
  25. *Throughput: "8"
  26. *Password: "0"
  27. *ExitServer: "
  28.   count 0 eq {  % is the password on the stack?
  29.     true
  30.   }{
  31.     dup    % potential password
  32.     statusdict /checkpassword get exec not
  33.   } ifelse
  34.   {  %  if no password or not valid
  35.     (WARNING : Cannot perform the exitserver command.) =
  36.     (Password supplied is not valid.) =
  37.     (Please contact the author of this software.) = flush
  38.     quit
  39.   } if
  40.   serverdict /exitserver get exec
  41. "
  42. *End
  43.  
  44. *Reset: "
  45.   count 0 eq {  % is the password on the stack?
  46.     true
  47.   }{
  48.     dup    % potential password
  49.     statusdict /checkpassword get exec not
  50.   } ifelse
  51.   {  %  if no password or not valid
  52.     (WARNING : Cannot reset printer.) =
  53.     (Password supplied is not valid.) =
  54.     (Please contact the author of this software.) = flush
  55.     quit
  56.   } if
  57.   serverdict /exitserver get exec
  58.   systemdict /quit get exec
  59.   (WARNING : Printer Reset Failed.) = flush
  60. "
  61. *End
  62.  
  63. *DefaultResolution: 300dpi
  64. *?Resolution: "
  65. save
  66.   initgraphics
  67.   0 0 moveto currentpoint matrix defaultmatrix transform
  68.   0 72 lineto currentpoint matrix defaultmatrix transform
  69.   3 -1 roll sub dup mul
  70.   3 1 roll exch sub dup mul
  71.   add sqrt round cvi
  72.   (          ) cvs print (dpi) = flush
  73. restore
  74. "
  75. *End
  76.  
  77. *% Halftone Information ===============
  78. *ScreenFreq: "60.0"
  79. *ScreenAngle: "45.0"
  80. *DefaultScreenProc: Dot
  81. *ScreenProc Dot: "
  82. {dup mul exch dup mul add 1.0 exch sub }
  83. "
  84. *End
  85. *ScreenProc Line: "{ pop }"
  86. *ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
  87.  
  88. *DefaultTransfer: Null
  89. *Transfer Null: "{ }"
  90. *Transfer Null.Inverse: "{ 1 exch sub }"
  91.  
  92. *% Paper Handling ===================
  93. *% Use these entries to set paper size most of the time, unless there is
  94. *% specific reason to use PageRegion.
  95. *OpenUI *PageSize: PickOne
  96. *OrderDependency: 30 AnySetup *PageSize
  97. *DefaultPageSize: Letter
  98. *PageSize Letter/US Letter: "statusdict /lettertray get exec"
  99. *PageSize Legal/US Legal: "statusdict /legaltray get exec"
  100. *PageSize A4: "statusdict /a4tray get exec"
  101. *PageSize B5: "statusdict /b5tray get exec"
  102. *PageSize LetterSmall/US Letter Small: "statusdict /lettertray get exec lettersmall"
  103. *PageSize A4Small/A4 Small: "statusdict /a4tray get exec a4small"
  104. *PageSize LegalSmall/US Legal Small: "legal"
  105. *PageSize Monarch/Monarch Envelope Center Fed: "statusdict /lettertray get exec"
  106. *PageSize Com10/Com10 Envelope Center Fed: "statusdict /lettertray get exec"
  107. *?PageSize: "
  108. save
  109.   [(Letter)(Legal) ] statusdict /pagetype get exec
  110.   {get} stopped { pop pop (Unknown) } if = flush
  111. restore
  112. "
  113. *End
  114. *CloseUI: *PageSize
  115.  
  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: "statusdict /lettertray get exec"
  128. *PageRegion Com10/Com10 Envelope Center Fed: "statusdict /lettertray get exec"
  129. *CloseUI: *PageRegion
  130.  
  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.  
  154. *% These provide the physical dimensions of the paper (by keyword)
  155. *DefaultPaperDimension: Letter
  156. *PaperDimension Letter/US Letter: "612 792"
  157. *PaperDimension Legal/US Legal: "612 1008"
  158. *PaperDimension A4: "595 842"
  159. *PaperDimension B5: "516 729"
  160. *PaperDimension LetterSmall/US Letter Small: "612 792"
  161. *PaperDimension A4Small/A4 Small: "595 842"
  162. *PaperDimension LegalSmall/US Legal Small: "612 1008"
  163. *PaperDimension Monarch/Monarch Envelope Center Fed: "611 792"
  164. *PaperDimension Com10/Com10 Envelope Center Fed: "610 792"
  165.  
  166. *RequiresPageRegion All: True
  167. *OpenUI *InputSlot: PickOne
  168. *OrderDependency: 20 AnySetup *InputSlot
  169. *DefaultInputSlot: Cassette
  170. *InputSlot Cassette: ""
  171. *CloseUI: *InputSlot
  172.  
  173. *OpenUI *ManualFeed/Manual Feed: Boolean
  174. *OrderDependency: 20 AnySetup *ManualFeed
  175. *DefaultManualFeed: False
  176. *ManualFeed True: "statusdict /manualfeed true put"
  177. *ManualFeed False: "statusdict /manualfeed false put"
  178. *?ManualFeed: "
  179. save
  180.  statusdict /manualfeed get {(True)}{(False)}ifelse = flush
  181. restore
  182. "
  183. *End
  184. *CloseUI: *ManualFeed
  185.  
  186. *DefaultOutputOrder: Normal
  187.  
  188. *% Font Information =====================
  189. *DefaultFont: Courier
  190. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  191. *Font AvantGarde-BookOblique: Standard "(001.001)" Standard ROM
  192. *Font AvantGarde-Demi: Standard "(001.001)" Standard ROM
  193. *Font AvantGarde-DemiOblique: Standard "(001.001)" Standard ROM
  194. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  195. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  196. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  197. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  198. *Font Courier: Standard "(001.004)" Standard ROM
  199. *Font Courier-Bold: Standard "(001.004)" Standard ROM
  200. *Font Courier-BoldOblique: Standard "(001.004)" Standard ROM
  201. *Font Courier-Oblique: Standard "(001.004)" Standard ROM
  202. *Font Helvetica: Standard "(001.001)" Standard ROM
  203. *Font Helvetica-Bold: Standard "(001.001)" Standard ROM
  204. *Font Helvetica-BoldOblique: Standard "(001.001)" Standard ROM
  205. *Font Helvetica-Narrow: Standard "(001.000)" Standard ROM
  206. *Font Helvetica-Narrow-Bold: Standard "(001.000)" Standard ROM
  207. *Font Helvetica-Narrow-BoldOblique: Standard "(001.000)" Standard ROM
  208. *Font Helvetica-Narrow-Oblique: Standard "(001.000)" Standard ROM
  209. *Font Helvetica-Oblique: Standard "(001.001)" Standard ROM
  210. *Font NewCenturySchlbk-Bold: Standard "(001.002)" Standard ROM
  211. *Font NewCenturySchlbk-BoldItalic: Standard "(001.001)" Standard ROM
  212. *Font NewCenturySchlbk-Italic: Standard "(001.001)" Standard ROM
  213. *Font NewCenturySchlbk-Roman: Standard "(001.002)" Standard ROM
  214. *Font Palatino-Bold: Standard "(001.000)" Standard ROM
  215. *Font Palatino-BoldItalic: Standard "(001.000)" Standard ROM
  216. *Font Palatino-Italic: Standard "(001.000)" Standard ROM
  217. *Font Palatino-Roman: Standard "(001.000)" Standard ROM
  218. *Font Symbol: Special "(001.001)" Special ROM
  219. *Font Times-Bold: Standard "(001.001)" Standard ROM
  220. *Font Times-BoldItalic: Standard "(001.001)" Standard ROM
  221. *Font Times-Italic: Standard "(001.001)" Standard ROM
  222. *Font Times-Roman: Standard "(001.001)" Standard ROM
  223. *Font ZapfChancery-MediumItalic: Standard "(001.002)" Standard ROM
  224. *Font ZapfDingbats: Special "(001.000)" Special ROM
  225. *?FontQuery: "
  226. save
  227.  /str 100 string dup 0 (fonts/) putinterval def
  228.  {
  229.    count 1 gt
  230.    {
  231.      exch dup str 6 94 getinterval cvs
  232.      (/) print print (:) print
  233.      FontDirectory exch known
  234.      {(Yes)}{(No)} ifelse =
  235.    }
  236.    {exit} ifelse
  237.  }bind loop
  238.  (*) = flush
  239. restore
  240. "
  241. *End
  242.  
  243. *?FontList: "
  244. save
  245.   FontDirectory { pop == } bind forall flush
  246.   /filenameforall where
  247.   {
  248.     pop (fonts/*)
  249.     { dup length 6 sub 6 exch getinterval cvn == } bind
  250.     128 string filenameforall flush
  251.   } if
  252.   (*) = flush
  253. restore
  254. "
  255. *End
  256.  
  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.  
  262. *% Status (format: %%[ status: <one of these> ]%% )
  263. *Status: "idle"
  264. *Status: "busy"
  265. *Status: "waiting"
  266. *Status: "printing"
  267. *Status: "warming up"
  268. *Status: "PrinterError: timeout, clearing printer"
  269. *Status: "PrinterError: warming up"
  270. *Status: "PrinterError: service call"
  271. *Status: "PrinterError: paper entry misfeed"
  272. *Status: "PrinterError: no toner cartridge"
  273. *Status: "PrinterError: paper entry misfeed"
  274.  
  275. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  276. *Source: "serial9"
  277. *Source: "serial25"
  278. *Source: "AppleTalk"
  279.  
  280. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  281. *PrinterError: "timeout, clearing printer"
  282. *PrinterError: "warming up"
  283. *PrinterError: "service call"
  284. *PrinterError: "paper entry misfeed"
  285. *PrinterError: "no toner cartridge"
  286. *PrinterError: "paper entry misfeed"
  287.  
  288. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  289.  
  290. *% Color Separation Information =====================
  291.  
  292. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  293.  
  294. *InkName: ProcessBlack/Process Black
  295. *InkName: CustomColor/Custom Color
  296. *InkName: ProcessCyan/Process Cyan
  297. *InkName: ProcessMagenta/Process Magenta
  298. *InkName: ProcessYellow/Process Yellow
  299.  
  300. *% For 60 lpi / 300 dpi =====================================================
  301.  
  302. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  303. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  304. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  305. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  306. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  307.  
  308. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  309. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  310. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  311. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  312. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  313.  
  314. *% For 53 lpi / 300 dpi =====================================================
  315.  
  316. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  317. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  318. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  319. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  320. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  321.  
  322. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  323. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  324. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  325. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  326. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  327.  
  328. *% For "LaserWriter II NT" version 47.0
  329. *% Produced by "GETapd.ps" version 2.0 edit 48
  330. *% Converted to meet 4.0 specification
  331. *% Last Edit Date: May 21 1993
  332. *% The byte count of this file should be exactly 011830 or 012164
  333. *% depending on the filesystem it resides in.
  334. *% end of PPD file for LaserWriter II NT
  335.