PostScript
-
Hello. I'm doing the migration of a Qt4 project to Qt5. And to my surprise they withdrew from QPrinter part of PostScript. Leaving only the native and PDF.
Does anyone know if there is a way around this? For use the generated file .ps ... for use in printing on plotters.
Is there the possibility of them returning with support for PostScript?
I looked at their source code and it seems to me that where the postscript "passed" is the same option pdf ... If someone has tested or know something ... Help me. Thank you -
Hi
I dont think it will come back. it was removed 5 years ago.
https://qt.gitorious.org/qt/qtbase/commit/34f712e79e97b757b4426e1ffa09e065c9e379a1The files are still around
https://github.com/radekp/qt/blob/master/src/gui/painting/qprintengine_ps.cpp
As you can see its not trivial and not so easy to put back again.You can always install a postscript printer and set it to print to file.
it will produce a ps file.Alternative, this might work
http://soft.proindependent.com/eps/
(not tested) -
Hi!
+1 for installing a postscript printer. Another alternative is to print to PDF and convert the output to PS, e.g. with Ghostscript'spdf2ps
.