Printing Label - Long Delay Follow
I have a C# program (see text file attachment for the code) that I have used for 3 or 4 years. It has always taken 5-6 seconds for the first label to come out. The customer would like it much faster but can live with the short delay. The problem is that for some reason it is taking 80 - 100 seconds for the first label to print. The 2nd and subsequent labels print as fast as the printer will print. I put the program in debug mode and it instantly gets through the parameter handling and the first delay is at the statement "LabelFormatDocument btFormat;". It delays at this statement for 40+ seconds. There is also a 5 or 6 second delay on all subsequent Bartender statements. The time to get to the statement "btFormat.print()" is between 80 to 100 seconds. If I open the label format and print tags from the label format designer, they print instantly. Tag printing is much faster (6 - 10 seconds) on other PC's running a different but similar C# program. Also, the license server is running on the PC where the long delay is occurring (but did not have a long delay for the past 2 years). The customer has Bartender Automation Version 9.4 build 2749 for 20 printers (currently using less than 10 printers). Any ideas will be greatly appreciated.
Please sign in to leave a comment.