[Samba] Printing problem with Samba 3
Artem Kuchin
matrix at itlegion.ru
Thu Jul 8 18:55:57 GMT 2004
I just upgrdaded to FreeBSD 5.2 CURRENT
and installed samba 3.0.3pre2.
I have copied /etc/printcap and samba config
from the previous installtion (FreeBSD 4.8 and
samba 2.x)
Now, i cannot print anything from windows xp
(i only have windows xps, so i cannot tell if it works
from other windows but i guess it does not).
When i printed the data is sent to the printer and
no error shows up on windows client, but nothing
really happens. Nothing printed.
lpr -Php1200 rawfile - work file
but printing via samba does not work.
I see filed from windows client spooled into
/var/spool/samba but then after a few seconds they
disappear and nothing happens.
I just don't known where the problem might be.
Here is my smb.conf
global]
workgroup = ITLEGION
netbios name=Osiris
null passwords=yes
server string = ""
guest account = pcguest
log file = /var/log/samba/log.%m
log level= 2
max log size = 500
security = share
encrypt passwords = yes
socket options = TCP_NODELAY
local master = yes
os level = 33
preferred master = yes
bind interfaces only = yes
dos charset=866
interfaces=fxp*
display charset = KOI8-R
unix charset = KOI8-R
wins support = yes
create mask = 640
irectory mask = 750
disable spoolss =yes
printing = bsd
printcap name = /etc/printcap
load printers = yes
use client driver = yes
[printers]
comment = All Printers
path = /var/spool/samba
public = yes
writeable = no
read only = yes
printable = yes
browseable = no
print command = /usr/bin/lpr -r -P'%p' %s
lpq command = /usr/bin/lpq -P'%p'
lprm command = /usr/bin/lprm -P'%p' %j
use client driver = yes
[hp1200]
comment = HP1200 on LPT
path = /var/spool/samba
browseable = yes
printable = Yes
writeable = no
public = Yes
guest only = yes
printer name = hp1200
use client driver = yes
More information about the samba
mailing list