Gentoo Archives: gentoo-doc-cvs

From: "Jan Kundrat (jkt)" <jkt@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: printing-howto.xml
Date: Mon, 14 Feb 2011 06:33:19
Message-Id: 20110214063307.F27BF20054@flycatcher.gentoo.org
1 jkt 11/02/14 06:33:07
2
3 Modified: printing-howto.xml
4 Log:
5 #35466, update of the hplip section by billie@g.o
6
7 Revision Changes Path
8 1.81 xml/htdocs/doc/en/printing-howto.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/printing-howto.xml?rev=1.81&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/printing-howto.xml?rev=1.81&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/printing-howto.xml?r1=1.80&r2=1.81
13
14 Index: printing-howto.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/printing-howto.xml,v
17 retrieving revision 1.80
18 retrieving revision 1.81
19 diff -u -r1.80 -r1.81
20 --- printing-howto.xml 10 Sep 2010 04:35:54 -0000 1.80
21 +++ printing-howto.xml 14 Feb 2011 06:33:07 -0000 1.81
22 @@ -1,5 +1,5 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/printing-howto.xml,v 1.80 2010/09/10 04:35:54 nightmorph Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/printing-howto.xml,v 1.81 2011/02/14 06:33:07 jkt Exp $ -->
26 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
27
28 <guide>
29 @@ -22,8 +22,8 @@
30 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
31 <license/>
32
33 -<version>3.6</version>
34 -<date>2010-03-17</date>
35 +<version>4</version>
36 +<date>2011-02-14</date>
37
38 <chapter>
39 <title>Printing and Gentoo Linux</title>
40 @@ -781,7 +781,7 @@
41
42 <ul>
43 <li><uri link="#gutenprint">Gutenprint Driver</uri></li>
44 - <li><uri link="#hplip">HPLIP Driver</uri> (deprecates HPOJ and HPIJS)</li>
45 + <li><uri link="#hplip">HPLIP Driver</uri></li>
46 <li><uri link="#pnm2ppa">PNM2PPA Driver</uri></li>
47 </ul>
48
49 @@ -824,31 +824,50 @@
50 The <uri link="http://hplipopensource.com/hplip-web/index.html">HPLIP
51 Project</uri> uses the hpcups printer driver. It also includes scanner and fax
52 support and service tools for various multi-purpose peripherals. For printing
53 -support, it is recomended to use the new hpcups driver, which you can enable
54 +support, it is recommended to use the new hpcups driver, which you can enable
55 with the <c>hpcups</c> USE flag. The old hpijs driver is still included when you
56 -build <c>hplip</c> with the <c>hpijs</c> USE flag.
57 +build <c>net-print/hplip</c> with the <c>hpijs</c> USE flag.
58 </p>
59
60 <p>
61 -The default install enables dynamically generated ppd files at runtime. Some old
62 +The default install enables dynamically generated ppd files at runtime. Some
63 printers may still require static ppd files. If you encounter problems when
64 using <c>hp-setup</c> try enabling the <c>static-ppds</c> USE flag and
65 -rebuilding <c>hplip</c>.
66 +rebuild <c>net-print/hplip</c>.
67 +</p>
68 +
69 +<p>
70 +For USB printers <c>net-print/cups</c> has to be built with the <c>usb</c> USE
71 +flag. This way it makes use of the <c>dev-libs/libusb</c> user space tool which
72 +replaces kernel usb printer support (CONFIG_USB_PRINTER). In case of problems
73 +you can disable the <c>usb</c> USE flag for <c>net-print/cups</c> and activate
74 +the kernel functionality again. All users who need to access the printer have
75 +to be a member of the <c>lp</c> group.
76 +</p>
77 +
78 +<p>
79 +To be able to set up a network printer <c>net-print/cups</c> has to be built
80 +with USE <c>slp</c>. With recent versions of <c>net-print/hplip</c> the default
81 +lookup method for networked printers is mDNS which requires
82 +<c>net-print/cups</c> to be built with USE <c>zeroconf</c>. (Note: this method
83 +does not work with the upcoming <c>net-print/cups-1.4</c> series). To be able
84 +to print on a network printer <c>net-print/hplip</c> needs to be built with USE
85 +<c>snmp</c>.
86 </p>
87
88 <pre caption="Installing the hplip drivers">
89 # <i>emerge -vp hplip</i>
90 These are the packages that would be merged, in order:
91
92 -Calculating dependencies... done!
93 -[ebuild N ] net-print/hplip-3.9.12 USE="gtk hpcups qt4 -doc -fax -hpijs
94 --libnotify -minimal -new-hpcups -parport -policykit -scanner -snmp -static-ppds
95 --udev-acl" 20,871 kB
96 +Calculating dependencies ... done!
97 +[ebuild N ] net-print/hplip-3.10.9 USE="X hpcups hpijs libnotify qt4 udev-acl
98 +-doc -fax -kde -minimal -parport -policykit -scanner -snmp -static-ppds" 21,307 kB
99
100 -Total: 1 package (1 new), Size of downloads: 20,871 kB
101 +Total: 1 package (1 new), Size of downloads: 21,307 kB
102
103 # <i>emerge hplip</i>
104 -<comment>(Make sure your USB printer is plugged into your computer)</comment>
105 +<comment>(Make sure your USB printer is plugged into your computer or your network
106 +printer into the network socket.)</comment>
107 # <i>hp-setup</i>
108 # <i>/etc/init.d/cupsd restart</i>
109 </pre>
110 @@ -856,7 +875,9 @@
111 <p>
112 When the emerge process has finished, the <c>hp-setup</c> tool will attempt to
113 detect and install the printer drivers for your printer on the system. Once
114 -finished, your printer will be available in the CUPS configuration.
115 +finished, your printer will be available in the CUPS configuration. When
116 +upgrading <c>net-print/hplip</c> you should run <c>hp-setup -r</c> to remove
117 +all printers and configure them again.
118 </p>
119
120 </body>