(PNM format output can be produced from PostScript(tm) input by the
GhostScript output devices "pbmraw", "pgmraw" or "ppmraw", or by "pnmraw",
which will choose one of these formats as appropriate for the document.)

Enable fast ordered dithering instead of using the slower, but beautiful, Floyd-Steinberg dithering. (Has no effect in --bw mode.)

-g

Prints a page of color intensity samples (for comparison with gamma.ppm
data produced by calibrate_ppa).
This is part of a color-correction procedure; see COLOR.txt for more details.

-h, --help

Displays program usage.

-i infile

Input file infile is either a path to a PPM file, or '-' to indicate stdin (defaults to stdin).

-l leftmargin

Sets the left margin leftmargin in units of 1/600 inches (e.g., -l 150 corresponds to 0.25").

--noGamma

Switches off any color-correction.

-o outfile | -

Output file outfile is either a path to a file or device, or '-' to indicate stdout (defaults to stdout).

-p

Disables the black ink cartridge; i.e., print using only the color ink cartridge, even for printing "black". This might be useful for printing high-quality
color images.

-r rightmargin

Sets the right margin rightmargin in units of 1/600 inches (e.g., -r 150 corresponds to 0.25").

-s papersize

Sets the default paper size (now used only for color-correction output
produced by the -g option).
In normal use, pnm2ppa now instead reads the paper dimensions from
pnm input file headers, and
checks that it is a valid papersize for the given printer model.
Possible values for papersize are a4 (A4),
letter or us (US Letter, 8.5"x11"), legal (US Legal,
8.5"x14").
The default is US Letter.

-t topmargin

Sets the top margin topmargin in units of 1/600 inches (ie -t 150 corresponds to 0.25").

--uni

Force unidirectional (left to right) print sweeps. Useful if
"shearing" is a problem for high quality color images.

SEE ALSO

FILES

AUTHOR

This code is licensed under the GNU Public License version 2. See
LICENSE for details.

(c) 1998-1999Tim Norman

(c) 1999Giorgio Marzano

(c) 1999Andrew van der Stock

(c) 1998-2000Various authors for many, many fixes

HISTORY

This program was originally pbm2ppa, written by Tim Norman. It originally
supported black and white output on the 820 series.
Tim added nascent color support in early
1999. In May 1999, Giorgio Marzano started making real headway in getting
color support working properly. Andrew van der Stock has maintained
the code since September 1999, and made it available at
http://sourceforge.net/projects/pnm2ppa.

BUGS

Faint horizontal lines marking boundaries between print sweeps may be visible.
For best results when printing images, use the options -p --uni .