Linux Commands Examples

A great documentation place for Linux commands

dvired

print dvi-files


see also : dvips

Synopsis

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!

examples

0

It is assumed that the PRINTER-variable is set.

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


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

description

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.


bugs

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

dvips


author

Thomas Esser <te[:at:]dbs[:dot:]uni-hannover.de>

How can this site be more helpful to YOU ?


give  feedback