You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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: