Re: Consulta! Impresión con Samba

Giulio Orsero giulioo at pobox.com
Mon Jul 17 21:23:02 GMT 2000


On Tue, 18 Jul 2000 02:06:35 +1000, you wrote:

>     Estoy conectando una red Local, una máquina con Windows NT y otra con
>SuSE  Linux 6.1, el problema lo tengo cuando quiero instalar la impresora
>en Linux, ya he configurado samba pero no puedo imprimir desde la máquina
>de Windows NT, desde Linux imprime correcto. Por favor, si conocen alguna
>ayuda se los agradeceré  mucho.

Add an entry in the /etc/printcap file, identical to the one you're now
using, but without any input filter.

ie.:
printer:\
    :sd=/var/spool/lpd/printer:\
    :mx#0:\
    :lp=/dev/lp0:\
    :sh:


Restart lpd.
Test you can print an ascii file to it:
lpr -Pprinter filename

Add this to smb.conf

[myprinter]
path = /var/spool/samba
guest ok = yes
printer name = printer
printable = yes

Test you can print through samba

smbclient '\\yoursamba\myprinter' -U% -P
> print filename


Then install the printer in windows.

-- 
giulioo at pobox.com


More information about the samba mailing list