I have a problem with the configuration of the smb suite.
I am trying to configure a linux server with some windows 95/98
concurrent workstations.
In the linux box I want a shared disk for exchange data between users
and system printers (3).
From the windows workstation I can correctly work on the shared disk
but not the printers, the same printers that work perfectly
using the command lpr from the linux box.
In the "network resource" windows of the Win98 workstations I can see
the three printers but when I try to print a box opens with the
following error:
"Problem in printing due to a unknown error"
My smb.conf and printcap files are the following.
************************************** smb.conf
***********************************************************
[global]
workgroup = stc
server string = Samba Server
hosts allow = 192.168.0. 127.
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY
dns proxy = no
lock directory = /var/lock/samba
share modes = yes
[homes]
security = user
comment = Home Directories
browseable = no
read only = no
create mode = 0750
writable = yes
[Stampante1]
path = /var/spool/lpd/lpt1
printer name = lpt1
browsable = yes
writable = yes
public = yes
printable = yes
guest ok = yes
create mode = 0622
print command = lpr -r -h -P %p %s
[Stampante2]
path = /var/spool/lpd/lpt2
printer name = lpt2
browsable = yes
writable = yes
public = yes
printable = yes
guest ok = yes
create mode = 0622
print command = lpr -r -h -P %p %s
[Stampante3]
path = /var/spool/lpd/lpt3
printer name = lpt3
browsable = yes
writable = yes
public = yes
printable = yes
guest ok = yes
create mode = 0622
print command = lpr -r -h -P %p %s
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
[public]
comment = Public Stuff
path = /home/public
public = yes
writable = yes
printable = no
************************************** printcap
***********************************************************
#
# This printcap is being created with printtool v.3.27
# Any changes made here manually will be lost if printtool
# is run later on.
# The presence of this header means that no printcap
# existed when printtool was run.
#
##PRINTTOOL3## LOCAL laserjet 300x300 a4 {} LaserJet Default 1
lpt1:\
:sd=/var/spool/lpd/lpt1:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lpt1/filter:
##PRINTTOOL3## LOCAL laserjet 300x300 a4 {} LaserJet Default 1
lpt2:\
:sd=/var/spool/lpd/lpt2:\
:mx#0:\
:sh:\
:lp=/dev/lp1:\
:if=/var/spool/lpd/lpt2/filter:
##PRINTTOOL3## LOCAL laserjet 300x300 a4 {} LaserJet Default 1
lpt3:\
:sd=/var/spool/lpd/lpt3:\
:mx#0:\
:sh:\
:lp=/dev/lp2:\
:if=/var/spool/lpd/lpt3/filter:
************************************************************************
***********************************
Many thanks to anybody who would be so kind to help me.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.