简体   繁体   English

如何清除jZebra

[英]How to purge jZebra

I am using jZebra to print labels following the tutorial here: http://code.google.com/p/jzebra/wiki/TutorialWebApplet 我正在按照以下教程使用jZebra打印标签: http : //code.google.com/p/jzebra/wiki/TutorialWebApplet

The problem I am having is that when I change what it prints with the print() command I see artifacts until I reboot the computer of everything else I have printed. 我遇到的问题是,当我使用print()命令更改其打印内容时,我会看到工件,直到重新启动计算机后,我才能打印所有其他内容。 How do I make stuff get out of zebra after I .print()? .print()之后,如何使东西脱离斑马?

Code is like this: 代码是这样的:

var applet = document.jZebra
applet.append("blah blah")
applet.print()  //works
applet.append("something ELSE to print")
applet.print()  //prints "blah blah" and "something ELSE..."

该命令是

applet.clear();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM