Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: quick-samba-howto.xml
Date: Sun, 08 Jul 2007 02:22:18
Message-Id: E1I7MPV-0001dS-37@stork.gentoo.org
1 nightmorph 07/07/08 02:22:05
2
3 Modified: quick-samba-howto.xml
4 Log:
5 finally! updated the CUPS windows driver installation portion thanks to spanky/vapier/mike frysinger's tip on the cups-windows package. i'll still leave the ancient package in my devspace though in case we need to go into cvs history and restore the old pain-in-the-butt manual installation procedure. bug 184473
6
7 Revision Changes Path
8 1.30 xml/htdocs/doc/en/quick-samba-howto.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml?rev=1.30&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml?rev=1.30&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml?r1=1.29&r2=1.30
13
14 Index: quick-samba-howto.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v
17 retrieving revision 1.29
18 retrieving revision 1.30
19 diff -u -r1.29 -r1.30
20 --- quick-samba-howto.xml 6 Jun 2007 23:23:35 -0000 1.29
21 +++ quick-samba-howto.xml 8 Jul 2007 02:22:04 -0000 1.30
22 @@ -1,5 +1,5 @@
23 <?xml version='1.0' encoding='UTF-8'?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.29 2007/06/06 23:23:35 nightmorph Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.30 2007/07/08 02:22:04 nightmorph Exp $ -->
26 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
27 <guide link="/doc/en/quick-samba-howto.xml">
28 <title>Gentoo Samba3/CUPS/ClamAV HOWTO</title>
29 @@ -9,6 +9,9 @@
30 <author title="Author">
31 <mail link="joshua@××××××××××××××××××.com">Joshua Preston</mail>
32 </author>
33 +<author title="Editor">
34 + <mail link="nightmorph@g.o">Joshua Saddler</mail>
35 +</author>
36
37 <abstract>
38 Setup, install and configure a Samba Server under Gentoo that shares files,
39 @@ -20,8 +23,8 @@
40 <!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
41 <license/>
42
43 -<version>1.17</version>
44 -<date>2007-06-06</date>
45 +<version>1.18</version>
46 +<date>2007-07-07</date>
47
48 <chapter>
49 <title>Introduction to this HOWTO</title>
50 @@ -778,60 +781,22 @@
51 There are two sets of printer drivers for this. First, the Adobe PS drivers
52 which can be obtained from <uri
53 link="http://www.adobe.com/support/downloads/main.html">Adobe</uri> (PostScript
54 -printer drivers). Second, there are the CUPS PS drivers, to be obtained <uri
55 -link="http://dev.gentoo.org/~nightmorph/misc/cups-samba-5.0rc2.tar.gz">here</uri>.
56 -There doesn't seem to be a difference between the functionality of the two, but
57 -the Adobe PS drivers need to be extracted on a Windows System since it's a
58 -Windows binary. Also the whole procedure of finding and copying the correct
59 -files is a bit more hassle. The CUPS drivers seem to support some options the
60 -Adobe drivers don't.
61 +printer drivers). Second, there are the CUPS PS drivers, to be obtained by
62 +emerging <c>net-print/cups-windows</c>. Note that it may still be marked ~arch,
63 +so you may need to add it to <path>/etc/portage/package.keywords</path>. There
64 +doesn't seem to be a difference between the functionality of the two, but the
65 +Adobe PS drivers need to be extracted on a Windows System since it's a Windows
66 +binary. Also the whole procedure of finding and copying the correct files is a
67 +bit more hassle. The CUPS drivers seem to support some options the Adobe drivers
68 +don't.
69 </p>
70 -<!--
71 -used to be available at www.cups.org/articles.php?L142+p4, but only 6.0 is
72 -available. at some point, we should update this for 6.0.
73 --->
74
75 <p>
76 -This HOWTO uses the CUPS drivers for Windows. The downloaded file is
77 -called <path>cups-samba-5.0rc2.tar.gz</path>. Extract the files
78 -contained into a directory.
79 +This HOWTO uses the CUPS drivers for Windows. Install them as shown:
80 </p>
81
82 -<pre caption="Extract the drivers and run the install">
83 -# <i>tar -xzf cups-samba-5.0rc2.tar.gz</i>
84 -# <i>cd cups-samba-5.0rc2</i>
85 -<comment>(Only use this script if CUPS resides in /usr/share/cups)</comment>
86 -# <i>./cups-samba.install</i>
87 -</pre>
88 -
89 -<p>
90 -<path>cups-samba.ss</path> is a TAR archive containing three files:
91 -<path>cups5.hlp</path>, <path>cupsdrvr5.dll</path> and
92 -<path>cupsui5.dll</path>. These are the actual driver files.
93 -</p>
94 -
95 -<warn>
96 -The script <c>cups-samba.install</c> may not work for all *nixes (i.e. FreeBSD)
97 -because almost everything which is not part of the base system is installed
98 -somewhere under the prefix <path>/usr/local/</path>. This seems not to be the
99 -case for most things you install under GNU/Linux. However, if your CUPS
100 -installation is somewhere other than <path>/usr/share/cups/</path> see the
101 -example below.
102 -</warn>
103 -
104 -<p>
105 -Suppose your CUPS installation resides under
106 -<path>/usr/local/share/cups/</path>, and you want to install the drivers there.
107 -Do the following:
108 -</p>
109 -
110 -<pre caption="Manually installing the drivers">
111 -# <i>cd /path/you/extracted/the/CUPS-driver/tarball/into</i>
112 -# <i>tar -xf cups-samba.ss</i>
113 -<comment>(This extracts the files to usr/share/cups/drivers under the CURRENT WORKING DIRECTORY)</comment>
114 -# <i>cd usr/share/cups/drivers</i>
115 -<comment>(no leading / !)</comment>
116 -# <i>cp cups* /usr/local/share/cups/drivers</i>
117 +<pre caption="Install the drivers and restart CUPS">
118 +# <i>emerge -av cups-windows</i>
119 # <i>/etc/init.d/cupsd restart</i>
120 </pre>
121
122
123
124
125 --
126 gentoo-doc-cvs@g.o mailing list