VectorLinux
October 22, 2014, 07:08:02 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Network Printer (Brother) Problem -SOLVED  (Read 21825 times)
Martin109
Vectorite
***
Posts: 290


« on: December 07, 2011, 07:54:29 am »

I am using Vector Linux 6.00

I am trying to connect to and use a network printer at a place where I will be working, which has a network printer already set up.  It's a Brother MFC-465CN.
I have opened up the CUPS site and entered details of the printer.

Under 'Add New Printer', I have entered:

Name: Brother
Location: [location]
Description: Brother MFC-465CN

Next, the screen is 'Device for Brother'.  The options are:

AppSocket/HP JetDirect
Backend Error Handler
Brother MFC-465CN 192.168.1.66 (Brother MFC-465CN)
HP Fax (HPLIP)
HP Printer (HPLIP)
Internet Printing Protcol (http)
Internet Printing Protcol (ipp)
LPD/LPR Host or Printer
SCSI Printer
Windows Printer via SAMBA

I first chose the obvious, the Brother MFC-465CN option.  On the next screen was a list of many Brother printers, but not the MFC-465CN.  I chose the closest:

Brother MFC-6550MC – CUPS + Gutenprint v5.2.4.(en)

but neither sending a Print test Page command, nor asking OpenOffice Writer to print a file produces any output.

However, if I issue the command:

ping 192.168.1.66

I get:

Quote
PING 192.168.1.66 (192.168.1.66) 56(84) bytes of data.

64 bytes from 192.168.1.66: icmp_seq=1 ttl=255 time=30.1 ms

64 bytes from 192.168.1.66: icmp_seq=2 ttl=255 time=0.487 ms

64 bytes from 192.168.1.66: icmp_seq=3 ttl=255 time=0.478 ms

64 bytes from 192.168.1.66: icmp_seq=4 ttl=255 time=0.484 ms

64 bytes from 192.168.1.66: icmp_seq=5 ttl=255 time=0.493 ms

64 bytes from 192.168.1.66: icmp_seq=6 ttl=255 time=0.488 ms



--- 192.168.1.66 ping statistics ---

6 packets transmitted, 6 received, 0% packet loss, time 4999ms

rtt min/avg/max/mdev = 0.478/5.430/30.153/11.056 ms

which is encouraging,

but which Device option do I choose and how do I configure it?
« Last Edit: December 20, 2011, 12:47:08 pm by Martin109 » Logged

Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard

Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard

Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
pierce.jason
Packager
Vectorite
****
Posts: 250



« Reply #1 on: December 07, 2011, 10:53:04 am »

Hard to decide without knowing how they have the network printing setup. My guess would be you selected the right device at "Brother MFC-465CN 192.168.1.66 (Brother MFC-465CN)"


I think your big problem is that you do not have the appropriate ppd for the MFC-465. I don't think there is any chance that the ppd for MFC6550 will work. It looks like some other distro have additional packages for brother drivers https://wiki.ubuntu.com/BrotherDriverPackaging. I wonder what we have available in VL7.0 Gold-GG.
Logged

pierce.jason
Email: $(echo -e "moc\x2eliamg\x40nosaj.ecreip" | rev)
Martin109
Vectorite
***
Posts: 290


« Reply #2 on: December 13, 2011, 02:36:40 pm »

I have had a look at the HP JetDirect option, and choosing this leads to a page asking for more options:

Examples:

    http://hostname:631/ipp/
    http://hostname:631/ipp/port1

    ipp://hostname/ipp/
    ipp://hostname/ipp/port1

    lpd://hostname/queue

    socket://hostname
    socket://hostname:9100

I got some generic help from another forum (see below):

Quote
The printer will almost certainly accept the socket port 9100 connection.
That's the most basic network printing protocol.

It will likely also accept lpd connections, but let's not try that atm.
No idea if it can accept ipp connections.

For 'hostname', you need to either provide a name of the printer which can be resolved to it's IP address ( either in the hosts file or on the DNS server ), or you can just specify it's IP address and bypass name resolution.

So something like:

socket://192.168.1.66:9100

You then need to tell it how to send the info to the printer.

http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#MFC-465CN

Helps.

This is where I'm now stuck, as I'm back to Vector-specific issues.

What I'm trying to do is dowload the necessary driver(s) to tell CUPS how to get the Brother MFC-465CN printer to work.

