LabelFormatDocument.Print taking over 2 minutes - need help with logging 追蹤
We have an application that is using the Print Engine API and at a couple of customers we are running into this issue where some prints are taking from 2 - 7 minutes! I've taken over the project and new to Bartender. Where can I enable logging to see what is going on? I've looked at the System Event Logs for this time frame and don't see anything.
Our software is installed on the same Server as the Bartender service. The printers are all connected to a second Server that has nothing else running on it.
Bartender 2016 Automation edition
This is from our Logs:
2017-05-10 09:34:30.4532939 Before Print
Radley.BarTender.exe Error: 0 : EventMonitor.GetEvents Socket exception while connecting to DTRLABPRINT. Exception message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 172.20.36.122:7170
2017-05-10 09:36:37.0669519 After Print
Here is the code that produces the above log - a lot of the time everything works great - I'm trying to figure out HOW to debug the slow print jobs
Seagull.BarTender.Print.Messages messages; loggingObject.WriteLog("Before Print"); Seagull.BarTender.Print.Result result = labelFormat.Print(printRequest.PrintJobName, out messages); loggingObject.WriteLog("After Print");
The result will come back with success so it seems to ultimately print but it's holding up all the other print jobs.
Thanks in advance!
★ BarTender Hero ★