Linux Commands Examples

A great documentation place for Linux commands


print dvi-files

see also : dvips


dvired [ options ] file

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!



It is assumed that the PRINTER-variable is set.

dvired -Plw foo - send output to printer lw.
dvired -o foo
- send output to file
dvired -pp4-7 foo
- send 4 pages (reduced onto 2 sheets) of foo to the printer.
dvired foo -f | ghostview -
- preview output with ghostview.

dvired -o $@ $<
%.gz: %
gzip -c9 < $< > $@ || { rm -f $@; false; }
%.pdf: %.dvi
dvipdf $< $@


dvired behaves like dvips, except for the fact that two logical pages are put onto each physical sheet of paper.

For options, see dvips(1). This program only interprets the following options:

-o file - redirect output into file.

-P printer - direct output to printer.

-f - direct output to stdout.

Any other option is passed directly to dvips.


dvired is fixed on A4 paper size. If you want to use it with other paper, you have to change the settings within the source.

see also



Thomas Esser <te[:at:]dbs[:dot:]>

How can this site be more helpful to YOU ?

give  feedback