smb printing
Len Krause
len at excellware.com
Wed Mar 15 23:55:15 PST 2006
Linux RedHat ES 4 environment running cups-1.1.22-0.rc1.9.10
Can print to Windows 98 printer across VPN using smbclient when both the NBNAME and IP address are specified.
smbclient //S2NEW/PC-INV2 -I 172.20.2.122 -N
smb: \> printmode text
smb: \> print /etc/issue
putting file /etc/issue as issue-2710 (0.8 kb/s) (average 0.8 kb/s)
smb: \> quit
Cannot print using smbclient when only IP or NBNAME is specified:
smbclient //S2NEW/PC-INV2 -N
Connection to S2NEW failed
smbclient //S2NEW/PC-INV2 -W CLICK -N
Connection to S2NEW failed
smbclient //172.20.2.122/PC-INV2 -N
session request to 172.20.2.122 failed (Called name not present)
session request to 172 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
but cannot print using cups, either specifying the IP adress or the NBNAME.
When specifying the IP Address:
DeviceURI smb://CLICK/172.20.2.122/PC-INV2
or the NBNAME:
DeviceURI smb://CLICK/S2NEW/PC-INV2
the error_log indicates: Connection failed with error NT_STATUS_UNSUCCESSFUL
Is there some way to specify both the IP address and NBNAME when printing with cups?
Thanks
More information about the cups
mailing list