Closed GoogleCodeExporter closed 8 years ago
Most print buffers can't handle this, so you need to control spooling using the
applet.
https://code.google.com/p/jzebra/wiki/TutorialWebApplet#Advanced_Print_Spooling
Closing bug and marking as invalid. Please reopen if you feel this was closed
in error.
-Tres
Original comment by tres.fin...@gmail.com
on 22 Oct 2013 at 2:46
[deleted comment]
I've tried but still failed spooling, printing labels irregular and not in
accordance with the demand of the system
this is my script
for (var i=1;i<=$('#qty').val();i++)
{
applet.append("^XA");
applet.append("^MMT");
applet.append("^PW400");
applet.append("^LL0200");
applet.append("^LS0");
applet.append("^BY1,3,124^FT83,161^BCN,,N,N");
applet.append("^FD>:AKB>573655711>6IHS3OJ>50001^FS");
applet.append("^FT90,184^A0N,18,21^FH\^FD"+$('#item_pn').combogrid('getValue')+"IHS3OJ"+FormatNumberLength(parseInt(n)+i, 4)+"^FS");
applet.append("^PQ1,0,1,Y^XZ");
applet.print();
}
Original comment by asep.glo...@gmail.com
on 22 Oct 2013 at 2:57
[deleted comment]
This approach should work. Is printer spooling enabled for your operating
system or are you printing direct? You may want to use spooling in this case
so that the documents can queue up from the OS perspective.
Original comment by tres.fin...@gmail.com
on 22 Oct 2013 at 5:23
Can you give an example of the use of spooling in my case, here I use the
direct print,,
please help me, I'm confused
Original comment by asep.glo...@gmail.com
on 23 Oct 2013 at 1:52
In windows, you may try Control Panel, Devices and Printers, Right Click your
printer, Printer Properties, Advanced, Spool Documents (deselect Print
Directly to Printer).
For additional help, I would suggest contacting jzebra-users@googlegroups.com
as there are people who check that list more often than the bug reports located
here.
-Tres
Original comment by tres.fin...@gmail.com
on 23 Oct 2013 at 2:11
I was able to resolve my problem,,,
and I change my code like this
applet.setEndOfDocument("^XZ");
applet.setDocumentsPerSpool("2");
for (var i=1;i<=$('#qty').val();i++)
{
applet.append("^XA");
applet.append("^MMT");
applet.append("^PW400");
applet.append("^LL0200");
applet.append("^LS0");
applet.append("^BY1,3,124^FT83,161^BCN,,N,N");
applet.append("^FD>:"+$('#item_pn').combogrid('getValue')+"IHS3OJ"+FormatNumberLength(parseInt(n)+i, 4)+"^FS");
applet.append("^FT90,184^A0N,18,21^FH\^FD"+$('#item_pn').combogrid('getValue')+"IHS3OJ"+FormatNumberLength(parseInt(n)+i, 4)+"^FS");
applet.append("^PQ1,0,1,Y^XZ");
}
applet.print();
thank you because I've helped
Original comment by asep.glo...@gmail.com
on 23 Oct 2013 at 4:36
Original issue reported on code.google.com by
asep.glo...@gmail.com
on 22 Oct 2013 at 1:59