Tiny Core Linux

General TC => General TC Talk => Topic started by: GNUser on July 27, 2020, 09:25:34 AM

Title: [Solved] GTK3 applications don't see network printer
Post by: GNUser 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?
Title: Re: GTK3 applications don't see network printer
Post by: Juanito on July 27, 2020, 10:09:20 AM
Is colord loaded?
Title: Re: GTK3 applications don't see network printer
Post by: GNUser 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.
Title: Re: GTK3 applications don't see network printer
Post by: jazzbiker 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!
Title: Re: [Solved] GTK3 applications don't see network printer
Post by: Rich on July 27, 2020, 03:30:58 PM
Hi GNUser
... Thread may be marked as solved.
Done. :D