Easy way to print from php or just plain command line.
exec("lpr [ options ] [ filename ... ]");
Gettin a little fancy.
cat thesis.txt | lpr
Another example
exec("lpr -P printer -r filename.txt");
Read more in at this Link
Easy way to print from php or just plain command line.
exec("lpr [ options ] [ filename ... ]");
Gettin a little fancy.
cat thesis.txt | lpr
Another example
exec("lpr -P printer -r filename.txt");
Read more in at this Link