🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
3 messages
3 total messages Started by Michael Pizolato Thu, 17 Dec 1992 16:11
Printing postscript from a shell script
#2124
Author: Michael Pizolato
Date: Thu, 17 Dec 1992 16:11
21 lines
1130 bytes
What command(s) do I need to print a postscript file (.ps, .eps) from a
shell script?  I have no printer on my local machine, but we have a
network-wide printer that is the default for everything else.  The
only command-line utility that can find the printer seems to be
enscript(1), but that prints the text of the postscript source, not
the results of processing the postscript.  Stuff like pslpr(1) can't
even find the printer, even if I use the -P option and name the printer
explicitly.  

I have already RTFM.  In fact, I have RTFM to death :-(, and tried it many
different ways, so please reply only if you have done this
successfully.  

Thanx,
Michael

--
Michael_Pizolato@afs.com
~18 kyu
Q16
NeXTMail appreciated
Re: Printing postscript from a shell script
#2132
Author: Michael Pizolato
Date: Thu, 17 Dec 1992 19:13
28 lines
1495 bytes
In article <1992Dec17.161132.1733@afs.com> Michael_Pizolato@afs.com (Michael  
Pizolato) writes:
> What command(s) do I need to print a postscript file (.ps, .eps) from a
> shell script?  I have no printer on my local machine, but we have a
> network-wide printer that is the default for everything else.  The
> only command-line utility that can find the printer seems to be
> enscript(1), but that prints the text of the postscript source, not
> the results of processing the postscript.  Stuff like pslpr(1) can't
> even find the printer, even if I use the -P option and name the printer
> explicitly.  
> 
> I have already RTFM.  In fact, I have RTFM to death :-(, and tried it many
> different ways, so please reply only if you have done this
> successfully.  

What a moron!  The bug is in your postscript code, not the printing
utilities.  Next time think a little before posting such crap. 
Please, don't anyone dignify this garbage with a reply. 

-m

P.S. ;-)

--
Michael_Pizolato@afs.com
~18 kyu
Q16
NeXTMail appreciated
Re: Printing postscript from a shell script
#2155
Author: Michael Pizolato
Date: Fri, 18 Dec 1992 21:56
39 lines
2210 bytes
In article <1992Dec17.161132.1733@afs.com> Michael_Pizolato@afs.com (Michael  
Pizolato) writes:
> What command(s) do I need to print a postscript file (.ps, .eps) from a
> shell script?  I have no printer on my local machine, but we have a
> network-wide printer that is the default for everything else.  The
> only command-line utility that can find the printer seems to be
> enscript(1), but that prints the text of the postscript source, not
> the results of processing the postscript.  Stuff like pslpr(1) can't
> even find the printer, even if I use the -P option and name the printer
> explicitly.  
> 
> I have already RTFM.  In fact, I have RTFM to death :-(, and tried it many
> different ways, so please reply only if you have done this
> successfully.  

In article <1992Dec17.191304.2107@afs.com> Michael_Pizolato@afs.com (Michael
Pizolato) writes again:
> What a moron!  The bug is in your postscript code, not the printing
> utilities.  Next time think a little before posting such crap. 
> Please, don't anyone dignify this garbage with a reply. 

I seem to have caused a _huge_ number of people to think I was abusing
some poor soul who is an obvious beginner in postscript programming
(read the sender of both messages - and how could I know his problem was
with his postscript when he never posted it?).  That beginner is _me_,
and I was forgetting to put a "showpage" statement at the end of each
page, thus nothing came out of the printer.     

All you flamers can relax now.  Thanx to many others who sent in helpful
replies - sorry I didn't debug my original code better.  lpr(1) works
just fine to print _correct_ postscript files.  :-)   

Michael

--
Michael_Pizolato@afs.com
~18 kyu
Q16
NeXTMail appreciated
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads