From owner-freebsd-questions Tue Oct 21 21:57:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA05431 for questions-outgoing; Tue, 21 Oct 1997 21:57:34 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from tera.com (tera.tera.com [207.108.223.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA05421 for ; Tue, 21 Oct 1997 21:57:29 -0700 (PDT) (envelope-from kline@tera.com) Received: from athena.tera.com (athena.tera.com [207.108.223.153]) by tera.com (8.8.7/8.8.7) with ESMTP id VAA08879; Tue, 21 Oct 1997 21:56:34 -0700 (PDT) From: Gary Kline Received: (from kline@localhost) by athena.tera.com (8.7.5/8.7.3) id VAA08011; Tue, 21 Oct 1997 21:56:23 -0700 (PDT) Message-Id: <199710220456.VAA08011@athena.tera.com> Subject: Re: previewer In-Reply-To: <19971022093440.10538@lemis.com> from Greg Lehey at "Oct 22, 97 09:34:40 am" To: grog@lemis.com (Greg Lehey) Date: Tue, 21 Oct 1997 21:56:23 -0700 (PDT) Cc: questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL23 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. > > 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. 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. 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. 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?? gary >