Problem with Brother MFC-J835DW and CUPS-3.1.5-2.4.1 lpd

David A. Smith dasmith at electronicaidesdesign.com
Thu Jan 17 14:30:09 PST 2013


I am having a network printing problem with cups-1.5.3-2.4.1 in OpenSUSE 12.2 on an Intel Pentium 4 CPU 2.40GHz Desktop Computer with 2GB Memory and 35GB Hard Disk.

I have a Hewlett Packard LaserJet 3 connected locally to this computer to the parallel port /dev/lp0 and a Brother MFC-J835DW All-in-One printer WIFI networked through a LinkSys Broadband Router, Model WRT54GX2.

I am able to print to the Hewlett Packard LaserJet 3 fine without any problems. However, I cannot print to the Brother MFC-J835DW printer through the network. I have configured the cups with the Brother Solution Linux Printer Driver files and followed their setup instructions as followed from their web site:

Pre-required Procedure (1)

    Related distributions
    openSUSE 10.3 or earlier
    Related products/drivers
    cupswrapper printer/PC-FAX drivers
    Requirement

    "lppasswd -g sys -a root" command is required before the installation.

    (Setting the root password is required befor you can issue this command.)

Pre-required Procedure (2)

    Related distributions
    Debian, Ubuntu, openSUSE, Redhat
    Related products/drivers
    Printer drivers for DCP-1000, DCP-1400, DCP-8020, DCP-8025D, DCP-8040, DCP-8045D, DCP-8060, DCP-8065DN, FAX-2850, FAX-2900, FAX-3800, FAX-4100, FAX-4750e, FAX-5750e, HL-1030, HL-1230, HL-1240, HL-1250, HL-1270N, HL-1430, HL-1440, HL-1450, HL-1470N, HL-1650, HL-1670N, HL-1850, HL-1870N, HL-5030, HL-5040, HL-5050, HL-5070N, HL-5130, HL-5140, HL-5150D, HL-5170DN, HL-5240, HL-5250DN, HL-5270DN, HL-5280DW, HL-6050, HL-6050D, MFC-4800, MFC-6800, MFC-8420, MFC-8440, MFC-8460N, MFC-8500, MFC-8660DN, MFC-8820D, MFC-8840D, MFC-8860DN, MFC-8870DW, MFC-9030, MFC-9070, MFC-9160, MFC-9180, MFC-9420CN, MFC-9660, MFC-9700, MFC-9760, MFC-9800, MFC-9860, MFC-9880
    Requirement
    Creating a symbolic link is required before the installation (superuser authorization is required to run the command)

    For Redhat based distributions and Debian base distributions greater than Ubuntu8.10, Debian5:

    "ln -s /etc/init.d/cups /etc/init.d/lpd"

Pre-required Procedure (3)

    Related distributions
    Distributions using firewall
    Related products/drivers
    scan-key-tool
    Requirement
    UDP Port 54925 is required to be open.
    Example of the setting location;
    OpenSUSE10.0: Yast-> Security and Users-> Firewall-> Allowed Service->Advanced

Step 4. Install LPR driver and cupswrapper driver

    4-1. Turn on the printer and connect the USB cable.
    4-2. Open the terminal and go to the directory where the drivers are.
    4-3. Install LPR driver.The install process may take some time. Please wait until it is complete.

        Command (for rpm)  :  rpm  -ihv  --nodeps  (lpr-drivername)


Install LPR driver (rpm)

	# rpm -ihv --nodeps mfcj835dwlpr-3.0.0-1.i386.rpm
	Preparing packages for installation...
	mfcj835dwlpr-3.0.0-1
	Shutting down cupsd                                                  done
	Starting cupsd                                                       done
	#


    4-4. Install cupswrapper driver.The install process may take some time. Please wait until it is complete.

        Command (for rpm)  :  rpm  -ihv  --nodeps  (cupswrapper-drivername)


Install cupswrapper driver (rpm)

	# rpm -ihv --nodeps mfcj835dwcupswrapper-3.0.0-1.i386.rpm
	Preparing packages for installation...
	mfcj835dwcupswrapper-3.0.0-1
	Shutting down cupsd                                                  done
	Shutting down cupsd                                                  done
	Starting cupsd                                                       done
	#

    4-5. Check if the LPR driver and cupswrapper driver are installed

        Command (for rpm)  :  rpm  -qa  |  grep  -e  (lpr-drivername)  -e  (cupswrapper-drivername)


Check LPR driver and cupswrapper driver (rpm)

	# rpm -qa | grep -e mfcj835dwlpr -e mfcj835dwcupswrapper
	mfcj835dwlpr-3.0.0-1
	mfcj835dwcupswrapper-3.0.0-1
	#

Step 5a. (for USB Connection) Check your printer on the cups web interface

    5a-1. Open a web browser and go to "http://localhost:631/printers".

        Check if the Device URI of your printer is "usb://Brother/(your printer's model name)"
        Example of a USB printer entry
        If the device URI is different from the example above, please go to "Modify Printer" of your printer to select proper device and driver.

        If your printer is not listed on "http://localhost:631/printers", please go to "http://localhost:631/admin" and click "Add printer" and select proper device and driver.

Step 5b. (for Network Connection) Configure your printer on the cups web interface

    5b-1. Open a web browser and go to "http://localhost:631/printers".
    5b-2. Click "Modify Printer" and set following parameters.

    - "LPD/LPR Host or Printer" or "AppSocket/HP JetDirect" 	     	for Device
    - lpd://(Your printer's IP address)/binary_p1 	     	for Device URI
    - Brother 	     	for Make/Manufacturer Selection
    - Your printer's name 	     	for Model/Driver Selection

Which my configuration looks as follows:

(Idle, Accepting Jobs, Shared)
Description:	Brother MFC-J835DW CUPS
Location:	Family_Room
Driver:	Brother MFC-J835DW CUPS (color, 2-sided printing)
Connection:	lpd://182.168.12.105/binary_p1
Defaults:	job-sheets=none, none media=na_letter_8.5x11in sides=one-sided

When I try a test print from cups, the following happens:

				Showing 1 of 1 active job.

▼ ID ▼		Name		User		Size	Pages		State					Control
MFCJ835DW-7  	Unknown  	Withheld  	1k  	Unknown  	stopped
									"/usr/lib/cups/filter/pstops failed"

The /var/log/cups/error_log file shows the following errors:

E [16/Jan/2013:21:49:05 -0500] [cups-polld 192.168.12.105:631] CUPS-Get-Printers failed: server-error-operation-not-supported
E [16/Jan/2013:21:49:05 -0500] [cups-polld 192.168.12.105:631] CUPS-Get-Printers failed: server-error-operation-not-supported
E [16/Jan/2013:21:49:05 -0500] [cups-polld 192.168.12.105:631] CUPS-Get-Printers failed: server-error-operation-not-supported
E [16/Jan/2013:21:49:05 -0500] [cups-polld 192.168.12.105:631] CUPS-Get-Printers failed: server-error-operation-not-supported
...

I know the IP Address is correct for the Brother MFCJ835DW printer because I am able to access the scanner part of it through the brscan4 driver using the same IP Address. Also, I have success printing to the Brother MFCJ835DW from Mandriva Linux 2008.1 using the same setup on this same computer fine. I have already tried disabling the firewall, which didn't make any difference. I also tried changing the url connection to socket://192.168.12.105:9100 or socket://192.168.12.105 with no difference in results. Nothing else is on my network with address. I am wondering if there could be a bug in cups-1.5.3-2.4.1 release when network printing?

Thank you,

David





More information about the cups mailing list