Current location: Hot Scripts Forums » Programming Languages » PHP » Problem with FPDF, please help.


Problem with FPDF, please help.

Reply
  #11 (permalink)  
Old 06-11-09, 11:41 AM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
Quote:
Originally Posted by sharyjunco View Post
Thank you so much!! Would you know anything about text wrapping issues? It's the only problem I have left that I still can't figure out. I'm not sure if its my form or if its my pdf.php / fpdf.php files. Basically my text goes off the emailed PDF page when a comment is added. If the comment is too long it just keeps going as if there is no right margin
I have never worked with FPDF before.
I had to download and install the class before I started helping you.
What I have learned, I had to learn on the fly.
But I don't know enough about it to help you any further.

You need to go back to where you downloaded the FPDF class and read the documentation and check out the tutorials and examples.
FPDF is not that difficult to learn.
If I can do it in just a couple hours, then you can too.
__________________
Jerry Broughton
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #12 (permalink)  
Old 06-15-09, 02:21 AM
conmen80 conmen80 is offline
Newbie Coder
 
Join Date: May 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
How to make fpdf created file only in backend without output to browser?

pls advise, thx!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #13 (permalink)  
Old 06-15-09, 09:19 AM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
Quote:
Originally Posted by conmen80 View Post
How to make fpdf created file only in backend without output to browser?

pls advise, thx!!!
You see these lines of code at the end of the script?
PHP Code:

// Disable this line and enable the next line to output to a file. //
$pdf->Output();
// $pdf->Output("myFile.pdf","F"); 
Change them like this and it will output to a file only.
PHP Code:

// Disable this line and enable the next line to output to a file. //
//$pdf->Output();
$pdf->Output("myFile.pdf","F"); 
__________________
Jerry Broughton
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #14 (permalink)  
Old 06-15-09, 11:17 PM
conmen80 conmen80 is offline
Newbie Coder
 
Join Date: May 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
thanks..you really help alot

can fpdd call data from multiple mysql table?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #15 (permalink)  
Old 06-16-09, 05:55 AM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
Quote:
Originally Posted by conmen80 View Post
thanks..you really help alot

can fpdd call data from multiple mysql table?
I suppose you can.
Right now you are getting data from a form, so I suppose you could just as easily get the data from mysql database.
__________________
Jerry Broughton
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #16 (permalink)  
Old 07-27-11, 10:01 AM
Exemplar Exemplar is offline
New Member
 
Join Date: Jul 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Please Help Us

After processing all of steps i faced following error "FPDF error: Could not include font metric file" on my local system and pd is not generating. Please help us this is urgent.

Thanks For your script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown Javascript/Ajax problem vitron JavaScript 9 06-05-09 12:44 PM
login, roles problem dbrook007 ASP.NET 10 11-10-06 04:42 PM
Form Display Problem neevrap02 Visual Basic 1 09-05-06 06:18 AM
Count problem kasic ASP.NET 1 10-20-04 01:23 AM
Asp and Microsoft Access 2002 problem gop373 ASP 2 10-06-04 10:13 AM


All times are GMT -5. The time now is 07:17 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.