LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Printer help (https://www.linuxquestions.org/questions/linux-hardware-18/printer-help-618927/)

phantom_cyph 02-05-2008 04:28 PM

Printer help
 
I need to get my Brother DCP-110C working right now. Scanner is not essential at this point, just the printer function.

I was following the post in the LQ HCL, but it doesn't help me a whole lot. So, I'm using CentOS 5 (that means RedHat and Fedora rpms work, for you who art not believing).

Help needed asap.

Thanks!

Emerson 02-05-2008 06:33 PM

Quote:

Originally Posted by phantom_cyph (Post 3047208)
I need to get my Brother DCP-110C working right now. Scanner is not essential at this point, just the printer function.

I was following the post in the LQ HCL, but it doesn't help me a whole lot. So, I'm using CentOS 5 (that means RedHat and Fedora rpms work, for you who art not believing).

Help needed asap.

Thanks!

Not sure what kind of help you need. You do not tell us what you have done and where you got stuck, no error messages, nothing. Do you want somebody to come and install it? What's your address then?

phantom_cyph 02-05-2008 06:45 PM

Quote:

Originally Posted by Emerson (Post 3047297)
Not sure what kind of help you need. You do not tell us what you have done and where you got stuck, no error messages, nothing. Do you want somebody to come and install it? What's your address then?

Why the hostility? I've told you pretty much what I need.

CUPS is up, and it the computer recognizes the printer is there, but it won't install a driver.

So, what I need is help finding/installing a driver. I have looked at Brother's site and it doesn't show driver support for Linux, but it is obvious some people have done it.

Emerson 02-05-2008 06:48 PM

Hostility? :confused:

You mean you couldn't find this page? http://solutions.brother.com/linux/en_us/index.html

phantom_cyph 02-05-2008 06:55 PM

I downloaded and installed the one they had there for the DCP-110C, but it will not work. Do I need to restart the computer, or CUPS, or what? It doesn't seem to recognize the driver that is now installed.

Emerson 02-05-2008 07:03 PM

Quote:

Originally Posted by phantom_cyph (Post 3047313)
I downloaded and installed the one they had there for the DCP-110C, but it will not work. Do I need to restart the computer, or CUPS, or what? It doesn't seem to recognize the driver that is now installed.

Would you mind to read what they write there?
You installed one they had there. But they have TWO.
Quote:

Please be sure to install the LPR driver before installing the CUPS wrapper driver.

phantom_cyph 02-05-2008 07:27 PM

I can't follow their site. I got the driver off the first site you sent me.

As for the LPR, I can't find out where you actually download it.

Emerson 02-05-2008 07:28 PM

http://solutions.brother.com/linux/s...r_drivers.html

phantom_cyph 02-05-2008 07:57 PM

Hmmm...I'm using KDE's frontend for CUPS, and not having much luck.

I installed both drivers, and now I can't add a printer, or delete a printer, I just get the error: "client-error-not-found".

allend 02-06-2008 08:23 AM

I have this beastie (DCP-110C).

First- Is it showing in your USB devices?
'lsusb' gives me this line:
Bus 007 Device 002: ID 04f9:0169 Brother Industries, Ltd

Second- What is the device URI in CUPS?
'lpstat -t' gives me this line:
device for DCP110C: usb://Brother/DCP-110C

Third- Have you configured the printer using the CUPS web interface accessed at http://localhost:631 in your browser?
( The KDE frontend is not the best tool ).

Fourth- For scanning, check that /etc/sane.d/dll.conf has 'brother2' at the end of the file with NO following end of line.
'sane-find-scanner' gives me this line:
found USB scanner (vendor=0x04f9, product=0x0169) at libusb:007:002

phantom_cyph 02-06-2008 09:20 PM

Still won't work. Here is what I see.

allend 02-06-2008 10:46 PM

Does the scanner work? Try starting Kooka or xsane and the scanner should be recognised. This tests whether the USB setup is working.

The message in your screenshot suggests that there has been a problem when running the Brother setup scripts.

I suggest that you rerun the scripts, first with the uninstall option, then with the install option. IIRC the -e option uninstalls, the -i option installs and the -h option shows the options. (I am not at home right now to check this.)

I have seen problems caused by duplications in the ppd file when the install script that sets up the ppd file is run when the ppd file already exists.

PS Are you sure that you have the latest versions of the Brother files. There was an earlier version that worked with the 2.4 kernel, but broke with the 2.6 kernel.

phantom_cyph 02-06-2008 10:55 PM

It (xsane) says no devices available.

I have downloaded all the files needed on their site, not even looked for the old ones, so I assume I have the most recent. I downloaed both drivers again and did an "rpm -ivh --force" on each, in the "correct order", and it still doesn't work.

I really need this up soon...your help is greatly appreciated.

allend 02-07-2008 03:42 AM

These are the three downloads from Brother that I used for my installation.

DCP110Clpr-1.0.2-1.i386.rpm (The printer LPR driver)
cupswrapperDCP110C-1.0.0-1.i386.rpm (The CUPS wrapper)
brscan2-0.2.4-0.i386.rpm (The scanner driver)

I ran 'rpm2tgz' to convert these to Slack packages.

As root, I ran 'pkgtool' and installed the LPR driver, then the CUPS wrapper and then the scanner driver.
Note: Parts of these install scripts fail under Slackware as the install scripts are written for cshell, not bash. Also the default path in the scripts to CUPS and the commands to start and stop CUPS are not compatible with SLackware. I have not tried this, but it may help to create a symlink /etc/init.d/cups that points to /etc/rc.d/rc.cups. However the filters and driver libraries install OK.

I then changed to /usr/local/Brother/cupswrapper and re-ran the install script cupswrapperDCP-110C-1.0.0 with the -i option within a cshell. i.e. 'csh cupswrapperDCP-110C-1.0.0 -i'
This script basically builds the ppd file for CUPS, and endeavours to stop and start CUPS before and after.

I then changed to /usr/local/Brother/sane and re-ran the install script setupSaneScan2 with the -i option.
All this script does is add 'brother2' to the end of /etc/sane.d/dll.conf

For scanning, you need a 'scanner' group and you need to add the users apart from root that are to have access to the scanner.

With my Slackware-current setup, I have had to create this file
/etc/udev/rules.d/90-local.rules
with these lines

SUBSYSTEM=="usb", ATTR{idProduct}=="0169", ATTR{idVendor}=="04f9", ATTR{dev}=="189*" \
GROUP="scanner", MODE="0660"

so that users other than root can access the scanner.

I then reboot the system and check that the usb device is being detected using 'lsusb'

Then I configure CUPS using the web interface.
----
Sorry if the above is a dogs breakfast. I am attempting to summarise my handwritten notes involving installs since Slackware 10.

phantom_cyph 02-07-2008 07:40 PM

Ok...i'm doing this on a CentOS computer, so can you run those instructions by me one more time, minus the stuff singled out for slack? Sorry for the confusion...


[the more and more i look at it, it starts to make more sense. lol]


All times are GMT -5. The time now is 07:17 AM.