PDA

View Full Version : 2 Qestions about QPrinter



Dark_Tower
10th April 2006, 10:14
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.

Spockmeat
10th April 2006, 13:38
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

KShots
11th April 2006, 16:06
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.