LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-26-2019, 09:21 PM   #1
sebul
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Rep: Reputation: Disabled
Brother printer not work at my Debian 10


I have Brother MFC-J3530DW model printer.
I installed Debian 10 on my laptop.

I get a file from
https://support.brother.com/g/b/down...&flang=English

When I run
linux-brprinter-installer-2.2.1-1
I met following message.

Will you specify the Device URI? [Y/n] ->
0: beh
1: http
2: cups-brf:/
3: lpd
4: ipp
5: ipps
6: socket
7: https
8: serial:/dev/ttyS0?baud=115200
9: serial:/dev/ttyS1?baud=115200
10: serial:/dev/ttyS2?baud=115200
11: serial:/dev/ttyS3?baud=115200
12: dnssd://Brother%20MFC-J3530DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af4158483
13: <a href="//BRWD80F9946AD2B.local:631/ipp/print
14" rel="nofollow">ipp://BRWD80F9946AD2B.local:631/ipp/print
14</a> (I): Specify IP address.
15 (A): Auto. (dnssd://Brother%20MFC-J3530DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af4158483)
select the number of destination Device URI. ->

What number can I use?
 
Old 09-26-2019, 09:41 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
How is your printer attached? Is it USB-connected to the laptop, or IP connected to your network LAN? Assuming the latter, then option 12 or 15 should be ok. (They rely on Avahi doing the discovery work.)
 
Old 09-27-2019, 07:17 PM   #3
sebul
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Question lpr: connect: No such file or directory

My printer is connected wireless network.

17 (A): Auto. (dnssd://Brother%20MFC-J3530DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af4158483)

select the number of destination Device URI. ->17

I selected 17 Auto and got following messages.

lpadmin -p MFCJ3530DW -v dnssd://Brother%20MFC-J3530DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af4158483 -E
Test Print? [y/N] ->y

wait 5s.
lpr -P MFCJ3530DW /usr/share/cups/data/testprint
lpr: connect: No such file or directory
Is lpd daemon running?
jobs queued, but cannot start daemon.

How to solve it?
 
Old 09-27-2019, 07:38 PM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
you shouldn't need to install anything from brother
( I would only use that as last resort )


Here is Debian's page on Printing
https://wiki.debian.org/Printing

that one above should get you to the ones below

https://wiki.debian.org/CUPSIPPEvery...=IPPEverywhere
https://wiki.debian.org/CUPSDriverlessPrinting
 
Old 09-27-2019, 11:47 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
@FireratAre you sure about that? I've found no evidence online that the Brother MFC-J3530DW supports IPP Everywhere, (but I'm open to being corrected about that).

https://www.pwg.org/index.html

Instead I would make sure that the requisite Brother drivers are installed first. That includes both the LPR printer driver and CUPS wrapper printer driver (assuming a regular CUPS printing environment). I would install each deb package using your distro's package manager.

You should also make sure that CUPS is active...
Code:
sudo systemctl status cups.service

Last edited by ferrari; 09-27-2019 at 11:49 PM.
 
Old 09-28-2019, 12:23 AM   #6
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by ferrari View Post
@FireratAre you sure about that? I've found no evidence online that the Brother MFC-J3530DW supports IPP Everywhere, (but I'm open to being corrected about that).
what are all those ipp doing in the op then?
 
Old 09-28-2019, 02:12 AM   #7
sebul
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
systemctl status cups.service

Code:
# systemctl status cups.service
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2019-09-28 15:59:45 KST; 6min ago
Docs: man:cupsd(8)
Main PID: 517 (cupsd)
Tasks: 1 (limit: 4439)
Memory: 5.4M
CGroup: /system.slice/cups.service
└─517 /usr/sbin/cupsd -l

9월 28 15:59:45 sebul systemd[1]: Started CUPS Scheduler.

What should I do ?
 
Old 09-28-2019, 02:28 AM   #8
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
it will be quicker for you to work though this
https://wiki.debian.org/Printing
 
Old 09-28-2019, 02:55 AM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Quote:
Originally Posted by Firerat View Post
what are all those ipp doing in the op then?
That only signifies that the printer supports IPP printing protocol (which is common with many network printers), but it doesn't necessarily mean IPP Eveywhere is supported.
 
