Pregunta

I wrote a CMS with PHP and i need to print with a dymo labelwriter 450 some labels. I've all the information stored on a mysql database and i want to print every row in a single Label but can't figure out how to implement: - the framework, a soon as i move the js framework folder it stop working. - post data from mysql to javascript. Anyone ?

¿Fue útil?

Solución

you cannot print directly from web to the printer, because of security issues in browsers.

but you can build a .pdf file with label dimension per page and then the user only need to select the right printer (only the first time) and push print over the pdf file.

if you want to do it automatically you can build a little c# console application that query the webserver every x seconds to a specified page that send the pdf to the console application that print it for you.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top