Print On Zebra GK420D from ReactJS

Tags: 

Hello. I am a ReactJS developer. I need to be able to print directly to my GK420d printer and I have not been able to implement the BrowserPrint.JS library from ReactJS. Can you help me? Thank you.

Steven Si
What is the problem? Would

What is the problem? Would you be able to print from the BrowserPrint demo?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Robyir Loreto
That is, browserprint.js

That is, browserprint.js works perfect, but I don't know how to integrate that into a ReactJS project, can you help me?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Steven Si
The BrowserPrint, as its name

The BrowserPrint, as its name suggests, runs in a browser or a webview. I am not an expert in REACT, so I don't know if  REACT can call these JavaScript API in BrowserPrint library directly. If not, then you would have to take a hybrid apporach, so that BrowserPrint runs as a separate module while REACT passing the data to the module. 

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Robyir Loreto
ReactJs BrowserPrint

I tell you, I tried to send ZPL code directly to the address http: // localhost: 9100 using a javascript Fetch function with POST and it does not send anything to the printer. I have already added the default printer in the BrowserPrint client program, I put in the URL http: // localhost: 9100 / default? Type = printer and it brings me the data of the printer that I have installed. From ReactJS I don't know how to integrate that library.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments