nightmorph 07/07/08 02:22:05 Modified: quick-samba-howto.xml Log: 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
Revision Changes Path 1.30 xml/htdocs/doc/en/quick-samba-howto.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml?rev=1.30&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml?rev=1.30&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml?r1=1.29&r2=1.30 Index: quick-samba-howto.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- quick-samba-howto.xml 6 Jun 2007 23:23:35 -0000 1.29 +++ quick-samba-howto.xml 8 Jul 2007 02:22:04 -0000 1.30 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='UTF-8'?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.29 2007/06/06 23:23:35 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.30 2007/07/08 02:22:04 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/quick-samba-howto.xml"> <title>Gentoo Samba3/CUPS/ClamAV HOWTO</title> @@ -9,6 +9,9 @@ <author title="Author"> <mail link="[EMAIL PROTECTED]">Joshua Preston</mail> </author> +<author title="Editor"> + <mail link="[EMAIL PROTECTED]">Joshua Saddler</mail> +</author> <abstract> Setup, install and configure a Samba Server under Gentoo that shares files, @@ -20,8 +23,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> <license/> -<version>1.17</version> -<date>2007-06-06</date> +<version>1.18</version> +<date>2007-07-07</date> <chapter> <title>Introduction to this HOWTO</title> @@ -778,60 +781,22 @@ There are two sets of printer drivers for this. First, the Adobe PS drivers which can be obtained from <uri link="http://www.adobe.com/support/downloads/main.html">Adobe</uri> (PostScript -printer drivers). Second, there are the CUPS PS drivers, to be obtained <uri -link="http://dev.gentoo.org/~nightmorph/misc/cups-samba-5.0rc2.tar.gz">here</uri>. -There doesn't seem to be a difference between the functionality of the two, but -the Adobe PS drivers need to be extracted on a Windows System since it's a -Windows binary. Also the whole procedure of finding and copying the correct -files is a bit more hassle. The CUPS drivers seem to support some options the -Adobe drivers don't. +printer drivers). Second, there are the CUPS PS drivers, to be obtained by +emerging <c>net-print/cups-windows</c>. Note that it may still be marked ~arch, +so you may need to add it to <path>/etc/portage/package.keywords</path>. There +doesn't seem to be a difference between the functionality of the two, but the +Adobe PS drivers need to be extracted on a Windows System since it's a Windows +binary. Also the whole procedure of finding and copying the correct files is a +bit more hassle. The CUPS drivers seem to support some options the Adobe drivers +don't. </p> -<!-- -used to be available at www.cups.org/articles.php?L142+p4, but only 6.0 is -available. at some point, we should update this for 6.0. ---> <p> -This HOWTO uses the CUPS drivers for Windows. The downloaded file is -called <path>cups-samba-5.0rc2.tar.gz</path>. Extract the files -contained into a directory. +This HOWTO uses the CUPS drivers for Windows. Install them as shown: </p> -<pre caption="Extract the drivers and run the install"> -# <i>tar -xzf cups-samba-5.0rc2.tar.gz</i> -# <i>cd cups-samba-5.0rc2</i> -<comment>(Only use this script if CUPS resides in /usr/share/cups)</comment> -# <i>./cups-samba.install</i> -</pre> - -<p> -<path>cups-samba.ss</path> is a TAR archive containing three files: -<path>cups5.hlp</path>, <path>cupsdrvr5.dll</path> and -<path>cupsui5.dll</path>. These are the actual driver files. -</p> - -<warn> -The script <c>cups-samba.install</c> may not work for all *nixes (i.e. FreeBSD) -because almost everything which is not part of the base system is installed -somewhere under the prefix <path>/usr/local/</path>. This seems not to be the -case for most things you install under GNU/Linux. However, if your CUPS -installation is somewhere other than <path>/usr/share/cups/</path> see the -example below. -</warn> - -<p> -Suppose your CUPS installation resides under -<path>/usr/local/share/cups/</path>, and you want to install the drivers there. -Do the following: -</p> - -<pre caption="Manually installing the drivers"> -# <i>cd /path/you/extracted/the/CUPS-driver/tarball/into</i> -# <i>tar -xf cups-samba.ss</i> -<comment>(This extracts the files to usr/share/cups/drivers under the CURRENT WORKING DIRECTORY)</comment> -# <i>cd usr/share/cups/drivers</i> -<comment>(no leading / !)</comment> -# <i>cp cups* /usr/local/share/cups/drivers</i> +<pre caption="Install the drivers and restart CUPS"> +# <i>emerge -av cups-windows</i> # <i>/etc/init.d/cupsd restart</i> </pre> -- [EMAIL PROTECTED] mailing list
