Queuetask Vs. Queuetaskandwait Follow
Hi there,
I am using .NET SDK to print with BarTender.
I observed something interesting when testing TaskQueue.QueueTask() vs. TaskQueue.QueueTaskAndWait().
The essence of printing code looks like the following:
//given a list of labelData as input to print multiple labels with the same template/printer.
//
//load the template file
1 comments
We've a .NET SDK example (available in C#.Net and VB.Net) which makes use of the QueueTask() asyncronous printing method. Please take a look at its source:
"C:\Program Files (x86)\Seagull\BarTender Suite\SDK\Print Server SDK Samples\TaskMaster\VB"
If this still doesn't help, maybe attach the entire source code of your program for us to examine, the one which works correctly and the one which fails to work. From the code you've attached to this topic, it is not clear to me if you're trying to both make use of QueueTaskAndWait (line 2) and QueueTask (line 9a) in the same code
Please sign in to leave a comment.