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