LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-19-2022, 09:23 AM   #1
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Rep: Reputation: Disabled
Printer issue with WiFi


Hope this is the correct forum but I have a Brother HL-L2360DW which is under WiFi control and has been printing well but today when I tried to print an email or a webpage and there is no activation of the printer. I can print a test page so the Wifi is functional in that respect. Running Linux 20.3 Cinnamon if that helps.

Thanks
 
Old 02-19-2022, 10:49 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Any chance the was a power cycle to the printer or your wifi?

I have a Brother printer also and do see some weird availability issues.

I usually can clear them up by redoing the WPS method, or less intrusive, turn off printer and back on, or turn off printer wireless and back on, final easiest method, leave it all and try later, or try a different print host. Seriously sometimes for whatever reason the printer and wifi do not talk. Since printing is rarely a priority for me, sometimes I try the next day or hours later and it works fine. My printer is two floors from me many times, so I'm lazy about walking up there, resetting it, and then the wifi is elsewhere, so same laziness. Maybe if all things were adjacent I'd debug it with more zeal.

Using my phone to select the printer it shows as a 10.x.y.z address, and sometimes multiple ones, so I also have had success trying the second address.
 
Old 02-19-2022, 11:22 AM   #3
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
Any chance the was a power cycle to the printer or your wifi?

I have a Brother printer also and do see some weird availability issues.

I usually can clear them up by redoing the WPS method, or less intrusive, turn off printer and back on, or turn off printer wireless and back on, final easiest method, leave it all and try later, or try a different print host. Seriously sometimes for whatever reason the printer and wifi do not talk. Since printing is rarely a priority for me, sometimes I try the next day or hours later and it works fine. My printer is two floors from me many times, so I'm lazy about walking up there, resetting it, and then the wifi is elsewhere, so same laziness. Maybe if all things were adjacent I'd debug it with more zeal.

Using my phone to select the printer it shows as a 10.x.y.z address, and sometimes multiple ones, so I also have had success trying the second address.
Like you I do not use the printer much and nothing has changed since last use and surprised was not able to print. I did do a on/off and will try your suggestions. Thank you.
 
Old 02-19-2022, 12:09 PM   #4
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Original Poster
Rep: Reputation: Disabled
I am able to print using the Chromium browser but not with the Firefox. What is that telling me?
 
Old 02-19-2022, 02:58 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,722

Rep: Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917
I thought I read in some thread on the site that Chromium uses its own print dialog box versus the desktops.

I have the same printer and what is nice about the HL-L2360DW is that it is IPP everywhere compliant and that Mint should automatically find and add the printer without doing anything. I run Mint Mate 20.3 in a VM and on occasion I see two printers in the dialog box but can only print from one. I have not found why as of yet.

Just as a test create print to file PDF from Firefox and then try printing from the command line using the lpr or lp print commands.

lpr -P printer-queue file.pdf

You can find the printer queue name from cups web interface (localhost:631/printers) or the output of the command

lpstat -a

Not sure if this will help you might want to clear Firefox saved print settings.

https://support.mozilla.org/en-US/kb...oblems-firefox

Last edited by michaelk; 02-19-2022 at 03:13 PM.
 
Old 02-19-2022, 03:34 PM   #6
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I thought I read in some thread on the site that Chromium uses its own print dialog box versus the desktops.

I have the same printer and what is nice about the HL-L2360DW is that it is IPP everywhere compliant and that Mint should automatically find and add the printer without doing anything. I run Mint Mate 20.3 in a VM and on occasion I see two printers in the dialog box but can only print from one. I have not found why as of yet.

Just as a test create print to file PDF from Firefox and then try printing from the command line using the lpr or lp print commands.

lpr -P printer-queue file.pdf

You can find the printer queue name from cups web interface (localhost:631/printers) or the output of the command

lpstat -a

Not sure if this will help you might want to clear Firefox saved print settings.

https://support.mozilla.org/en-US/kb...oblems-firefox
Yes I did clear Firefox saved print settings and earlier was able to Save to pdf but still no print.
Here is the printer name via command line,,,,,

