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