New Forum | Previous | Next | (P-PDF) Developers
Topic: carriage return showing up
Conf: (P-PDF) Developers, Msg: 119031
Date: 9/22/2004 05:51 AM
I am producing pdfs on the fly and they are showing up fine on the screen but when I save them into a temp directory they have small boxes at the end of every line that had a carriage return.
Does anyone know how to get rid of the boxes at the end of the line.
This is how I get it to a physical pdf file
$handle = fopen('/tmp/'.$pid.'.pdf', 'a+'); //open file handle
fwrite($handle, $buf, strlen($buf)); //write the pdf buffer to the file
fclose($handle); //close the file