Hi,
I’m working on GTK3 application in c. I want to get list of all the available printers and its basic info. One option I found was to use cupsGetDests()
. I want to check is there any other option apart from using cups library?
Thank You
Hi,
I’m working on GTK3 application in c. I want to get list of all the available printers and its basic info. One option I found was to use cupsGetDests()
. I want to check is there any other option apart from using cups library?
Thank You
GTK’s printing API is not meant to be used as a way to gather information on the system: it presents a UI to the user, who then selects the printer and settings that they prefer. That information is available as a GtkPrintSettings
instance.
If you want to enumerate the available printers, you’ll have to use the platform-specific API available to you—for instance, CUPS on Unix-like systems.
Thank you this was helpful
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.