From owner-freebsd-questions Wed Apr 5 12:35:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from kestrel.prod.itd.earthlink.net (kestrel.prod.itd.earthlink.net [207.217.121.155]) by hub.freebsd.org (Postfix) with ESMTP id D7F1E37B9A9 for ; Wed, 5 Apr 2000 12:35:45 -0700 (PDT) (envelope-from bduk@earthlink.net) Received: from earthlink.net (sdn-ar-005orportP072.dialsprint.net [63.178.66.56]) by kestrel.prod.itd.earthlink.net (8.9.3/8.9.3) with ESMTP id MAA09804; Wed, 5 Apr 2000 12:35:40 -0700 (PDT) Received: (from bduk@localhost) by earthlink.net (8.9.3/8.9.3) id MAA02566; Wed, 5 Apr 2000 12:15:10 -0700 (PDT) (envelope-from bduk) Date: Wed, 5 Apr 2000 12:15:10 -0700 (PDT) Posted-Date: Wed, 5 Apr 2000 12:15:10 -0700 (PDT) Message-Id: <200004051915.MAA02566@earthlink.net> From: Derrick Baumer To: tracker@worldy.com Cc: questions@FreeBSD.ORG In-reply-to: <38EB1978.167EB0E7@worldy.com> (message from David Banning on Wed, 05 Apr 2000 10:46:16 +0000) Subject: Re: How to setup TeX to print Reply-To: bduk@earthlink.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: David Banning > > > What you need is a print filter, or at least the various utilities a > > print filter uses to convert your .dvi, .ps, .etc... files into a > > format recognizable by your printer. > > Don't I already have that if LyX prints to my printer? Again, I don't use LyX, so I'm half-way guessing here. I think it would be safe to assume that LyX does use external facilities to convert its files to printable form, so you probably do have a few of the required utility programs installed. If you look in /var/db/pkg/, you should see Ghostscript listed there somewhere. Assuming you do, you'll need arrange to use that program as a filter to print out postscript files. You'll also need other utilities for printing files of other formats, and unless you feel like memorizing the command line options for all of them, you'll do well to install a print filter. I do not yet know exactly what the behavior is that you are experiencing, though. When you type lpr example.dvi do you get what you expected out of the printer? If you don't, you probably get gibberish, which means the file is not being converted (or filtered). You can either convert the file to postscript with dvips and print it with gs (man dvips, man gs) or you can install a print filter to do this stuff for you. Again, examine /usr/ports/print/apsfilter. One advantage of going this way is that it will install converters for a very wide range of file formats. LyX probably installed just what it needed for .dvi and .ps, but most likely didn't think you'd ever have any need to print out .html or .jpeg files. -- Derrick Baumer - Black Duck Software To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message