How do I pass the contents to the printer?
I tried:
<?
$pHandle = fopen("test.php", "r");
$handle = printer_open("SAVIN4045ePCL6");
printer_set_option($handle, PRINTER_MODE, "raw");
printer_write($handle,$pHandle);
printer_close($handle);
?>
... all I got was 'Resource id # 1'