Linux Commands Examples

A great documentation place for Linux commands


convert a portable bitmap into HP LaserJet format


pbmtolj [-resolution N] [-float] [-noreset] [-packbits] [-delta] [-compress] [pbmfile] [-copies N]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


Reads a PBM image as input. Produces HP LaserJet data as output.

Note that there is no ljtopbm tool.



Specifies the resolution of the output device, in dpi. Typical values are 75, 100, 150, 300, and 600. The default is 75.


Suppresses positioning information. The default is to write the sequence ESC & l 0 E to the output file.


Prevents pbmtolj from writing the reset sequences to the beginning and end of the output file.


Enables use of TIFF packbits compression.


Enables use of delta-between-rows compression.


Enables use of both TIFF packbits, and delta-between-rows compression.


Specifies the the number of copies. The default is 1. This option controls the "number of copies" printer control; pbmtolj generates only one copy of the image.

All flags can be abbreviated to their shortest unique prefix.

see also



Copyright (C) 1988 by Jef Poskanzer and Michael Haberler. -float and -noreset options added by Wim Lewis. -delta, -packbits, and -compress options added by Dave Platt.

How can this site be more helpful to YOU ?

give  feedback