LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-26-2019, 06:24 PM   #1
bertmung
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Rep: Reputation: 0
Can't print to a wireless printer


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.
 
Old 11-26-2019, 08:14 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,399

Rep: Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089
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.
 
1 members found this post helpful.
Old 11-26-2019, 11:04 PM   #3
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,077

Rep: Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717
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).
 
2 members found this post helpful.
Old 11-27-2019, 07:04 AM   #4
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.3 (Netbook) and 18.3 (Desktop)
Posts: 1,452

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
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?

Play Bonny!

 
1 members found this post helpful.
Old 11-27-2019, 01:24 PM   #5
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,077

Rep: Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717
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.
 
Old 11-27-2019, 01:36 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,399

Rep: Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089Reputation: 3089
I disagree, the inactive network adapter is assigned 0.0.0.0 by default and I would guess the OP looked at the status for the wrong adapter.

The OP also posted it works with Windows but not with Ubuntu which means it should not be a printer problem.

On the other hand the meaning of shared printer could be it is connected to a Windows PC using a USB cable.

Last edited by michaelk; 11-27-2019 at 02:13 PM.
 
1 members found this post helpful.
Old 11-27-2019, 04:52 PM   #7
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,077

Rep: Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717
Quote:
On the other hand the meaning of shared printer could be it is connected to a Windows PC using a USB cable.
That's true, and the OP hasn't clarified this as yet.
 
Old 11-30-2019, 02:26 PM   #8
bertmung
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ferrari View Post

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
Quote:
2. The configured filter...
Code:
sudo egrep -i "name|model|filter" /etc/cups/ppd/*
Code:
:~$ sudo egrep -i "name|model|filter" /etc/cups/ppd/*
/etc/cups/ppd/MFC-7860DW.ppd:*PCFileName: "MFC7860.PPD"
/etc/cups/ppd/MFC-7860DW.ppd:*cupsModelNumber:       72
/etc/cups/ppd/MFC-7860DW.ppd:*cupsFilter: "application/vnd.cups-postscript 0 brlpdwrapperMFC7860DW"
/etc/cups/ppd/MFC-7860DW.ppd:*ModelName: "MFC7860DW"
/etc/cups/ppd/MFC-7860DW.ppd:*NickName: "Brother MFC7860DW for CUPS"
/etc/cups/ppd/MFC-7860DW.ppd:*ShortNickName: "Brother MFC7860DW for CUPS"
/etc/cups/ppd/MFC-7860DW.ppd:	/devname (%disk0%) def 
/etc/cups/ppd/MFC-7860DW.ppd:		devname exch 48 add 5 exch put 
/etc/cups/ppd/MFC-7860DW.ppd:		devname devstatus { 
/etc/cups/ppd/MFC-7860DW.ppd:     {(fonts/)AppendName exch pop mark exch
/etc/cups/ppd/MFC-7860DW.ppd:      {}=string filenameforall counttomark
/etc/cups/ppd/MFC-7860DW.ppd:  }=string filenameforall
/etc/cups/ppd/MFC7860DW.ppd:*PCFileName: "MFC7860.PPD"
/etc/cups/ppd/MFC7860DW.ppd:*cupsModelNumber:       72
/etc/cups/ppd/MFC7860DW.ppd:*cupsFilter: "application/vnd.cups-postscript 0 brlpdwrapperMFC7860DW"
/etc/cups/ppd/MFC7860DW.ppd:*ModelName: "MFC7860DW"
/etc/cups/ppd/MFC7860DW.ppd:*NickName: "Brother MFC7860DW for CUPS"
/etc/cups/ppd/MFC7860DW.ppd:*ShortNickName: "Brother MFC7860DW for CUPS"
/etc/cups/ppd/MFC7860DW.ppd:	/devname (%disk0%) def 
/etc/cups/ppd/MFC7860DW.ppd:		devname exch 48 add 5 exch put 
/etc/cups/ppd/MFC7860DW.ppd:		devname devstatus { 
/etc/cups/ppd/MFC7860DW.ppd:     {(fonts/)AppendName exch pop mark exch
/etc/cups/ppd/MFC7860DW.ppd:      {}=string filenameforall counttomark
/etc/cups/ppd/MFC7860DW.ppd:  }=string filenameforall
I deleted parts of the output that were about other printers.


Quote:
3. Also, tell us which dsitro you are using (as that impact on the specific advice given).
I started on Ubuntu 19.4. Upgraded to 19.10 last night.
 
Old 11-30-2019, 02:29 PM   #9
bertmung
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Soadyheid View Post


Looks like your printer has not been assigned an IP address by your router. Weird?

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?

Play Bonny!

I downloaded the driver from the Brother website. I installed it by typing the driver file name into the command line.
 
Old 11-30-2019, 02:34 PM   #10
bertmung
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
I disagree, the inactive network adapter is assigned 0.0.0.0 by default and I would guess the OP looked at the status for the wrong adapter.

The OP also posted it works with Windows but not with Ubuntu which means it should not be a printer problem.

On the other hand the meaning of shared printer could be it is connected to a Windows PC using a USB cable.
I found 000.000.000.000 on the printer's LCD by following the MFG instructions.

I haven't looked at any adapters.

Everyone prints to it wirelessly. We occasionally use a USB cable when wireless isn't working. That is rare.

Also, I am impressed by the effort all of you have put into answer this question. I hope to learn enough to do the same someday.

Last edited by bertmung; 11-30-2019 at 02:36 PM.
 
Old 11-30-2019, 03:11 PM   #11
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,077

Rep: Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717
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).

The configured URI is
Code:
dnssd://Brother%20MFC-7860DW._pdl-datastream._tcp.local/
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?
 
Old 11-30-2019, 06:49 PM   #12
bertmung
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ferrari View Post
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.

Last edited by bertmung; 11-30-2019 at 06:51 PM.
 
Old 11-30-2019, 06:54 PM   #13
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,077

Rep: Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717
Well, I get alerts for subscribed threads and when I have time to asisst I do.
 
Old 11-30-2019, 06:57 PM   #14
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,077

Rep: Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717Reputation: 717
Quote:
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.
 
Old 12-01-2019, 07:11 PM   #15
bertmung
LQ Newbie
 
Registered: Jul 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ferrari View Post
...


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.

Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 print from Windows to CUPS printer. Cannot print from Windows to Samba printer. PastorJeremyWilson Linux - Server 9 09-24-2018 03:11 PM
Cannot print from Java application on Samba printer, but can on network printer??? proNick Linux - General 0 02-01-2013 02:44 AM
My HP 720c printer isn't print at all in linux but print in windows. nadavvin Linux - Hardware 9 11-12-2006 10:30 AM
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 05:15 PM
Print jobs repeat infinetly on lpd printer attached to axis print server linux-who? Linux - Hardware 0 03-28-2006 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration