home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


dpost

/usr/lib/lp/postscript/dpost [options ] [files ]

A postprocessor that translates troff -formatted files into PostScript for printing.

Options

-

Read the standard input.

-c n

Print n copies of each page (default is 1).

-e 0 | 1 | 2

Set text encoding to 0 (default), 1, or 2. Higher encoding reduces the output size and speeds printing, but may be less reliable.

-F dir

Set the font directory to dir (default is /usr/lib/font ).

-H dir

Set the host-resident font directory to dir . Files there must describe PostScript fonts and have filenames corresponding to a two-character troff font.

-L file

Set the PostScript prologue to file (default is /usr/lib/postscript/dpost.ps , /usr/lib/lp/postscript/dpost.ps on Solaris).

-m scale

Increase (multiply) the size of logical pages by factor scale (default is 1.0).

-n n

Print n logical pages on each sheet of output (default is 1).

-o list

Print only pages contained in comma-separated list . A page range is specified by n-m .

-O

Omit PostScript pictures from output. Useful when running in a networked environment.

-p layout

Specify layout to be either portrait (long side is vertical; also the default) or landscape (long side is horizontal). layout can be abbreviated to p or l .

-T device

Use device to best describe available PostScript fonts. Default is post , with dpost reading binary files in /usr/lib/font/devpost . Use of -T is discouraged; usually the system PostScript fonts are best, if they are available.

-w n

Draw troff graphics (e.g., pic , tbl ) using lines that are n points thick (default is 0.3).

-x n

Offset the x-coordinate of the origin n inches to the right (if n is positive).

-y n

Offset the y-coordinate of the origin n inches down (if n is positive). Default origin is the upper-left corner of the page.

Example

pic 

file
 | tbl | eqn | troff
-ms -Tpost | dpost -c2 | lp


Previous: Reference: download UNIX in a Nutshell: System V Edition Next: Reference: du
Reference: download Book Index Reference: du

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System