Hi all,
I have a laser printer connected to my debian (3.0r1 woody, kernel 2.4.18) box, which is using cups and samba to serve print requests from my windows xp box. I can print ok to the printer, after I log into my server through network neighbourhood and install the printer on my windows machine.
However, after I reboot my machine, I can no longer print to the printer without having to log back into my linux server through network neighbourhood. I have an smbprint user set up in linux, a member of group "nogroup", set to have no password.
Here is a copy of my smb.conf file:
[global]
passwd program = /usr/bin/passwd %u
printing = cups
dns proxy = no
encrypt passwords = true
socket options = TCP_NODELAY
printcap name = /etc/printcap.cups
invalid users = root
max log size = 1000
obey pam restrictions = yes
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spa$
security = user
server string = %h (Samba %v)
workgroup = HOME
syslog = 0
log file = /var/log/samba/log.%m
printer driver file = /usr/local/samba/printer/printers.def
printer admin = root guy @lp root
show add printer wizard = yes
[homes]
writable = yes
comment = Home Directories
browseable = no
create mask = 0750
directory mask = 0700
[printer$]
comment = Automated Win32 printer driver share
path=/usr/local/samba/printer
guest ok = yes
create mask = 0644
directory mask = 0755
public=yes
writable=no
browseable=yes
write list = root @lp root
[ML1710]
comment = Samsung ML-1710 Laser Printer
browseable = yes
printable = yes
public = yes
create mode = 0755
use client driver = yes
guest ok = yes
guest account = smbprint
path = /home/smbprint
printer driver=Samsung ML-1710 Series
printer driver location=\\%h\printer$
If I try to log into my linux server through network neighbourhood, as smbprint (with no password), it doesn't work.
If anyone has any ideas, please feel free to help me out! This is getting a little frustrating
Also, my automatic print driver download doesn't work either. It says the printer doesn't have the correct drivers installed, even though I've copied the correct drivers to the path in the printer$ share and created a printer.def file. If you can answer this problem as well, I'd be very grateful.
Thanks,
Guy