to free it
PaperSize.newFromIpp
gtk.paper_size.PaperSize newFromIpp(string ippName, double width, double height)Creates a new gtk.paper_size.PaperSize object by using IPP information.
If ipp_name is not a recognized paper name, width and height are used to construct a custom gtk.paper_size.PaperSize object.
Parameters
ippName | an IPP paper name |
width | the paper width, in points |
height | the paper height in points |