[SOLVED] Network printer not showing in GTK3 Print dialog

New to Debian (Or Linux in general)? Ask your questions here!

[SOLVED] Network printer not showing in GTK3 Print dialog

Postby wartisoc » 2017-03-20 06:22

I've got a really annoying issue with a network printer on Debian Jessie. From applications that use the GTK2 print dialog I can see the network printer perfectly and print without any issues. But from applications using the GTK3 print dialog I can't see the printer at all!. It is extremely annoying :(.

After realizing that the issue was somehow related to GTK3 I did search for a solution but I've got nothing useful. The closest thing I've found is a reference to gtk3-print-backends but there is no such a package in Debian.

Any help would be greatly appreciated.
Last edited by wartisoc on 2017-03-20 23:29, edited 1 time in total.
wartisoc
 
Posts: 30
Joined: 2016-06-28 18:17

Re: Network printer not showing in GTK3 Print dialog

Postby shep » 2017-03-20 12:51

Could be several things.

Network printers have to "broadcast" their availability and the clients have to "discover" them. This classically was handled by avahi.
Arch Linux Cups Wiki
Debian System Printing
I'm not sure what it is called in the latest systemd iteration.
If you'r using cups and the printer is connected directly to another computer, you need to be sure that you "share" the printer.
If you are using the lpr print spooler, lpr support was removed from gtk3 applications but remain in gtk2.
shep
 
Posts: 45
Joined: 2011-03-15 15:22

Re: Network printer not showing in GTK3 Print dialog

Postby wartisoc » 2017-03-20 23:28

shep wrote:If you are using the lpr print spooler, lpr support was removed from gtk3 applications but remain in gtk2.

So that's probably the reason why I was able to print from GTK2 applications but not from GTK3 ones. I thought it was a GTK3 related issue but after reading your post I kept searching and I found out that the printer, a HP M402n, required at least HPLIP version 3.15.11 while the version in the Debian stable repository is 3.14.6.

I updated the HPLIP related packages from the jessie-backports repository and after selecting the dnssd:// connection and selecting Raw for the Make/Manufacturer as specified in the Debian Wiki, I was able to get the printer working correctly even from GTK3 applications. The parts I highlighted in bold are important since it's otherwise easy to oversee that part; looking for the HP M402n model in the CUPS list of Make/Manufacturer doesn't display any coincidences, you have to select Raw.

Thanks, marking this topic as solved.
wartisoc
 
Posts: 30
Joined: 2016-06-28 18:17


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable