We are trying to print labels by sending RAW ZPL text from the browser(typically chrome) to the printer.
We are looking for the best way to handle Printing from Desktops/laptops/Tablets/Phone browsers over a wireless connection(or wired , as long as it's only in one solution).
- Printing via java script(as suggested in the link below) does not work well(expecially with chrome) and with IE, the formatting is not right. JavaScript: Send raw text to printer - no server requests/method calls, able to work offline, purely clientside
- Zebra seems to have provided a BrowserPrint functionality that resides, but that won't work with Android browsers
- Installing 'Enterprise Browser' is not an option either, because we don't have control over what our clients use on their tablets.
So, is there a way/technology that lets us print from a webpage(java webapp) from browsers over a wireless connection from Desktops/laptops/Tablets/Phone? What's the best way to handle this?
From a Desktop
I've always installed the Zebra printer as a generic text based printer, and could print ZPL text from notepad, and it would get rendered by the Zebra printer. Worked over Ethernet TCP/IP connection just fine.
From a Server
Just send the XML via TCP/IP to the Zebra printer.
Oracle procedure would look something like this:
Answer from: Sending ZPL to a Label Printer Using PL/SQL