Přidatki za Firefox Browser
  • Rozšěrjenja
  • Drasty
    • za Firefox
    • Słowniki a rěčne pakćiki
    • Druhe sydła wobhladowaka
    • Přidatki za Android
Přizjewić
Přehlad Zebra Printing

Zebra Printing wot Daniel Nitz

Allows to print ZPL to a network connected Zebra printer.

0 (0 reviews)0 (0 reviews)
23 wužiwarjow23 wužiwarjow
Trjebaće Firefox, zo byšće tute rozšěrjenje wužiwał
Firefox sćahnyć a rozšěrjenje wobstarać
Dataju sćahnyć

Metadaty rozšěrjenja

Fota wobrazowki
Wo tutym rozšěrjenju
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():

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 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 implementation example can be found here:

https://danielnitz.github.io/zebra-printing-chrome-extension/web-app-example/index.html
Z 0 wot 0 pohódnoćacych pohódnoćeny
Přizjewće so, zo byšće tute rozšěrjenje pohódnoćił
Hišće pohódnoćenja njejsu

Hwězdne pohódnoćenje je so składowało

5
0
4
0
3
0
2
0
1
0
Hišće žane pohódnoćenja
Prawa a datyDalše informacije

Trěbne prawa:

  • Přistup k wašim datam za wšě websydła měć

Opcionalne prawa:

  • Přistup k wašim datam za wšě websydła měć
Dalše informacije
Přidatkowe wotkazy
  • Sydło pomocy
  • E-mejlowa adresa pomocy
Wersija
1.7
Wulkosć
228,75 KB
Posledni raz zaktualizowany
6 μήνες πριν (21 Φεβ 2025)
Přiwuzne kategorije
  • Webwuwiwanje
Licenca
Licenca MIT
Wersijowa historija
  • Wšě wersije pokazać
Zběrce přidać
Tutón přidatk zdźělić
Wjace rozšěrjenjow wot Daniel Nitz
  • Hišće pohódnoćenja njejsu

  • Hišće pohódnoćenja njejsu

  • Hišće pohódnoćenja njejsu

  • Hišće pohódnoćenja njejsu

  • Hišće pohódnoćenja njejsu

  • Hišće pohódnoćenja njejsu

K startowej stronje Mozilla

Přidatki

  • Wo
  • Blog přidatkow Firefox
  • Dźěłarnička rozšěrjenjow
  • Wuwiwarski róžk
  • Wuwiwarske prawidła
  • Blog zhromadźenstwa
  • Forum
  • Programowy zmylk zdźělić
  • Směrnica za pohódnoćenja

Wobhladowaki

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Priwatnosć
  • Placki
  • Prawniske

Jeli nic hinak zapisane, so wobsah na tutym sydle pod Creative Commons Attribution Share-Alike License v3.0 abo poždźišej wersiju licencuje.