1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it! If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pbmtolj User Manual" 0 "23 April 2005" "netpbm documentation"
.SH NAME
pbmtolj - convert a PBM image to HP LaserJet format
.UN synopsis
.SH SYNOPSIS
\fBpbmtolj\fP
[\fB-resolution\fP \fIN\fP]
[\fB-float\fP]
[\fB-noreset\fP]
[\fB-packbits\fP]
[\fB-delta\fP]
[\fB-compress\fP]
[\fIpbmfile\fP]
[\fB-copies\fP \fIN\fP]
.PP
You can abbreviate any option to its shortest unique prefix.
.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpbmtolj\fP reads a PBM image as input and produces HP LaserJet
data as output. You can send this data to a LaserJet or DeskJet printer
(at least some of them).
.PP
Each pixel in the input PBM image becomes one dot in the printed
output. Therefore, you must make sure the width and height of the
input are appropriate for the print resolution you choose and the
print area you want. E.g. if you print at 300 dpi and want the image
to print as 8 inches by 10, you must supply a PBM that is 2400
pixels wide by 3000 pixels high. You can adjust the size of the
input with \fBpamscale\fP, \fBpamstretch\fP, \fBpbmreduce\fP, or
\fBpamenlarge\fP.
.PP
The input may be a multi-image PBM stream. Each input image
becomes a page of output. But before Netpbm 10.28 (June 2005), images
after the first one are ignored.
.PP
Note that there is no ljtopbm tool.
.UN options
.SH OPTIONS
.PP
In addition to the options common to all programs based on libnetpbm
(most notably \fB-quiet\fP, see
.UR index.html#commonoptions
Common Options
.UE
\&), \fBpbmtolj\fP recognizes the following
command line options:
.TP
\fB-resolution\fP
Specifies the resolution of the output device, in dpi. Another
way to look at this is as a declaration of the resolution of the input
image (PBM images don't have inherent resolution). Typical values are
75, 100, 150, 300, and 600. The default is 75.
.TP
\fB-float\fP
Suppresses positioning commands. By default, \fBpbmtolj\fP
places the sequence \fIESC & l 0 E\fP in the output, which means
to force the top margin to zero. With \fB-float\fP, \fBpbmtolj\fP
omits that command.
.TP
\fB-noreset\fP
Prevents pbmtolj from writing the reset sequences to the beginning
and end of the output file.
.TP
\fB-packbits\fP
Enables use of TIFF packbits compression.
.TP
\fB-delta\fP
Enables use of delta-between-rows compression.
.TP
\fB-compress\fP
Enables use of both TIFF packbits, and delta-between-rows compression.
.TP
\fB-copies\fP
Specifies the number of copies. The default is 1. This option
controls the "number of copies" printer control;
\fBpbmtolj\fP generates only one copy of the image.
.UN seealso
.SH SEE ALSO
.BR "\fBpnmtopclxl\fP" (1)\c
\&,
.BR "\fBppmtolj\fP" (1)\c
\&,
.BR "\fBpjtoppm\fP" (1)\c
\&,
.BR "\fBppmtopj\fP" (1)\c
\&,
.BR "\fBppmtopjxl\fP" (1)\c
\&,
.BR "\fBthinkjettopbm\fP" (1)\c
\&,
.BR "pbm" (5)\c
\&
.UN author
.SH AUTHOR
Copyright (C) 1988 by Jef Poskanzer and Michael Haberler.
\fB-float\fP and \fB-noreset\fP options added by Wim Lewis.
\fB-delta\fP, \fB-packbits\fP, and \fB-compress\fP options added by
Dave Platt.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source. The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pbmtolj.html
.PP
|