Printer.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.

class Printer
getCapabilities
()

Return Value

Type: gtk.types.PrintCapabilities

the printer’s capabilities