LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Installing a printer (https://www.linuxquestions.org/questions/fedora-35/installing-a-printer-4175728093/)

Ian D 08-16-2023 11:10 AM

Installing a printer
 
I have bought a new printer (Brother HL-L2350DW) and tried to connect it to my computer.
Looking at dmesg I can see that it has been spotted
Code:

[    1.677999] usb 2-3.4: New USB device found, idVendor=04f9, idProduct=009e, bcdDevice= 1.00
[    1.678006] usb 2-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.678009] usb 2-3.4: Product: HL-L2350DW series
[    1.678011] usb 2-3.4: Manufacturer: Brother
[    1.678013] usb 2-3.4: SerialNumber: E78252B3N460964

I have downloaded and installed the driver and 'Print Settings' knows about it - but the Properties shows 'Processing - Waiting for printer to become available.'
The printer is turned on but is asleep. Where should I look to get it to wake up?

Poking around I looked in /etc/cups/printer.conf. There I saw that my previous printer was at
Code:

DeviceURI usb://Brother/MFC-9660?serial=BRO3C148910%0D
while the new one is at
Code:

DeviceURI usb://dev/usb/lp0
I am suspicious that the setup is not yet correct.

ferrari 08-16-2023 05:32 PM

The pragmatic option would be to power-cycle the printer, or re-plug the USB connection when required.

This may also be of interest to you
https://wiki.archlinux.org/title/CUP...SB_autosuspend

Anyway, what do the following commands show? (Run both as user)
Code:

/usr/share/cups/usb
Code:

ls -l /dev/bus/usb/*/*
An old thread discussing similar...
https://bbs.archlinux.org/viewtopic.php?id=82489

Emerson 08-16-2023 06:04 PM

I learned to use network instead of USB long time ago. For at least 20 years now all my printers are networked, it is so much easier to set them up.

frankbell 08-16-2023 08:16 PM

Have you tried installing it via CUPS: http://localhost:631

linux-man 08-16-2023 09:49 PM

Quote:

Originally Posted by frankbell (Post 6448779)
Have you tried installing it via CUPS: http://localhost:631

I under the impression Borther printers are ready to go as it out of the box when it comes to linux?

michaelk 08-16-2023 10:17 PM

cups has a USB backend so /dev/usb/lp0 has not been used in at least 10+ years. In that past that was caused by the usblp module still being loaded. To fix you would need to blacklist the module.

I would expect your printer to be IPP everywhere capable (via IPP over USB) so Fedora should be able to automatically find and setup the printer if all the bits and pieces were working. You might need to install the IPP-usb package.

https://discussion.fedoraproject.org...-enabled/76556

ferrari 08-17-2023 01:47 AM

Quote:

Originally Posted by michaelk (Post 6448791)
cups has a USB backend so /dev/usb/lp0 has not been used in at least 10+ years. In that past that was caused by the usblp module still being loaded. To fix you would need to blacklist the module.

That hasn't been a requirement for years actually.
https://github.com/apple/cups/issues/4128

ferrari 08-17-2023 01:57 AM

FWIW, I have an old Brother DCP-7055 printer (which only has USB connectivity), and the working printer URI is identical to that of the OP's posted config. The proprietary driver uses the older USB CUPS backend based on the old /dev/usb/lp* device file for communication. Most modern printer drivers use the libusb-based USB backend these days.

Of course, I also encourage the OP to try using the driverless approach as well.

Ian D 08-18-2023 04:25 AM

It appears that ipp-usb was causing the problem.
I created a file "myprinter.conf" in the /etc/ipp-usb/quirks/ folder with this content
Quote:

[Brother HL-L2350DW]
blacklist = true

[Brother HL-L2350DW series]
blacklist = true
I went to Administration->Print Settings and deleted my printer and then rebooted the computer.
I then went to Administration->Print Settings and added my printer - the printer was available in a list to select - and I was able to select the Brother printer driver from a list.
Finally I was able to print a test page!

ferrari 08-18-2023 09:14 PM

Thanks for the update I haven't run into this issue, but it has been discussed by the CUPS people for some time....

https://github.com/OpenPrinting/ipp-usb/issues/28
https://github.com/OpenPrinting/ipp-usb/issues/50


All times are GMT -5. The time now is 12:29 PM.