1Pbmtolj User Manual(0) Pbmtolj User Manual(0)
2
3
4
6 pbmtolj - convert a PBM image to HP LaserJet format
7
8
10 pbmtolj [-resolution N] [-float] [-noreset] [-packbits] [-delta] [-com‐
11 press] [pbmfile] [-copies N]
12
13
15 This program is part of Netpbm(1).
16
17 pbmtolj reads a PBM image as input and produces HP LaserJet data as
18 output. You can send this data to a LaserJet or DeskJet printer (at
19 least some of them).
20
21 Each pixel in the input PBM image becomes one dot in the printed out‐
22 put. Therefore, you must make sure the width and height of the input
23 are appropriate for the print resolution you choose and the print area
24 you want. E.g. if you print at 300 dpi and want the image to print as
25 8 inches by 10, you must supply a PBM that is 2400 pixels wide by 3000
26 pixels high. You can adjust the size of the input with pamscale, pam‐
27 stretch, pbmreduce, or pamenlarge.
28
29 The input may be a multi-image PBM stream. Each input image becomes a
30 page of output. But before Netpbm 10.28 (June 2005), images after the
31 first one are ignored.
32
33 Note that there is no ljtopbm tool.
34
35
37 -resolution
38 Specifies the resolution of the output device, in dpi. Another
39 way to look at this is as a declaration of the resolution of the
40 input image (PBM images don't have inherent resolution). Typi‐
41 cal values are 75, 100, 150, 300, and 600. The default is 75.
42
43
44 -float Suppresses positioning commands. By default, pbmtolj places the
45 sequence ESC & l 0 E in the output, which means to force the top
46 margin to zero. With -float, pbmtolj omits that command.
47
48
49 -noreset
50 Prevents pbmtolj from writing the reset sequences to the begin‐
51 ning and end of the output file.
52
53
54 -packbits
55 Enables use of TIFF packbits compression.
56
57
58 -delta Enables use of delta-between-rows compression.
59
60
61 -compress
62 Enables use of both TIFF packbits, and delta-between-rows com‐
63 pression.
64
65
66 -copies
67 Specifies the the number of copies. The default is 1. This
68 option controls the 'number of copies' printer control; pbmtolj
69 generates only one copy of the image.
70
71
72
73 You can abbreviate any option to its shortest unique prefix.
74
75
77 pnmtopclxl(1), ppmtolj(1), pjtoppm(1), ppmtopj(1), thinkjettopbm(1),
78 pbm(1)
79
80
82 Copyright (C) 1988 by Jef Poskanzer and Michael Haberler. -float and
83 -noreset options added by Wim Lewis. -delta, -packbits, and -compress
84 options added by Dave Platt.
85
86
87
88netpbm documentation 23 April 2005 Pbmtolj User Manual(0)