
Zebra Printing
7,000+ users
Developer: Daniel Nitz
Version: 1.6
Updated: September 25, 2024

Available in the
Chrome Web Store
Chrome Web Store
Install & Try Now!

16 Rustic Feminine Farmhouse Instagram Covers, Instagram Story Highlight Icons, iOS App Icons, iPhone Widgets, Instagram Highlights

Enya Concert Nova U Black Carbon Fiber Ukulele - with Free Ukulele Lessons, Case, Strap, Capo and Spare Strings.

Cofest Pocket Calculator with Stand for Students and Business Mini Scientific Calculator 240 Modes for Exams Compact Colorful Calculator with Large

Beauty by Earth, Ice Roller for Face

National Geographic World Decorator Map, Enlarged and Laminated, 73" x 48"

New Pocketalk W W1PWG Pocket Talk Translator 74 Languages Gold - Black
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
A simple example can be found here:
https://danielnitz.github.io/z ebra-printing-chrome-extension /web-app-example/index.html
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
A simple example can be found here:
https://danielnitz.github.io/z ebra-printing-chrome-extension /web-app-example/index.html
Related

ZPL label Printer
3,000+

LabelBasic
467

Zebra Printer
962

Chrome Direct Print
3,000+

ZPL printer / JS provider
287

Table Browser Caller for D365FO
20,000+

Print for Google Chrome
100,000+

Label Resizer - FBA Labels to Thermal & Avery
9,000+

VM Zebra Printer
139

Hiecor Zebra Print
54

Easy Label Print for Amazon
435

ZPL emulator
355

Ninja Remote Printer
113

IPP / CUPS printing for Chrome & Chromebooks
30,000+

Ninja Printer
571

AZLabels - Thermal Labels For Amazon
1,000+

Print
10,000+

Print Extension
3,000+

Print your own labels and stickers
10,000+

UpSeller - Product Importer
30,000+

D365 F&O Task Recorder Screenshots and Video
5,000+

Cumulus Web
10,000+

Dynamics 365 F&O table browser
5,000+

Odoo Debug
100,000+