Zebra Printing
Allows to print ZPL to a network connected Zebra printer.
什么是Zebra Printing?
Zebra Printing是由Daniel Nitz开发的Chrome扩展程序,该扩展的主要功能是“Allows to print ZPL to a network connected Zebra printer.”。
扩展截图
下载Zebra Printing扩展crx文件
下载Zebra Printing扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。
扩展使用说明
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
扩展基本信息
名称 | Zebra Printing |
ID | ndikjdigobmbieacjcgomahigeiobhbo |
官方URL | https://chromewebstore.google.com/detail/zebra-printing/ndikjdigobmbieacjcgomahigeiobhbo |
简介 | Allows to print ZPL to a network connected Zebra printer. |
文件大小 | 219 KB |
安装次数 | 7,009 |
当前版本 | 1.2 |
更新时间 | 2020-07-08 |
上架时间 | 2019-10-04 |
评分 | 5.00/5 共3次评分 |
开发者 | Daniel Nitz |
电子邮箱 | [email protected] |
付费类型 | free |
扩展官网 | https://github.com/danielnitz/zebra-printing-chrome-extension |
帮助页面URL | https://github.com/danielnitz/zebra-printing-chrome-extension/issues |
支持的语言 | en |
manifest.json | |
{ "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx", "manifest_version": 2, "name": "Zebra Printing", "version": "1.2", "description": "Allows to print ZPL to a network connected Zebra printer.", "icons": { "128": "zebra128.png" }, "author": "Daniel Nitz", "permissions": [ " |