"Failed to write to device: connection refused" error in zebra browser print version 1.2.1.279

Able to print the labels when connected to the printer from development server which is using http protocol.

But when tried to print from the server which is using https protocol, receiving the error
Failed to write to device: connection refused

Tried clearing chrome cache but still getting the same error.

Can't we connect to printer from server using https. If we can connect from https server then what are steps that need to be followed to make it work.

Steven Si
Browser Print supports HTTPS.

Browser Print supports HTTPS. Is this a Windows server? The latest version of Browser Print is v1.3.1.445. You may want to download and use the latest version instead. Hope that will fix the HTTPS problem.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Jayalakshmi Devaki
Using linux server

Can this scenario will create same issue as I stated , if I am using browser print javascript library (BrowserPrint-2.0.0.75.min.js -- which is part of browser print 1.2.1) in my application and my desktop is installed with latest version of Browser Print is v1.3.1.445?

Is there any constraint that browser print javascript library and browser print software should be from same version?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Steven Si
We should use the *.js files

We should use the *.js files released in their corresponding Browser Print release package. This is the way to eliminate any cross-release issues, because we have never done any cross-release test.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Jayalakshmi Devaki
Using same version in both web app and software installed in pc

My web application is hosted in cloud based https linux server, I am able to print labels when my laptop is connected to home/public internet.

But the problem is when my laptop is connected to office LAN, then I am getting "Failed to write to device" error. What could be the obstacle?

Also Can you please brief on this,
1. If my webpage is hosted in https server, Will it direct to https://localhost:9101/default?type=printer or http://127.0.0.1:9100/default?type=printer

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Steven Si
Is the printer connected to

Is the printer connected to your company's network as well? Or is the printer connected to your laptop via USB? If the printer is connected via the network, make sure that the company's network doesn't block the communication.

Regarding the question about redirection, Browser Printer doesn't do redirection. Make sure that your browser doesn't do the redirection. FYI, the HTTPS uses port 443 by default. The printer uses port 9100 by default on the printer for accepting the print job.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments