nini9140 / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

setDocumentsPerSpool() broken in jZebra 1.4.1 #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by James Reason:

this version is that the setDocumentsPerSpool doesn’t seem to be working.
It sends it all through in 1 print job.
                I have tried the following 2 combinations and neither work.

document.jZebra.setEndOfDocument("\"P1\n\"");

document.jZebra.setEndOfDocument("P1\n");

                                document.jZebra.setDocumentsPerSpool("1");
                                document.jZebra.print();

Original issue reported on code.google.com by tres.fin...@gmail.com on 15 Jun 2012 at 8:22

GoogleCodeExporter commented 9 years ago
This feature is tested and still working.  The reporter (James Reason) has 
confirmed it still works as expected.

Closing and marking as invalid.  Feel free to reopen if this was closed in 
error.
-Tres

Original comment by tres.fin...@gmail.com on 13 Jul 2012 at 1:48

GoogleCodeExporter commented 9 years ago
Hi, thanks for your answers, i can change the printer settings by zpl commands 
but now i have a big problema, because the printer, print randomly less labels 
that’s I send.
For example, I send to print 10 labels and randomly, print 7 or 3
I use the spool functions but I can’t fix it…could you please hel.p me? I 
send my function.

Original comment by gustavo....@gmail.com on 3 Sep 2013 at 6:16

GoogleCodeExporter commented 9 years ago
@gustavo:  Please try this (the command you used is for EPL, but you are using 
ZPL. :)

applet.setEndOfDocument("^XZ");
applet.setDocumentsPerSpool("1");

Original comment by tres.fin...@gmail.com on 3 Sep 2013 at 7:44