
Zebra Printing geliştiren: Daniel Nitz
Allows to print ZPL to a network connected Zebra printer.
Bu uzantıyı kullanmak için Firefox’a ihtiyacınız var
Uzantı meta verileri
Ekran görüntüleri


Bu uzantı hakkında
Allows to print ZPL to a network connected Zebra printer.
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():
The Zebra Printing extension will listen to those messages and post the ZPL to the URL.
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:
The event will contain two fields:
A simple implementation example can be found here:
https://danielnitz.github.io/zebra-printing-chrome-extension/web-app-example/index.html
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 post the ZPL to the URL.
type
: The extension will only pick up messages where the type iszebra_print_label
zpl
: The ZPL string to be printedurl
: 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
A simple implementation example can be found here:
https://danielnitz.github.io/zebra-printing-chrome-extension/web-app-example/index.html
Deneyiminize puan verin
İzinlerDaha fazla bilgi al
Bu eklenti şunlara ihtiyaç duyuyor:
- Tüm web sitelerine ait verilerinize erişme
Bu eklenti şunları da isteyebilir:
- Tüm web sitelerine ait verilerinize erişme
Daha fazla bilgi
- Eklenti bağlantıları
- Sürüm
- 1.7
- Boyut
- 228,75 KB
- Son güncelleme
- 3 ay önce (21 Şub 2025)
- İlgili kategoriler
- Lisans
- MIT Lisansı
- Sürüm geçmişi
Koleksiyona ekle
Daniel Nitz tarafından geliştirilen diğer uzantılar
- Henüz hiç puan yok
- Henüz hiç puan yok
- Henüz hiç puan yok
- Henüz hiç puan yok
- Henüz hiç puan yok
- Henüz hiç puan yok