Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 16:04:26 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Gary Kline <kline@tera.com>
Cc:        questions@freebsd.org
Subject:   Re: previewer
Message-ID:  <19971022160426.55428@lemis.com>
In-Reply-To: <199710220456.VAA08011@athena.tera.com>; from Gary Kline on Tue, Oct 21, 1997 at 09:56:23PM -0700
References:  <19971022093440.10538@lemis.com> <199710220456.VAA08011@athena.tera.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 21, 1997 at 09:56:23PM -0700, Gary Kline wrote:
> According to Greg Lehey:
>> On Tue, Oct 21, 1997 at 01:10:52PM -0700, Gary Kline wrote:
>>>
>>>
> 		[[ ... ]]
>
>>
>> Well, it would have helped if you had said what you want to preview.
>> If it's PostScript, you can use Ghostview, which I do all the time.
>> If it's something else, I can't guess what.  Come on, why don't you
>> tell us?
>>
>
> 		Well, if you'll re-read my first paragraph
> 		perhaps it will become clear that I was
> 		trying to arrange addresses in large font type
> 		on a landscape-mode sheet of paper.

Yes, I understood that.  But I was assuming you weren't cutting them
out and gluing them on to the paper.  You didn't (and still don't say)
what tools you were using.

>>> 	The other day when my wife asked me to make up a mailing
>>> 	sheet (with a large, bold font) it took me 4 or 5 tries
>>> 	to get it right.  I used enscript to get the bold font
>>> 	in landscape mode.
>>
> 		Because I didn't understand the exact relationship
> 		of spaces and characters in the kerned typeface;
> 		so the cost was several guesses until the
> 		printout was correct.

Yes, that's normal enough.  You really *do* need a previewr.

> 		I figured that some combination of enscript (or
> 		a2ps) output filtered thru ghostscript or
> 		ghostview might work.  But there wasn't time
> 		for any experimentation.

OK, but I still don't understand what you're using.  a2ps takes ASCII
input, which doesn't have various font sizes.

> 		This afternoon, Julian Elischer pointed out
> 		that ghostscript was the solution, but after
> 		some testing I realized that ghostview might
> 		be the better viewer.  ghostview allows -landscape
> 		views.

Ghostview is definitely preferable, though it's really a front end to
ghostscript.

> 		It's not obvious nor trivial (push-button) to
> 		determine how create a previewer.  It would be
> 		fairly trivial to create a Bourne | perl script
> 		to handle most cases.  A better solution would be
> 		a tk/tcl program.
>
> 		'Nuff??

Not really.  I still don't understand what you're doing.  ghostview is
a (pre)viewer, so you don't need any more.  Or are you saying you want
to create a view at a certain point in a script?

Sorry, I'm trying to help, but I still don't understand what you're
trying to do.

Greg



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