The options on the Brother download page are for an RPM format or a DEB format, and I don't know how to install either of these.  They don't seem to fit with Vector.

The instructions refer to an rpm command or a dpkg command, neither of which seems to be on VL.

What do I do next to get this printer to work? Huh
Logged

Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard

Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard

Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Martin109
Vectorite
***
Posts: 290


« Reply #3 on: December 13, 2011, 03:15:11 pm »

Well, I don't quite know how I did that, and now can't find the link I used, but I found a shell script which downloaded these drivers and installed them! 

It downloaded a .gz package, which I unzipped.

I executed the shell script and it said CUPS wasn't installed, which it was.

I examined the script and saw that it was looking for CUPS at /etc/inid.d/cups and that doesn't seems to exist on VL!

So I just changed the script to point to the location for CUPS which I had found using the locate command, namely /etc/cups

The script seemed happy with that, and proceeded to install the drivers.

I'm not connected to that network at the moment, but the CUPS page shows:

MFC465CN
   Description: MFC465CN
Location:
Printer Driver: Brother MFC-465CN CUPS v1.1
Printer State: idle, accepting jobs, published.
Device URI: socket://192.168.1.66


I'll have to check that this really works when I connect to that network, but I'm pleased (and rather surprised) at the progress so far!

Logged

Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard

Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard

Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
pierce.jason
Packager
Vectorite
****
Posts: 250



« Reply #4 on: December 13, 2011, 08:25:26 pm »


I examined the script and saw that it was looking for CUPS at /etc/inid.d/cups and that doesn't seems to exist on VL!

So I just changed the script to point to the location for CUPS which I had found using the locate command, namely /etc/cups


The startup script you mentioned exists here.
Code:
$ ls -l /etc/init.d/cups
-rwxr-xr-x 1 root root 4318 Sep 28  2007 /etc/init.d/cups
Logged

pierce.jason
Email: $(echo -e "moc\x2eliamg\x40nosaj.ecreip" | rev)
Martin109
Vectorite
***
Posts: 290


« Reply #5 on: December 14, 2011, 03:09:10 am »


I examined the script and saw that it was looking for CUPS at /etc/inid.d/cups and that doesn't seems to exist on VL!

So I just changed the script to point to the location for CUPS which I had found using the locate command, namely /etc/cups


The startup script you mentioned exists here.
Code:
$ ls -l /etc/init.d/cups
-rwxr-xr-x 1 root root 4318 Sep 28  2007 /etc/init.d/cups

Not on my system, it doesn't!

The command:

ls -l /etc/init.d/cups

produces the output:

root:# ls -l /etc/init.d/cups
/bin/ls: cannot access /etc/init.d/cups: No such file or directory
« Last Edit: January 01, 2012, 03:51:59 am by Martin109 » Logged

Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard

Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard

Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
pierce.jason
Packager
Vectorite
****
Posts: 250



« Reply #6 on: December 15, 2011, 11:54:02 am »

What version of VL do you have? What version of cups is installed?
Logged

pierce.jason
Email: $(echo -e "moc\x2eliamg\x40nosaj.ecreip" | rev)
Martin109
Vectorite
***
Posts: 290


« Reply #7 on: December 15, 2011, 01:37:02 pm »

VL 6.0 and CUPS 1.3.10
Logged

Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard

Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard

Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Martin109
Vectorite
***
Posts: 290


« Reply #8 on: December 20, 2011, 12:46:49 pm »

Well, I don't quite know how I did that, and now can't find the link I used, but I found a shell script which downloaded these drivers and installed them! 

It downloaded a .gz package, which I unzipped.

I executed the shell script and it said CUPS wasn't installed, which it was.

I examined the script and saw that it was looking for CUPS at /etc/inid.d/cups and that doesn't seems to exist on VL!

So I just changed the script to point to the location for CUPS which I had found using the locate command, namely /etc/cups

The script seemed happy with that, and proceeded to install the drivers.

I'm not connected to that network at the moment, but the CUPS page shows:

MFC465CN
   Description: MFC465CN
Location:
Printer Driver: Brother MFC-465CN CUPS v1.1
Printer State: idle, accepting jobs, published.
Device URI: socket://192.168.1.66


I'll have to check that this really works when I connect to that network, but I'm pleased (and rather surprised) at the progress so far!

Success!  Tried this out today, and it printed flawlessly first time!  Thanks for the help!
Logged

Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard

Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard

Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!