Detect if the browser print software is not running

F Florian Hirson 3 years 2 months ago
12 1 0

I just started working with the browser print api, and I was wondering if it's possible to detect if the browser print software is not running, because when it's not running I have the following error : "net::ERR_CONNECTION_RESET" which is not very specific.

Please Register or Login to post a reply

1 Replies

D Dmitry Prokhorov

Hello Florian,

Here is an example of Browser Print usage here: ​
You can try to use BrowserPrint.getDefaultDevice method with error handler function to test if BrowserPrint is available.
Hope it helps.

Dmitry Prokhorov
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies

CONTACT
Can’t find what you’re looking for?