- 论坛徽章:
- 0
|
请高人指点:
问题:HP LASERJET 1020打印机,安装在Centos 4.4 (与REDHAT完全一样),在本机可以打印,但是用SAMBA共享后 WINDOWS客户端可连接,但不能打印.
LOG:
Apr 11 18:08:06 fileserver smbd[10103]: [2007/04/11 18:08:06, 0] printing/print_cups.c:cups_job_submit(765)
Apr 11 18:08:06 fileserver smbd[10103]: Unable to print file to hp1020 - client-error-document-format-not-supported
Apr 11 18:10:14 fileserver smbd[10103]: [2007/04/11 18:10:14, 0] printing/print_cups.c:cups_job_submit(765)
Apr 11 18:10:14 fileserver smbd[10103]: Unable to print file to hp1020 - client-error-document-format-not-supported
说客户端错误的文件格式不支持,
SAMBA 配置:
[global]
dos filetimes = Yes
log file = /var/log/samba/%m.log
load printers = yes
printer = hp1020
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
encrypt passwords = yes
public = yes
postscript = yes
dns proxy = No
dos filetime resolution = Yes
server string = FileServer
printing = cups
writeable = yes
path = /var/spool/samba/
dos charset = CP936
workgroup = KYS
os level = 20
printcap name = /etc/printcap
security = user
max log size = 50
[homes]
comment = Home Directories
browseable = No
[public]
comment = Public Stuff
path = /home/samba/public
#write list = @staff
#read only = No
writeable = yes
browseable = yes
guest ok = Yes
[printers]
printable = yes
writable = no
path = /var/spool/samba
guest ok = no
comment = All Printers
use client driver = yes
[cdrom]
path = /misc/cdrom
writeable = yes
browseable = yes
guest ok = yes
想取代WINDOWS 2000 SERVER 对我来说的确有点难度,呵~~
请大侠出手相助! |
|