[Samba] Samba Print Server Problems
James Read
james at physicalsegment.com
Sat Feb 15 19:45:15 GMT 2003
My Samba box consists of FreeBSD 4.7-RELEASE. It has samba version 2.2.7a compiled on it.
The problem i have is printing via windows machines to the samba print share.
the clients can 'print' ie send the data to the samba share where i have got samba setup to use bsd type printing.
smb.conf lines are
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writeable = no
printable = yes
printing = bsd
[lp]
printable = yes
browseable = yes
print command = lpr -s -P %p %s; rm %s
path = /tmp
I have configured lpd with the lines in /etc/printcap as
lp| Samsung Laser ML-4500:\
:lp=/dev/lpt0:sd=/var/spool/output/lpd:\
:if=/var/log/lpd-errs:sh:mx#0:
When the clients print to the printer via samba, the data does get to lpd but checking the logs it spurts out
--------------------------
Feb 15 19:30:51 print lpd[221]: lp: unable to open dfA011print.domain.com('f' line)
Feb 15 19:30:51 print lpd[221]: lp: job could not be printed (cfA011print.domain.com)
---------------------------
Does anyone want know what is going on and how to make it print out instead of saying this error message.
Many thanks
James Read.
More information about the samba
mailing list