BrowserPrint-3.0.216.min.js
BrowserPrint-Zebra-1.0.216.min.js
These two libraries are included in the sample page of the Browser Print. I am using Browser Emulator for testing it. The Test Label is printed correctly but when I send image, following error pops up in console
"Uncaught TypeError: g is not a function at line 279"
Any help would be appreciated, thanks.
5 Replies
Can anybody point to the problem in hand.
Hi,
could you try the latest sample posted here: https://techdocs.zebra.com/link-os/latest/demos/browser-print/
This appears to be using a later JS version: BrowserPrint-2.0.0.75.min.js
Thanks,
James
Thank you, it might solve it. i will try that. But the printer in discussion ZD-220 is not in the supported.
Hi,
The ZD220 runs the same OS as the ZD4/500 series, so I think it would be worth trying. Unfortunately I don't have a printer here to test with so I can't confirm / deny.
Thanks,
James
There is a code snippet from the sample that comes with the demo of the BrowserPrint.js-3.0.216/sample/index.html. It demonstrates how to use the convertAndSendFile() API to send and print a JPG.