Jump to content

Archived

This topic is now archived and is closed to further replies.

farout

need help in printing

Recommended Posts

hi..
hmm dont have any idea printing in php...
got this sample code printing in pdf but theres an error on it
error in pdf_new() ..something with pdflib...

what will i do?


or any other way in printing...

Share this post


Link to post
Share on other sites
What are you trying to accomplish

Share this post


Link to post
Share on other sites
pdf created in php .....

like the "hello world" be put in pdf using php

Share this post


Link to post
Share on other sites
We can't help with the minimal information you've provided. The best place to start would be to read the documentation on pdflib/pdf class you're using.

If/when you get an error, please post the [b]complete[/b] error message you get.

Share this post


Link to post
Share on other sites
ok...
heres the error message...

Fatal error: Call to undefined function: pdf_new() in /home/daxavl/public_html/testing/pdf2.php on line 2

Share this post


Link to post
Share on other sites
Have you read [a href=\"http://ca.php.net/pdf\" target=\"_blank\"]the php manual[/a]'s page about PDF functions? One thing that jumps out is the very first example which refers to the function name as PDF_new not pdf_new. Maybe your problem's as simple as case sensitivity.

Share this post


Link to post
Share on other sites
have change pdf_new to PDF_new and still got the same error...

how can i install the pdflib to the hosting server?....

sorry for being so noob :D

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.