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