I feel a chill breeze on the back of my neck...

The comment you are replying to does not exist.

I hear that Qt 4.6 goes into feature freeze at the end of this month, so that's like in 1 working days time.  Eeep!  I'd better get those printing changes pushed upstream then.  Is there some official place where such dates are advertised I should have been watching?

I've pushed the latest version of my code to a new Gitorious branch http://qt.gitorious.org/~odysseus/qt/odysseus-clone/commits/advanced-pag..., and I may just have to put in a merge request even though it's not quite done.  First the screenie:

Qt Print Dialog with Print Ranges

As you can see I now have an editable range field that allows you to enter multiple page ranges, in addition to the Page Set and Current Page stuff I'd previously added.  This will show up for all applications that enable it, or if you are running Cups as your print system, i.e. 99.99% of you out there.  If you don't have Cups, then you get the traditional From/To page range entry.  This is not enabled on Win or Mac as yet, but it should be possible and I've designed it so it can be added without altering the API and so it gracefully degardes to the maximum feature set supported by your platform without the app programmer having to do anything.

Status is that I think this is API complete and stable, the only thing missing is the validation of the Page Range input by the user and some other small clean-ups of the dialog layout (yes, that radio button glitch visible in the screenie is proving a pain to solve).

Like I said, I'll probably put in a merge request for this now and worry about patching the remaining issues later.  I think I should also have the File Printing under Unix feature done in the next day, so that may also make it.  Less likely are the additional Cups features (n-up, banners, job control, etc) depending on how far I get this weekend (but we already add those ourselves), and the rest like saving/restoring settings and virtual printers will have to wait for 4.7 (or the new OpenPrinting dialog, whichever comes first).

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Huge thanks

I've waiting for this for a long time :)
Thanks!!

Hero!

You're KDE Printing hero!

Freeze date

Hi John
Feature freeze was last Friday.

:(

@Thiago: so we should run for the whole 2010 without odd/even page selection? And were was the feature freeze date advertised?
Mmm... maybe this patch could be maintained inside KDE's qt-copy until Qt 4.7 goes gold...

Perfect work

Perfect, I add this bug to Qt almost year ago and it looks that it can be already fixed :)

Thanks

Thanks a lot for all your work in an area so "unshiny" as printing, but that gets used all the time by regular users.

You really make it seem so

You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complicated and very broad for me. I am looking forward for your next post, I will try to get the hang of it! As a rule I download everything I need (all the books, articles and tutorials) by torrent search engine but I'm really glad to find your site. keep up the good work!

Excellent

It seems too complicated and very broad for me. I am looking forward for your next post, I will try to get the hang of it! As a rule I download everything I need (all the books, articles and tutorials) by torrent search engine but I'm really glad to find your site. keep up the good work!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
By submitting this form, you accept the Mollom privacy policy.