Components adizionâi par Firefox
  • Estensions
  • Temis
    • par Firefox
    • Dizionaris e pachets di lenghis
    • Altris sĂŽts
    • Components adizionâi par Android
Jentre
Anteprime di Zebra Printing

Zebra Printing di Daniel Nitz

Allows to print ZPL to a network connected Zebra printer.

0 (0 reviews)0 (0 reviews)
30 utents30 utents
Ti covente Firefox par doprâ cheste estension
Discjame Firefox e instale la estension
Discjame il file

Metadâts de estension

Schermadis
Informazions su la estension
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
Valutât 0 di 0 recensôrs
Jentre par dâ un vôt a cheste estension
No son ancjemò valutazions

Valutazion in stelis salvade

5
0
4
0
3
0
2
0
1
0
Ancjemò nissune recension
Permès e dâtsPlui informazions

Permès obligatoris:

  • Acedi ai tiei dâts di ducj i sĂŽts web

Permès facoltatÎfs:

  • Acedi ai tiei dâts di ducj i sĂŽts web
Altris informazions
Colegaments component adizionâl
  • SĂŽt di supuart
  • E-mail pal supuart
Version
1.7
Dimension
228,75 kB
Ultin inzornament
7 muaj mĂŤ parĂŤ (21 Shk 2025)
Categoriis coreladis
  • Disvilup web
Licence
Licence MIT
Cronologjie versions
  • ViĂ´t dutis lis versions
Zonte ae racuelte
Segnale chest component adizionâl
Altris estensions di Daniel Nitz
  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

  • No son ancjemò valutazions

Va ae pagjine principâl dal sÎt Mozilla

Components adizionâi

  • Informazions
  • Blog dai components adizionâi di Firefox
  • Laboratori estensions
  • Centri di svilup
  • Politichis pal svilupadĂ´r
  • Blog de comunitât
  • Forum
  • Segnale un erĂ´r
  • Vuide pes recensions

NavigadĂ´rs

  • Desktop
  • Mobile
  • Enterprise

Prodots

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Riservatece
  • Cookies
  • Notis legâls

Gjavant dulà che al è indict in mÝt diviers, i contignÝts su chest sÎt a son distribuÎts cun licence Creative Commons Atribuzion CondivÎt te stesse maniere v3.0 o versions sucessivis.