Hi.
I'm having problems to print a simple (and the first) test with jZebra.
I'm using OSX Lion (Cups 1.6) and a TLP 2844.
<script type="text/javascript">
function print() {
var applet = document.jZebra;
if (applet != null) {
applet.append("I8,A,003\n");
applet.append("Q799,024\n");
applet.append("q800\n");
applet.append("rN\n");
applet.append("S4\n");
applet.append("D10\n");
applet.append("ZT\n");
applet.append("JF\n");
applet.append("R16,0\n");
applet.append("N\n");
applet.append("A733,373,2,2,2,2,N,\"TEST\"\n");
applet.print();
}
}
</script>
<applet name="jZebra" code="jzebra.PrintApplet.class" archive="./jzebra.jar" width="100" height="100">
<param name="printer" value="zebra">
<!-- <param name="sleep" value="200"> -->
</applet><br><br>
<input type=button onClick="print()" value="Print"><br>
Where is the problem? If I send the same EPL commands by terminal it prints fine.
Thanks.