\ .\" 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" .UN lbAB .SH NAME ppmtopj - convert a PPM image to an HP PaintJet file .UN lbAC .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 lbAD .SH DESCRIPTION .PP This program is part of .BR Netpbm (1) . .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 lbAE .SH 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 lbAG .SH SEE ALSO HP PaintJet XL Color Graphics Printer User's Guide, .BR \fBpnmtopclxl.html\fP (1) , .BR \fBpjtoppm.html\fP (1) , .BR \fBpamdepth\fP (1) , .BR \fBpnmremap\fP (1) , .BR \fBpamseq\fP (1) , .BR \fBppmdither\fP (1) , .BR \fBpbmtolj.html\fP (1) , .BR \fBppmtolj\fP (1) , .BR \fBthinkjettopbm\fP (1) , .BR \fBppm\fP (5) .UN lbAI .SH AUTHOR Copyright (C) 1991 by Christos Zoulas.