# Zebra Printing

> Allows to print ZPL to a network connected Zebra printer.

Canonical page: [https://chrome-stats.com/d/zebra-printing](https://chrome-stats.com/d/zebra-printing)

## Overview

- **ID:** `zebra-printing`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** Daniel Nitz
- **Category:** web-development
- **Daily users:** 78
- **Weekly downloads:** 10
- **Version:** 1.7
- **Last updated:** 2025-02-21
- **First published:** 2025-02-21
- **Size:** 229 KB
- **Data as of:** 2026-09-11
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/zebra-printing/)
- **Website:** [https://github.com/danielnitz/zebra-printing-chrome-extension](https://github.com/danielnitz/zebra-printing-chrome-extension)

## Description

Allows to print ZPL to a network connected Zebra printer.

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

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():

<code>    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"
    }, "*");
</code>

The Zebra Printing extension will listen to those messages and post the ZPL to the URL.
<ul><li><code>type</code>: The extension will only pick up messages where the type is <code>zebra_print_label</code></li><li><code>zpl</code>: The ZPL string to be printed</li><li><code>url</code>: The URL of the printer</li></ul>
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:

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

The event will contain two fields:

<code>ZebraPrintingExtensionId: The extension ID (ndikjdigobmbieacjcgomahigeiobhbo)
ZebraPrintingVersion: The version number of the installed extension
</code>

A simple implementation example can be found here:

<a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/c24b957d7521672f675658aa95bc4107903d3edc156ea86afa9c6eb5fa524dad/https%3A//danielnitz.github.io/zebra-printing-chrome-extension/web-app-example/index.html" rel="nofollow">https://danielnitz.github.io/zebra-printing-chrome-extension/web-app-example/index.html</a>

## Rankings

- #13,131 — Overall
- #23 — print
- #163 — connection

## Permissions and access

### Permissions

- `activeTab`

### Host permissions

- `<all_urls>`

### Content script matches

- `<all_urls>`

## Safety

- **Risk impact:** Moderate risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Addons impression https sur Zebra](https://chrome-stats.com/d/impression-https-sur-zebra) — 81 users
- [EasyPrint](https://chrome-stats.com/d/easyprint) — 365 users, 4.50 / 5
- [QR Print](https://chrome-stats.com/d/qr-print) — 12 users
- [Silent Label Printer Pro](https://chrome-stats.com/d/silent-label-printer-pro) — 7 users
- [EpsilonNet Browser Extension](https://chrome-stats.com/d/epsilonnet-browser-extension) — 15 users, 5.00 / 5
- [SimplyPrint](https://chrome-stats.com/d/simplyprint) — 54 users, 5.00 / 5
- [Print Pages Extension](https://chrome-stats.com/d/print-pages-extensionnew) — 1 users
- [Apica Script Recorder](https://chrome-stats.com/d/apica-script-recorder) — 8 users, 5.00 / 5
- [Print Extension](https://chrome-stats.com/d/print-extensionweprintyourpage) — 2 users
- [Print Extension](https://chrome-stats.com/d/print-extensionioes)
- [Print Extension](https://chrome-stats.com/d/print-extensionsdds)
- [Print Extension](https://chrome-stats.com/d/print-extensioniw)

---

Source: [Chrome-Stats](https://chrome-stats.com/d/zebra-printing)
