ZPL printer / JS provider

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

什麼是ZPL printer / JS provider?

ZPL printer / JS provider是由Alexander Neverovsky開發的Chrome擴展程式,該擴展的主要功能是“Allow to send / print ZPL format commands to network .ZPL printer”。

擴展截圖

screenshot

下載ZPL printer / JS provider擴展crx文件

下載ZPL printer / JS provider擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        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);                    

擴展基本資訊

名稱 ZPL printer / JS provider ZPL printer / JS provider
ID mjecmgchgphemimdojlcfhkkniibojgg
官方網址 https://chromewebstore.google.com/detail/zpl-printer-js-provider/mjecmgchgphemimdojlcfhkkniibojgg
簡介 Allow to send / print ZPL format commands to network .ZPL printer
檔案大小 17.06 KB
安裝次數 248
目前版本 1.1.1
更新時間 2023-04-20
上架時間 2022-08-05
開發者 Alexander Neverovsky
電子郵箱 [email protected]
付費類型 free
支援的語言 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
}