[Samba] need help printing to Brother MFC-3320CN

Gary Krupa accordeoniste at avenuecable.com
Fri Dec 10 17:17:36 GMT 2004


I'm trying to print in Linux to this Windows-only printer. I'm using LPRng. Both the printer and my windows interface (win4lin) are on the same LAN. I've added a new printer device lp5 in /etc/printcap, with an if line for the smbprint script when I send a command to that printer.

 A logfile reports that the server name and service name are correctly passed to the smbclient program. The printer's IP address is accessed successfully. Unfortunately, the connection with the printer itself is refused.

Here's the text from the logfile that smbprint and smbclient generated. I'm hoping that someone can help me to understand why the printer connection is refused, and what can be done to solve the problem.

server BRN_44FE9E, service lp5
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=192.168.1.102 bcast=192.168.1.255 nmask=255.255.255.0
Client started (version 2.2.4).
resolve_lmhosts: Attempting lmhosts lookup for name BRN_44FE9E<0x20>
resolve_hosts: Attempting host lookup for name BRN_44FE9E<0x20>
resolve_wins: Attempting wins lookup for name BRN_44FE9E<0x20>
resolve_wins: WINS server == <0.0.0.0>
bind succeeded on port 0
Negative name query response, rcode 0x03: The name requested does not exist.
name_resolve_bcast: Attempting broadcast lookup for name BRN_44FE9E<0x20>
bind succeeded on port 0
Got a positive name query response from 192.168.1.105 ( 192.168.1.105 )
Connecting to 192.168.1.105 at port 139
error connecting to 192.168.1.105:139 (Connection refused)
Error connecting to 192.168.1.105 (Connection refused)
Connection to BRN_44FE9E failed

Is the problem that I need a printer driver in Samba, different from the one being used in win4lin? If so, would Imprints be the right way to tackle this?

I'd also appreciate if you'd respond to me directly at:

accordeoniste at avenuecable.com

Gary Krupa



More information about the samba mailing list