Quote Originally Posted by enno View Post
Qt 4.5.3 (and maybe 4.4) solved this problem by the including a new overloaded setPaperSize function in the QPrinter class:

printer.setPaperSize(QSizeF(80, 80), QPrinter::Millimeter);

The paperSize code gets set to Unknown/user defined but when printing to a file the size set above is set as the bounding box for the eps file.
Do I have to provide the code which sets the bounding box or is it done simply by calling the above code ??

Quote Originally Posted by enno View Post
By the way the output file is proper PostScript, not an encapsulated bitmap.
But without the ps showpage command and a bounding box ??

Have a nice day
dexli