I've a application that does some batch printing with the SWT API. For that printing, I've to set programmatically all attributes of the printing configuration. Currently I'm able to set all attributes avaliable at PrinterData
class.
The problem is that this class doesn't support setting page size and in various cases I'll have to set it to ISO A5 or A3 format, for example.
My question is: Has anybody found himself in this situation? How to solve it? Is it possible to edit PrinterData.otherData
to define this property programmatically or only through a PrinterDialog?
Thanks in advance.