<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML><HEAD><TITLE>Ppmtopj User Manual</TITLE> </HEAD><BODY> <H1>ppmtopj</H1> Updated: 13 July 1991 <BR> <A HREF="#index">Table Of Contents</A> <A NAME="lbAB"> </A> <H2>NAME</H2> ppmtopj - convert a PPM image to an HP PaintJet file <A NAME="lbAC"> </A> <H2>SYNOPSIS</H2> <B>ppmtopj</B> [<b>-gamma</b> <I>val</I>] [<B>-xpos</B> <I>val</I>] [<B>-ypos</B> <I>val</I>] [<B>-back</B> {<B>dark</B>|<B>lite</B>}] [<B>-rle</B>] [<B>-center</B>] [<B>-render</B> { <B>none</b> | <b>snap</b> | <b>bw</b> | <b>dither</b> | <b>diffuse</b> | <b>monodither</b> | <b>monodiffuse</b> | <b>clusterdither</b> | <b>monoclusterdither</B> }] [<I>ppmfile</I>] <A NAME="lbAD"> </A> <H2>DESCRIPTION</H2> <p>This program is part of <a href="index.html">Netpbm</a>. <P><b>ppmtopj</b> reads a PPM image as input and converts it into a format suitable to be printed by an HP PaintJet printer. <P> 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: <pre> pamseq 3 1 testimg.ppm >8color.pam pnmremap -map 8color.pam testimg.pam | ppmtopj </pre> Or you could use use <pre> ppmdither -red 2 -green 2 -blue 2 </pre> <A NAME="lbAE"> </A> <H2>OPTIONS</H2> <DL COMPACT> <DT><B>-rle</B> <DD> Run length encode the image. (This can result in larger images) <DT><B>-back</B> <DD> Enhance the foreground by indicating if the background is light or dark compated to the foreground. <DT><B>-render</B> <I>alg</I> <DD> Use an internal rendering algorithm (default dither). <DT><B>-gamma</B> <I>int</I> <DD> Gamma correct the image using the integer <i>int</i> as a gamma (default 0). <DT><B>-center</B> <DD> Center the image to an 8.5 by 11 page <DT><B>-xpos</B> <I>pos</I> <DD> Move by <i>pos</i> pixels in the x direction. <DT><B>-ypos</B> <I>pos</I> <DD> Move by <i>pos</i> pixels in the y direction. </DL> <A NAME="lbAG"> </A> <H2>SEE ALSO</H2> HP PaintJet XL Color Graphics Printer User's Guide, <a href="pnmtopclxl.html"><b>pnmtopclxl.html</b></a>, <a href="pjtoppm.html"><b>pjtoppm.html</b></a>, <A href="pamdepth.html"><b>pamdepth</b></A>, <A HREF="pnmremap.html"><b>pnmremap</b></A>, <A HREF="pamseq.html"><b>pamseq</b></A>, <A HREF="ppmdither.html"><b>ppmdither</b></A>, <a href="pbmtolj.html"><b>pbmtolj.html</b></a>, <a href="ppmtopj.html"><b>ppmtolj</b></a>, <a href="thinkjettopbm.html"><b>thinkjettopbm</b></a>, <A HREF="ppm.html"><b>ppm</b></A> <A NAME="lbAI"> </A> <H2>AUTHOR</H2> Copyright (C) 1991 by Christos Zoulas. <HR> <A NAME="index"> </A> <H2>Table Of Contents</H2> <UL> <LI><A HREF="#lbAB">NAME</A> <LI><A HREF="#lbAC">SYNOPSIS</A> <LI><A HREF="#lbAD">DESCRIPTION</A> <LI><A HREF="#lbAE">OPTIONS</A> <LI><A HREF="#lbAG">SEE ALSO</A> <LI><A HREF="#lbAI">AUTHOR</A> </UL> </BODY> </HTML>