Printer.listPapers

gtk.page_setup.PageSetup[] listPapers() nothrow

Lists all the paper sizes printer supports.

This will return and empty list unless the printer’s details are available, see gtk.printer.Printer.hasDetails and gtk.printer.Printer.requestDetails.

Returns

a newly

allocated list of newly allocated gtk.page_setup.PageSetups.