Linux Commands Examples

A great documentation place for Linux commands


convert a TeX DVI file to Hewlett-Packard PCL

see also : dvicopy - dvilj4


dvihp [options] dvifile[.dvi]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


dvihp translates the given dvifile to Hewlett-Packard PCL using dvicopy(1) then $DVILJ (dvilj4 by default).

In the absence of other options, pipe the PCL to $SPOOL (lpr by default).


Options are recognized from dvips where possible:


print odd pages


print even pages

-d n

set debug bits to n (see documentation)

-D n

set resolution to n


run as filter

-l n

don’t print pages after n


manual feed

-n n

print n pages

-O a,b

set/change paper offset to a,b mm.

-o s

output to s instead of spooling

-p n

don’t print pages before n.


pass directly to lpr.


verbose operation.

-x n

set magnification to n.


write usage summary.

Other options are passed to the dvilj program.


Email bug reports to tex-k[:at:]tug[:dot:]org.

see also

dvicopy , dvilj4 .

How can this site be more helpful to YOU ?

give  feedback