xbird / jzebra

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

Printer stop randomly #153

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Print 10 labels
2. Some time print 10, on another time, print 3 or 5 or 7 or 10 again
3.

What is the expected output? What do you see instead?
Print all labels, because the final way will be print 5000 labels

What version of the product are you using? On what operating system?
1.5.6

Please provide any additional information below.
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.
I attach my function

Original issue reported on code.google.com by gustavo....@gmail.com on 3 Sep 2013 at 6:18

Attachments:

GoogleCodeExporter commented 8 years ago
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:43

GoogleCodeExporter commented 8 years ago
Thanks for your replay i will test it, but i have another question because noy 
first applet.append all labels into loop in a "for", and when finish it, i call 
the print method setting the spool labels count, but...i can appen more than 
1000 or 2000 labels? which is the string limit of applet.append?

Original comment by gustavo....@gmail.com on 4 Sep 2013 at 11:10

GoogleCodeExporter commented 8 years ago
@Gustavo:  There may be a limit imposed by the JVM (Java) but I am not aware of 
one.  You should be OK with 2000 labels.

Original comment by tres.fin...@gmail.com on 4 Sep 2013 at 1:32