![]() ![]() I want to print ZPL with ZT410 through CHROME browser connected to SERVER. SERVER - Router - User PC - Consists of ZT410 connected to user PC. SERVER (Not in the same network, not in our company, in another area.) Let me explain how we would like to use it.ġ. I'm sorry, but I do not know what to do if I read the explanation above. It would be nice if Zebra printer could implement an HTTPS server, it means give the possibility to provide an url and a certificate. Var request = new Request(' ) : So in this last case there is no solution simple at the moment !Ī solution could be : add a Raspberry pi (or whatever local server) to bridge printer in https. This solution is not 'perfect' but works if you have network segregation (printer cannot be contacted by server) and your client know printer IP. It works, but Fetch api is not available in IE (if someone still use it). Web api support : Fetch API - Web APIs | MDN This means no address checkup done for this request. ![]() use web browser : latest fetch API allows for 'no-cors' request mode. Server side script does not checks CORS at all.One problem is if your web server cannot contact your printer due to network segregation (printer in .x, server in the internet, and no way to communicate between them)Ģ. You can call the printer via this server. use an intermediate server : often you are adding a "print" button in your web interface. Can you point me in the right direction?īTW, I was trying to download the Mac version of Browser Print again today, but the download page links to something different.ġ. I am guessing that Firefox is blocking the response altogether, but I cannot see why. In a browser console, I can see the call to GET and it shows the request headers, but the response headers are never returned. I can see the Browser Print listening on ports 91. I tried the CORS anywhere plugin for Firefox, but that has not helped.īut I cannot even get a response in the Mac environment. The web pages are served up externally, so there might be a CORS issue. At a customer site that is a Mac environment, they cannot print from either. In our test environment we can print successfully from Firefox but not Chrome. ![]() This worked initially (a few months ago). I think browser updates are wreaking havoc. I am not sure what I can and can`t ask you, so please if any of those questions is not in your domain just ignore it, or kindly let me know where should I ask it. Last, on one of the sites, I can ping the printer, yet when I type the IP in the browser, I can`t open the configuration page -the printer is ZT 230-, do you have any suggestions on how I can trouble shoot that? Is there anyway I can verify the URL before sending the requests? Second, what about error handling? the printer is responding with an error anyways, so how can I tell? So in my code I call both and one of them usually respond? do you have another suggestion? Then I came across another issue, Some printers respond to: We have centers in many countries and they all need to print using Zebra printers as well as normal thermal printers.įor Zebra, and because we have various types of printers, I went with the javascript solution.įirst, I came across the CORS issue and since the printer is printing anyways, I ignored the error message. I am building an oracle Apex application for our company. ![]() First thank you for this post and the "Http Post Printing" one as well. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |