summary refs log tree commit diff
path: root/ppmtopjxl.html
blob: f58ed8e5098e18212dcc4b1466cee134f632421b (plain) (blame)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Ppmtopjxl User Manual</title></head>
<body>
<h1>ppmtopjxl</h1>
Updated: 14 March 1991
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>

ppmtopjxl - convert a PPM image to an HP PaintJet XL PCL file

<h2 id="synopsis">SYNOPSIS</h2>

ppmtopjxl 
[<b>-nopack</b>] 
[<b>-gamma</b> <i>n</i>] 
[<b>-presentation</b>] 
[<b>-dark</b>] 
[<b>-diffuse</b>] 
[<b>-cluster</b>] 
[<b>-dither</b>] 
[<b>-xshift</b> <i>s</i>] 
[<b>-yshift</b> <i>s</i>] 
[<b>-xshift</b> <i>s</i>] 
[<b>-yshift</b> <i>s</i>] 
[{<b>-xsize</b>|<b>-width</b>|<b>-xscale</b>} <i>s</i>] 
[{<b>-ysize</b>|<b>-height</b>|<b>-yscale</b>} <i>s</i>] 
[<i>ppmfile</i>]

<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>ppmtopjxl</b> reads a PPM image as input and produces a PCL file
suitable for printing on an HP PaintJet XL printer as output.

<p>The generated file is not suitable for printing on a normal
PrintJet printer.  The <b>-nopack</b> option generates a file which
does not use the normal TIFF 4.0 compression method and thus might
be printable on a normal PaintJet printer (not an XL).

<h2 id="options">OPTIONS</h2>

<p>In addition to the options common to all programs based on libnetpbm
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions">
Common Options</a>), <b>ppmtopjxl</b> recognizes the following
command line options:

<dl compact>

<dt><b>-nopack</b>
<dd><p>Generate a file which does not use the normal TIFF 4.0 compression
method. This file might be printable on a normal PaintJet printer
(not an XL).

<dt><b>-gamma</b>

<dd><p>Set the gamma correction for the image. The useful range for the
PaintJet XL is approximately 0.6 to 1.5.

<dt><b>-dither</b>, <b>-cluster</b>, <b>-diffuse</b>

<dd><p>Alter the rendering algorithm used for images.  These options
select ordered dithering, clustered ordered dithering, or error
diffusion respectively.

<dt><b>-dark</b>

<dd><p>Enhance images with a dark background when they are reduced in size.

<dt><b>-presentation</b>

<dd><p>Turn on presentation mode, in which two passes are made over the
paper to increase ink density.  You should use this only for images where
quality is critical.

<dt><b>-xsize</b>, <b>-ysize</b>

<dd><p>Resize the image.  The parameter to either of these options is
interpreted as the number of dots to set the width or height to, but
you may append an optional dimension of `<b>pt</b>' (points),
`<b>dp</b>' (decipoints), `<b>in</b>' (inches), or `<b>cm</b>'
(centimetres).  If you specify only one dimension, <b>ppmtopjxl</b>
will scale the other one appropriately.

<dt><b>-width</b>, <b>-height</b>

<dd><p>Synonyms of <b>-xsize</b> and <b>-ysize</b>.

<dt><b>-xscale</b>, <b>-yscale</b>

<dd><p>Alternatives to <b>-xsize</b> and <b>-ysize</b>.  Scale the
image by a simple factor.

<dt><b>-xshift</b>, <b>-yshift</b>

<dd><p>Shift the image on the page.  These move the image the specified
dimensions right and down.

</dl>

<h2 id="seealso">SEE ALSO</h2>

<a href="pnmtopclxl.html"><b>pnmtopclxl</b></a>,
<a href="pbmtolj.html"><b>pbmtolj</b></a>,
<a href="ppmtolj.html"><b>ppmtolj</b></a>,
<a href="ppmtopj.html"><b>ppmtopj</b></a>,
<a href="thinkjettopbm.html"><b>thinkjettopbm</b></a>,
<a href="ppm.html">ppm</a>

<h2 id="author">AUTHOR</h2>

<p>Angus Duggan

<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#author">AUTHOR</a>
</ul>
</body>
</html>