At 09:45 PM 5/18/98 +0400, Eugene Leitl wrote:
>Rich Shepard writes:

[Deletia]
  
>Btw, as my bandwidth is atrocious (I can't search RatHed), anybody can 
>point me towards how to print to a SMB-shared printer on a PC via
>samba? After half a day spent with fruitless tinkering, I just
>upgraded to 

We use smbprint ... ours is in /usr/local/sbin, but yours may be somewhere
else, but I think it comes with the Samba distribution.

Printcap example follows:

AdeCanB1|adecanb1:\
        :lp=/dev/null:\
        :sd=/var/spool/lpd/AdeCanB1:\
        :lf=/var/spool/lpd/AdeCanB1/errlog:\
        :if=/usr/local/sbin/smbprint:\
        :sh:\
        :sb:\
        :mx#0:

All you do is create a file in /var/spool/lpd/queuename called .smb.config
with the following in it:

>server=server-name
>service=printer-share-name
>password=""

Leave password blank if there is no password ...

>[root@liposome samba-1.9.18p5-42.6]# rpm -q samba
>samba-1.9.18p5-42.6
>
>Btw, in case anybody is interested my russification is complete but
>for TeTeX. These cyrillic X fonts *suck*.
>
>ciao,
>'gene

HTH



Regards
-------
Richard Sharpe, [EMAIL PROTECTED], NIC-Handle:RJS96
NS Computer Software and Services P/L, 
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080, 
Samba, Linux, Apache, Digital UNIX, AIX, Netscape, Stronghold, C, ...


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to