WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] GTK3 applications don't see network printer  (Read 2152 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1530
[Solved] GTK3 applications don't see network printer
« on: July 27, 2020, 09:25:34 AM »
Hello, friends. I need your help to print from GTK3 applications. I'm on TC11 64bit.

I loaded the  cups  and  hplip  extensions. Then I started the cups daemon (sudo /usr/local/etc/init.d/cups start) and added my HP network printer via the CUPS GUI (http://localhost:631/admin) using root password. I went with the default cups backend for the printer (JetDirect/AppSocket, which results in a socket:// URI). I can print a test page successfully from CUPS GUI. Also, GTK2 applications can print just fine.

Strangely, GTK3 applications cannot print: When print dialog window appears, the printer is not listed. I'm not familiar enough with the inner workings of GTK3 to troubleshoot this. Can someone point me in the right direction?
« Last Edit: July 27, 2020, 03:29:34 PM by Rich »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14845
Re: GTK3 applications don't see network printer
« Reply #1 on: July 27, 2020, 10:09:20 AM »
Is colord loaded?

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1530
Re: GTK3 applications don't see network printer
« Reply #2 on: July 27, 2020, 10:33:56 AM »
colord was not loaded. Loading it solved the problem. No way I would have guessed that.
Thank you, juanito! :)

Thread may be marked as solved.

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: GTK3 applications don't see network printer
« Reply #3 on: July 27, 2020, 01:17:30 PM »
Hi, Core guys!

Not printing, not using GTK, simply gazing: colord is, if it may be named so, "cross-dependency" of (cups & gtk3) ? Are such "cross-dependencies" possible for another extension sets?

Regards!
« Last Edit: July 27, 2020, 01:32:25 PM by jazzbiker »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: [Solved] GTK3 applications don't see network printer
« Reply #4 on: July 27, 2020, 03:30:58 PM »
Hi GNUser
... Thread may be marked as solved.
Done. :D