Thomas Zander
Qt
KDE
Posted by Thomas Zander
 in Qt, KDE
 on Wednesday, September 19, 2007 @ 13:47

Just recently within KDE the situation around printing flared up as many started to realize that the state of ‘kdeprint’ wasn’t really good enough for corporate use. I delved into this subject with the result that KDE is moving to using Qt classes for printing exclusively, and Trolltech putting considerable effort into making printing better and more usable.

One of the first steps I wrote about in a blog earlier today, and in this blog I wanted to preview some internal work that the printing guys here have been working on. I just compiled the code from the trying-out repository, so nothing is set in stone. But suffice to say I was very much impressed and thus started to write this blog :)

The way most applications work is that they have a print as well as a print-preview button. The print preview typically uses some default settings for page size / etc, which is suboptimal at best. It would be so useful to set the paper size and things like portrait/landscape directly in the print-preview dialog! And with this preview dialog you can :)

Print preview settings

Its also useful for those that want an overview;
print preview overview

This is, again, just a first version that we are working on. So be gentle when providing feedback :) We aim to have this in Qt4.4 and I’ll be sure to let you know when this hits the snapshots.

6 Responses to “Print preview”

» Posted by Martin Haunschild
 on Wednesday, September 19, 2007 @ 20:50

Looks very promising, I am looking forward to see more of this! 8-)

Is there any hope for WYSIWYG editing?

» Posted by Andy Brice
 on Wednesday, September 19, 2007 @ 22:25

A decent print preview would be very useful. So far I have had to roll my own, and it isn’t ideal.

What would be perfect for me would be:
-works with QTextEdit and QGraphicsCanvas with the minimum of effort on my part
-allows a single QTextEdit or QGraphicsCanvas to span multiple sheets of paper

» Posted by Chani
 on Thursday, September 20, 2007 @ 06:48

why isn’t this blog on planetkde? :)

» Reply from Thomas Zander
 on Thursday, September 20, 2007 @ 11:29
Thomas Zander

@Andy
this is our main objective as well. So I think you will be happy with the final version :)

@Chani
I don’t know why not, I will email clee to get this blog syndicated there.

» Posted by Andy Brice
 on Tuesday, September 25, 2007 @ 17:24

Cool. I will be happy to give you some feedback on the beta.

» Posted by Will Boon
 on Saturday, October 06, 2007 @ 19:39

There’s too many buttons and icons placed across the top of the first window. The average user just wants to see what their page will look like and how many pages will be in it. IMHO there’s too much going on here. If you provide all this functionality, great, but either separate it by putting the most useful icons at the top(E.g. first page, last page, zoom, print and close) and the rest along the side OR allow us as developers to turn whatever functionality we want on or off.

If you have for Qt 4.4 I would be delighted.