2、在打印机属性中,查看共享标签:CanonLBP , 共享主机 IP 地址:192.168.1.102 。
3、按 SDB 教程操作,在 yast 里填好共享主机 ip 和网络打印机共享名后,测试连接时,无法连接打印机。
测试错误代码如下:
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Testing share 'CanonLBP' on '/192.168.1.102':
tree connect failed: NT_STATUS_ACCESS_DENIED
Share 'CanonLBP' on '/192.168.1.102' does not accept print jobs (share may not exist?)
PING 192.168.1.102 (192.168.1.102) 56(84) bytes of data.
64 bytes from 192.168.1.102: icmp_seq=1 ttl=64 time=0.219 ms
--- 192.168.1.102 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.219/0.219/0.219/0.000 ms
Host '192.168.1.102' is accessible (responds to a 'ping')
工作组填 Windows 主机所在的工作组名称 主机名填入 Windows 主机名或其 IP, 填 IP 成功率更高 远程队列名填 Windows 下打印机名,在打印机属性,共享标签下查看 用户名密码填 Windows 登录用的用户名密码,密码可以留空 测试看是否可以访问,可以的话下一步,确定钩选执行本地过滤 选择合适的 PPD 驱动,下一步,测试打印,确定-完成。
在测试连接时,出错,代码如下:
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Testing share 'CanonLBP' on '/192.168.1.102':
tree connect failed: NT_STATUS_ACCESS_DENIED
Share 'CanonLBP' on '/192.168.1.102' does not accept print jobs (share may not exist?)
PING 192.168.1.102 (192.168.1.102) 56(84) bytes of data.
64 bytes from 192.168.1.102: icmp_seq=1 ttl=64 time=0.219 ms
--- 192.168.1.102 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.219/0.219/0.219/0.000 ms
Host '192.168.1.102' is accessible (responds to a 'ping')
E [05/May/2014:11:15:53 +0800] Unable to bind socket for address [v1.::1]:631 - Cannot assign requested address.
E [05/May/2014:11:16:38 +0800] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [05/May/2014:11:21:03 +0800] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [05/May/2014:11:24:16 +0800] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [05/May/2014:14:00:50 +0800] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [05/May/2014:14:16:40 +0800] Unable to bind socket for address [v1.::1]:631 - Cannot assign requested address.
E [05/May/2014:14:16:40 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:17:10 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:17:40 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:18:10 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:18:40 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:19:10 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:19:40 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:20:10 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:20:17 +0800] [Job 2] Connection failed: NT_STATUS_IO_TIMEOUT
E [05/May/2014:14:20:22 +0800] [Job 2] Connection failed: NT_STATUS_IO_TIMEOUT
E [05/May/2014:14:20:27 +0800] [Job 2] Connection failed: NT_STATUS_IO_TIMEOUT
E [05/May/2014:14:20:27 +0800] [Job 2] Unable to connect to CIFS host, will retry in 60 seconds...
E [05/May/2014:14:20:40 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:21:10 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:21:40 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:22:10 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:22:45 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:23:15 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:23:45 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:26:28 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.
E [05/May/2014:14:26:58 +0800] [cups-polld 20111219-1234:631] Unable to connect to 20111219-1234 on port 631.