Allows to print ZPL to a network connected Zebra printer.

Latest Version

Version
1.6
Update
September 25, 2024
Size
221KiB
Developer
Category
Users
7,000+
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
See more

Zebra Printing Extension

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/zebra-printing-chrome-extension/web-app-example/index.html
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Zebra Printing", "version": "1.6", "description": "Allows to print ZPL to a network connected Zebra printer.", "icons": { "128": "zebra128.png" }, "author": "Daniel Nitz", "permissions": [ "activeTab" ], "host_permissions": [ "" ], "content_scripts": [ { "matches": [ "" ], "js": [ "content.js" ] } ], "background": { "service_worker": "background.js" }, "action": {}, "offline_enabled": true}
Read more

How to download and manually install Zebra Printing extension for Chrome

Looking for a way to install Zebra Printing extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Zebra Printing extensions manually, this article outlines two simple methods to effortlessly install Zebra Printing extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Zebra Printing extension and manually install through Drag &Drop

If you ever need to manually install a Zebra Printing extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Zebra Printing Extension by clicking the "Download CRX" button on the website.

Look for the Zebra Printing extension you wish to install. Go to the website and download the Zebra Printing extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Zebra Printing extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Zebra Printing extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Zebra Printing extension for Chrome and install in Developer Mode

This is another method to install Zebra Printing extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Zebra Printing extension file

Select and download the Zebra Printing extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Zebra Printing extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Zebra Printing extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Zebra Printing extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Zebra Printing extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

ZPL label Printer Extension · Productivity 7,000+ 5 ★ 456KiB

icon

LabelBasic Extension · Social & Communication 7,000+ 0 ★ 40.59KiB

icon

Zebra Printer Extension · Productivity 7,000+ 1 ★ 9.01KiB

icon

Print Extension · Productivity 7,000+ 131 ★ 145KiB

icon

Chrome Direct Print Extension · Productivity 7,000+ 14 ★ 189KiB

icon

ZPL printer / JS provider Extension · Developer Tools 7,000+ 0 ★ 17.06KiB

icon

Print for Google Chrome Extension · Productivity 7,000+ 622 ★ 364KiB

icon

Label Resizer - FBA Labels to Thermal & Avery Extension · Productivity 7,000+ 11 ★ 122KiB

icon

VM Zebra Printer Extension · Productivity 7,000+ 0 ★ 59.35KiB

icon

Easy Label Print for Amazon Extension · Productivity 7,000+ 4 ★ 182KiB

icon

ZPL emulator Extension · Developer Tools 7,000+ 0 ★ 380KiB

icon

AZLabels - Thermal Labels For Amazon Extension · Productivity 7,000+ 5 ★ 166KiB

icon

Ninja Remote Printer Extension · Developer Tools 7,000+ 0 ★ 11.02KiB

icon

IPP / CUPS printing for Chrome & Chromebooks Extension · Productivity 7,000+ 367 ★ 1.25MiB

icon

Ninja Printer Extension · Developer Tools 7,000+ 3 ★ 11.49KiB

icon

Table Browser Caller for D365FO Extension · Developer Tools 7,000+ 4 ★ 590KiB

icon

Print Extension Extension · Productivity 7,000+ 4 ★ 490KiB

icon

Print your own labels and stickers Extension · Productivity 7,000+ 11 ★ 608KiB

icon

Extensão do Mercado Turbo Extension · Productivity 7,000+ 9 ★ 15.12MiB

icon

D365 F&O Task Recorder Screenshots and Video Extension · Productivity 7,000+ 6 ★ 171KiB

icon

Cumulus Web Extension · Productivity 7,000+ 25 ★ 1.75MiB

icon

UpSeller - Product Importer Extension · Shopping 7,000+ 66 ★ 1.24MiB

icon

Dynamics 365 F&O table browser Extension · Productivity 7,000+ 5 ★ 26.55KiB

icon

Dynamics 365 Finance & Operations Dev Tools Extension · Developer Tools 7,000+ 1 ★ 78.14KiB

User reviews

icon

Ilmi Nur Azis Aqli Mubarok (ID: 00000043df700155) Voted 5 ★ - Updated 06/25/2023 This awsome extension makes my life easier, thank you very much!

icon

Pawel Suwala (ID: 000000e1a03e7066) Voted 5 ★ - Updated 12/30/2022 Absolutely brilliant workaround for printing directly from the browser. Works as advertised. I'm using it every day - thank you!

icon

Maarten Wolzak (ID: 000000de8d68f26a) Voted 5 ★ - Updated 10/06/2020 Works as advertised. Perfect to start learning ZPL! Please be aware that this plugin enables you to make your printer-setup insecure and sensitive to Man-In-The-Middle attacks from hackers. I advise you to never use this plugin in a production environment. Instead: load a TLS certificate to your printer to enable HTTPS communication! But again: This plugin is a real help!