I'm trying to fill a rectangle with color in a php generated PDF 
document.  I get the following error:

*Fatal error*: PDFlib error: illegal state 0x00000000 in 
*/usr/local/apache/htdocs/EDR/generate_edr.php* on line *144*

I have tried both of the following on line 144:

pdf_setcolor($pdf, "both", "gray", 1);


If I comment out the line to set color the PDF document gets generated 
correctly. I can't find any reference* *to this error on mailing lists 
or documentation. I'm using PHP Version 4.1.1 and PDFlib 4.0.1.

Does anyone have any ideas, thanks.

Wayne Bastow

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to