-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intermittent Printing Issues on Cash Register Computers with Epson TM-T20III and ESCPOS_NET #271
Comments
I'm planning to change the implementation of our printing process to potentially solve the intermittent printing issues on the cash register computers. Instead of sending print commands consecutively via PrintAsync for each part of the receipt, I intend to gather all the data first into a single byte array. This array will then be sent to the printer in one go. This approach should help in reducing the overhead of multiple network transactions and may manage printer resources more efficiently. I'll update this thread with the results of this modification to see if it resolves the unresponsiveness and failure issues we are experiencing. |
Sounds like your solution is what I would suggest :) Hope it went well. |
Environment:
`
private async Task PrintSale(Sale sale)
{
try
{
string printerIPAddress = this.PrinterIPAddressTextBox.Text;
IPAddress ipAddress;
bool isValidIP = IPAddress.TryParse(printerIPAddress, out ipAddress);
}`
Issue Description:
The application works as expected on my development machine, allowing me to print multiple receipts consecutively without issues. However, on the cash register computers, which are less powerful, prints are intermittently aborted. After a print job is aborted, the printer becomes unresponsive and cannot be accessed until it is restarted.
The text was updated successfully, but these errors were encountered: