cleidigh / printing-tools-ng

PrintingTools NG Thunderbird Extension - Printing Utilities
Other
35 stars 17 forks source link

Is there a limit to how many incoming emails Printing Tools NG can print automatically? #224

Open cormacstrain opened 1 year ago

cormacstrain commented 1 year ago

Hi

I am using Printing Tools NG on Ubuntu using Thunderbird. I have two profiles set up for two different email addresses, each one going to a printer of its own. These are emails coming from online orders, which then get automatically printed. If one or two orders arrive at a time, there is no issue in printing.

Recently we had multiple orders arriving at the same time. 10 emails arrived at the same time to both email addresses. Every other one was printed, so only half of the emails in one profile printed, and less than one third of the emails to the second profile printed.

Is there a limit to the number of emails Printing Tools NG can print if they all arrive within milliseconds of each other or is there a setting I can tweak to make sure all emails print, even more than one arrives at the same time?

many thanks

Cormac

RealRaven2000 commented 1 year ago

@cormacstrain @realraven Ok that sounds good and promising. Let us know how things go and when /if we should close. @cleidigh

Maybe let's discuss on the next Add-on developers zoom call. I am flat out with Supernova issues right now...

cormacstrain commented 1 year ago

@cormacstrain Ok I made a beta with more debug output and now it does it without needing trace1 Try this before you go crazy with prior versions.

https://github.com/cleidigh/printing-tools-ng/blob/autoprint-exp1/xpi/Beta/printing-tools-ng-2.2.3-exp1-tb.xpi

@cleidigh

I installed this and it seems to have fixed the issue - maybe there was something up with the version I was using? I need to do more testing all the same but it's looking good so far

cormacstrain commented 1 year ago

Thank you all - Im not sure if there was simply just an issue with the version I had or if there were changes to the beta version, but both the issues I was facing in this call have been resolved. Sending 10 emails at a time to one email results in 10 proper prints, one of each email. Sending 10 emails to two different profiles works the same way - each email arrives and prints perfectly.

I then tried a live scenario where i sent 6 orders at once (I ran out of hands and devices to send more), beverages and food with both printing properly to their respective receipt printer.

Thanks again!

cleidigh commented 1 year ago

@cormacstrain Well that sounds good, but do you have success with v2.2.3? The exp1 only adds debug info. @cleidigh

cormacstrain commented 1 year ago

what should have printed as orders 1,2,3 and 4 was 2,2,2,1

Order 2 was the second email to arrive and order 1 was the last email to arrive

Im using Thunderbird 102.13.0 (64-bit) and Printing Tools NG 2.2.3

The parts where it mentions ' Queue filter request to print message: [Pimento] New Order ' and then adds an order number - they are the four subjects for the four emails.

All working perfectly. I had 2.2.3 already installed but it seems uninstalling it and reinstalling first the beta and then the official version has things working again. I downloaded the previous version through Thunderbird so unless that got messed somehow that particular time, I don't know - probably explains the issue with the debug data as well. No issues now though.

cleidigh commented 1 year ago

@RonnyWo @cormacstrain Is everyone good, can I close this? @cleidigh

RonnyWo commented 1 year ago

YesIt works fine nowRonnyOp 27 jul. 2023 om 00:10 heeft Christopher Leidigh @.***> het volgende geschreven: @RonnyWo @cormacstrain Is everyone good, can I close this? @cleidigh

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>