Old 09-28-2019, 03:37 AM   #10
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
From your opening post, I don't think you've configured the appropriate driver for CUPS. You can check that with
Code:
egrep -i "name|model|filter" /etc/cups/ppd/*
Report back with the output.

I would normally have expected the ppd to be explicitly configured with the -P option (eg asssuming PPD is located in /opt/brother/Printers/mfcj3530dw/cupswrapper/brother_mfcj3530dw_printer_en.ppd)....
Code:
lpadmin -p MFCJ3530DW -P /opt/brother/Printers/mfcj3530dw/cupswrapper/brother_mfcj3530dw_printer_en.ppd  -v dnssd://Brother%20MFC-J3530DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af4158483 -E  -v dnssd://Brother%20MFC-J3530DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-3c2af4158483 -E

In any case I recommend configuring via the CUPS inbuilt web interface (using your favourite browser)...

localhost:631/admin

Then select Add Printer and follow the prompts given.

Just in case this is relevant....

https://support.brother.com/g/b/faqe...aq00100598_000

Last edited by ferrari; 09-28-2019 at 03:39 AM.
 
Old 09-28-2019, 08:06 PM   #11
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141

Rep: Reputation: 29
I've used the (older) install script from Brother to install printers - they are very linux friendly! My specific ones wanted me to add i386 architecture.

The script should download the printer drivers as part of the install. You can find them on the same download page you got the install from.

As done, you'll need CUPS properly installed.
 
Old 09-29-2019, 12:11 AM   #12
sebul
LQ Newbie
 
Registered: Sep 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
egrep -i "name|model|filter" /etc/cups/ppd/*
/etc/cups/ppd/MFCJ3530DW.ppd:*PCFileName: "MFCJ3530DW.PPD"
/etc/cups/ppd/MFCJ3530DW.ppd:*cupsFilter: "application/vnd.cups-postscript 0 brother_lpdwrapper_mfcj3530dw"
/etc/cups/ppd/MFCJ3530DW.ppd:*cupsFilter: "application/vnd.cups-pdf 0 brother_lpdwrapper_mfcj3530dw"
/etc/cups/ppd/MFCJ3530DW.ppd:*cupsModelNumber: 16
/etc/cups/ppd/MFCJ3530DW.ppd:*ModelName: "Brother MFC-J3530DW"
/etc/cups/ppd/MFCJ3530DW.ppd:*ShortNickName: "MFC-J3530DW"
/etc/cups/ppd/MFCJ3530DW.ppd:*NickName: "Brother MFC-J3530DW CUPS"
/etc/cups/ppd/MFCJ3530DW.ppd.O:*PCFileName: "MFCJ3530DW.PPD"
/etc/cups/ppd/MFCJ3530DW.ppd.O:*cupsFilter: "application/vnd.cups-postscript 0 brother_lpdwrapper_mfcj3530dw"
/etc/cups/ppd/MFCJ3530DW.ppd.O:*cupsFilter: "application/vnd.cups-pdf 0 brother_lpdwrapper_mfcj3530dw"
/etc/cups/ppd/MFCJ3530DW.ppd.O:*cupsModelNumber: 16
/etc/cups/ppd/MFCJ3530DW.ppd.O:*ModelName: "Brother MFC-J3530DW"
/etc/cups/ppd/MFCJ3530DW.ppd.O:*ShortNickName: "MFC-J3530DW"
/etc/cups/ppd/MFCJ3530DW.ppd.O:*NickName: "Brother MFC-J3530DW CUPS"

Last edited by sebul; 09-29-2019 at 12:15 AM. Reason: refactor
 
Old 09-29-2019, 02:21 PM   #13
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Ok, that ppd output reads as expected. It confirms the configuration is using the Brother driver (brother_lpdwrapper_mfcj3530dw).

The current printer status can be got using
Code:
lpstat -t
Are you able to try a test print via the CUPS web interface? From a browser:

localhost:631/printers

Select the printer > Maintenance > Print Test Page

If you encounter problems, you'll need to examine the CUPS error log (/var/log/cups/error_log).

You can also put CUPS into debug mode (for more verbose output) using
Code:
sudo cupsctl --debug-logging
The output can be lengthy. If you want to share it, upload it to https://pastebin.com/ and share the link that it provides here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get brother MFC-J480 Printer to work - Printer not responding. pizzipie Linux - Hardware 4 11-04-2016 08:48 PM
[SOLVED] Brother printer HL-2270DW driver - Brother solutions offer four - which one? juneymoon Linux - Software 9 06-15-2013 04:52 PM
[SOLVED] installation of a brother hl2170w from brother francois.e Slackware 24 10-17-2011 09:44 PM
Fedora Printer Problem: Brother Laser Printer drops the first one or two centimeters merlinsenger Linux - Newbie 2 05-24-2008 06:13 AM
Brother HL2070N network printer installed, print jobs stuck in printer que jgz Linux - Networking 0 02-14-2008 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration