Legolas45
03-12-2003, 04:54 PM
I'm new to Samba, and am having trouble getting it to share a printer. I have been successful in configuring it to provide access to /home/* directories for Windows users, but can't get it to share a printer.
The printer is an HP PSC 500, is attached to the linux box, and I can print a test page from YaST2.
Here is my /etc/smb.conf
# Samba config file created using SWAT
# from linux.local (192.168.0.1)
# Date: 2003/03/12 13:02:39
# Global parameters
[global]
workgroup = ELNET
server string = Samba Server
encrypt passwords = Yes
log file = /var/log/samba/%m.log
time server = Yes
unix extensions = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = CUPS
character set = ISO8859-15
os level = 65
lock dir = /var/lock/samba
hosts allow = 192.168. 127.
printing = cups
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0640
directory mask = 0750
browseable = No
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
guest ok = Yes
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[color]
comment = HEWLETT-PACKARD PSC 500
path = /var/tmp
read only = No
create mask = 0600
guest ok = Yes
hosts allow = 192.168.0.2 127.0.0.0
printable = Yes
printer name = color
oplocks = No
In Windows, I have set the port in the printer properties to "\\linux\color". Any ideas?
Thanks!
The printer is an HP PSC 500, is attached to the linux box, and I can print a test page from YaST2.
Here is my /etc/smb.conf
# Samba config file created using SWAT
# from linux.local (192.168.0.1)
# Date: 2003/03/12 13:02:39
# Global parameters
[global]
workgroup = ELNET
server string = Samba Server
encrypt passwords = Yes
log file = /var/log/samba/%m.log
time server = Yes
unix extensions = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = CUPS
character set = ISO8859-15
os level = 65
lock dir = /var/lock/samba
hosts allow = 192.168. 127.
printing = cups
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0640
directory mask = 0750
browseable = No
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
guest ok = Yes
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[color]
comment = HEWLETT-PACKARD PSC 500
path = /var/tmp
read only = No
create mask = 0600
guest ok = Yes
hosts allow = 192.168.0.2 127.0.0.0
printable = Yes
printer name = color
oplocks = No
In Windows, I have set the port in the printer properties to "\\linux\color". Any ideas?
Thanks!