\ .\" This man page was generated by the Netpbm tool 'makeman' from HTML source. .\" Do not hand-hack it! If you have bug fixes or improvements, please find .\" the corresponding HTML page on the Netpbm website, generate a patch .\" against that, and send it to the Netpbm maintainer. .TH "Ppmtopj User Manual" 0 "13 July 1991" "netpbm documentation" .SH NAME ppmtopj - convert a PPM image to an HP PaintJet file .UN synopsis .SH SYNOPSIS \fBppmtopj\fP [\fB-gamma\fP \fIval\fP] [\fB-xpos\fP \fIval\fP] [\fB-ypos\fP \fIval\fP] [\fB-back\fP {\fBdark\fP|\fBlite\fP}] [\fB-rle\fP] [\fB-center\fP] [\fB-render\fP { \fBnone\fP | \fBsnap\fP | \fBbw\fP | \fBdither\fP | \fBdiffuse\fP | \fBmonodither\fP | \fBmonodiffuse\fP | \fBclusterdither\fP | \fBmonoclusterdither\fP }] [\fIppmfile\fP] .UN description .SH DESCRIPTION .PP This program is part of .BR "Netpbm" (1)\c \&. .PP \fBppmtopj\fP reads a PPM image as input and converts it into a format suitable to be printed by an HP PaintJet printer. .PP For best results, the input file should be in 8-color RGB form; i.e. it should have only the 8 binary combinations of full-on and full-off primaries. You could convert your input to this format like this: .nf pamseq 3 1 testimg.ppm >8color.pam pnmremap -map 8color.pam testimg.pam | ppmtopj .fi Or you could use .nf ppmdither -red 2 -green 2 -blue 2 .fi .UN options .SH OPTIONS .PP In addition to the options common to all programs based on libnetpbm (most notably \fB-quiet\fP, see .UR index.html#commonoptions Common Options .UE \&), \fBppmtopj\fP recognizes the following command line options: .TP \fB-rle\fP Run length encode the image. (This can result in larger images) .TP \fB-back\fP Enhance the foreground by indicating if the background is light or dark compared to the foreground. .TP \fB-render\fP \fIalg\fP Use an internal rendering algorithm (default dither). .TP \fB-gamma\fP \fIint\fP Gamma correct the image using the integer \fIint\fP as a gamma (default 0). .TP \fB-center\fP Center the image to an 8.5 by 11 page .TP \fB-xpos\fP \fIpos\fP Move by \fIpos\fP pixels in the x direction. .TP \fB-ypos\fP \fIpos\fP Move by \fIpos\fP pixels in the y direction. .UN seealso .SH SEE ALSO HP PaintJet XL Color Graphics Printer User's Guide, .BR "\fBpnmtopclxl\fP" (1)\c \&, .BR "\fBpjtoppm\fP" (1)\c \&, .BR "\fBpamdepth\fP" (1)\c \&, .BR "\fBpnmremap\fP" (1)\c \&, .BR "\fBpamseq\fP" (1)\c \&, .BR "\fBppmdither\fP" (1)\c \&, .BR "\fBpbmtolj\fP" (1)\c \&, .BR "\fBppmtolj\fP" (1)\c \&, .BR "\fBppmtopjxl\fP" (1)\c \&, .BR "\fBthinkjettopbm\fP" (1)\c \&, .BR "\fBppm\fP" (5)\c \& .UN author .SH AUTHOR Copyright (C) 1991 by Christos Zoulas. .SH DOCUMENT SOURCE This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at .IP .B http://netpbm.sourceforge.net/doc/ppmtopj.html .PP