[Qt-interest] New Printing Features in Qt5?
Andre Somers
andre at familiesomers.nl
Wed May 18 22:10:55 CEST 2011
Op 18-5-2011 21:06, John Layt schreef:
> 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.
Would it make sense to make the API in such a way, that developers can
easily extend the options in the standard dialog with new (pages of)
advanced options, like booklet printing,
two-sided-printing-on-one-sided-printers, N-up, etc.? That would mean
API for both manipulating the printing dialog, and for being able to
install a filter in the output chain somehow. However, you seem to know
a *lot* more on this than I do, so I have no idea if this is realistic.
André
More information about the Qt-interest-old
mailing list