Path: utzoo!utgpu!water!watmath!clyde!bellcore!faline!thumper!ulysses!ucbvax!frodo.cs.hope.EDU!jipping From: jipping@frodo.cs.hope.EDU (Mike Jipping) Newsgroups: comp.lang.postscript Subject: Re: Ascii file to postscript translator Message-ID: <8802121358.AA26450@frodo.cs.hope.edu> Date: 12 Feb 88 13:58:31 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 26 In article <202@halibut.NOSC.MIL> Brad P. Smith wrote: >We have purchased a AST laser printer that only understands Postscript. >We would like to print regular ascii text files on this printer. > >Can anyone send me a C program that takes an ascii file and would encode >the text in Postscript and so output a file ready to send to this AST printer? And in article <1561@uhccux.UUCP> Torben Neilsen responded that Transcript puts our "enscript" but it's not in the public domain. Back in April '86 (4/23/86), Glenn Reid posted a PostScript prolog that made PostScript printers behave like line printers when the prolog was prepended to a file of ASCII. A clip from his message: --- This is a file which will allow a PostScript printer to behave like a --- line printer for text files. It is designed to be as short as possible --- while maintaining great flexibility. It works by reading from --- "currentfile", and may simply be PREpended to the beginning of a text --- file and shipped to the printer. If this is what you need, I could send the original posting. Perhaps the archives have it too. -- Mike Jipping Dept of Computer Science Hope College jipping@cs.hope.edu