---------------------------------------------------------------------------- ----------------- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are not the intended recipient you are hereby notified that any perusal, use, distribution, copying or disclosure is strictly prohibited. If you have received this email in error please immediately advise us by return email at [EMAIL PROTECTED] and delete the email document without making a copy. ---------------------------------------------------------------------------- ----------------- Ryan, You have a few problems. 1. A valid pdflib.upr 2. The correct AFM settings 3. A valid AFM version of Arial If you are using the php4win distribution you should find the the pdflib.upr in the php/pdf-related/ directory. I think the loaction is hardcoded at compile time (though i think it looks through the path as well... try checking the pdflib manual) You will need to find a converter for your .ttf to an .afm (there are several) check freshmeat.net. Im actually at a clients at the moment, but i plan on writing a short tutorial on the whole process in the next week if you can hold on. Mail me at [EMAIL PROTECTED] with a reminder if you're interested. mn Mark Nold [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Senior Consultant Change is inevitable, except from vending machines. -----Original Message----- From: Conover, Ryan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 3:40 AM To: [EMAIL PROTECTED] Subject: PDF Problem I keep getting the following error on a line of the funciton below function marketingoutput($top, $pdf){ $z=0; $currentline=$top-$this->standardboxheight; while ($z<$this->zarrayofboxes){ $tempbox2=$this->arrayofboxes[$z]; $tempbox=unserialize($tempbox2); pdf_set_font($pdf, "Arial", 10, "host"); /////////////////////THIS IS WHERE I KEEP GETTIN THE ERROR AT pdf_set_value($pdf, "textrendering", 1); pdf_show_boxed($pdf, $tempbox->title.":", 36, $currentline, 100, $this->standardboxheight, "justify"); pdf_set_font($pdf, "Arial", 8, "host"); pdf_set_value($pdf, "textrendering", 1); pdf_show_boxed($pdf, $tempbox->info, 136, $currentline, 404, $this->standardboxheight, "justify"); $z++; $currentline=$currentline-$this->standardboxheight; } } Fatal error: Internal pdflib error: Resource configuration file 'pdflib.upr' not found in c:\Inetpub\wwwroot/test/marketing/Printing.php on line 88 Anyone have any ideas what to fix on this. This function is just to print out a portion of a report. Ryan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]