Printer.getCapabilities

gtk.types.PrintCapabilities getCapabilities()

Returns the printer’s capabilities.

This is useful when you’re using [gtk.print_unix_dialog.PrintUnixDialog]’s manual-capabilities setting and need to know which settings the printer can handle and which you must handle yourself.

This will return 0 unless the printer’s details are available, see [gtk.printer.Printer.hasDetails] and [gtk.printer.Printer.requestDetails].

Returns

the printer’s capabilities