|
|
急用呵!
有两台机器:一个windows, 一个当然是linux,debian+win4lin.
在本机使用时windows,linux都没问题。
linux通过samba使用windows打印机,也没问题。
但现在windows机器坏了,只好用win4lin,打印机就只有安装在debian上了。
win4lin中安装网络打印机后,打印测试页时没有动静。
配置如下
ywwyxywk@debian:~$ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
dos charset = CP936
unix charset = CP936
workgroup = DOMAIN
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
printcap name = /etc/printcap
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
printer admin = @ntadmin
printing = bsd
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /tmp
guest ok = Yes
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
write list = root
ywwyxywk@debian:~$
请指教一二,谢谢了 |
|