convert a portable pixmap to an HP PaintJet file
see also :
pnmdepth - ppmquant - ppmdither
[-gamma val] [-xpos val] [-ypos
val] [-back dark|lite] [-rle]
add an example, a script, a trick and tips
no example yet ...
... Feel free to add your own example above to help other Linux-lovers !
portable pixmap as input and converts it into a format
suitable to be printed by an HP PaintJet printer.
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 get this by sending the input
file through ppmquant -map with a map file such as:
0 0 0 255 0 0 0 255 0 0 0 255
255 255 0 255 0 255 0 255 255 255 255 255
Or else you could use use ppmdither -red 2 -green 2 -blue
Run length encode the image.
(This can result in larger images)
Enhance the foreground by indicating if the background
is light or dark compated to the foreground.
Use an internal rendering algorithm (default
Gamma correct the image using the integet parameter as a
gamma (default 0).
Center the image to an 8.5 by 11 page
Move by pos pixels in the x direction.
Move by pos pixels in the y direction.
HP PaintJet XL Color Graphics Printer User’s Guide
Most of the
options have not been tested because of the price of the
ppmquant , ppmdither , ppm
1991 by Christos Zoulas.