Re: [PHP] generate onfly PDF

2013-05-05 Thread Bastien




On 2013-05-05, at 8:10 AM, Rafnews  wrote:

> On 05.05.2013 07:45, tamouse mailing lists wrote:
>> On Sat, May 4, 2013 at 3:31 PM, Rafnews  wrote:
>>> On 04.05.2013 23:05, Tedd Sperling wrote:
 On May 4, 2013, at 5:00 PM, Ashley Sheridan 
 wrote:
> Rafnews  wrote:
> Is there a solution to generate onfly PDF from HTML page, and from data
>> user typed in form (let's say like a template) without using PECL ?
>> i read that is hosting does not allow such extension, we can not
>> generate PDF, so i would rather get a solution without such library.
>> 
>> Moreover i'm searching a solution free and that i can supply with my
>> web
>> components.
>> I created a component that should be able to generate PDF files quite
>> often as service for user.
> Have a look at fpdf, its a class that doesn't need any special
> server-side support. Its basic, but is pretty good.
> 
> Thanks,
> Ash
 Ash is right, here's an example I provide my students:
 
 http://rebel.lcc.edu/sperlt/citw185/examples/pdf/
 
 Everything is there.
 
 Cheers,
 
 tedd
>>> AFAIK fpdf needs zlib and gd extensions.
>>> gd extension is almost everywhere enabled as extension, however i'm not sur
>>> zlib is enabled on most of servers...
>>> 
>>> What do you think about that ?
>> I would think zlib is even more ubiquitous than gd; it's used all over
>> the place.
> 
> and what about TCPDF librairy ?
> have you already use it ?
> how are its performances ?
> 
> 

I've been using dompdf for years. Does a good representation of the HTML as PDF

Bastien

> 

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



Re: [PHP] generate onfly PDF

2013-05-05 Thread Rafnews

On 05.05.2013 07:45, tamouse mailing lists wrote:

On Sat, May 4, 2013 at 3:31 PM, Rafnews  wrote:

On 04.05.2013 23:05, Tedd Sperling wrote:

On May 4, 2013, at 5:00 PM, Ashley Sheridan 
wrote:

Rafnews  wrote:
Is there a solution to generate onfly PDF from HTML page, and from data

user typed in form (let's say like a template) without using PECL ?
i read that is hosting does not allow such extension, we can not
generate PDF, so i would rather get a solution without such library.

Moreover i'm searching a solution free and that i can supply with my
web
components.
I created a component that should be able to generate PDF files quite
often as service for user.

Have a look at fpdf, its a class that doesn't need any special
server-side support. Its basic, but is pretty good.

Thanks,
Ash

Ash is right, here's an example I provide my students:

http://rebel.lcc.edu/sperlt/citw185/examples/pdf/

Everything is there.

Cheers,

tedd


AFAIK fpdf needs zlib and gd extensions.
gd extension is almost everywhere enabled as extension, however i'm not sur
zlib is enabled on most of servers...

What do you think about that ?

I would think zlib is even more ubiquitous than gd; it's used all over
the place.


and what about TCPDF librairy ?
have you already use it ?
how are its performances ?

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



Re: [PHP] generate onfly PDF

2013-05-04 Thread tamouse mailing lists
On Sat, May 4, 2013 at 3:31 PM, Rafnews  wrote:
> On 04.05.2013 23:05, Tedd Sperling wrote:
>>
>> On May 4, 2013, at 5:00 PM, Ashley Sheridan 
>> wrote:
>>>
>>> Rafnews  wrote:
>>> Is there a solution to generate onfly PDF from HTML page, and from data

 user typed in form (let's say like a template) without using PECL ?
 i read that is hosting does not allow such extension, we can not
 generate PDF, so i would rather get a solution without such library.

 Moreover i'm searching a solution free and that i can supply with my
 web
 components.
 I created a component that should be able to generate PDF files quite
 often as service for user.
>>>
>>> Have a look at fpdf, its a class that doesn't need any special
>>> server-side support. Its basic, but is pretty good.
>>>
>>> Thanks,
>>> Ash
>>
>> Ash is right, here's an example I provide my students:
>>
>> http://rebel.lcc.edu/sperlt/citw185/examples/pdf/
>>
>> Everything is there.
>>
>> Cheers,
>>
>> tedd
>>
> AFAIK fpdf needs zlib and gd extensions.
> gd extension is almost everywhere enabled as extension, however i'm not sur
> zlib is enabled on most of servers...
>
> What do you think about that ?

I would think zlib is even more ubiquitous than gd; it's used all over
the place.

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



Re: [PHP] generate onfly PDF

2013-05-04 Thread Jim Giner

On 5/4/2013 6:31 PM, Rafnews wrote:

On 04.05.2013 23:05, Tedd Sperling wrote:

On May 4, 2013, at 5:00 PM, Ashley Sheridan 
wrote:

Rafnews  wrote:
Is there a solution to generate onfly PDF from HTML page, and from data

user typed in form (let's say like a template) without using PECL ?
i read that is hosting does not allow such extension, we can not
generate PDF, so i would rather get a solution without such library.

Moreover i'm searching a solution free and that i can supply with my
web
components.
I created a component that should be able to generate PDF files quite
often as service for user.

Have a look at fpdf, its a class that doesn't need any special
server-side support. Its basic, but is pretty good.

Thanks,
Ash

Ash is right, here's an example I provide my students:

http://rebel.lcc.edu/sperlt/citw185/examples/pdf/

Everything is there.

Cheers,

tedd

_
tedd.sperl...@gmail.com
http://sperling.com









AFAIK fpdf needs zlib and gd extensions.
gd extension is almost everywhere enabled as extension, however i'm not
sur zlib is enabled on most of servers...

What do you think about that ?

Al.

Well?  Check your hoster - do they provide it or not?

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



Re: [PHP] generate onfly PDF

2013-05-04 Thread Rafnews

On 04.05.2013 23:05, Tedd Sperling wrote:

On May 4, 2013, at 5:00 PM, Ashley Sheridan  wrote:

Rafnews  wrote:
Is there a solution to generate onfly PDF from HTML page, and from data

user typed in form (let's say like a template) without using PECL ?
i read that is hosting does not allow such extension, we can not
generate PDF, so i would rather get a solution without such library.

Moreover i'm searching a solution free and that i can supply with my
web
components.
I created a component that should be able to generate PDF files quite
often as service for user.

Have a look at fpdf, its a class that doesn't need any special server-side 
support. Its basic, but is pretty good.

Thanks,
Ash

Ash is right, here's an example I provide my students:

http://rebel.lcc.edu/sperlt/citw185/examples/pdf/

Everything is there.

Cheers,

tedd

_
tedd.sperl...@gmail.com
http://sperling.com









AFAIK fpdf needs zlib and gd extensions.
gd extension is almost everywhere enabled as extension, however i'm not 
sur zlib is enabled on most of servers...


What do you think about that ?

Al.

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



Re: [PHP] generate onfly PDF

2013-05-04 Thread Tedd Sperling
On May 4, 2013, at 5:00 PM, Ashley Sheridan  wrote:
> Rafnews  wrote:
> Is there a solution to generate onfly PDF from HTML page, and from data
>> 
>> user typed in form (let's say like a template) without using PECL ?
>> i read that is hosting does not allow such extension, we can not 
>> generate PDF, so i would rather get a solution without such library.
>> 
>> Moreover i'm searching a solution free and that i can supply with my
>> web 
>> components.
>> I created a component that should be able to generate PDF files quite 
>> often as service for user.
> 
> Have a look at fpdf, its a class that doesn't need any special server-side 
> support. Its basic, but is pretty good.
> 
> Thanks,
> Ash

Ash is right, here's an example I provide my students:

http://rebel.lcc.edu/sperlt/citw185/examples/pdf/

Everything is there.

Cheers,

tedd

_
tedd.sperl...@gmail.com
http://sperling.com








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



Re: [PHP] generate onfly PDF

2013-05-04 Thread Ashley Sheridan


Rafnews  wrote:

>Hi,
>
>Is there a solution to generate onfly PDF from HTML page, and from data
>
>user typed in form (let's say like a template) without using PECL ?
>i read that is hosting does not allow such extension, we can not 
>generate PDF, so i would rather get a solution without such library.
>
>Moreover i'm searching a solution free and that i can supply with my
>web 
>components.
>I created a component that should be able to generate PDF files quite 
>often as service for user.
>
>thx
>
>Al.

Have a look at fpdf, its a class that doesn't need any special server-side 
support. Its basic, but is pretty good.

Thanks,
Ash
http://www.ashleysheridan.co.uk

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



[PHP] generate onfly PDF

2013-05-04 Thread Rafnews

Hi,

Is there a solution to generate onfly PDF from HTML page, and from data 
user typed in form (let's say like a template) without using PECL ?
i read that is hosting does not allow such extension, we can not 
generate PDF, so i would rather get a solution without such library.


Moreover i'm searching a solution free and that i can supply with my web 
components.
I created a component that should be able to generate PDF files quite 
often as service for user.


thx

Al.

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