Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > General Discussion
  New Posts New Posts RSS Feed - Multithreading and Printing
  FAQ FAQ  Forum Search   Register Register  Login Login

Multithreading and Printing

 Post Reply Post Reply
Author
Message
tfrost View Drop Down
Senior Member
Senior Member


Joined: 06 Sep 10
Location: UK
Status: Offline
Points: 437
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrost Quote  Post ReplyReply Direct Link To This Post Topic: Multithreading and Printing
    Posted: 17 Nov 11 at 1:07AM
I am encountering a variety of problems when trying to print separate documents concurrently to different printers in separate threads.  Is this supposed to work in v7 (with Delphi XE)?  If not, should it work in v8 (we have not upgraded this app yet).  And if still not, then should it be sufficient just to put the qp.PrintDocument inside a critical section, or would I need to do the whole create-load-print-free one at a time?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 17 Nov 11 at 10:20PM
Hi!

As far as i know QP isn't threadsafe.
So check the returning value before running the next printerjob.
Other opinions?

Cheers, Ingo
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store