1 |
<?xml version='1.0' encoding='utf-8'?><section xmlns="http://docbook.org/ns/docbook" xmlns:ns5="http://www.w3.org/1998/Math/MathML" xmlns:ns4="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:ns2="http://www.w3.org/1999/xlink" xmlns:ns="http://docbook.org/ns/docbook" version="5.0" xml:id="system-config-printer"> |
2 |
<!-- Language proof JohnR 2012/08/28 --> |
3 |
|
4 |
<!-- 2012-09-03 marja: made the link to Complete the installation process work (I hope) |
5 |
Lebarhon : added All in one devices in the chapter "Hewlett-Packard printers" 12/13--> |
6 |
|
7 |
<info> |
8 |
<title xml:id="system-config-printer-ti1">Install and configure a |
9 |
printer</title> |
10 |
|
11 |
<subtitle>system-config-printer</subtitle> |
12 |
</info> |
13 |
|
14 |
<mediaobject> |
15 |
<imageobject> |
16 |
<imagedata revision="1" align="center" xml:id="system-config-printer-im1" format="PNG" fileref="system-config-printer.png"/> |
17 |
</imageobject> |
18 |
</mediaobject> |
19 |
|
20 |
<section xml:id="introduction"> |
21 |
<title xml:id="introduction-ti1">Introduction</title> |
22 |
|
23 |
<para>Printing is managed on Mageia by a server named CUPS. It has its own |
24 |
<link ns2:title="CUPS" ns2:href="http://localhost:631">configuration |
25 |
interface</link> which is accessible via an Internet browser, but Mageia |
26 |
offers its own tool for installing printers called system-config-printer |
27 |
which is shared with other distributions such as Fedora, Mandriva, Ubuntu |
28 |
and openSUSE.</para> |
29 |
|
30 |
<para>You should enable the non-free repository before proceeding with the |
31 |
installation, because some drivers may only be available in this |
32 |
way.</para> |
33 |
|
34 |
<para>Printer installation is carried out in the |
35 |
<guilabel>Hardware</guilabel> section of the Mageia Control Centre. Select |
36 |
the <guilabel>Configure printing and scanning</guilabel> tool<footnote> |
37 |
<para>You can start this tool from the command line, by typing |
38 |
<emphasis>system-config-printer</emphasis>. The root password will be |
39 |
asked for.</para> |
40 |
</footnote>.</para> |
41 |
|
42 |
<para>MCC will ask for the installation two packages:</para> |
43 |
|
44 |
<blockquote> |
45 |
<para>task-printing-server</para> |
46 |
|
47 |
<para>task-printing-hp</para> |
48 |
</blockquote> |
49 |
|
50 |
<para>It is necessary to accept this installation to continue. Up to 230MB |
51 |
of dependencies are needed.</para> |
52 |
|
53 |
<para>To add a printer, choose the "Add" printer button. The system will |
54 |
try to detect any printers and the ports available. The screenshot |
55 |
displays a printer connected to a parallel port. If a printer is detected, |
56 |
such as a printer on a USB port, it will be displayed on the first line. |
57 |
The window will also attempt to configure a network printer.</para> |
58 |
</section> |
59 |
|
60 |
<section xml:id="automatic"> |
61 |
<title>Automatically detected printer</title> |
62 |
|
63 |
<para>This usually refers to USB printers. The utility automatically finds |
64 |
the name of the printer and displays it. Select the printer and then click |
65 |
"Next". If there is a known driver associated for the printer, it will be |
66 |
automatically installed. If there is more than one driver or no known |
67 |
drivers, a window will ask you to select or furnish one, as explained in |
68 |
the next paragraph. Continue with <xref linkend="terminate"/></para> |
69 |
</section> |
70 |
|
71 |
<section xml:id="non_automatic"> |
72 |
<title>No automatically detected printer</title> |
73 |
|
74 |
<mediaobject> |
75 |
<imageobject> |
76 |
<imagedata fileref="printer3.png"/> |
77 |
</imageobject> |
78 |
</mediaobject> |
79 |
|
80 |
<para>When you select a port, the system loads a driver list and displays |
81 |
a window to select a driver. The choice can be made through one of the |
82 |
following options.</para> |
83 |
|
84 |
<itemizedlist> |
85 |
<listitem> |
86 |
<para>Select printer from database</para> |
87 |
</listitem> |
88 |
</itemizedlist> |
89 |
|
90 |
<itemizedlist> |
91 |
<listitem> |
92 |
<para>provide PPD file</para> |
93 |
</listitem> |
94 |
</itemizedlist> |
95 |
|
96 |
<itemizedlist> |
97 |
<listitem> |
98 |
<para>search for a driver to download</para> |
99 |
</listitem> |
100 |
</itemizedlist> |
101 |
|
102 |
<para>By selecting from the database, the window suggests a printer |
103 |
manufacturer first, and then a device and a driver associated with it. If |
104 |
more than one driver is suggested, select one which is recommended, unless |
105 |
you have encountered some problems with that one before, in this case |
106 |
select the one which know to work.</para> |
107 |
</section> |
108 |
|
109 |
<section xml:id="terminate"> |
110 |
<title>Complete the installation process</title> |
111 |
|
112 |
<para>After the driver selection, a window requests some information which |
113 |
will allow the system to designate and discover the printer. The first |
114 |
line is the name under which the device will appear in applications in the |
115 |
list of available printers. The installer then suggests printing a test |
116 |
page. After this step, the printer is added and appears in the list of |
117 |
available printers.</para> |
118 |
</section> |
119 |
|
120 |
<section xml:id="network_printer"> |
121 |
<title>Network printer</title> |
122 |
|
123 |
<para>Network printers are printers that are attached directly to a wired |
124 |
or wireless network, that are attached to a printserver or that are |
125 |
attached to another workstation that serves as printserver.</para> |
126 |
|
127 |
<note> |
128 |
<para>Often, it is better to configure the DHCP server to always |
129 |
associate a fixed IP address with the printer's MAC-address. Of course |
130 |
that should be the same as the IP address the printer of printserver is |
131 |
set to, if it has a fixed one.</para> |
132 |
</note> |
133 |
|
134 |
<para>The printer's Mac-address is a serial number given to the printer or |
135 |
printserver or computer it is attached to, that can be obtained from a |
136 |
configuration page printed by the printer or which may be written on a |
137 |
label on the printer or printserver. If your shared printer is attached to |
138 |
a Mageia system, you can run <emphasis><code>ifconfig</code></emphasis> on |
139 |
it as root to find the MAC-address. It is the sequence of numbers and |
140 |
letters after "HWaddr".</para> |
141 |
|
142 |
<para>You can add your network printer by choosing the protocol it uses to |
143 |
talk to your computer over the network. If you don't know which protocol |
144 |
to choose, you can try the <guilabel>Network Printer</guilabel> - |
145 |
<guilabel>Find Network Printer</guilabel> option in the |
146 |
<guilabel>Devices</guilabel> menu and give the IP address of the printer |
147 |
in the box on the right, where it says "host".</para> |
148 |
|
149 |
<para>If the tool recognises your printer or printserver, it will propose |
150 |
a protocol and a queue, but you can choose a more appropriate one from the |
151 |
list below it or give the correct queue name if it isn't in the |
152 |
list.</para> |
153 |
|
154 |
<para>Look in the documentation that came with your printer or printserver |
155 |
to find which protocol(s) it supports and for possible specific queue |
156 |
names.</para> |
157 |
</section> |
158 |
|
159 |
<section xml:id="network_printing_protocols"> |
160 |
<title>Network printing protocols</title> |
161 |
|
162 |
<para>One current technique is one developed by Hewlett-Packard and known |
163 |
as JetDirect. It allows access to a printer directly connected to the |
164 |
network via an Ethernet port. You must know the IP-address at which the |
165 |
printer is known on the network. This technique is also used inside some |
166 |
ADSL-routers which contain an USB port to connect the printer. In this |
167 |
case, the IP-address is that of the router. Note that the tool "Hp Device |
168 |
manager" can manage dynamically configured IP-adress, setting an URI like |
169 |
<emphasis>hp:/net/<name-of-the-printer></emphasis> . In this case, |
170 |
fixed IP-adress is not required.</para> |
171 |
|
172 |
<para>Choose the option <guilabel>AppSocket/HP JetDirect</guilabel> as the |
173 |
protocol and set the address in <guilabel>Host:</guilabel>, do not change |
174 |
the <guilabel>Port Number</guilabel>, unless you know that it needs to be |
175 |
changed. After the selection of the protocol, the selection of the driver |
176 |
is the same as above.</para> |
177 |
|
178 |
<mediaobject> |
179 |
<imageobject> |
180 |
<imagedata fileref="printer5.png"/> |
181 |
</imageobject> |
182 |
</mediaobject> |
183 |
|
184 |
<para>The other protocols are:</para> |
185 |
|
186 |
<itemizedlist> |
187 |
<listitem> |
188 |
<para><emphasis>Internet Printing Protocol (ipp)</emphasis>: a printer |
189 |
which can be accessed on a TCP/IP network via the IPP protocol, for |
190 |
example a printer connected to a station using CUPS. This protocol may |
191 |
also be used also by some ADSL-routers.</para> |
192 |
</listitem> |
193 |
</itemizedlist> |
194 |
|
195 |
<itemizedlist> |
196 |
<listitem> |
197 |
<para><emphasis>Internet Printing Protocol (https): </emphasis>the |
198 |
same as ipp, but using http transport and with TLS secured protocol. |
199 |
The port has to be defined. By default, the port 631 is used.</para> |
200 |
</listitem> |
201 |
</itemizedlist> |
202 |
|
203 |
<itemizedlist> |
204 |
<listitem> |
205 |
<para><emphasis>Internet Printing Protocol (ipps): </emphasis>the same |
206 |
as ipp, but with TLS secured protocol.</para> |
207 |
</listitem> |
208 |
</itemizedlist> |
209 |
|
210 |
<itemizedlist> |
211 |
<listitem> |
212 |
<para><emphasis>LPD/LPR host or Printer</emphasis>: a printer which |
213 |
can be accessed on a TCP/IP network via the LPD protocol, for example |
214 |
a printer connected to a station using LPD.</para> |
215 |
</listitem> |
216 |
</itemizedlist> |
217 |
|
218 |
<itemizedlist> |
219 |
<listitem> |
220 |
<para><emphasis>Windows printer via SAMBA</emphasis>: a printer |
221 |
connected to a station running Windows or a SMB server and |
222 |
shared.</para> |
223 |
</listitem> |
224 |
</itemizedlist> |
225 |
|
226 |
<para>The URI can also be added directly. Here are some examples on how to |
227 |
form the URI:</para> |
228 |
|
229 |
<itemizedlist> |
230 |
<listitem> |
231 |
<para>Appsocket</para> |
232 |
|
233 |
<para><uri>socket://ip-address-or-hostname:port </uri></para> |
234 |
</listitem> |
235 |
|
236 |
<listitem> |
237 |
<para>Internet Printing Protocol (IPP)</para> |
238 |
|
239 |
<para><uri>ipp://ip-address-or-hostname:port-number/resource</uri></para> |
240 |
|
241 |
<para><uri>http://ip-address-or-hostname:port-number/resource</uri></para> |
242 |
</listitem> |
243 |
|
244 |
<listitem> |
245 |
<para>Line Printer Daemon (LPD) Protocol</para> |
246 |
|
247 |
<para><uri>lpd://username@ip-address-or-hostname/queue</uri></para> |
248 |
</listitem> |
249 |
</itemizedlist> |
250 |
|
251 |
<para>Additional information can be found in the <link ns2:href="http://www.cups.org/documentation.php/doc-1.5/network.html">CUPS |
252 |
documentation.</link></para> |
253 |
</section> |
254 |
|
255 |
<section xml:id="properties"> |
256 |
<title>Device Properties</title> |
257 |
|
258 |
<para>You can access the properties of the device. The menu allows access |
259 |
to parameters for the CUPS server. By default a CUPS server is launched on |
260 |
your system, but you can specify a different one with the |
261 |
<guimenu>Server</guimenu> | <guimenuitem>Connect...</guimenuitem> menu, |
262 |
another window which gives access to the tuning of other specific |
263 |
parameters of the server, following <guimenu>Server</guimenu> | |
264 |
<guimenuitem>Settings.</guimenuitem></para> |
265 |
</section> |
266 |
|
267 |
<section> |
268 |
<title xml:id="troubleshoot">Troubleshoot</title> |
269 |
|
270 |
<para>You can find some information on occurring errors during printing by |
271 |
inspecting <filename>/var/log/cups/error_log</filename></para> |
272 |
|
273 |
<para>You can also access to a tool to diagnose problems using the |
274 |
<guimenu>Help</guimenu> | <guilabel>Troubleshoot</guilabel> menu.</para> |
275 |
</section> |
276 |
|
277 |
<section xml:id="specificities"> |
278 |
<title>Specifics</title> |
279 |
|
280 |
<para>It is possible that some drivers for specific printers are not |
281 |
available in Mageia or are not functional. In this case, have a look at |
282 |
the <link ns2:href="http://openprinting.org/printers/">openprinting</link> |
283 |
site to check if a driver for your device is available. If yes, check if |
284 |
the package is already present in Mageia and in this case install it |
285 |
manually. Then, redo the installation process to configure the printer. In |
286 |
all cases, report the problem in bugzilla or on the forum if you are |
287 |
comfortable with this tool and furnish the model and driver information |
288 |
and whether the printer works or not after installation. Here are some |
289 |
sources to find other up-to-date drivers or for more recent |
290 |
devices.</para> |
291 |
|
292 |
<para><emphasis role="bold">Brother printers</emphasis></para> |
293 |
|
294 |
<para><link ns2:href="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html">This |
295 |
page</link> give a list of drivers provided by Brother. Search the driver |
296 |
for your device, download the rpm(s) and install.</para> |
297 |
|
298 |
<para>You should install Brother drivers before running the configuration |
299 |
utility.</para> |
300 |
|
301 |
<para><emphasis role="bold">Hewlett-Packard printers and All in one |
302 |
devices</emphasis></para> |
303 |
|
304 |
<para>These devices use the hplip tool. It is installed automatically |
305 |
after the detection or the selection of the printer. You can find other |
306 |
information <link ns2:href="http://hplipopensource.com/hplip-web/index.html">here</link>. |
307 |
The tool "HP Device Manager" is available in the |
308 |
<guilabel>System</guilabel> menu. Also view <link ns2:href="http://hplipopensource.com/hplip-web/install/manual/hp_setup.html">configuration</link> |
309 |
for the management of the printer.</para> |
310 |
|
311 |
<para>A HP All in one device must be installed as a printer and the |
312 |
scanner features will be added. Note that sometimes, the Xsane interface |
313 |
doesn't allow to scan films or slides (the lighting slid can't operate). |
314 |
In this case, it is possible to scan, using the standalone mode, and save |
315 |
the picture on a memory card or USB stick inserted in the device. |
316 |
Afterwards, open your favourite imaging software and load your picture |
317 |
from the memory card which is appeared in the /media folder.</para> |
318 |
|
319 |
<para><emphasis role="bold">Samsung colour printer</emphasis></para> |
320 |
|
321 |
<para>For specific Samsung and Xerox colour printers, <link ns2:href="http://foo2qpdl.rkkda.com/">this site provides drivers</link> |
322 |
for the QPDL protocol.</para> |
323 |
|
324 |
<para><emphasis role="bold">Epson printers and scanners</emphasis></para> |
325 |
|
326 |
<para>Drivers for Epson printers are available from <link ns2:href="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX">this |
327 |
search page</link>. For the scanner part, you must install the |
328 |
"iscan-data" package first, then "iscan" (in this order). A iscan-plugin |
329 |
package can also be available and is to install. Choose the |
330 |
<emphasis>rpm</emphasis> packages according to your architecture. </para> |
331 |
|
332 |
<para> It is possible that the iscan package will generate a warning about |
333 |
a conflict with sane. Users have reported that this warning can be |
334 |
ignored.</para> |
335 |
|
336 |
<para><emphasis role="bold">Canon printers</emphasis></para> |
337 |
|
338 |
<para>For Canon printers, it may be advisable to install a tool named |
339 |
turboprint <link ns2:href="http://www.turboprint.info/">available here |
340 |
</link>.</para> |
341 |
</section> |
342 |
</section> |