Print preview

Published Wednesday September 19th, 2007
6 Comments on Print preview
Posted in KDE, Qt

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.

Do you like this? Share it
Share on LinkedInGoogle+Share on FacebookTweet about this on Twitter

Posted in KDE, Qt


Martin Haunschild says:

Looks very promising, I am looking forward to see more of this! 😎

Is there any hope for WYSIWYG editing?

Andy Brice says:

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

Chani says:

why isn’t this blog on planetkde? πŸ™‚

Thomas Zander says:

this is our main objective as well. So I think you will be happy with the final version πŸ™‚

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

Andy Brice says:

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

Will Boon says:

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.

Commenting closed.

Get started today with Qt Download now