Can I user printer_write to print an HTML file?
For example, I want a user to look at a printer friendly page and select a button that will print the page as is.
I was going to create a button with the value "submit".
<form action=PHP_SELF method"POST" >
<input type=submit value="submit" name="Print">
</form>
<?php
$webpage="myfile.html";
if (!$submit){
$handle = printer_open();
printer_write($handle, $webpage);
printer_close($handle);
}
?>