Closed GoogleCodeExporter closed 8 years ago
There has been multiple reports of this.
This could be caused by a few things:
1. Limitation of the String buffer in Java
2. Limitation of the raw print spooler in Windows (and potentially other OSs)
3. Limitation of the memory in the printer.
A feature was added in version 1.0.6 to add more control of the spooler.
Link:
http://code.google.com/p/jzebra/wiki/TutorialWebApplet#Advanced_Print_Spooling
The easiest way we were able to achieve this was to tell jZebra what the end of
a print job looks like:
document.jZebra.setEndOfDocument("^FS\r\n^XZ\r\n");
document.jzebra.setDocumentsPerSpool("1");
or
document.jZebra.setEndOfDocument("^FS\n^XZ\n");
document.jzebra.setDocumentsPerSpool("1");
You can adjust to your needs.
I'll leave this bug open until someone has time to investigate the underlying
cause, but please post back on this bug report as to whether the spooling
feature fixes your problem.
In regards to "packing" data for the printer, that is very likely. If the
ZPLII programmer's guide has an example, we can try it out, or even try to
bundle it in to the applet.
-Tres
Original comment by tres.fin...@gmail.com
on 13 Jul 2012 at 1:55
Original comment by tres.fin...@gmail.com
on 13 Jul 2012 at 2:00
Original issue reported on code.google.com by
andrea.n...@gmail.com
on 12 Jul 2012 at 11:38