🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5541

Re: VAX/VMS text-->PS filter

#5541
From: gaertner
Date: Thu, 02 May 1991 16:27
40 lines
2499 bytes
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
Technical Details
Message-ID: <1991May2.162754.6507@tertius.in-berlin.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!math.fu-berlin.de!fub!geminix.in-berlin.de!tertius.in-berlin.de!gaertner
References: <1355.28180d99@sleepy.bmd.trw.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!math.fu-berlin.de!fub!geminix.in-berlin.de!tertius.in-berlin.de!gaertner
From: gaertner@tertius.in-berlin.de
Newsgroups: comp.lang.postscript
Subject: Re: VAX/VMS text-->PS filter
Message-ID: <1991May2.162754.6507@tertius.in-berlin.de>
Date: 2 May 91 16:27:54 GMT
References: <1355.28180d99@sleepy.bmd.trw.com>
Lines: 40