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!
Problem printing to two printers simultaneously. |
Post Reply |
Author | |
yoyodyn
Beginner Joined: 20 Sep 13 Location: Nashville, TN Status: Offline Points: 13 |
Post Options
Thanks(0)
Posted: 11 Nov 16 at 6:10PM |
Our application is printing to two printers. One is for documents, and one is for labels that are supplied to us in PDF format (thermal label printer).
For the document printer we are using NewCustomPrinter, SetupCustomPrinter, and PrintOptions calls before calling PrintDocument passing in the name of the printer returned from NewCustomerPrinter. For the label printer, we are calling PrintOptions, and PrintDocument passing the name (assigned in Windows) of the label printer. Occasionally we are seeing the document and/or the label print to both printers at the same time. Is there some kind of reset or clear that we need to be calling when switching printers?
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
i think it should be only necessary to check if one printjob is finished before the next one starts?
|
|
Cheers,
Ingo |
|
yoyodyn
Beginner Joined: 20 Sep 13 Location: Nashville, TN Status: Offline Points: 13 |
Post Options
Thanks(0)
|
We resolved this by instantiating another copy of the Library for each printer.
This is not a multi-threaded application, so the print function was returning before the next one started. The document is being removed from the library before the next one starts printing. And the printer is being specified by name. So I'm not sure why the jobs would go to the wrong printer. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store