Skip to content

Commit

Permalink
Update example_zebra_printer.js
Browse files Browse the repository at this point in the history
Fixed spelling mistake
  • Loading branch information
whitef0x0 committed Jun 3, 2013
1 parent 489ccff commit 2632e6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/example_zebra_printer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var printer = require("../lib")
, template = "N\nS4\nD15\nq400\nR\nB20,10,0,1,2,30,173,B,\"barcode\"\nP0\n";

function printZerbra(barcode_text, printer_name){
function printZebra(barcode_text, printer_name){
printer.printDirect({data:template.replace(/barcode/, barcode_text)
, printer:printer_name
, type: "RAW"
Expand All @@ -12,4 +12,4 @@ function printZerbra(barcode_text, printer_name){
});
}

printZerbra("123", "ZEBRA");
printZebra("123", "ZEBRA");

0 comments on commit 2632e6f

Please sign in to comment.