[DONE] M5: Cannot print on Brother HL-4570CDW

[DONE] M5: Cannot print on Brother HL-4570CDW

Postby elmago » May 15th, '16, 17:53

Hi,
For some time I couldn't print from laptop Mageia5 but now that I switched my desktop to Mageia-5 also, I cannot ignore this issue anymore.

After installing Mageia-5 last night, updates and other s/w I used MCC to configure printers.
The printer Brother HL-4570CDW is connected by Ethernet-RJ45 cable to WiFi Router. It has a permanently leased address of 192.168.0.198. I use Ethernet-RJ45 cable to connect desktop to the WiFi router. The desktop does not have any other Ethernet port or 802.11 WiFi adapter. HL-4570CDW is PS-3 and PCL-6 compatible, color, auto duplex.

The MCC printer page added CUPS driver and some other one. Found the two printers on the WiFi router (there is a temporary second printer for evaluation which is purely via 802.11g path). I chose the HL-4570CDW. Driver suggested by CUPS: Brother 1200(?) something, PostScript Glutten...which I accepted.
Then I tell it to print the test page which it never does. Somewhere along the way I remember seeing "Cannot locate BRN001BA9A8F98B". I went to bed!

This morning I learned a little about CUPS and then used CUPS web interface to delete and then added the printer several times by changing various drivers from CUPS list but no success. My latest attempt was to use "Brother HL-4070CDW BR-Script3 driver". The error seems to be
processing since
Sun 15 May 2016 10:47:32 AM EDT
"Unable to locate printer "BRN001BA9A8F98B"."

Located the /etc/cups folder and inspected some files there. Here are some of these info. Looks like the back end is having trouble locating it during printing although CUPS is clearly able to browse the net and locate both printers during printers adds. I also noticed that CUPS web interface does not allow me to specify a hard IP (192.168.0.198) for the printer. This same hardware set up has worked in Fedora using generic driver.

Code: Select all
[root@localhost cups]#
[root@localhost cups]# pwd
/etc/cups
[root@localhost cups]#
[root@localhost cups]# l
total 84
drwxr-xr-x   5 root lp    4096 May 15 10:48 ./
-rw-r-----   1 root lp     983 May 15 10:48 subscriptions.conf
-rw-r-----   1 root lp     983 May 15 10:32 subscriptions.conf.O
-rw-------   1 root lp     515 May 15 10:30 printers.conf
drwxr-xr-x   2 root lp    4096 May 15 10:29 ppd/
-rw-------   1 root lp     524 May 15 10:24 printers.conf.O
-rw-------   1 root lp     128 May 14 19:50 classes.conf
drwxr-xr-x 111 root root 12288 May 14 19:46 ../
-rw-r-----   1 root lp    2948 May 14 19:46 cups-files.conf
-rw-r--r--   1 root sys   3685 May 14 19:46 cups-browsed.conf
-rw-r-----   1 root lp    4408 Oct 20  2015 cupsd.conf
-rw-r-----   1 root sys   4408 Oct 20  2015 cupsd.conf.default
drwxr-xr-x   2 root sys   4096 Oct 20  2015 interfaces/
-rw-r-----   1 root sys    142 Oct 20  2015 snmp.conf
drwx------   2 root lp    4096 Oct 20  2015 ssl/
-rw-r--r--   1 root root   778 Sep  3  2015 pstotiff.convs
-rw-r--r--   1 root root  1077 Nov 14  2014 command.types
[root@localhost cups]#
[root@localhost cups]# cat printers.conf
# Printer configuration file for CUPS v2.0.4
# Written by cupsd on 2016-05-15 10:30
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HL4570CDW>
UUID urn:uuid:4a75902e-f0e3-3686-7c4c-4c23d6364293
Info Brother HL-4570CDW series
Location Local Printer
MakeModel Brother HL-4070CDW BR-Script3
DeviceURI lpd://BRN001BA9A8F98B/BINARY_P1
State Idle
StateTime 1463322139
Type 8433756
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
[root@localhost cups]#
[root@localhost cups]# l ppd
total 48
drwxr-xr-x 5 root lp  4096 May 15 10:48 ../
drwxr-xr-x 2 root lp  4096 May 15 10:29 ./
-rw-r----- 1 root lp 27322 May 15 10:29 HL4570CDW.ppd
-rw-r----- 1 root lp  9801 May 15 10:23 HL4570CDW.ppd.O
[root@localhost cups]#
[root@localhost cups]#
[root@localhost cups]# cat ppd/HL4570CDW.ppd
*PPD-Adobe: "4.3"
*% This program is free software; you can redistribute it and/or modify it
*% under the terms of the GNU General Public License as published by the Free
*% Software Foundation; either version 2 of the License, or (at your option)
*% any later version.
*%
*% This program is distributed in the hope that it will be useful, but WITHOUT
*% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
*% FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
*% more details.
*%
*% You should have received a copy of the GNU General Public License along with
*% this program; if not, write to the Free Software Foundation, Inc., 59 Temple
*% Place, Suite 330, Boston, MA  02111-1307  USA
*%


