WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1343
[Solved] GTK3 applications don't see network printer
« on: July 27, 2020, 06: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, 12:29:34 PM by Rich »

Offline Juanito

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

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1343
Re: GTK3 applications don't see network printer
« Reply #2 on: July 27, 2020, 07: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: 933
Re: GTK3 applications don't see network printer
« Reply #3 on: July 27, 2020, 10:17:30 AM »
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, 10:32:25 AM by jazzbiker »

Offline Rich

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