Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ascii to PostScript -- how?

0 views
Skip to first unread message

Chuck Wells

unread,
Jan 13, 1994, 8:16:36 PM1/13/94
to

Simple question: how to convert ASCII text file to PostScript so that
text files can be printed on a PostScript printer connected to a Sparc?
(running SunOS 4.1.3) I'd prefer a utility that will automatically
convert when I type "lpr", but I'd also be interested in utilities that
have to be run separately.

Thanks. I'll summarize if I get a response that works.
--
Chuck Wells
we...@world.std.com

Matthew Garrett

unread,
Jan 14, 1994, 12:47:34 PM1/14/94
to
In article <CJLI7...@world.std.com>, we...@world.std.com (Chuck Wells) writes:
|>
|> Simple question: how to convert ASCII text file to Postscript so that
|> text files can be printed on a Postscript printer connected to a Sparc?

|> (running SunOS 4.1.3) I'd prefer a utility that will automatically
|> convert when I type "lpr", but I'd also be interested in utilities that
|> have to be run separately.
|>

Use a neat tool called a2ps which converts text to Postscript and can do
some formation for you.

a2ps can be had from ftp.uu.net

Matthew
--
Matthew Garrett - Systems Programmer
Chevron (UK) Ltd.
Ninian House, Crawpeel Road, Altens, Aberdeen, AB1 4LG, Scotland.
Internet: em...@aberdeen.chevron.com Phone: +44 224 242652

Richard M. Venable

unread,
Jan 14, 1994, 7:16:32 PM1/14/94
to
In article <CJLI7...@world.std.com>, we...@world.std.com (Chuck Wells)
writes:
|> Simple question: how to convert ASCII text file to PostScript so that
|> text files can be printed on a PostScript printer connected to a Sparc?
|> (running SunOS 4.1.3) I'd prefer a utility that will automatically
|> convert when I type "lpr", but I'd also be interested in utilities that
|> have to be run separately.

From the FAQ list for comp.lang.postscript: (kept at rtfm.mit.edu)

Subject: 3.9 How can I convert ASCII text to PostScript?

Unless your printer is smart about raw ASCII, you can't just send
the ASCII to a PostScript printer, because the printer will attempt
to interpret your ASCII file as PostScript code. You need a program
which will wrap some PostScript code around your ASCII file.

Try any of the following programs: asciiprint.ps, ato2pps, cz,
ETSR, i2ps, lpp, lwf, POSTPRN, printer, psf, psfx80, PSR, ps2txt,
pstext, swtext, text2ps, TranScript, spike.ps, enscript, nenscript,
a2ps, asc2ps, ascii2ps, crossword.ps, double.ps, landscape.ps,
numbered.ps, portrait.ps, or wide.ps.


--
___ O== ==O "It's deja vous all over again."
|__) ICK O== ==O [sic]
| \ / O== ==O
\/ ENABLE O== ==O -- Yogi Berra

Kenneth H. Simpson

unread,
Jan 18, 1994, 5:01:15 PM1/18/94
to

If the printer is doing the PostScript printing, it isn't necessary to
convert it PostScript for printing. Also, you might want to look at

enscript

which formats text files for PostScript printers (assuming you have
Adobe's Transcript software installed.)

--
==============================================================================
Kenneth Simpson NASA
Internet: k...@poincare.arc.nasa.gov Ames Research Center, MS/269-1
UUCP: ames!poincare!ken Moffett Field, CA 94035-1000

0 new messages