*%================================================
*%      Copyright(C) 2006 Brother Industries, Ltd.
*%      "Brother HL-4070CDW BR-Script3"
*%================================================

*%==== General Information Keywords ========================
*FormatVersion: "4.3"
*FileVersion: "1.08"
*LanguageEncoding: ISOLatin1
*LanguageVersion: English
*Manufacturer: "Brother"
*PCFileName: "BR4070_2.PPD"
*Product: "(Brother HL-4070CDW)"
*PSVersion: "(3010.106) 3"
*ShortNickName: "Brother HL-4070CDW BR-Script3"
*ModelName: "Brother HL-4070CDW BR-Script3"
*NickName: "Brother HL-4070CDW BR-Script3"
...
...



Thanks.
Attachments
2016_05_15_1047_cups_status.jpg
2016_05_15_1047_cups_status.jpg (107.96 KiB) Viewed 2563 times
Last edited by elmago on May 22nd, '16, 20:53, edited 1 time in total.
elmago
 
Posts: 63
Joined: Oct 14th, '11, 05:47

Re: M5: Cannot print on Brother HL-4570CDW

Postby arnesp » May 16th, '16, 00:34

BRN001BA9A8F98B is supposed to be the host name of the printer.
Either replace it with the IP address or add an entry for it to /etc/hosts.
To replace it, start Mageia Control Center, go to Hardware/Set up the printer(s)... and double click on the printer icon.
Edit the Device URI to replace BRN001BA9A8F98B with the IP address and click Apply.
CUPS should now be able to locate your network printer.
arnesp
 
Posts: 60
Joined: Aug 6th, '15, 00:41

Re: M5: Cannot print on Brother HL-4570CDW [SOLVED]

Postby elmago » May 16th, '16, 01:54

That did it! I just changed the name part with 192.168.0.198 leaving the "lpd:" part intact.
Many thanks to arnesp. I was wondering if this simple step could be somehow communicated to the first time users of CUPS (like me) during printer installation.

The test page printed in full color and duplex. Have attached two scanned shots for it, one withe the paper folded to show the duplex image.
Thanks again.
Attachments
printed_page_duplex.jpg
printed_page_duplex.jpg (53.11 KiB) Viewed 2541 times
printed_page_front.jpg
printed_page_front.jpg (52.28 KiB) Viewed 2541 times
elmago
 
Posts: 63
Joined: Oct 14th, '11, 05:47

[SOLVED]Re: M5: Cannot print on Brother HL-4570CDW

Postby elmago » May 16th, '16, 01:57

Marking it solved...
elmago
 
Posts: 63
Joined: Oct 14th, '11, 05:47

Re: M5: Cannot print on Brother HL-4570CDW [SOLVED]

Postby doktor5000 » May 16th, '16, 10:39

elmago wrote: I was wondering if this simple step could be somehow communicated to the first time users of CUPS (like me) during printer installation.

You are supposed to do your printer installation via MCC / system-config-printer, not via CUPS directly, and for network printers it asks first for the IP adress: http://doc.mageia.org/mcc/5/en/content/ ... inter.html
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: M5: Cannot print on Brother HL-4570CDW

Postby elmago » May 16th, '16, 16:40

Hi doktor, here are the screen shots of adding a FAX machine using MCC. I am at work and on my current external access net there are no real printers... just a FAX (which is actually a multi-function thing but policies dictate only FAX...)
I did not receive an explicit IP-Address prompt anywhere.

The Doc page you linked does talk about putting the IP-adr in hosts field but not very prominently. But thanks for pointing that out.
Attachments
2016_05_16_faxAdd_3.jpg
Capture-3: After hitting NO to print test page.
2016_05_16_faxAdd_3.jpg (20.11 KiB) Viewed 2508 times
2016_05_16_faxAdd_2.jpg
Capture-2: After filling in the only unfilled bottom-most field which is optional according to the prompt.
2016_05_16_faxAdd_2.jpg (29.35 KiB) Viewed 2508 times
2016_05_16_faxAdd_1.jpg
Capture-1: After searching for network printers and accepting the MFC-FAX as printer.
2016_05_16_faxAdd_1.jpg (27.54 KiB) Viewed 2508 times
elmago
 
Posts: 63
Joined: Oct 14th, '11, 05:47

Re: M5: Cannot print on Brother HL-4570CDW

Postby doktor5000 » May 16th, '16, 18:50

You do not need to put the IP adress in the hosts file, just make sure on the router that the same IP adress will always be assigned to that printer of yours (on some routers also called static DHCP, based on the MAC adress of the device).

And during device selection during adding a new printer you can enter the IP adress, see also http://doc.mageia.org/mcc/5/en/content/ ... rk_printer
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron