| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Ppmtopj User Manual" 1 "13 July 1991" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
ppmtopj - convert a PPM image to an HP PaintJet file |
| 10 |
|
| 11 |
.UN synopsis |
| 12 |
.SH SYNOPSIS |
| 13 |
|
| 14 |
\fBppmtopj\fP |
| 15 |
|
| 16 |
[\fB-gamma\fP \fIval\fP] |
| 17 |
|
| 18 |
[\fB-xpos\fP \fIval\fP] |
| 19 |
|
| 20 |
[\fB-ypos\fP \fIval\fP] |
| 21 |
|
| 22 |
[\fB-back\fP {\fBdark\fP|\fBlite\fP}] |
| 23 |
|
| 24 |
[\fB-rle\fP] |
| 25 |
|
| 26 |
[\fB-center\fP] |
| 27 |
|
| 28 |
[\fB-render\fP { |
| 29 |
\fBnone\fP | |
| 30 |
\fBsnap\fP | |
| 31 |
\fBbw\fP | |
| 32 |
\fBdither\fP | |
| 33 |
\fBdiffuse\fP | |
| 34 |
\fBmonodither\fP | |
| 35 |
\fBmonodiffuse\fP | |
| 36 |
\fBclusterdither\fP | |
| 37 |
\fBmonoclusterdither\fP |
| 38 |
}] |
| 39 |
|
| 40 |
[\fIppmfile\fP] |
| 41 |
|
| 42 |
.UN description |
| 43 |
.SH DESCRIPTION |
| 44 |
.PP |
| 45 |
This program is part of |
| 46 |
.BR "Netpbm" (1)\c |
| 47 |
\&. |
| 48 |
.PP |
| 49 |
\fBppmtopj\fP reads a PPM image as input and converts it into a |
| 50 |
format suitable to be printed by an HP PaintJet printer. |
| 51 |
.PP |
| 52 |
For best results, the input file should be in 8-color RGB form; |
| 53 |
i.e. it should have only |
| 54 |
the 8 binary combinations of full-on and full-off primaries. |
| 55 |
You could convert your input to this format like this: |
| 56 |
|
| 57 |
.nf |
| 58 |
pamseq 3 1 testimg.ppm >8color.pam |
| 59 |
pnmremap -map 8color.pam testimg.pam | ppmtopj |
| 60 |
|
| 61 |
.fi |
| 62 |
|
| 63 |
Or you could use |
| 64 |
.nf |
| 65 |
ppmdither -red 2 -green 2 -blue 2 |
| 66 |
|
| 67 |
.fi |
| 68 |
|
| 69 |
.UN options |
| 70 |
.SH OPTIONS |
| 71 |
.PP |
| 72 |
In addition to the options common to all programs based on libnetpbm |
| 73 |
(most notably \fB-quiet\fP, see |
| 74 |
.UR index.html#commonoptions |
| 75 |
Common Options |
| 76 |
.UE |
| 77 |
\&), \fBppmtopj\fP recognizes the following |
| 78 |
command line options: |
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
.TP |
| 83 |
\fB-rle\fP |
| 84 |
Run length encode the image. |
| 85 |
(This can result in larger images) |
| 86 |
|
| 87 |
.TP |
| 88 |
\fB-back\fP |
| 89 |
Enhance the foreground by indicating if the background is light or |
| 90 |
dark compared to the foreground. |
| 91 |
|
| 92 |
.TP |
| 93 |
\fB-render\fP \fIalg\fP |
| 94 |
Use an internal rendering algorithm (default dither). |
| 95 |
|
| 96 |
.TP |
| 97 |
\fB-gamma\fP \fIint\fP |
| 98 |
Gamma correct the image using the integer \fIint\fP as a gamma (default 0). |
| 99 |
|
| 100 |
.TP |
| 101 |
\fB-center\fP |
| 102 |
Center the image to an 8.5 by 11 page |
| 103 |
|
| 104 |
.TP |
| 105 |
\fB-xpos\fP \fIpos\fP |
| 106 |
Move by \fIpos\fP pixels in the x direction. |
| 107 |
|
| 108 |
.TP |
| 109 |
\fB-ypos\fP \fIpos\fP |
| 110 |
Move by \fIpos\fP pixels in the y direction. |
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
.UN seealso |
| 115 |
.SH SEE ALSO |
| 116 |
|
| 117 |
HP PaintJet XL Color Graphics Printer User's Guide, |
| 118 |
.BR "\fBpnmtopclxl\fP" (1)\c |
| 119 |
\&, |
| 120 |
.BR "\fBpjtoppm\fP" (1)\c |
| 121 |
\&, |
| 122 |
.BR "\fBpamdepth\fP" (1)\c |
| 123 |
\&, |
| 124 |
.BR "\fBpnmremap\fP" (1)\c |
| 125 |
\&, |
| 126 |
.BR "\fBpamseq\fP" (1)\c |
| 127 |
\&, |
| 128 |
.BR "\fBppmdither\fP" (1)\c |
| 129 |
\&, |
| 130 |
.BR "\fBpbmtolj\fP" (1)\c |
| 131 |
\&, |
| 132 |
.BR "\fBppmtolj\fP" (1)\c |
| 133 |
\&, |
| 134 |
.BR "\fBppmtopjxl\fP" (1)\c |
| 135 |
\&, |
| 136 |
.BR "\fBthinkjettopbm\fP" (1)\c |
| 137 |
\&, |
| 138 |
.BR "\fBppm\fP" (1)\c |
| 139 |
\& |
| 140 |
|
| 141 |
.UN author |
| 142 |
.SH AUTHOR |
| 143 |
|
| 144 |
Copyright (C) 1991 by Christos Zoulas. |
| 145 |
.SH DOCUMENT SOURCE |
| 146 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 147 |
source. The master documentation is at |
| 148 |
.IP |
| 149 |
.B http://netpbm.sourceforge.net/doc/ppmtopj.html |
| 150 |
.PP |