Zebra Printing

Allows to print ZPL to a network connected Zebra printer.

Was ist Zebra Printing?

Zebra Printing ist eine Chrome-Erweiterung, die von Daniel Nitz entwickelt wurde, und ihr Hauptmerkmal ist "Allows to print ZPL to a network connected Zebra printer.".

Erweiterungsscreenshots

screenshot
screenshot

Zebra Printing-Erweiterungs-CRX-Datei herunterladen

Laden Sie Zebra Printing-Erweiterungsdateien im crx-Format herunter, installieren Sie Chrome-Erweiterungen manuell im Browser oder teilen Sie die crx-Dateien mit Freunden, um Chrome-Erweiterungen einfach zu installieren.

Anleitung zur Verwendung der Erweiterung

                        NOTE: This is an extension useful for developers who want to simply print ZPL labels directly from their web apps.

Most Zebra Printers have a HTTP POST endpoint through which ZPL can be directly printed without the need for an installed driver, print dialogs popping up or other locally installed software.

Unfortunately those printers don't set any CORS headers which makes it impossible to use this HTTP endpoint in modern browser-based apps.

This extension circumvents this issue.

In your web app you can now directly print to Zebra printers by using window.postMessage():

window.postMessage({
    type: "zebra_print_label",
    zpl: "^XA^PW400^LL200^FO20,20^A0N,30,30^FDThis is a TEST^FS^XZ",
    url: "http://192.168.37.36/pstprnt"
}, "*");

The Zebra Printing extension will listen to those messages and print the zpl to the url.

type: The extension will only pick up messages where the type is zebra_print_label
zpl: The ZPL string to be printed
url: The URL of the printer
The extension will also post a message to the web page upon loading. This way in your web app you can check if the extension is installed:

window.addEventListener("message", function (event) {
    if (!event.data.ZebraPrintingVersion) {
        return;
    }
    // extension installed, enable print button or whatever...
    console.log(event.data);
});

The event will contain two fields:

ZebraPrintingExtensionId: The extension ID (ndikjdigobmbieacjcgomahigeiobhbo)
ZebraPrintingVersion: The version number of the installed extension                    

Grundlegende Informationen zur Erweiterung

Name Zebra Printing Zebra Printing
ID ndikjdigobmbieacjcgomahigeiobhbo
Offizielle URL https://chromewebstore.google.com/detail/zebra-printing/ndikjdigobmbieacjcgomahigeiobhbo
Beschreibung Allows to print ZPL to a network connected Zebra printer.
Dateigröße 219 KB
Installationsanzahl 7,009
Aktuelle Version 1.2
Letztes Update 2020-07-08
Veröffentlichungsdatum 2019-10-04
Bewertung 5.00/5 Insgesamt 3 Bewertungen
Entwickler Daniel Nitz
E-Mail [email protected]
Zahlungsart free
Erweiterungswebsite https://github.com/danielnitz/zebra-printing-chrome-extension
Hilfeseite URL https://github.com/danielnitz/zebra-printing-chrome-extension/issues
Unterstützte Sprachen en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Zebra Printing",
    "version": "1.2",
    "description": "Allows to print ZPL to a network connected Zebra printer.",
    "icons": {
        "128": "zebra128.png"
    },
    "author": "Daniel Nitz",
    "permissions": [
        "",
        "background",
        "activeTab"
    ],
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                "content.js"
            ]
        }
    ],
    "background": {
        "scripts": [
            "background.js"
        ],
        "persistent": false
    },
    "browser_action": [],
    "offline_enabled": true
}