Hi,
I'm having problems printing over the network with samba. We have three
Mandrake 6.1 machines all running 2.2.13-7mdk. I installed samba 2.0.5
on the machine weaver which has a local IP address 192.168.1.11.
There's an Epson Stylus Color 800 attached to weaver. The other two
Linux machines can print fine to weaver's Epson. I set up a share
directory on weaver. Our Windows machines can see the share directory
fine, and files can be read and written in this directory from either
the Linux machines or the Windows machines. The Windows machines can
also see weaver's Epson. I installed the Epson driver on one of the
Windows machines. But when I try to print to the Epson from the Windows
machine, the Epson status dialog box on the Windows machine comes up
saying "Falied to open file". This happens when I try to print a file
in either the share directory or a native Windows directory. Here's
weaver's smb.conf:
[global]
workgroup = EMERALD
server string = Samba SMB Server
printcap name = /etc/printcap
load printers = yes
interfaces = 192.168.1.11/24 127.0.0.1/24
bind interfaces only = yes
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
read bmpx = No
time server = Yes
socket options = TCP_NODELAY
os level = 65
preferred master = Yes
dns proxy = No
wins support = Yes
guest account = smbuser
hide dot files = No
[public]
comment = Public
path = /home/public
read only = No
create mask = 0664
directory mask = 0775
guest ok = Yes
[data]
comment = Data
path = /home/samba/data
read only = No
create mask = 0660
directory mask = 0770
guest ok = Yes
[printers]
comment = Printers
path = /var/spool/lpd/lp
browseable = yes
printable = yes
public = yes
writeable = no
create mask = 0700
I took the [printer] section from mandrakeuser.org. This is the output
of 'smbclient -L localhost':
Domain=[EMERALD] OS=[Unix] Server=[Samba 2.0.5a]
Sharename Type Comment
--------- ---- -------
public Disk Public
data Disk Data
printers Printer Printers
IPC$ IPC IPC Service (Samba SMB Server)
lp Printer
Server Comment
--------- -------
AKTA
GEMSTONE pentium I at 200 mmx
NOSTROMO
PICARD
SAPPHIRE celeron 375
TSUNAMI
WEAVER Samba SMB Server
Workgroup Master
--------- -------
EMERALD WEAVER
MYGROUP JONESY
What else do I need to do to access the Linux printer from the Windows
machines? Thanks,
Hidong