Hi,

How can i set a custom paper size (for example in inches), I found a method called setPaperSize, but, i didn't know how to use it, mainly because i'm a java programmer and i'm finding hard time to accommodate with C++ ...

Is there any example on how to use set paper size?