Results 1 to 3 of 3

Thread: 2 Qestions about QPrinter

  1. #1
    Join Date
    Jan 2006
    Posts
    105
    Thanks
    38
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Question 2 Qestions about QPrinter

    Hi all, I need to print a sequence of images (about 500 images, one per page) in a PDF format file. My questions are:
    1) I'm using Windows XP, could you suggest me a good driver to print in PDF format that works good with Qt?
    2) Do you suggest me to start a thread to do the printing (if it's possible)? (in this case I could show on the main loop a progress bar with the state of the printing and other things without blocking the cpu...)

    Thanks.
    Last edited by Dark_Tower; 10th April 2006 at 10:30.

  2. #2
    Join Date
    Apr 2006
    Posts
    40
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: 2 Qestions about QPrinter

    Look up PDFCreator. It installs as a regular printer under windows, but it's output is to a pdf file. It looks like the site is: http://sector7g.wurzel6.de/pdfcreator/index_en.htm but I got it off http://www.theopencd.org (cd containing a bunch of open source programs for windows).

    As for the second question, I don't know, if the images are local, it really won't take that long to print to pdf.


    Actually, I just noticed there's another thread here going on about pdf printing: http://www.qtcentre.org/forum/showthread.php?t=1682
    Last edited by Spockmeat; 10th April 2006 at 14:04.

  3. The following user says thank you to Spockmeat for this useful post:

    Dark_Tower (10th April 2006)

  4. #3
    Join Date
    Feb 2006
    Location
    USA
    Posts
    142
    Thanks
    24
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: 2 Qestions about QPrinter

    2. If there's no chance of the images being modified in any way (including being re-ordered) during print, you can use a thread very easily.

    Otherwise, you will first need to copy the data, then let the thread chew on that copy.
    Life without passion is death in disguise

  5. The following user says thank you to KShots for this useful post:

    Dark_Tower (11th April 2006)

Similar Threads

  1. Replies: 5
    Last Post: 15th January 2009, 09:03
  2. QPrinter on QGraphicsScene Border Problem
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2007, 15:49
  3. QPrinter problems
    By Teuniz in forum Qt Programming
    Replies: 1
    Last Post: 3rd November 2007, 08:51
  4. How can I put text on each page using QPrinter
    By davit in forum Qt Programming
    Replies: 2
    Last Post: 15th April 2007, 12:23
  5. How to use QPrinter without QPrintDialog?
    By pascal456 in forum Qt Programming
    Replies: 2
    Last Post: 15th November 2006, 19:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.