藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 系統管理


    

藍森林 http://www.lslnet.com 2006年8月18日 16:28

配置SMB打印服務器



在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




Re: 配置SMB打印服務器

我想是這句問題吧.
[printers]

.....
browseable = no 應該是yes

.....



Re: 配置SMB打印服務器

照字面的理解這應該不是,這只是在WINDOWS客戶端打印機是否可見的設置,設置成YES也一樣的!!!


不過謝謝你的REPLY!!!!!!!!!!!!



Re: 配置SMB打印服務器


嗨,你好,我猜想你遇到的這個問題是由於Windows 9x造成的,
如果你再到「網絡鄰居」中,找到Samba共享的計算機後,就不會
報告錯誤了。

另外,我想請教一個問題,你是如何配置Linux支持LQ1600KIII的?
我使用Redhat 7.1,在printtool中就是找不到LQ1600K的驅動程序,
如果是Star 3200,又應當在什麼地方下載driver,如何安裝driver ?


—————————————
只有先做虛心的學生
才能成為可敬的老師



Re: 配置SMB打印服務器

如果只是在網絡鄰居中無法找到samba服務器的話,可以在網絡中配置一台wins服務器。比如打開samba的wins support選項。

Have fun!
http://meaculpa.yeah.net
http://www.cmpp.net (Chinese Man Page Project)



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com