Tengo una impresora Epson instalada en linux que funciona con el driver de cups. Localmente un usuario puede imprimir con el comando lpr. Pero si un cliente windows intenta imprimir no pasa nada, i al acceder a la impressora compartida me contesta:
 
acceso denegado, no se pudo establecer conexion
 
Este es mi smb.conf:
 
[global]
 passwd program = /usr/bin/passwd %u
 auto services = homes
 dns proxy = no
 encrypt passwords = yes
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4096 SO_RCVBUF=4096
 invalid users = root
 max log size = 1000
 obey pam restrictions = yes
 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
 workgroup = xacal
 server string = %h server (Samba %v)
 syslog = 0
 log file = /var/log/samba/log.%m
 load printers = yes
 os level = 20
 printcap = cups
 load printers = yes
 printcap name = lpstat
 printing = cups
 
[homes]
 
[recursos]
 path = /mnt/recursos
 create mode = 664
 writeable = yes
 directory mode = 775
 force group = xacal
 comment = Recursos compartits
 wide links = no
 force user = xacal
 
[www]
 path = /var/www
 writeable = yes
 create mode = 664
 directory mode = 775
 force group = xacal
 comment = webs a iskra
 force user = xacal
 

[epson]
 path = /var/spool/samba
 writable = no
 create mode = 0700
 lprm command = cancel %p-%j
 lpq command = lpstat -o %p
 comment = epson a iskra
 guest ok = yes
 print command = lpr -P %p -o raw %s -r
 printable = yes

Responder a