I think it is - Qt doesn't support EPS natively.
Hi!
I have small question. By this way of generating postscript file, is it realy vector format postscript file or is it some sort of bitmap wrapped inside generated postscript file. I have similar problem with EPS and I rather use handly maked export to EPS :-). Do you think it's realy so hard to implement EPS support, even if it needs only Bounding box to define? :-).
Is here some way how to easy reimplment Qt provided printer by own and use it in my program?
Thanks for replay.
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.
By the way the output file is proper PostScript, not an encapsulated bitmap.
Thanks this is exactly what i was looking for
CAFU......
thanks, it works realy prety fine :-)
Bookmarks