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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-19-2022, 09:23 AM
|
#1
|
Member
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 196
Rep: 
|
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
|
|
|
02-19-2022, 10:49 AM
|
#2
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,968
|
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.
|
|
|
02-19-2022, 11:22 AM
|
#3
|
Member
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 196
Original Poster
Rep: 
|
Quote:
Originally Posted by rtmistler
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.
|
|
|
02-19-2022, 12:09 PM
|
#4
|
Member
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 196
Original Poster
Rep: 
|
I am able to print using the Chromium browser but not with the Firefox. What is that telling me?
|
|
|
02-19-2022, 02:58 PM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,907
|
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.
|
|
|
02-19-2022, 03:34 PM
|
#6
|
Member
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 196
Original Poster
Rep: 
|
Quote:
Originally Posted by michaelk
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
|
|
|
02-19-2022, 03:38 PM
|
#7
|
Member
Registered: Jul 2021
Location: Patagonia
Distribution: Linux Mint Debian Enhanced LMDE
Posts: 196
Original Poster
Rep: 
|
Quote:
Originally Posted by michaelk
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.
|
|
|
02-19-2022, 03:57 PM
|
#8
|
Moderator
Registered: Aug 2002
Posts: 26,907
|
Printing using lpr is:
lpr -P Brother-HL-L2360D wbgr.pdf (assuming your in the same directory as wbgr.pdf is located)
|
|
|
02-19-2022, 06:46 PM
|
#9
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,016
|
Quote:
Originally Posted by poncedeleon
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
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.
|
|
|
02-19-2022, 08:11 PM
|
#10
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
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.
|
|
|
All times are GMT -5. The time now is 09:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|