Documentation :: Demo :: Tech Info

Web Barcode is an app written for the Linea Pro Zebra Mobile Printers and other Apple iOS compatible hardware.

It listens for barcodes scans and magnetic card swipes, and then converts them to custom HTML DOM events. Using it, you can write javascript code to interface with the scanner.

If you have a device with a Linea Pro, you can visit our demo page to see the device in action.

A short example:

function onScan(ev){
    var scan = ev.data;
    alert( "Barcode of type " + scan.type +
           " scanned with value: " + scan.value );
}
function onSwipe(ev){
    var swipe = ev.data;
    if ( swipe.isFinancialCard ){
        alert("Name: " + swipe.name + "\nNumber: " +
              swipe.number + "\nExpire: " +
              swipe.month + "/" + swipe.year );
    } else {
        alert( "Track 1: " + swipe.track1 + "\nTrack 2: " +
               swipe.track2 + "\nTrack3: " + swipe.track3 );
    }
}
document.addEventListener("BarcodeScanned", onScan, false);
document.addEventListener("MagCardSwiped", onSwipe, false);

Web Barcode is not a complete application. By itself it does nothing other than allow you to browse the internet on your device without any controls taking up space at the bottom of the screen.

Coupled with the power of a Linea Pro device, it allows you to quickly and easily get data from it - without having to write your own iOs application.

For customized version of this application with your custom icon and name, please Contact Argosity We'd also be happy to help you write a full fledged iOs application to really take advantage of everything the Linea Pro has to offer.