|
|
我用的debian,用的是HPLaserJet1010,驱动装好了,用cups控制打印的,打印都没有问题,可是在samba上,让window的电脑使用linux就打印不了.用windows的网络打印,也没有提示有错误,可是在linux那边就是没有反应。我的smb.conf是这么写的
[global]
unix charset=GB18030
workgroup = RADAR551
netbios name = zhangfan
server string = zhangfan's Linux server
security = user
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = yes
log file = /var/log/samba/%m.log
browseable = yes
available = yes
printcap name = /etc/printcap
load printers = yes
printing = cups
guest ok = yes
use client driver = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
writable = no
发现有个log文件是这么写的
[2005/11/24 21:38:43, 0] printing/print_cups.c:cups_job_submit(643)
Unable to print file to lp - client-error-not-found
[2005/11/24 21:41:54, 0] smbd/service.c:make_connection(794)
lxq (10.2.18.27) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d
}
[2005/11/24 21:45:39, 1] smbd/service.c:make_connection_snum(642)
lxq (10.2.18.27) connect to service lp initially as user root (uid=0, gid=0) (
pid 3744)
[2005/11/24 21:45:40, 0] printing/print_cups.c:cups_job_submit(643)
Unable to print file to lp - client-error-not-found
[2005/11/24 21:45:41, 1] smbd/service.c:close_cnum(830)
lxq (10.2.18.27) closed connection to service lp
[2005/11/24 21:46:39, 1] smbd/service.c:make_connection_snum(642)
lxq (10.2.18.27) connect to service lp initially as user root (uid=0, gid=0) (
pid 3744)
[2005/11/24 21:46:40, 0] printing/print_cups.c:cups_job_submit(643)
Unable to print file to lp - client-error-not-found
[2005/11/24 21:46:49, 1] smbd/service.c:close_cnum(830)
lxq (10.2.18.27) closed connection to service lp |
|