Wednesday, 7 December 2011

jZebra

Free browser applet for sending raw commands to your printer
 
Usage 
 
<input type=button onClick="print()" value="Print">
<applet name="jZebra" code="jzebra.PrintApplet.class" archive="./jzebra.jar" 
 width="100" height="100">
      <param name="printer" value="zebra">
</applet>
<script>
      function print() {
         document.jZebra.append("A37,503,0,1,2,3,N,ABC WIDGET CO\n");
         document.jZebra.print();
      }
</script>
 
 

Features

  • Prints barcodes, receipts and more from a web page.
  • Supports thermal printers, label printers, magnetic cards.
  • 100% free and open source
  • Free to use in commercial applications (check license for details)
  • Seamlessly sends commands to your EPL2, ZPLII, CHR, ASCII, RAW, ESC/P printer (and more).
  • Compatible with Windows, Mac OS X, Ubuntu, Solaris (and more).
  • Tested with Firefox, Safari, Internet Explorer, Opera.
  • Supports COM, parallel, serial, USB, socket, lpr, LPT communication.
  • AJAX compatible by using JavaScript to control print jobs 

 

How It Works

  1. First, jZebra loads in your web browser as a Java applet (similar to a Flash or SilverLight object).
  2. Second, jZebra interfaces with browser interactively via JavaScript.
  3. Third, jZebra gains permission to use locally installed printers via digital signature prompt.
  4. Finally, jZebra spools directly to locally installed printers, allowing hundreds of print jobs to transfer seamlessly from web code to printer.
 

No comments:

Post a Comment