Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2000 12:15:10 -0700 (PDT)
From:      Derrick Baumer <bduk@earthlink.net>
To:        tracker@worldy.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: How to setup TeX to print
Message-ID:  <200004051915.MAA02566@earthlink.net>
In-Reply-To: <38EB1978.167EB0E7@worldy.com> (message from David Banning on Wed, 05 Apr 2000 10:46:16 %2B0000)

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

> From: David Banning <tracker@worldy.com>
> 
> > 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
        <bduk@earthlink.net>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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