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
134
135
136
137
138
139
140
141
|
\
.\" 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 "Ppmtopj User Manual" 0 "13 July 1991" "netpbm documentation"
.SH NAME
ppmtopj - convert a PPM image to an HP PaintJet file
.UN synopsis
.SH SYNOPSIS
\fBppmtopj\fP
[\fB-gamma\fP \fIval\fP]
[\fB-xpos\fP \fIval\fP]
[\fB-ypos\fP \fIval\fP]
[\fB-back\fP {\fBdark\fP|\fBlite\fP}]
[\fB-rle\fP]
[\fB-center\fP]
[\fB-render\fP {
\fBnone\fP |
\fBsnap\fP |
\fBbw\fP |
\fBdither\fP |
\fBdiffuse\fP |
\fBmonodither\fP |
\fBmonodiffuse\fP |
\fBclusterdither\fP |
\fBmonoclusterdither\fP
}]
[\fIppmfile\fP]
.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBppmtopj\fP reads a PPM image as input and converts it into a
format suitable to be printed by an HP PaintJet printer.
.PP
For best results, the input file should be in 8-color RGB form;
i.e. it should have only
the 8 binary combinations of full-on and full-off primaries.
You could convert your input to this format like this:
.nf
pamseq 3 1 testimg.ppm >8color.pam
pnmremap -map 8color.pam testimg.pam | ppmtopj
.fi
Or you could use
.nf
ppmdither -red 2 -green 2 -blue 2
.fi
.UN options
.SH OPTIONS
.TP
\fB-rle\fP
Run length encode the image.
(This can result in larger images)
.TP
\fB-back\fP
Enhance the foreground by indicating if the background is light or
dark compared to the foreground.
.TP
\fB-render\fP \fIalg\fP
Use an internal rendering algorithm (default dither).
.TP
\fB-gamma\fP \fIint\fP
Gamma correct the image using the integer \fIint\fP as a gamma (default 0).
.TP
\fB-center\fP
Center the image to an 8.5 by 11 page
.TP
\fB-xpos\fP \fIpos\fP
Move by \fIpos\fP pixels in the x direction.
.TP
\fB-ypos\fP \fIpos\fP
Move by \fIpos\fP pixels in the y direction.
.UN seealso
.SH SEE ALSO
HP PaintJet XL Color Graphics Printer User's Guide,
.BR "\fBpnmtopclxl\fP" (1)\c
\&,
.BR "\fBpjtoppm\fP" (1)\c
\&,
.BR "\fBpamdepth\fP" (1)\c
\&,
.BR "\fBpnmremap\fP" (1)\c
\&,
.BR "\fBpamseq\fP" (1)\c
\&,
.BR "\fBppmdither\fP" (1)\c
\&,
.BR "\fBpbmtolj\fP" (1)\c
\&,
.BR "\fBppmtolj\fP" (1)\c
\&,
.BR "\fBppmtopjxl\fP" (1)\c
\&,
.BR "\fBthinkjettopbm\fP" (1)\c
\&,
.BR "\fBppm\fP" (5)\c
\&
.UN author
.SH AUTHOR
Copyright (C) 1991 by Christos Zoulas.
.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/ppmtopj.html
.PP
|