pbmtoppa --version (return code: 0)
pbmtoppa: Using libpbm from Netpbm Version: Netpbm 10.0
pbmtoppa: BSD defined
pbmtoppa: RGB_ENV='RGBDEF'
pbmtoppa: RGBENV= 'RGBDEF' (env vbl is unset)
pbmtoppa -h (return code: 0)
usage: pbmtoppa [ options ] [ <infile> [ <outfile> ] ]
Prints a pbm- or pbmraw-format <infile> to HP720/820/1000-format <outfile>.
-v <version> printer version (720, 820, or 1000)
-x <xoff> vertical offset adjustment in 1"/600
-y <yoff> horizontal offset adjustment in 1"/600
-t <topmarg> top margin in 1"/600 (default: 150 = 0.25")
-l <leftmarg> left margin in 1"/600 (default: 150 = 0.25")
-r <rightmarg> right margin in 1"/600 (default: 150 = 0.25")
-b <botmarg> bottom margin in 1"/600 (default: 150 = 0.25")
-s <paper> paper size (us, a4, default: us)
-f <cfgfile> read <cfgfile> as parameters
The -x and -y options accumulate. The -v option resets the horizontal and
vertical adjustments to an internal default. <infile> and <outfile> default
to stdin and stdout. '-' is a synonym for stdin and stdout.
Configuration files specified with the '-f' parameter have the following
format:
# Comment
<key1> <value1>
<key2> <value2>
[etc.]
Valid keys are 'version', 'xoffset', 'yoffset', 'topmargin', 'leftmargin',
'rightmargin', 'bottommargin', 'papersize', or any non-null truncated
version of these words. Valid values are the same as with the corresponding
command-line parameters. Parameters in the configuration file act as though
the corresponding parameters were substituted, in order, for the '-f'
parameter which specified the file.
The file /etc/pbmtoppa.conf, if it exists, is processed as a configuration
file before any command-line parameters are processed.