LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1223|回复: 0

帮我看看samba打印的问题

[复制链接]
发表于 2005-11-24 22:00:37 | 显示全部楼层 |阅读模式
我用的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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表