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 > I need help - I can help
  New Posts New Posts RSS Feed - Problem printing to two printers simultaneously.
  FAQ FAQ  Forum Search   Register Register  Login Login

Problem printing to two printers simultaneously.

 Post Reply Post Reply
Author
Message
yoyodyn View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Sep 13
Location: Nashville, TN
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoyodyn Quote  Post ReplyReply Direct Link To This Post Topic: Problem printing to two printers simultaneously.
    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?  
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: 13 Nov 16 at 8:38PM
i think it should be only necessary to check if one printjob is finished before the next one starts?

Cheers,
Ingo

Back to Top
yoyodyn View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Sep 13
Location: Nashville, TN
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoyodyn Quote  Post ReplyReply Direct Link To This Post Posted: 14 Nov 16 at 4:19PM
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.


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