[Qt-interest] New Printing Features in Qt5?
John Layt
john at layt.net
Wed May 18 21:06:56 CEST 2011
On Wednesday 18 May 2011 18:55:54 Joshua Grauman wrote:
> These would be much appreciated! Other ideas I would appreciate would be
> booklet printing, and printing 2/4/8 pages per printed page...
Unfortunately there is no common api to do these on all platforms.
N-up is supported by Cups so on Linux it can be added to the dialog, and it is
already in the OSX dialog, but I'm not sure if there is a need for QPrinter
api to set if for dialog-less printing? Windows has no native support, so Qt
would have to implement it.
Booklet printing is not supported by Cups, and talking to the guys at Apple it
is unlikely to be supported, they are just not interested, so Qt would have to
implement that as well.
These and other advanced page manipulations could be done in QPainter, I know
it has been suggested that the QPrintPreview could be made to do this fairly
easily, but that would be a phase-2 thing. I want to get the common printing
api's done first, it's a pain-point that can't be worked around.
John.
More information about the Qt-interest-old
mailing list