Hi, I´m shearching for a php utility or function that permise to print data on a local printer (no for pages or forms), because I´ve trying to make it like a shocket or open directly like a file and it doesn´t work.
Thanks.- Carlos
I would turn on page buffering then when you're ready to print flush the buffer to a var and add slashes to the var then print '$var' > /dev/lp;
print '$var' > /dev/lp
That should work for the SERVER. For the client, try this: http://www.codelifter.com/main/javascript/printwindow1.html