[comp.lang.postscript] VAX/VMS text-->PS filter

bstrong@sleepy.bmd.trw.com (04/26/91)

I just recently pulled down the text-->PostScript stuff down from
icaen.llnl.gov and it looks like a really nice setup.  However,  I need
a filter that doesn't run as it's own symbiont process as this one appears to.
The reason is that I am running VAX queues thru LPR/LPD (Wollongong's TCP/IP)
and they already use the /PROC and /ON qualifiers in setting up queues.  Is
there a text-->PostScript filter out there that works (or can be compiled) on
a VAX/VMS hosts that takes an input file with point size and orientation
parameters and outputs the postscript equivalent as a new file?  I'd really
like one that allows for any point size, but I'm interested in anything.

Thanks for any help!!

----------------------------------------------------
Bryan Strong                  TRW * Ogden, UT
                              bstrong@oz.bmd.trw.com

bstrong@sleepy.bmd.trw.com (04/27/91)

Hello again,

     I added a post just yesterday on getting a text-->PS filter for
a VAX/VMS system that would take a textfile in and output the PS version
to a new file.  I have found something that does seem to work quite well
(but I am still looking for others so please e-mail or post any suggestions).
I pulled down Miguel Santana's a2ps version 3.0 from comp.sources.misc and
put in on our VAX/VMS cluster (VMS 5.4).  I pulled out all the #IFDEF 
conditionals and kept only the ANSIC stuff, then changed my HEADER_PS
to be defined to a VMS directory (ie "disk3:[jdoe.a2ps]header.ps") and
it compiled great (VAX C 3.2).  Also, I added a "-Ofile" option to put output
to file (since VMS is not so nice at redirecting and piping output as
UNIX is - I also put the a2ps on our Sun 3/150 and it works wonderfully 
without any modifications).  It's a real nice program and I thank Miguel
for putting it out there.  I am still interested in any other programs
that are intended for VMS, but if none are suggested this one will work
just great I'm sure.

gaertner@tertius.in-berlin.de (05/02/91)

In article <1355.28180d99@sleepy.bmd.trw.com>, bstrong@sleepy.bmd.trw.com writes:
> Hello again,
> 
>      I added a post just yesterday on getting a text-->PS filter for
> a VAX/VMS system that would take a textfile in and output the PS version
> to a new file.  I have found something that does seem to work quite well
> (but I am still looking for others so please e-mail or post any suggestions).
> I pulled down Miguel Santana's a2ps version 3.0 from comp.sources.misc and
> put in on our VAX/VMS cluster (VMS 5.4).  I pulled out all the #IFDEF 
> conditionals and kept only the ANSIC stuff, then changed my HEADER_PS
> to be defined to a VMS directory (ie "disk3:[jdoe.a2ps]header.ps") and
> it compiled great (VAX C 3.2).  Also, I added a "-Ofile" option to put output
> to file (since VMS is not so nice at redirecting and piping output as
> UNIX is - I also put the a2ps on our Sun 3/150 and it works wonderfully 
> without any modifications).  It's a real nice program and I thank Miguel
> for putting it out there.  I am still interested in any other programs
> that are intended for VMS, but if none are suggested this one will work
> just great I'm sure.

Hello, 

the simplest way of converting ASCII to PostScript on a VAX/VMS system is
the command
 $ CONVERT/DOCUMENT input-file/FORMAT=TEXT  output-file/FORMAT=PS
but the result is only readable :-) ; a great program is PSPRINT.
PSPRINT is written in Modula and the Command Definition Language (CDL) of DEC
and prints ASCII, DVI, and PostScript files. Installation is really simple
and the feeling is the same as of a normal DCL command. I'll have the Internet
source located somewhere on the system (sorry) and will mail them to anybody
who is interested (this source includes executables, so you don't need a 
Modula compiler).
BTW if you have VAX/VMS 5.4 and a workstation running DECWindows, take a look
at the VIEW comand. It allows you to view PostScript files on the screen.

Ralf

--

  Ralf Gaertner                gaertner@venus.rz-berlinmpg.de
  FHI Berlin