On Fri, 9 Apr 1999, S. A. Mansouri wrote:
> Could anybody please tell me how can I create a postscript file with the
> extension of .ps?
> and also explain me the difference between a printer file (with the
> extension of .prn) that is created by the "print to file" option of the
> Word with a real postscript file?
I presume you mean in windows. The prn file is (I think) just the data
that is sent to the printer. In other words, if you have selected a
postscript printer, it is a postscript file, if you have selected another
sort of printer, it is whatever format that printer likes to use.
Thus, to create a postscript file by printing, you can just select a
postscript printer, select "print to file" and change the .prn extension
to .ps
However, some printers have extra codes embedded in the postscript, which
can knacker up the re-printing of your file (for example, it there is an
extra bit of code telling the printer to eject the page at the end of the
file, and you want to print two shrunken versions of the page printed on
one physical side of paper, it will eject the paper after printing the
first shrunken page image). To avoid this, you can either
go through the postscript file by hand, deleting those lines which look
like they are printer commands, or your best bet is to select an "eps"
file as the printer (can't remember how you do this) rather than a
physical printer.
Many programs will also output or save documents directly as a postscript
file (e.g. sigma plot, maple, etc.) without having to go through the
"print" rigmarole.
you might also want to check out a postscript viewer such as ghostview or
gv (the one I prefer but may only exist for linux/Unix).
hope this helps
yan
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|