jrn
jrn

Reputation: 2800

Emulate Zebra Printer for Zebra Browser Print

I am building an app that uses Zebra's Browser Print SDK to print barcode labels via the browser. Currently, I don't have access to a compatible Zebra printer, on the machine that I am developing this app on.

Can you think of a way to emulate a Zebra printer in such a way that the Browser Print SDK picks it up, so I can pretend to print from a browser?

What I tried so far:

Neither option populated the list in Zebra's Browser Print window of available printers. Is the only way of getting a printer to show up, to buy a Browser Print compatible Zebra printer and hook it up to my workstation?

Upvotes: 2

Views: 6493

Answers (4)

brianzinn
brianzinn

Reputation: 75

I had the same issue and quickly wrote an emulator that allows the Browser Print SDK to work. It doesn't show what will be printed as an image, but outputs the ZPL itself (which can be loaded into online viewers). It has saved me a lot of paper! https://github.com/brianzinn/zebra-emulator

Upvotes: 0

catil001
catil001

Reputation: 1

The SDK for mac actually hides the "Device Address" input label. So be sure to put device address (127.0.0.1) after the device name Adding Printer on Mac

Upvotes: 0

Ori Miller
Ori Miller

Reputation: 41

Here is what worked for me: Install the Browser Print native application from these (unofficial) locations: Windows: https://zebra.sharepoint.com/:u:/s/ZXT-CustomSolutions/EamMe3ubWUVJmycCLPEBAqIBX8a7Jsf9kEuHNnAmLMcMow?e=8Uux7c Mac: https://zebra.sharepoint.com/:u:/s/ZXT-CustomSolutions/ES0NSZ780Z9MjOjfwxQSEpQBVSOZhtXRm2_Axvn9DaS5fQ?e=2EhKjC

Then install the Chrome Plugin named “Zpl Printer”, and configure it to listen on a port such as 9102 (Browser Print took 9100 & 9101).

On Browser Print click on “Manage” (next to “Added Devices”) and configure the Chrome Plugin IP (127.0.0.1) and port (9102).

Open zebra-browser-print-js-v30216/sample/index.html and under “Selected Device” pick the name you gave your “Added Device” and click on “Send ZPL Label”. The Chrome Plugin should display “Test Label”. illustration

Upvotes: 1

fMadTech
fMadTech

Reputation: 308

Install Zebra Designer to have a list of driver that you can use:

Try to create a driver that is using ff:

-COM -LPT -USB

or try to use Javascript third party app that you won't needed this Zebra's Browser Print SDK

Trust me , you will need a lot time by using their SDK.

Upvotes: 0

Related Questions