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 05: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 07: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 07: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 07: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 07: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 08: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 08: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 08:28 PM

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

phantom_cyph 02-05-2008 08: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 09: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 10:20 PM

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

allend 02-06-2008 11: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 11: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 04: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 08: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]

allend 02-07-2008 11:24 PM

Sorry, I was looking at your profile and saw Slack 12, rather than looking at your first post.

1. Download the three installation .rpm files from Brother.
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)

2. As root, install the LPR driver, then the CUPS wrapper and then the scanner driver.

3. 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.

I do not know CentOS, so I do not know how it handles USB devices.
In Slack 10, I needed to add an entry to /etc/fstab so that the scanner was mounted in the usb file system. This is not necessary in Slack 12, as udev handles everything automagically. The only issue is the need to set a custom udev rule so that normal users can access the usb device file for scanning.

phantom_cyph 02-08-2008 05:41 PM

OK, it still won't work, but I have more details on my problems.

Step 1: deleted all previous drivers (including lpr) and reinstalled in the order you said.
Step 2: restarted computer
Step 3: procrastinated for 30 minutes
Step 4: went and tried to configure the printer via web interface. This is what it shows as the printer being:
Code:

Brother "/usr/lib/cups/filter/brlpdwrapperDCP110C failed"

Description: DCP110C
Location: Local Printer
Make and Model: Brother DCP-110C CUPS v1.1
Printer State: idle, accepting jobs, published.
Device URI: usb://Brother/DCP-110C

(error shown after trying to print test page)

Step 5: checked xsane, and I was able to scan an image, so that works. YAY!
Step 6: came back here to find out what I did wrong.

Ideas?

allend 02-09-2008 12:02 AM

Hooray for the scanning! At least the USB communication is up and running.

When you are in the CUPS web interface and go through the Modify Printer dialog, do you see a device like:
Brother DCP-110C USB #1 (Brother DCP-110C)
in the drop down list?
After that do you see a Model/Driver like:
Brother DCP-110C CUPS v1.1 (en)
in the drop down list?

phantom_cyph 02-09-2008 12:07 AM

yes, i have selected both of those.

allend 02-09-2008 12:14 AM

Have you tried printing a simple text page, rather than the CUPS test page?

phantom_cyph 02-09-2008 12:18 AM

uh...maybe? well, not this install of the drivers.

allend 02-09-2008 12:22 AM

I have had issues with the CUPS test page not printing, but other files do. I think it is due to a missing font.

phantom_cyph 02-09-2008 01:04 AM

I'll try that then...I don't have access to it right now.

phantom_cyph 02-09-2008 10:13 AM

OK. Tried again. Open up Kate and typed "hello world". (very original)

The printer thing came up and this is what it looks like.

phantom_cyph 02-09-2008 11:54 AM

And another thing. I was surprised at the difference in these URIs:


Quote:

Brother_DCP-110C "Ready to print."
Description: Brother DCP-110C
Location: Local Printer
Make and Model: Brother DCP-110C CUPS v1.1
Printer State: idle, accepting jobs, published.
Device URI: hal:///org/freedesktop/Hal/devices/usb_device_4f9_169_BROJ5F263423_if0_printer_noserial
------------------------------------
Brother_DCP-110C_USB_1 "/usr/lib/cups/filter/brlpdwrapperDCP110C failed"
Description: Brother DCP-110C
Location: Local Printer
Make and Model: Brother DCP-110C CUPS v1.1
Printer State: idle, accepting jobs, published.
Device URI: usb://Brother/DCP-110C
And no, the first didn't work.

allend 02-09-2008 07:17 PM

Is there any information on the error? One of the icons on the jobviewer page will give more detailed information.

Do you have a /dev/usblp0 file?
On my system 'ls -l /dev/usblp0' gives:
lrwxrwxrwx 1 root root 7 2008-02-10 22:00 /dev/usblp0 -> usb/lp0
and 'ls -l /dev/usb/lp0' gives:
crw-rw-r-- 1 root lp 180, 0 2008-02-10 22:00 /dev/usb/lp0

If you do, try entering this device file name for the device URI in CUPS.

phantom_cyph 02-10-2008 11:08 PM

I have: usbdev1.1_ep00, usbdev1.1_ep81, usbdev1.3_ep00, usbdev1.3_ep81.

phantom_cyph 02-11-2008 12:44 PM

Hello?

I just contact Brother to see if they can be of any help as well...

allend 02-13-2008 09:04 AM

Hello phantom_cyph,

I have been lost in the world of virtual machines, but have finally succeeded in transferring the Win98 partition from my old box to a virtual machine in my new box.

According to this,
http://www.centos.org/docs/2/rhl-cg-...printconf.html
it looks as though you will need to create a custom device and name it /dev/usblp0.
Quote:

printconf attempts to detect your printer device and display it as shown in Figure 21-4. If your printer device is not shown, click Custom Device. Type the name of your printer device and click OK to add it to the printer device list. A printer device attached to the parallel port is usually referred to as /dev/lp0. A printer device attached to the USB port is usually referred to as /dev/usblp0. After selecting your printer device, click Next.


All times are GMT -5. The time now is 03:56 AM.