Zebra Printing

Zebra Printing

Zebra Printing
Zebra Printing

热度 9579

当前版本 1.2
插件大小 219KiB
所属分类 生产工具
更新时间 2020年7月8日
Chrome store open chrome web store
随机推荐 阿里云服务器2核2G 99元/1年(续费同价!)

Zebra Printing插件简介

Zebra Printing(扩展包名:ndikjdigobmbieacjcgomahigeiobhbo)由 开发,最新版本1.2 于 2020年7月8日 更新。 Zebra Printing 属于生产工具分类。

🌹 这个应用程序可以在 ChromeFK 或 Google Chrome 网上应用商店进行下载。 ChromeFK上的所有插件扩展文件都是原始文件,并且 100% 安全,下载速度快。
Allows to print ZPL to a netwk connected Zebra printer.Zebra Printing浏览器扩展插件属于生产工具分类。此应用程序可以在ChromeFK或Google Chrome网上应用商店进行下载。 ChromeFK上的所有插件扩展文件都是原始文件,并且 100% 安全,下载速度快。

Zebra Printing插件描述

Most Zebra Printers have a HTTP POST endpoint through which ZPL can be directly printed without the need f an installed driver, print dialogs popping up  other locally installed software.

Unftunately those printers dont set any CORS headers which makes it impossible to use this HTTP endpoint in modern browserbased 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  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  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插件离线安装方法

1.首先用户点击谷歌浏览器右上角的自定义及控制按钮,在下拉框中选择设置。

2.在打开的谷歌浏览器的扩展管理器最左侧选择扩展程序或直接输入:chrome://extensions/

3.找到自己已经下载好的Chrome离线安装文件xxx.crx,然后将其从资源管理器中拖动到Chrome的扩展管理界面中,这时候用户会发现在扩展管理器的中央部分中会多出一个”拖动以安装“的插件按钮。

4.下载 Zebra PrintingChrome插件v1.2版本到本地。

5.勾选开发者模式,点击加载已解压的扩展程序,将文件夹选择即可安装插件。

注意:最新版本的chrome浏览器直接拖放安装时会出现“程序包无效CRX-HEADER-INVALID”的报错信息,参照这篇文章即可解决

历史版本

(如何离线安装?)
版本号 文件大小 下载

Zebra-Printing(1.2)

219KiB 城通网盘