/[gentoo]/xml/htdocs/doc/en/quick-samba-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/quick-samba-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
820<p> 820<p>
821Now we'll use the script <c>cupsaddsmb</c> provided by the CUPS 821Now we'll use the script <c>cupsaddsmb</c> provided by the CUPS
822distribution. It's man page is an interesting read. 822distribution. It's man page is an interesting read.
823</p> 823</p>
824 824
825<pre caption="Run cupsaddsmb"> 825<pre caption="Run cupsaddsmb">
826# <i>cupsaddsmb -H PrintServer -U root -h PrintServer -v HPDeskJet930C</i> 826# <i>cupsaddsmb -H PrintServer -U root -h PrintServer -v HPDeskJet930C</i>
827<comment>(Instead of HPDeskJet930C you could also specify "-a", which will 827<comment>(Instead of HPDeskJet930C you could also specify "-a", which will
828"export all known printers".)</comment> 828"export all known printers".)</comment>
829# <i>cupsaddsmb -H PrintServer -U root -h PrintServer -a</i> 829# <i>cupsaddsmb -H PrintServer -U root -h PrintServer -a</i>
830</pre> 830</pre>
831 831
832<warn> 832<warn>
833The execution of this command often causes the most trouble. 833The execution of this command often causes the most trouble.
834Reading through the <uri 834Reading through the <uri
835link="http://forums.gentoo.com/viewtopic.php?t=110931">posts in this 835link="http://forums.gentoo.org/viewtopic.php?t=110931">posts in this
836thread</uri>. 836thread</uri>.
837</warn> 837</warn>
838 838
839<p> 839<p>
840Here are common errors that may happen: 840Here are common errors that may happen:
841</p> 841</p>
842 842
843<ul> 843<ul>
844 <li> 844 <li>
845 The hostname given as a parameter for <c>-h</c> and <c>-H</c> 845 The hostname given as a parameter for <c>-h</c> and <c>-H</c>
846 (<c>PrintServer</c>) often does not resolve correctly and doesn't 846 (<c>PrintServer</c>) often does not resolve correctly and doesn't
847 identify the print server for CUPS/Samba interaction. If an error 847 identify the print server for CUPS/Samba interaction. If an error
848 like: <b>Warning: No PPD file for printer "CUPS_PRINTER_NAME" - 848 like: <b>Warning: No PPD file for printer "CUPS_PRINTER_NAME" -
849 skipping!</b> occurs, the first thing you should do is substitute 849 skipping!</b> occurs, the first thing you should do is substitute
850 <c>PrintServer</c> with <c>localhost</c> and try it again. 850 <c>PrintServer</c> with <c>localhost</c> and try it again.

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20