Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to print to a Brother MFC-7860DW over a wireless connection.
Here's what I know:
I installed the driver from Brother's website.
I found the uri using
lpinfo --include-schemes dnssd -v
I've looked up the IP address on the printer LCD display. It says 000.000.000.000.
ping 000.000.000.000
PING 000.000.000.000 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.054 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.053 ms
Wireless printing works from my Windows machine.
Wireless printing works on my Ubuntu 19.4 machine for an HP Officejet 6600.
I get this error message in CUPS:
Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/50) from localhost
This is a shared printer so I want to be very careful changing any settings on the printer.
When you stated wireless connection, are you referring to the computer or the printer?
If the printer is connected by a wire its wireless adapter will not have an assigned IP address and vice versa. Check the status of the other adapter.
Since Windows is able to print to the Brother printer it itself is not the problem.
I don't have access to a MFC-7860DW but I do have an HL-L2360DW which is similar since it also uses the PCL print language. The installer found the printer and I selected automatic URI. The installation was successful and a test page was printed. I am running Ubuntu 19 as a virtual machine but with a networked printer it does not matter.
Welcome to LinuxQuestions.org. You describe having installed the Brother driver, and finding the URI (via DNS-SD I assume?) but some definitive output will be useful here.
1. The configured printer URI and reported printer status...
Code:
lpstat -t
Enclose your output within code tags (refer to the '#' button in the advanced forum editor).
2. The configured filter...
Code:
sudo egrep -i "name|model|filter" /etc/cups/ppd/*
3. Also, tell us which dsitro you are using (as that impact on the specific advice given).
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,676
Rep:
Welcome to LinuxQuestions!
Quote:
I've looked up the IP address on the printer LCD display. It says 000.000.000.000.
Looks like your printer has not been assigned an IP address by your router. Weird?
Quote:
ping 000.000.000.000
PING 000.000.000.000 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.054 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.053 ms
This is the loopback result, NOT the printer. 127.0.0.1 is the computer's localhost address.
Where exactly did you get the driver and how did you install it?
I completely missed that... for some reason thinking OP had just obfuscated the address (usually done with XXX's of course). Anyway, that is the issue here.
1. The configured printer URI and reported printer status...
Code:
lpstat -t
Code:
no system default destination
device for MFC-7860DW: dnssd://Brother%20MFC-7860DW._pdl-datastream._tcp.local/
device for MFC7860DW: dnssd://Brother%20MFC-7860DW._pdl-datastream._tcp.local/
MFC-7860DW accepting requests since Fri 29 Nov 2019 08:32:30 PM EST
MFC7860DW accepting requests since Tue 26 Nov 2019 05:56:58 PM EST
printer MFC-7860DW is idle. enabled since Fri 29 Nov 2019 08:32:30 PM EST
printer MFC7860DW is idle. enabled since Tue 26 Nov 2019 05:56:58 PM EST
Thanks for posting the requested output. The printer status is as expected. You have the printer defined twice (although that won't cause an issue here).
which means that CUPS uses DNS-SD (DNS service discovery) which automates browsing for new printers and addressing of existing printers. It should just work so long as your printer is attached (via wired ethernet or wifi) to your LAN. What is strange so far is that you didn't confirm that the printer has an IP address in the same subnet as your PC (and other LAN hosts).
So, just to clarify the printer is associated with your wifi router (access point), and that you're not just trying to connect using wifi Direct (printer-----PC) for example?
What is strange so far is that you didn't confirm that the printer has an IP address in the same subnet as your PC (and other LAN hosts).
So, just to clarify the printer is associated with your wifi router (access point), and that you're not just trying to connect using wifi Direct (printer-----PC) for example?
Well I'm not sure now that you mention it. I thought I was connecting to the printer directly without going through the network. Maybe not.
I'll have an opportunity to ask Monday.
I'm impressed that you responded so quickly. Thank you.
Well I'm not sure now that you mention it. I thought I was connecting to the printer directly without going through the network. Maybe not.
The usual approach for shared printers is to have them available on the network you're connected to - that's what I would have assumed, but that means someone (=administrator) makes a deliberate effort to configure the printer (eg via front panel) to connect the device to a wireless network in the first place. I personally dislike the concept of connecting directly "on demand" with Wifi Direct, and it has been shown to be a security risk anyway.
So, just to clarify the printer is associated with your wifi router (access point), and that you're not just trying to connect using wifi Direct (printer-----PC) for example?
Good question. I had assumed that since it wasn't connecting to the printer as expected there must be some complicated network setup. I checked on the Windows machine that connects to this printer and see that the port is WSD. I wonder if I should just uninstall the printer(both versions), and reinstall using all defaults. I won't be in that office again until Tuesday.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.