PS converts normal text files to PostScript (PS) files that can
be printed or displayed on PostScript devices. The PS utility can
also translate Runoff .MEM files to Postscript.
PostScript graphics can be inserted into the text at any point.
The PostScript graphics should be in a separate file and
referenced in the text file being converted using the command
sequence
`~`~{include file-spec}
with FILE-SPEC the name of the file containing the PostScript
graphics (or commands) to insert. This command sequence can
occur anywhere in the file and as often as desired. PS sets
the PostScript coordinate system so that (0,0) corresponds to
the position on the page where the next text to be converted to
PostScript will be positioned, and then merges the PostScript
code from the file into the PS output stream. The effect of this
is that the lower left corner of the included image will appear
just where the command sequence appeared in the text. The command
sequence itself is removed and does not appear in the output. No
blank space is reserved for the image; you must do this yourself
in the text file.
PostScript commands can also be inserted directly into the text
input file being processed. To do this, use the command sequence
`~`~{insert PostScript commands}
The inserted PostScript commands sequence will be preceeded by
a save operator and followed by a restore operator. As with the
include command, space is not reserved for the output of the
inserted PostScript commands.
NOTE
PS is part of the PMDF-FAX product. It is not part of the
base PMDF distribution.