Debian Codegraph @

doc/FAQ.html

raw symbols SCIP
1 <html>
2 <head>
3 <title>The Gutenprint FAQ</title>
4 </head>
5
6 <body>
7 <h2>Gutenprint FAQ</h2>
8
9 <ol>
10
11 <p><li><h3>Is it only for Gimp?</h3>
12
13 <p>No, it can be used for many printing needs. Gimp-print started out
14 as a driver for The Gimp, the well known image manipulation program.
15 Early in development versions for Ghostscript and later CUPS were
16 added. The emphasis is still on quality color printing, though
17 performance gets a lot of attention these days.
18
19 <p><li><h3>I cannot install it, it complains about missing Gimp files</h3>
20
21 <ul>
22
23 <p><li>If you have the Gimp installed on your system, you probably
24 have the user package, but not the development package, installed.
25 You will need to install the latter from your installation media; it's
26 usually named gimp-devel.
27
28 <p><li>If you do have the Gimp installed, and you've installed the
29 gimp-devel package, you may also need to install the gtk-devel and
30 glib-devel packages.
31
32 <p><li>If you've installed the Gimp from source, you may need to run
33 <tt>ldconfig</tt> as root. The installation procedure for the Gimp
34 doesn't run ldconfig, which is needed on many systems to tell the
35 system about the shared libraries that are installed. If you don't
36 understand this, don't worry; just do it. If you're nervous about
37 doing that, reboot.
38
39 <p><li>If you don't have the Gimp installed on your system, and just
40 want to compile Gutenprint for CUPS (for example), you need to pass
41 <tt>configure</tt> the option <tt>--with-gimp=no</tt>, so it won't try
42 to look for the Gimp and fail.
43
44 </ul>
45
46 <p><li><h3>What is the difference between B/W, Line art, solid color and
47 Photo mode?</h3>
48
49 <p>Photo mode does a lot of work to make colors as similar to screen
50 presentation as possible. This takes time. Line art is faster, but
51 colors may be off. Solid Colors is somewhere in between. B/W mode
52 does not use color ink when printing, and is much faster.
53
54 <p><li><h3>I selected my printer and it doesn't work at all!</h3>
55
56 <p>Please check your printing system (lpd, CUPS, LPRng, etc.)
57 configuration. You may also have a problem with your parallel port
58 or USB connection, so take a look at <tt>/var/log/messages</tt> (or
59 wherever your system logs are kept).
60
61 <p><li><h3>I selected my printer and it simply feeds paper without
62 printing</h3>
63
64 <p>Many Epson printers (in particular) do this if they encounter an
65 error in the command stream. This usually indicates a bug in
66 Gutenprint; please report it to <a
67 mailto="[email protected]">[email protected]</a>
68 or via the bug tracking system at <a
69 href="http://gimp-print.sourceforge.net">http://gimp-print.sourceforge.net</a>.
70 Make sure you report the printer you have and all of the settings that
71 you used. But first, triple check that you're using the right printer
72 model!
73
74 <p><li><h3>I selected my printer, and it prints the image badly
75 distorted, or at completely the wrong place on the page</h3>
76
77 <p>This usually indicates a bug in the package. Please report it as
78 described above. Also as described above, make sure you've set the
79 right printer.
80
81 <p><li><h3>I selected the right printer and nonsense, or only part of
82 the page, gets printed</h3>
83
84 <p>Printers for which support just has been added may not have been
85 tested, as the developers do not have access to the printer. It is
86 worth trying different settings. For example, change the resolution to
87 a mainstream value as used on that printer. Also photo mode is better
88 tested than the optimized versions. When you find out what works and
89 what doesn't, file a bug report.
90
91 <p>One common cause of this is not using "raw" mode when printing from
92 the Gimp plugin. Depending upon your printing system, you will need
93 to use either <tt>-l</tt> (traditional BSD lpd), <tt>-oraw</tt> (CUPS
94 lpr), or <tt>-d</tt> (most versions of System V lp, including CUPS).
95 Otherwise the printing system attempts to interpret the output as
96 something else, and tries to apply a filter to it to convert it to
97 something else (usually PostScript).
98
99 <p>Another less common cause of this (it usually causes other
100 symptoms, like printing only part of a page) is lack of space
101 somewhere. This is most commonly an issue when using the Gimp Print
102 plugin. The plugin creates a huge temporary file that gets sent to
103 the printing system. The size of the file varies; it's proportional
104 to the page size and the resolution setting chosen. Full-page, high
105 resolution photographs can result in 100 MB of output. The system may
106 need to have 2 or 3 copies of this file for short periods of time. If
107 your /tmp, /var, or wherever your spooler keeps its temporary files is
108 too small, you'll have problems.
109
110 <p>Finally, problems with your parallel or USB port may be the cause
111 of problems here. Certain Epson printers in particular are known to
112 be very sensitive to the quality of connecting cables, and may have
113 trouble with long or low quality cables, or USB hubs. If nothing else
114 works, and you're certain you've tried everything else, try a better
115 cable or a direct USB connection.
116
117 <p><li><h3>What's up with the HP Deskjet 1200?</h3>
118
119 <p>HP had sold two printers with the 1200 model designation. The old
120 version is 300 DPI and has a heating element to dry the ink. It was
121 manufactured around 1990. The new version is of 2000 vintage and has
122 higher resolution. The one supported by this package is the new
123 one???
124
125 <p><li><h3>I selected the right printer and the quality is lousy</h3>
126
127 <p>Try selecting a different resolution or quality setting. Especially
128 lower resolutions have a problem putting enough ink on paper. Also,
129 use Photo mode. If you find settings that do not work at all (you get
130 garbage or no output, but other settings work), report these as bugs.
131 High resolutions should produce a similar (but smoother) result than
132 medium resolutions. Resolutions under a certain printer dependent
133 figure are seen as draft-only - for example lower than 360 DPI on
134 Epsons with standard paper or lower than 300 DPI on HP.
135
136 <p>Also make sure that you have the right kind of paper selected.
137 Selecting plain paper when you're printing on high quality photo paper
138 is certain to result in a light, grainy image. Selecting photo paper
139 when you're printing on plain paper will result in a dark, muddy image
140 that bleeds through the paper. There are differences between
141 different kinds of paper; you may need to tweak the density and color
142 settings slightly.
143
144 <p>In addition, certain printers don't work well on certain kinds of
145 paper. Epson printers work well on Epson papers, but don't work
146 well on many third party papers (particularly the high quality photo
147 papers made by other vendors). This isn't a conspiracy to lock you
148 into their paper, it's because they've formulated the paper and ink to
149 work well together.
150
151 <p><li><h3><tt>escputil -i</tt> or <tt>escputil -d</tt> fails as follows:</h3>
152
153 <p><pre>
154 % escputil -r /dev/lp0 -i
155
156 [ ... license info omitted ... ]
157
158 Cannot read from /dev/lp0: Invalid argument
159 </pre>
160
161 <p>You need to rebuild your kernel with CONFIG_PRINTER_READBACK
162 enabled.
163
164 <p><li><h3>I tried to test my Epson printer by 'cat .cshrc > /dev/lp0'
165 and nothing prints!!!???</h3>
166
167 <p>The classic test of printer connectivity -- sending an ASCII file
168 to it -- doesn't work on many Epson printers out of the box (or after
169 printing from Windows or Macintosh). Epson printers from the Stylus
170 Color 740 and newer use a special "packet mode" in which they do not
171 recognize standard commands or ASCII text. They must be sent a
172 special sequence that takes them out of packet mode. The command
173
174 <p><pre>escputil -u -s -r /dev/lp0</pre>
175
176 <p>will take the printer out of packet mode and enable you to print to
177 it. Of course, as soon as you've read back status from the printer,
178 you know it's working (although if you're unable to read status out of
179 the printer, you might have a different problem; see above).
180
181 <p>Printing to your printer from Gutenprint, whether you use the Print
182 plugin or the CUPS driver, will also take the
183 printer out of packet mode. But then again, if you successfully print
184 to your printer, you know it's working, so why worry? If you're
185 trying to test your spooler, though, the escputil trick above will do
186 it. Just make sure that /dev/lp0 is the right device; if it isn't,
187 substitute whatever is.
188
189 <p><em>Note:</em> this does not apply to printers prior to the 740
190 (such as the Stylus Photo EX, Stylus Color 850, or anything even
191 older). Those printers are always capable of printing ASCII text, and
192 don't have packet mode. You can read status from them, but you must
193 leave off the '-u' option.
194
195 <p><li><h3>My USB-connected Epson Stylus printer won't work with
196 {Free,Net,Open}BSD!</h3>
197
198 <p>By default, the BSD device driver for the USB printer device (usually
199 ulpt0) does a prime, or USB bus reset, when the device is opened. This
200 causes the printer to reset itself (one can hear the print head moving back
201 and forth when this happens) and lose sync. After this the printer
202 won't go into graphics mode and instead spews characters all over you
203 expensive photo paper. This has been observed on the Stylus Photo
204 870; it likely exists with other USB-connected Epson Stylus printers.
205
206 <p>The fix is to use the "unlpt0" device instead of "ulpt0". The driver
207 doesn't perform the USB prime when unlpt is opened. If this device
208 doesn't exist on your system you can create it with
209
210 <p><pre>mknod unlpt0 c 113 64 root wheel</pre>
211
212 <p>in the /dev directory.
213
214 <p><li><h3>I try to print with StarOffice and it doesn't print
215 correctly!</h3>
216
217 <p>If you use CUPS, and your prints from StarOffice come out
218 incorrectly (particularly at low resolution), try the following. This
219 assumes a network installation of StarOffice 5.2.
220
221 <ol>
222
223 <p><li>Ensure that <tt>root</tt> does not have a .Xpdefaults file (if
224 it does, the procedure below will edit root's version rather than the
225 system-wide version in <tt>.../office52/share/xp3/Xpdefaults</tt>).
226
227 <p><li>As root, start <tt>.../office52/program/spadmin</tt>. This is
228 the StarOffice printer administration program.
229
230 <p><li>Click on <b>Install New Driver</b>. For the <b>Driver
231 directory</b>, select your CUPS PPD directory. This is usually
232 <tt>/etc/cups/ppd</tt>. This should list the names of all of the
233 drivers you have installed.
234
235 <p><li>If there are no drivers visible, you may need to give the .ppd
236 files names ending in .PS. The following script will accomplish this:
237
238 <p><pre>
239 # cd /etc/cups/ppd
240 # for f in * ; do
241 > ln -s $f `echo $f | sed 's/ppd$/PS/'`
242 > done
243 </pre>
244
245 <p>Following this, restart <tt>spadmin</tt> and click on <b>Install
246 New Driver</b>. When you select your CUPS PPD directory, you will
247 find the necessary drivers listed.
248
249 <p><li>Select the drivers you want StarOffice to know about and click
250 OK.
251
252 <p><li>If you have been using the generic Postscript printer, remove
253 all of your old queues.
254
255 <p><li>Select the appropriate new driver(s) and click <b>Add New
256 Printer</b>.
257
258 <p><li>Select the appropriate printer queue and click <b>Connect</b>
259 to connect it to the printer queue of your choice.
260
261 </ol>
262
263 <p>You can now set up appropriate options for this printer. Note that
264 you can create multiple queues with different settings, for example
265 one for draft mode and one for high quality.
266
267 <p><li><h3>I'm printing through Samba, and my printer prints
268 garbage!</h3>
269
270 <p>There are a number of Samba configuration issues that cause
271 problems; a common problem is translation from UNIX newlines (\n) to
272 Windows newlines (\r\n). It's important to ensure that sending raw
273 data, with no translation, to the printer.
274
275 </ol>
276
277 </body></html>