| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.34 2007/09/15 16:47:56 swift Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/quick-samba-howto.xml,v 1.35 2007/10/14 19:10:05 nightmorph Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | <guide link="/doc/en/quick-samba-howto.xml"> |
4 | <guide link="/doc/en/quick-samba-howto.xml"> |
| 5 | <title>Gentoo Samba3/CUPS/ClamAV HOWTO</title> |
5 | <title>Gentoo Samba3/CUPS/ClamAV HOWTO</title> |
| 6 | <author title="Author"> |
6 | <author title="Author"> |
| 7 | <mail link="daff at dword dot org">Andreas "daff" Ntaflos</mail> |
7 | <mail link="daff at dword dot org">Andreas "daff" Ntaflos</mail> |
| … | |
… | |
| 21 | |
21 | |
| 22 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
22 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 23 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
23 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 24 | <license/> |
24 | <license/> |
| 25 | |
25 | |
| 26 | <version>1.21</version> |
26 | <version>1.22</version> |
| 27 | <date>2007-09-15</date> |
27 | <date>2007-10-14</date> |
| 28 | |
28 | |
| 29 | <chapter> |
29 | <chapter> |
| 30 | <title>Introduction to this HOWTO</title> |
30 | <title>Introduction to this HOWTO</title> |
| 31 | <section> |
31 | <section> |
| 32 | <title>Purpose</title> |
32 | <title>Purpose</title> |
| … | |
… | |
| 784 | emerging <c>net-print/cups-windows</c>. Note that it may still be marked ~arch, |
784 | emerging <c>net-print/cups-windows</c>. Note that it may still be marked ~arch, |
| 785 | so you may need to add it to <path>/etc/portage/package.keywords</path>. There |
785 | so you may need to add it to <path>/etc/portage/package.keywords</path>. There |
| 786 | doesn't seem to be a difference between the functionality of the two, but the |
786 | doesn't seem to be a difference between the functionality of the two, but the |
| 787 | Adobe PS drivers need to be extracted on a Windows System since it's a Windows |
787 | Adobe PS drivers need to be extracted on a Windows System since it's a Windows |
| 788 | binary. Also the whole procedure of finding and copying the correct files is a |
788 | binary. Also the whole procedure of finding and copying the correct files is a |
| 789 | bit more hassle. The CUPS drivers seem to support some options the Adobe drivers |
789 | bit more hassle. The CUPS drivers support some options the Adobe drivers |
| 790 | don't. |
790 | don't. |
| 791 | </p> |
791 | </p> |
| 792 | |
792 | |
| 793 | <p> |
793 | <p> |
| 794 | This HOWTO uses the CUPS drivers for Windows. Install them as shown: |
794 | This HOWTO uses the CUPS drivers for Windows. Install them as shown: |
| 795 | </p> |
795 | </p> |
| 796 | |
796 | |
| 797 | <pre caption="Install the drivers and restart CUPS"> |
797 | <pre caption="Install the drivers"> |
| 798 | # <i>emerge -av cups-windows</i> |
798 | # <i>emerge -av cups-windows</i> |
| 799 | # <i>/etc/init.d/cupsd restart</i> |
|
|
| 800 | </pre> |
799 | </pre> |
| 801 | |
800 | |
| 802 | <p> |
801 | <p> |
| 803 | Now we'll use the script <c>cupsaddsmb</c> provided by the CUPS distribution. |
802 | Now we'll use the script <c>cupsaddsmb</c> provided by the CUPS distribution. |
| 804 | Its man page is an interesting read. |
803 | Be sure to read its manpage (<c>man cupsaddsmb</c>), as it will tell you which |
|
|
804 | Windows drivers you'll need to copy to the proper CUPS directory. Once you've |
|
|
805 | copied the drivers, restart CUPS by running <c>/etc/init.d/cupsd restart</c>. |
|
|
806 | Next, run <c>cupsaddsmb</c> as shown: |
| 805 | </p> |
807 | </p> |
| 806 | |
808 | |
| 807 | <pre caption="Run cupsaddsmb"> |
809 | <pre caption="Run cupsaddsmb"> |
| 808 | # <i>cupsaddsmb -H PrintServer -U root -h PrintServer -v HPDeskJet930C</i> |
810 | # <i>cupsaddsmb -H PrintServer -U root -h PrintServer -v HPDeskJet930C</i> |
| 809 | <comment>(Instead of HPDeskJet930C you could also specify "-a", which will |
811 | <comment>(Instead of HPDeskJet930C you could also specify "-a", which will |