Zebra Printing
6 件の評価
)概要
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 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
5 点満点で 4.36 件の評価
詳細
- バージョン1.9
- 更新:2025年9月23日
- 提供元Daniel Nitz
- サイズ220KiB
- 言語English
- デベロッパー
メール
chrome-web-store@dmg.io - 非取引業者このデベロッパーは取引業者として申告していません。EU 加盟国の消費者とこのデベロッパーとの間に締結された契約には、消費者の権利が適用されません。
プライバシー
このデベロッパーは、お客様のデータについて以下を宣言しています
- 承認されている以外の用途で第三者に販売しないこと
- アイテムの中心機能と関係のない目的で使用または転送しないこと
- 信用力を判断する目的または融資目的で使用または転送しないこと
サポート
質問や提案、問題がある場合は、パソコンのブラウザでこのページを開いてください