up | Inhaltsverzeichniss | Kommentar

Manual page for DITORDER(1)

ditorder - reverse, reorder, repeat, and select troff pages

SYNOPSIS

ditorder [ -r -o<list> -c# -C# -d ] file

DESCRIPTION

Ditorder performs reordering operations of eroff and ditroff files. Ditorder can do page order reversal, select specific pages to be printed, repeat selected or all pages, and reorder pages for duplex copying.

The options are:

-olist
Print only the pages in list, a sequence of comma separated numbers, or number pairs separated by hyphens ``-''. For example, -o1-10,7,50-40 prints pages 1 though 10, page 7, and pages 50 down to 40, in the order specified. A number of the form -N means 1 to page N. A number of the form N- means page N to the end of the document.
-r
Print pages in reverse order. Not applicable if the -o switch is used.
-c#
Print # copies of each page. Each page is printed # number of times. For example, -c3 prints a two page document in this order: 1,1,1,2,2,2.
-C#
Print # copies of each document. Each document is printed # number of times. For example, -C3 prints a two page document in this order: 1,2,1,2,1,2.
-d
Print in duplex ordering. It is assumed one is printing two-up -- two pages per sheet. Pages are printed as follows: sheet 1: 1,3, sheet 2: 4,2, sheet 3: 5,7, sheet 4: 8,6, etc. This enables adjacent sheets to be printed or copied back to back and maintain the correct page number sequence.

The remaining argument is assumed to be a file name of troff(1) output. If no file name, or ``-'' is specified, the standard input is read.

EXAMPLES

Eroff, will call this processor if the -O option is used. A typical use of eroff(1) to print duplex pages in reverse to a PostScript printer would be: eroff -Tps -mm -Or -Od file.t

Alternately, using troff directly and Elan's PostScript driver eps, the same results would be obtained via:

troff -mm -Tps file.t | ditorder -r -d | eps | lp -dps

SEE ALSO

eroff(1), troff(1).


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97