On Monday 02 June 2003 14:32, Petre Agenbag wrote:

> I'm investigating different possibilities to generate printable and
> read-only documents, and the "best" method seems to be generating PDF's,
> however, I have NO experience with working with PDF's, and the examples
> in the manual only list a simple "one-liner" text pdf.
> Where can I find more material that will explain in layman's terms how
> to generate pdf's from various sources. 

There are several classes available which provide higher level functions 
making things much easier. One that I've used and can recommend is pc4p.

> As example, I'd like to generate
> PDF's of a webpage "on-the-fly" or even from data in MySQL tables. It
> seems that you need to provide the pdf generation process with the
> co-ordinates and size of each "element", but it is the location of the
> "elements" that I have trouble with, ie. what is needed to define each
> element?

Again, there are programs that convert HTML to PDF. But unless the page layout 
is fairly the simple the results can be pretty horrible. Your best bet is the 
hand code the page using one of the above mentioned classes.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------


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

Reply via email to