在WINDOWS客戶端打印的時候總是提示:寫入\\localhost\printer((Epson LQ1600kII)錯誤
網絡名未找到......
以下是我的smb.conf與/etc/printcap文件,在SMB服務器上的打印機已經可以正確打印了(任何用戶)
而且緩衝spool也設置為任意用戶可讀寫了,還有哪裡不對??
謝謝!
# /etc/printcap
#
# Please don't edit this file directly unless you know what you are doing!
# Be warned that the control-panel printtool requires a very strict format!
# Look at the printcap(5) man page for more info.
#
# This file can be edited with the printtool in the control-panel.
##PRINTTOOL3## LOCAL TEXT NAxNA letter {} TextPrinter Default {}
printer:\
:sd=/usr/local/samba-2.0.6/printer:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/usr/local/samba-2.0.6/printer/filter:
#======================= Global Settings =====================================
[global]
netbios name=hcj
workgroup = cp6cc
server string = Samba Server
hosts allow = 201.28.201. 127.
load printers = yes
printcap name = /etc/printcap
guest account = hello
log file = /usr/local/samba-2.0.6/var/log.%m
max log size = 50
security = user
encrypt passwords = yes
smb passwd file=/usr/local/samba-2.0.6/private/smbpasswd
socket options = TCP_NODELAY
interfaces = 201.28.201.100/24
; wins support = yes
; wins proxy = yes
dns proxy = no
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /usr/local/samba-2.0.6/printer
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
public=yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
[public]
comment = Public Stuff
path = /mnt/c
public = yes
writable = yes
printable = no
write list = @staff
|