>>>>> "John" == John Johnson <[EMAIL PROTECTED]> writes:
John> Can anyone give me the quick and dirty on how to print dvi files
John> to an HP LaserJet?
- Use dvips to convert the file to PostScript. Specify the appropriate
printer model. E.g.,
dvips -Pljfour text.dvi -o text.ps
The dvips manual or the file modes.mf should tell you what to use as
printer model.
- If your printer supports PS, send this file to the printer. If not,
use Ghostscript to convert the output:
gs -sDEVICE=laserjet -sOutputFile=- text.ps >/dev/lp0
(gs --help will give you a list of output devices.)
To run both commands in a filter:
dvips -Pljfour text.dvi | gs -sDEVICE=laserjet -sOutputFile=- text.ps
Personally, I use apsfilter. That program will automatically recognize
DVI files and treat them as outlined above. Automatic font generation
can be tricky though.
--
G. ``Iggy'' Geens - ICQ: #6410250
Home: <[EMAIL PROTECTED]> - Work: <[EMAIL PROTECTED]>
WWW: http://users.pandora.be/guy.geens/
``I was thinking about how everyone was dying
and maybe it's time to live.'' - Eels
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------