Subject: Re: [HELP] printing a postscript file

From: Nancy McGough <[email-masked]>
Date: 1 Dec 1994 15:43:46 GMT

[email-masked] (Thang M Nguyen) writes:
>I would like to print a postscript file from pine to my postscript 
>printer at home. Can you tell me how would I do it?  

First export the message and edit it so that the first line
looks like this (it might say a different version):

%!PS-Adobe-1.0

Then, at your unix prompt type:

  ansiprt < filename.ps

Or, if that doesn't work and ansiprint is installed, try this:

  ansiprint filename.ps

And if that doesn't work try a different comm program.  On my
system, the above two work when I'm using DOS Kermit but don't
work when I use Delrina's WinComm (but if anyone knows how to
get them to work with WinComm I'd love to know!).

If you still can't print a postscript file directly from your
Unix account you can download them to your PC (if you have a
PC) and then use either of the following to print the postscript
file:

  copy filename.ps lpt1

  type filename.ps > lpt1

Or open filename.ps up inside of DOS Edit and choose Print from
the File menu.

I hope one of these works for you.
Postscript printers are great!
  -Nancy

--
 /\_/\
( o.o )   Nancy McGough       <URL:http://www.jazzie.com/ii/>
 > ^ <    Infinite Ink        <URL:ftp://ftp.halcyon.com/pub/ii>

---

From: Nancy McGough <[email-masked]>
Date: 2 Dec 1994 02:47:02 GMT

>printer at home. Can you tell me how would I do it?  

In order for the postscript file to be printed on your postscript
printer the first line needs to start with something like this (it 
might say a different version):

%!PS-Adobe-1.0

Note that after this there will be lots of other postscript code too.
So you need to remove the headers and any blank lines and non-postscript 
text before sending it to your printer.  There are a number of ways to do 
this.

An elegant solution is to type V to view attachments and then type the 
pipe character followed by "ansiprt" (or a similar command like "lpansi"
or "ansiprint").

The brute force way is to first export (E) the message and then edit out 
the headers and any non-postscript text, and then send it to your printer
using one of the following.

At your unix prompt type:

  ansiprt < filename.ps

  ansiprint filename.ps

  copy filename.ps lpt1

  type filename.ps > lpt1