look ...
i have a server installed on a linux machine ( RHEL 7 + PHP ) . where i have a server called " Printer " acessible by : 192.168.0.48/Printer.
i have a page php at my server that create a file with some ZPL LANGUAGE inside on this location
' \Printer\documents\'
its possible to send the file that has been generated to the printers of side-client via " window.open() " ?
or for example , get the content of this file and insert of this function ?
<script type="text/javascript">
function printZpl(zpl) {
var printWindow = window.open();
printWindow.document.open('text/plain')
printWindow.document.write(zpl);
printWindow.document.close();
printWindow.focus();
printWindow.print();
printWindow.close();
}
</script>