Welcome to WebmasterWorld Guest from 18.104.22.168
I'm working on a project where I need to collect some user input via a webform and then generate a PDF file with that input.
The "output" needs to look like the company newsletter, with the headline formatted some graphics, etc. Can anyone tell me how php handles the formatting of a pdf? Do I just use html?
There are other complicating factors such as the embedding of fonts but the documentation for your chosen library will cover these.
FDPF won't do things like rotated text or fancy effects. However, I have never needed that. I have a couple of sites that happily spew out beautiful PDF documents on demand.
Here [tecnick.com] is an extruded project. I have no idea how good it is.
If you like pears, there's an extension there [pear.php.net] that might be useful. I don't really use Pear that much, as it tends to be total overkill on the sites I build. However, it is a great system.