home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / programm / 7840 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.2 KB

  1. Xref: sparky comp.sys.next.programmer:7840 comp.sys.next.misc:23227 comp.sys.next.software:3138
  2. Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software
  3. Path: sparky!uunet!psinntp!afs!michael
  4. From: Michael_Pizolato@afs.com (Michael Pizolato)
  5. Subject: Re: Printing postscript from a shell script
  6. Message-ID: <1992Dec18.215648.2056@afs.com>
  7. Sender: Michael_Pizolato@afs.com
  8. Reply-To: Michael_Pizolato@afs.com
  9. References: <1992Dec17.161132.1733@afs.com>
  10. Date: Fri, 18 Dec 1992 21:56:48 GMT
  11. Lines: 39
  12.  
  13. In article <1992Dec17.161132.1733@afs.com> Michael_Pizolato@afs.com (Michael  
  14. Pizolato) writes:
  15. > What command(s) do I need to print a postscript file (.ps, .eps) from a
  16. > shell script?  I have no printer on my local machine, but we have a
  17. > network-wide printer that is the default for everything else.  The
  18. > only command-line utility that can find the printer seems to be
  19. > enscript(1), but that prints the text of the postscript source, not
  20. > the results of processing the postscript.  Stuff like pslpr(1) can't
  21. > even find the printer, even if I use the -P option and name the printer
  22. > explicitly.  
  23. > I have already RTFM.  In fact, I have RTFM to death :-(, and tried it many
  24. > different ways, so please reply only if you have done this
  25. > successfully.  
  26.  
  27. In article <1992Dec17.191304.2107@afs.com> Michael_Pizolato@afs.com (Michael
  28. Pizolato) writes again:
  29. > What a moron!  The bug is in your postscript code, not the printing
  30. > utilities.  Next time think a little before posting such crap. 
  31. > Please, don't anyone dignify this garbage with a reply. 
  32.  
  33. I seem to have caused a _huge_ number of people to think I was abusing
  34. some poor soul who is an obvious beginner in postscript programming
  35. (read the sender of both messages - and how could I know his problem was
  36. with his postscript when he never posted it?).  That beginner is _me_,
  37. and I was forgetting to put a "showpage" statement at the end of each
  38. page, thus nothing came out of the printer.     
  39.  
  40. All you flamers can relax now.  Thanx to many others who sent in helpful
  41. replies - sorry I didn't debug my original code better.  lpr(1) works
  42. just fine to print _correct_ postscript files.  :-)   
  43.  
  44. Michael
  45.  
  46. --
  47. Michael_Pizolato@afs.com
  48. ~18 kyu
  49. Q16
  50. NeXTMail appreciated
  51.