ZPL printer / JS provider

Allow to send / print ZPL format commands to network .ZPL printer

What is ZPL printer / JS provider?

ZPL printer / JS provider is a Chrome extension developed by Alexander Neverovsky, and its main feature is "Allow to send / print ZPL format commands to network .ZPL printer".

Extension Screenshots

screenshot

Download ZPL printer / JS provider Extension CRX File

Download ZPL printer / JS provider extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        Allow to print any raw data from JavaScript at any opened page directly to any .ZPL printer like Zebra


Usage:
Print barcode 1234567

window.postMessage(
{
    type: "zpl", 
    cmd: "print", 
    printer: 'http://127.0.0.1:9100', 
    raw: "^XA^FO50,50^B8N,100,Y,N^FD1234567^FS^XZ"
});

Listen extension:

window.addEventListener("message", function (event){
    if (event.data && event.data.type && event.data.type == 'from_zpl_ext') {
        // receive version of extension if exists
        if (event.data.cmd === 'version') {
            ZPL_EXTENSION_VERSION = event.data.value;
            return;
        }
        // receive status of printing
        if (event.data.cmd === 'status') {
            console.log(event.data)
            return;
        }
    }
}, false);                    

Extension Basic Information

Name ZPL printer / JS provider ZPL printer / JS provider
ID mjecmgchgphemimdojlcfhkkniibojgg
Official URL https://chromewebstore.google.com/detail/zpl-printer-js-provider/mjecmgchgphemimdojlcfhkkniibojgg
Description Allow to send / print ZPL format commands to network .ZPL printer
File Size 17.06 KB
Installation Count 248
Current Version 1.1.1
Last Updated 2023-04-20
Publish Date 2022-08-05
Developer Alexander Neverovsky
Email [email protected]
Payment Type free
Supported Languages en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "ZPL printer \/ JS provider",
    "description": "Allow to send \/ print ZPL format commands to network .ZPL printer",
    "version": "1.1.1",
    "icons": {
        "128": "128.png"
    },
    "manifest_version": 3,
    "author": "Alexander Neverovsky",
    "homepage_url": "https:\/\/github.com\/neverovsky\/zpl-printer",
    "content_scripts": [
        {
            "matches": [
                "*:\/\/*\/*"
            ],
            "js": [
                "content.js"
            ]
        }
    ],
    "offline_enabled": true
}