lpstat -a
Brother-HL-L2360D accepting requests since Sat 19 Feb 2022 03:22:32 PM EST

Your command lpr -P printer-queue file.pdf I don't understand ,,if the file name is wbgr.pdf would the command be,,,

lpr -P printer-wbgr.pdf

thanks
 
Old 02-19-2022, 03:38 PM   #7
poncedeleon
Member
 
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 195

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I thought I read in some thread on the site that Chromium uses its own print dialog box versus the desktops.

I have the same printer and what is nice about the HL-L2360DW is that it is IPP everywhere compliant and that Mint should automatically find and add the printer without doing anything. I run Mint Mate 20.3 in a VM and on occasion I see two printers in the dialog box but can only print from one. I have not found why as of yet.

Just as a test create print to file PDF from Firefox and then try printing from the command line using the lpr or lp print commands.

lpr -P printer-queue file.pdf

You can find the printer queue name from cups web interface (localhost:631/printers) or the output of the command

lpstat -a

Not sure if this will help you might want to clear Firefox saved print settings.

https://support.mozilla.org/en-US/kb...oblems-firefox
Forget to comment on the last reply that I also had seen two printers also when running Mate, one being HL-L2360series and the other HL-L2360D and not sure why that was. Somewhere down the line I upgraded but went with Cinnamon by mistake! Now I only have the one printer icon being HL-L2360D.
 
Old 02-19-2022, 03:57 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,722

Rep: Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917Reputation: 5917
Printing using lpr is:

lpr -P Brother-HL-L2360D wbgr.pdf (assuming your in the same directory as wbgr.pdf is located)
 
Old 02-19-2022, 06:46 PM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,817

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Quote:
Originally Posted by poncedeleon View Post
Forget to comment on the last reply that I also had seen two printers also when running Mate, one being HL-L2360series and the other HL-L2360D and not sure why that was. Somewhere down the line I upgraded but went with Cinnamon by mistake! Now I only have the one printer icon being HL-L2360D.
This will show the printer URI
Code:
lpstat -s
When you had two printers listed (pertaining to the same printer) it may well have been that cups-browsed had discovered and enumerated an IPP Everywhere capable printer, as well as any others that you had manually configured.

Try the command that michaelk gave, and if the printer fails to print, check /var/log/cups/error_log for filter-related problems. You can put CUPS into debug mode (more verbose reporting) with
Code:
sudo cupsctl --debug-logging
After that sending a print job will result in much more logging that can be reviewed for diagnostic purposes.

Running something like
Code:
egrep -iA3 "filter|error" /var/log/cups/error_log
can be used to trawl the lengthy file for potentially definitive output. I sometimes remove the existing error_log first, so that output only from the last print job is present when undertaking such diagnostics. That can simplify what I'm looking for.
 
Old 02-19-2022, 08:11 PM   #10
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
When I have problems printing to my wifi printer I find that power cycling the printer most often fixes it. Sometimes just waking up the printer fixes it. The DHCP lease may expire while the printer is sleeping.

One more thing to note is that with wifi and DHCP you may see the printer change IP addresses which will break the printer config. To solve that potential issue you should always make certain that the printer has a fixed IP, either by reserving the address within the router DHCP config (I do this) or by assigning a fixed address on the printer itself.
 
  


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
Ubuntu 20LTS dual boot Laptop Dell Inspiron 5548 I can not turn on wifi and in wifi settings indicates no wifi device was found Shra94 Linux - Hardware 1 05-19-2020 04:22 PM
Wifi option is there but no wifi scanning or wifi not working Aakash447 Linux - Newbie 3 06-28-2018 11:48 PM
If a printer, and a wifi adapter have the same chipset, can the driver from the printer be applied to the wifi adapter? unwound Linux - Newbie 5 02-18-2017 12:46 PM
Want to share my wifi by creating a wifi hotspot ( While staying connected to wifi)? shadyXV Linux - Desktop 4 07-20-2015 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:06 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