Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 19:27:24 -0800 (PST)
From:      Jan Koum <jkb@best.com>
To:        Patrick Gardella <patrick@cre8tivegroup.com>
Cc:        questions@freebsd.org
Subject:   Re: ASCII to PS
Message-ID:  <Pine.BSF.3.96.980112192549.21867F-100000@shell6.ba.best.com>
In-Reply-To: <XFMail.980112170238.patrick@cre8tivegroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help

	Next time you print an ASCII file try:
a2ps -1 -a -p -l70 -ns -nu -nL -nH -q <file_name>
	works on our printer.. however, I dont' recall I ever tried to
print anything that needed line wrap.

-- Yan

On Mon, 12 Jan 1998, Patrick Gardella wrote:

>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?Pine.BSF.3.96.980112192549.21867F-100000>