
Dennis Freni - 2014-10-18 09:38:41
Hi,
I just have to say what a wonderful piece of code you made here!!!
I figured out how to send url's to the printer and I just wanted to share it with people who could use it...
IN GoogleCloudPrint.php -->
FIND:
$contents = fread($handle, filesize($filepath));
REPLACE WITH:
if($contenttype = 'text/html')
{
$contents = file_get_contents($filepath);
}else{
$contents = fread($handle, filesize($filepath));
}
Greets Dennis