home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / resource / xprinter / ppds / lwntx518.ps < prev    next >
Encoding:
PostScript Printer Description  |  1997-07-08  |  11.8 KB  |  342 lines

  1. *PPD-Adobe: "4.0"
  2. *% Adobe Systems PostScript(R) Printer Description File
  3. *% Copyright 1987-1992 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.2"
  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.  
  19. *% General Information and Defaults ===============
  20. *FreeVM: "459676"
  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: "statusdict /a4tray get exec a4small"
  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: "a4small"
  133. *PageRegion Monarch/Monarch Envelope Center Fed: "letter"
  134. *PageRegion Com10/Com10 Envelope Center Fed: "letter"
  135. *CloseUI: *PageRegion
  136.  
  137. *% The following entries provide information about specific paper keywords.
  138. *DefaultImageableArea: Letter
  139. *ImageableArea Letter/US Letter: "15 8 597 784 "
  140. *ImageableArea Legal/US Legal: "15 8 597 1000 "
  141. *ImageableArea A4: "13 10 577 832 "
  142. *ImageableArea B5: "21 10 500 715 "
  143. *ImageableArea LetterSmall/US Letter Small: "31 31 583 761 "
  144. *ImageableArea A4Small: "27 31 567 811 "
  145. *ImageableArea Monarch/Monarch Envelope Center Fed: "181.5 8 445.5 540"
  146. *ImageableArea Com10/Com10 Envelope Center Fed: "172.5 8 454.5 684"
  147. *?ImageableArea: "
  148. save
  149.   /cvp {(                ) cvs print ( ) print } bind def
  150.   /upperright {10000 mul floor 10000 div} bind def
  151.   /lowerleft {10000 mul ceiling 10000 div} bind def
  152.   newpath clippath pathbbox
  153.   4 -2 roll exch 2 {lowerleft cvp} repeat
  154.   exch 2 {upperright cvp} repeat flush
  155.  restore
  156. "
  157. *End
  158.  
  159. *% These provide the physical dimensions of the paper (by keyword)
  160. *DefaultPaperDimension: Letter
  161. *PaperDimension Letter/US Letter: "612 792"
  162. *PaperDimension Legal/US Legal: "612 1008"
  163. *PaperDimension A4: "595 842"
  164. *PaperDimension B5: "516 729"
  165. *PaperDimension LetterSmall/US Letter Small: "612 792"
  166. *PaperDimension A4Small: "595 842"
  167. *PaperDimension Monarch/Monarch Envelope Center Fed: "279 540"
  168. *PaperDimension Com10/Com10 Envelope Center Fed: "297 684"
  169.  
  170. *OpenUI *ManualFeed/Manual Feed: Boolean
  171. *OrderDependency: 20 AnySetup *ManualFeed
  172. *DefaultManualFeed: False
  173. *ManualFeed True: "statusdict /manualfeed true put"
  174. *ManualFeed False: "statusdict /manualfeed false put"
  175. *?ManualFeed: "
  176. save
  177.   statusdict /manualfeed get {(True)}{(False)}ifelse = flush
  178. restore
  179. "
  180. *End
  181. *CloseUI: *ManualFeed
  182.  
  183. *DefaultOutputOrder: Normal
  184.  
  185. *RequiresPageRegion All: True
  186. *OpenUI *InputSlot: PickOne
  187. *OrderDependency: 20 AnySetup *InputSlot
  188. *DefaultInputSlot: Cassette
  189. *InputSlot Cassette: ""
  190. *CloseUI: *InputSlot
  191.  
  192. *% Font Information =====================
  193. *DefaultFont: Courier
  194. *Font AvantGarde-Book: Standard "(001.002)" Standard ROM
  195. *Font AvantGarde-BookOblique: Standard "(001.002)" Standard ROM
  196. *Font AvantGarde-Demi: Standard "(001.003)" Standard ROM
  197. *Font AvantGarde-DemiOblique: Standard "(001.003)" Standard ROM
  198. *Font Bookman-Demi: Standard "(001.001)" Standard ROM
  199. *Font Bookman-DemiItalic: Standard "(001.001)" Standard ROM
  200. *Font Bookman-Light: Standard "(001.001)" Standard ROM
  201. *Font Bookman-LightItalic: Standard "(001.001)" Standard ROM
  202. *Font Courier: Standard "(001.005)" Standard ROM
  203. *Font Courier-Bold: Standard "(001.005)" Standard ROM
  204. *Font Courier-BoldOblique: Standard "(001.005)" Standard ROM
  205. *Font Courier-Oblique: Standard "(001.005)" Standard ROM
  206. *Font Helvetica: Standard "(001.002)" Standard ROM
  207. *Font Helvetica-Bold: Standard "(001.002)" Standard ROM
  208. *Font Helvetica-BoldOblique: Standard "(001.002)" Standard ROM
  209. *Font Helvetica-Narrow: Standard "(001.002)" Standard ROM
  210. *Font Helvetica-Narrow-Bold: Standard "(001.002)" Standard ROM
  211. *Font Helvetica-Narrow-BoldOblique: Standard "(001.002)" Standard ROM
  212. *Font Helvetica-Narrow-Oblique: Standard "(001.002)" Standard ROM
  213. *Font Helvetica-Oblique: Standard "(001.002)" Standard ROM
  214. *Font NewCenturySchlbk-Bold: Standard "(001.006)" Standard ROM
  215. *Font NewCenturySchlbk-BoldItalic: Standard "(001.004)" Standard ROM
  216. *Font NewCenturySchlbk-Italic: Standard "(001.003)" Standard ROM
  217. *Font NewCenturySchlbk-Roman: Standard "(001.004)" Standard ROM
  218. *Font Palatino-Bold: Standard "(001.002)" Standard ROM
  219. *Font Palatino-BoldItalic: Standard "(001.002)" Standard ROM
  220. *Font Palatino-Italic: Standard "(001.002)" Standard ROM
  221. *Font Palatino-Roman: Standard "(001.001)" Standard ROM
  222. *Font Symbol: Special "(001.003)" Special ROM
  223. *Font Times-Bold: Standard "(001.002)" Standard ROM
  224. *Font Times-BoldItalic: Standard "(001.004)" Standard ROM
  225. *Font Times-Italic: Standard "(001.002)" Standard ROM
  226. *Font Times-Roman: Standard "(001.002)" Standard ROM
  227. *Font ZapfChancery-MediumItalic: Standard "(001.003)" Standard ROM
  228. *Font ZapfDingbats: Special "(001.002)" Special ROM
  229. *?FontQuery: "
  230. save
  231.  /str 100 string dup 0 (fonts/) putinterval def
  232.  {
  233.    count 1 gt
  234.    {
  235.      exch dup str 6 94 getinterval cvs
  236.      (/) print dup print (:) print exch
  237.      FontDirectory exch known
  238.      { pop (Yes) }
  239.       {
  240.         length 6 add str 0 3 -1 roll getinterval
  241.         mark exch status
  242.        {cleartomark (Yes)}{cleartomark (No)} ifelse
  243.      } ifelse =
  244.    }
  245.    {exit} ifelse
  246.  }bind loop
  247.  (*) = flush
  248. restore
  249. "
  250. *End
  251.  
  252. *?FontList: "
  253. save
  254.   FontDirectory { pop == } bind forall flush
  255.   /filenameforall where
  256.   {
  257.     pop (fonts/*)
  258.     { dup length 6 sub 6 exch getinterval cvn == } bind
  259.     128 string filenameforall flush
  260.   } if
  261.   (*) = flush
  262. restore
  263. "
  264. *End
  265.  
  266. *% Printer Messages (verbatim from printer):
  267. *Message: "%%[ exitserver: permanent state may be changed ]%%"
  268. *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  269. *Message: "\FontName\ not found, using Courier."
  270.  
  271. *% Status (format: %%[ status: <one of these> ]%% )
  272. *Status: "idle"
  273. *Status: "busy"
  274. *Status: "waiting"
  275. *Status: "printing"
  276. *Status: "warming up"
  277. *Status: "PrinterError: timeout, clearing printer"
  278. *Status: "PrinterError: paper entry misfeed"
  279. *Status: "PrinterError: service call"
  280. *Status: "PrinterError: warming up"
  281. *Status: "PrinterError: no toner cartridge"
  282.  
  283. *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
  284. *Source: "serial9"
  285. *Source: "serial25"
  286. *Source: "AppleTalk"
  287.  
  288. *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
  289. *PrinterError: "timeout, clearing printer"
  290. *PrinterError: "paper entry misfeed"
  291. *PrinterError: "service call"
  292. *PrinterError: "warming up"
  293. *PrinterError: "no toner cartridge"
  294.  
  295. *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
  296.  
  297. *% Color Separation Information =====================
  298.  
  299. *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
  300.  
  301. *InkName: ProcessBlack/Process Black
  302. *InkName: CustomColor/Custom Color
  303. *InkName: ProcessCyan/Process Cyan
  304. *InkName: ProcessMagenta/Process Magenta
  305. *InkName: ProcessYellow/Process Yellow
  306.  
  307. *%  For 60 lpi / 300 dpi  ===============================
  308.  
  309. *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
  310. *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
  311. *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
  312. *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
  313. *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
  314.  
  315. *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
  316. *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
  317. *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
  318. *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
  319. *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
  320.  
  321. *%  For 53 lpi / 300 dpi  ===============================
  322.  
  323. *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  324. *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
  325. *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
  326. *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
  327. *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
  328.  
  329. *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  330. *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
  331. *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  332. *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
  333. *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
  334.  
  335. *% For "LaserWriter II NTX" version 51.8
  336. *% Produced by "BuildPPD.ps" version 3.0 edit 58
  337. *% Converted to meet 4.0 specification
  338. *% Last Edit Date: Oct 26 1992
  339. *% The byte count of this file should be exactly 011760 or 012101
  340. *% depending on the filesystem it resides in.
  341. *% end of PPD file for LaserWriter II NTX
  342.