Gentoo Archives: gentoo-doc-cvs

From: "Joshua Saddler (nightmorph)" <nightmorph@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: printing-howto.xml
Date: Wed, 17 Feb 2010 07:28:34
Message-Id: E1NheKf-00089X-LV@stork.gentoo.org
1 nightmorph 10/02/17 07:28:25
2
3 Modified: printing-howto.xml
4 Log:
5 Remove 2.4 kernel info. Update required kernel configs: the usblp module is deprecated; printers now use raw USB devices via udev. Users need to be in the lp group to get access to those printers when they want to print. Update info on HPLIP; it now uses dynamically generated ppd files (bug 305083).
6
7 Revision Changes Path
8 1.76 xml/htdocs/doc/en/printing-howto.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/printing-howto.xml?rev=1.76&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/printing-howto.xml?rev=1.76&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/printing-howto.xml?r1=1.75&r2=1.76
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.75
18 retrieving revision 1.76
19 diff -u -r1.75 -r1.76
20 --- printing-howto.xml 29 Dec 2009 19:31:57 -0000 1.75
21 +++ printing-howto.xml 17 Feb 2010 07:28:25 -0000 1.76
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.75 2009/12/29 19:31:57 nightmorph Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/printing-howto.xml,v 1.76 2010/02/17 07:28:25 nightmorph 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.4</version>
34 -<date>2009-12-29</date>
35 +<version>3.5</version>
36 +<date>2010-02-16</date>
37
38 <chapter>
39 <title>Printing and Gentoo Linux</title>
40 @@ -77,7 +77,7 @@
41 </ul>
42
43 <p>
44 -So manoeuvre to <path>/usr/src/linux</path> and run <c>make menuconfig</c> to
45 +So navigate to <path>/usr/src/linux</path> and run <c>make menuconfig</c> to
46 enter the kernel configuration. If you used <c>genkernel</c> to configure your
47 kernel, you should still perform these steps just to make sure nothing was
48 missed out.
49 @@ -87,8 +87,6 @@
50 In the next configuration examples, we will add the necessary support <e>in</e>
51 the kernel, not as modules. This is not mandatory; if you want you can easily
52 use modular support. Don't forget to load the appropriate modules afterwards.
53 -We also use a 2.6 kernel configuration example; 2.4 users might find the
54 -appropriate configuration directives elsewhere.
55 </p>
56
57 <p>
58 @@ -142,7 +140,7 @@
59 <body>
60
61 <p>
62 -To enable USB printing, you need USB support and USB printer support.
63 +To enable USB printing, you just need USB support in your kernel:
64 </p>
65
66 <pre caption="USB Port Printer Configuration">
67 @@ -156,8 +154,6 @@
68 &lt;*&gt; EHCI HCD (USB 2.0) support <comment>( or )</comment>
69 &lt;*&gt; OHCI HCD support <comment>( or )</comment>
70 &lt;*&gt; UHCI HCD (most Intel and VIA) support
71 - <comment>(...)</comment>
72 - &lt;*&gt; USB Printer support
73 </pre>
74
75 <p>
76 @@ -332,6 +328,11 @@
77 # <i>emerge cups</i>
78 </pre>
79
80 +<impo>
81 +Any users that need to print should be added to the <c>lp</c> group. Add them by
82 +running (as root) <c>gpasswd -a username lp</c>.
83 +</impo>
84 +
85 <p>
86 If the printer is attached to your system locally, you need to load CUPS
87 automatically on start-up. Make sure your printer is attached and powered on
88 @@ -820,23 +821,34 @@
89 <body>
90
91 <p>
92 -The <uri link="http://hpinkjet.sf.net">HPLIP Project</uri> embraces the hpijs
93 -driver and includes scanner support and service tools for various
94 -multi-purpose peripherals. For printing support, you <e>must</e>
95 -have the <c>ppds</c> USE flag enabled.
96 +The <uri link="http://hplipopensource.com/hplip-web/index.html">HPLIP
97 +Project</uri> uses the hpcups printer driver. It also includes scanner and fax
98 +support and service tools for various multi-purpose peripherals. For printing
99 +support, it is recomended to use the new hpcups driver, which you can enable
100 +with the <c>hpcups</c> USE flag. The old hpijs driver is still included when you
101 +build <c>hplip</c> with the <c>hpijs</c> USE flag.
102 +</p>
103 +
104 +<p>
105 +The default install enables dynamically generated ppd files at runtime. Some old
106 +printers may still require static ppd files. If you encounter problems when
107 +using <c>hp-setup</c> try enabling the <c>static-ppds</c> USE flag and
108 +rebuilding <c>hplip</c>.
109 </p>
110
111 <pre caption="Installing the hplip drivers">
112 -<comment>(Check that the ppds USE flag is enabled)</comment>
113 # <i>emerge -vp hplip</i>
114 These are the packages that would be merged, in order:
115
116 Calculating dependencies... done!
117 -[ebuild N ] net-print/hplip-2.7.10 USE="<comment>ppds</comment> -X -doc -fax -minimal -parport -scanner -snmp" 14,104 kB
118 +[ebuild N ] net-print/hplip-3.9.12 USE="gtk hpcups qt4 -doc -fax -hpijs
119 +-libnotify -minimal -new-hpcups -parport -policykit -scanner -snmp -static-ppds
120 +-udev-acl" 20,871 kB
121
122 -Total: 1 package (1 new), Size of downloads: 14,104 kB
123 +Total: 1 package (1 new), Size of downloads: 20,871 kB
124
125 -# <i>emerge hplip</i>
126 +s# <i>emerge hplip</i>
127 +<comment>(Make your your USB printer is plugged into your computer)</comment>
128 # <i>hp-setup</i>
129 # <i>/etc/init.d/cupsd restart</i>
130 </pre>