Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 16:56:21 -0500 (EST)
From:      Patrick Gardella <patrick@cre8tivegroup.com>
To:        questions@freebsd.org
Subject:   ASCII to PS
Message-ID:  <XFMail.980112170238.patrick@cre8tivegroup.com>

next in thread | raw e-mail | index | archive | help
Greetings once again!

I need some help on postscript.  I am trying to translate ascii into postscript
so that it wraps the line correctly.  I've used a2ps and GNU enscript, as well
as textfmt.  None of them do it right.  

The postscript always comes out as full justified text.  The right edge gets
wrapped wherever the margin is, not at word boundaries.  

Is there some application that I can find to wrap the words to the next line
instead of splitting them in the middle of a word? 

I'll write one myself if needed, but why recreate the wheel?

(It would vary based on the font used, of course, so it's not so simple as
wrapping at 80 characters or the nearest word break.  I'd need to compute the
amount of space the characters would use.)

Thanks,

Patrick


+-------------------------------------------------------------------+
|Patrick S. Gardella                    Director of Web Development |
|    The Creative Group   1-800-804-0783     606-858-9054 (fax)     |
|-------------------------------------------------------------------|
|                 http://www.cre8tivegroup.com                      |
|-------------------------------------------------------------------|
| Patrick@cre8tivegroup.com        PGP Key ID 0xEE2D47A9            |
+-------------------------------------------------------------------+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980112170238.patrick>