-
-
Notifications
You must be signed in to change notification settings - Fork 61
Virtuak ZPL Printer - Browser Z** Print #50
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I tried to make Virtual ZPL Printer work with Z* Browser Print.
On my PC it didn't work, and I found that it was caused by an exception during the stream reading.
I replaced in TcpListenerClientHandler (near line 90)
while ((numBytesRead = stream.Read(data, 0, data.Length)) > 0)
{
ms.Write(data, 0, numBytesRead);
}
by
while ((numBytesRead = stream.Read(data, 0, data.Length)) > 0)
{
ms.Write(data, 0, numBytesRead);
if (numBytesRead < data.Length)
{
break;
}
}
And it seems to work better. But not yet 100%.
Not all labels come in Virtual ZPL Printer, and sometimes I have errors between my web site and Z* Browser Print.
(no error in Virtual ZPL Printer)
(Sorry I'm not familiar enough with Git to make pull requests.)
I don't know if I'm the only one having problems with this configuration with Z* Browser Print.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working