Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #6628 > unrolled thread

PHP to PDF

Started bycresh <davebowlin@gmail.com>
First post2012-07-19 10:42 -0700
Last post2012-07-31 01:46 -0700
Articles 8 — 6 participants

Back to article view | Back to comp.lang.php


Contents

  PHP to PDF cresh <davebowlin@gmail.com> - 2012-07-19 10:42 -0700
    Re: PHP to PDF Sandman <mr@sandman.net> - 2012-07-19 19:57 +0200
    Re: PHP to PDF The Natural Philosopher <tnp@invalid.invalid> - 2012-07-19 20:10 +0100
    Re: PHP to PDF Goran <goran@nospam.com> - 2012-07-20 12:08 +0200
      Re: PHP to PDF r.mariotti@fdcx.net - 2012-07-20 16:24 -0400
        Re: PHP to PDF cresh <davebowlin@gmail.com> - 2012-07-25 12:47 -0700
        Re: PHP to PDF Goran <goran@nospam.com> - 2012-07-26 09:10 +0200
          Re: PHP to PDF IRC <ircadhikari@gmail.com> - 2012-07-31 01:46 -0700

#6628 — PHP to PDF

Fromcresh <davebowlin@gmail.com>
Date2012-07-19 10:42 -0700
SubjectPHP to PDF
Message-ID<d33d5e52-91d6-4aa6-b159-92ebe60b685e@googlegroups.com>
I realize there's many tools available to convert HTML pages to PDF using PHP. What I need to do is to convert data from an SQL database to PDF. I use PHP to connect to the database and print the results to the screen, no problem there. What I need is a way to print this same data from the SQL query to a PDF file.

Anyone have any tips or anything - with examples - to get this done? I'd appreciate any serious help or tips. Thanks very much.

You're welcome to email me as well as posting here - davebowlin at gmail dot com

[toc] | [next] | [standalone]


#6629

FromSandman <mr@sandman.net>
Date2012-07-19 19:57 +0200
Message-ID<mr-D6F96E.19570819072012@News.Individual.NET>
In reply to#6628
In article <d33d5e52-91d6-4aa6-b159-92ebe60b685e@googlegroups.com>,
 cresh <davebowlin@gmail.com> wrote:

> I realize there's many tools available to convert HTML pages to PDF using 
> PHP. What I need to do is to convert data from an SQL database to PDF. I use 
> PHP to connect to the database and print the results to the screen, no 
> problem there. What I need is a way to print this same data from the SQL 
> query to a PDF file.
> 
> Anyone have any tips or anything - with examples - to get this done? I'd 
> appreciate any serious help or tips. Thanks very much.
> 
> You're welcome to email me as well as posting here - davebowlin at gmail dot 
> com

I once did this using Latex, and then a latex to PDF converter.


-- 
Sandman[.net]

[toc] | [prev] | [next] | [standalone]


#6630

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2012-07-19 20:10 +0100
Message-ID<ju9m2n$nvm$4@news.albasani.net>
In reply to#6628
cresh wrote:
> I realize there's many tools available to convert HTML pages to PDF using PHP. What I need to do is to convert data from an SQL database to PDF. I use PHP to connect to the database and print the results to the screen, no problem there. What I need is a way to print this same data from the SQL query to a PDF file.
> 
> Anyone have any tips or anything - with examples - to get this done? I'd appreciate any serious help or tips. Thanks very much.
> 
> You're welcome to email me as well as posting here - davebowlin at gmail dot com

I don't convert HTML pages at all. I generate pages using the PDFlite 
library which is limited but free.

That enables me to setup a page, place text and images on it and output 
PDFS.


-- 
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.

[toc] | [prev] | [next] | [standalone]


#6631

FromGoran <goran@nospam.com>
Date2012-07-20 12:08 +0200
Message-ID<juband$n3v$1@news.metronet.hr>
In reply to#6628
On 19.7.2012 19:42, cresh wrote:
> I realize there's many tools available to convert HTML pages to PDF using PHP. What I need to do is to convert data from an SQL database to PDF. I use PHP to connect to the database and print the results to the screen, no problem there. What I need is a way to print this same data from the SQL query to a PDF file.
> 
> Anyone have any tips or anything - with examples - to get this done? I'd appreciate any serious help or tips. Thanks very much.
> 
> You're welcome to email me as well as posting here - davebowlin at gmail dot com

Check tcpdf library, it is very mature and feature rich...

[toc] | [prev] | [next] | [standalone]


#6632

Fromr.mariotti@fdcx.net
Date2012-07-20 16:24 -0400
Message-ID<2ffj0850sh182o8aa11jrf96tjkogn5pkq@4ax.com>
In reply to#6631
On Fri, 20 Jul 2012 12:08:44 +0200, Goran <goran@nospam.com> wrote:

>On 19.7.2012 19:42, cresh wrote:
>> I realize there's many tools available to convert HTML pages to PDF using PHP. What I need to do is to convert data from an SQL database to PDF. I use PHP to connect to the database and print the results to the screen, no problem there. What I need is a way to print this same data from the SQL query to a PDF file.
>> 
>> Anyone have any tips or anything - with examples - to get this done? I'd appreciate any serious help or tips. Thanks very much.
>> 
>> You're welcome to email me as well as posting here - davebowlin at gmail dot com
>
>Check tcpdf library, it is very mature and feature rich...


You might want to review the FPDF.org site and look at how their model
works.  I've used it for several projects and once set up and working
producing similar reports was a real breeze.

Worth a look and good luck.

[toc] | [prev] | [next] | [standalone]


#6662

Fromcresh <davebowlin@gmail.com>
Date2012-07-25 12:47 -0700
Message-ID<958f37d8-6011-4408-98d8-9da72ac9da7c@googlegroups.com>
In reply to#6632
On Friday, July 20, 2012 3:24:08 PM UTC-5, (unknown) wrote:
> On Fri, 20 Jul 2012 12:08:44 +0200, Goran &lt;goran@nospam.com&gt; wrote:
> 
> &gt;On 19.7.2012 19:42, cresh wrote:
> &gt;&gt; I realize there&#39;s many tools available to convert HTML pages to PDF using PHP. What I need to do is to convert data from an SQL database to PDF. I use PHP to connect to the database and print the results to the screen, no problem there. What I need is a way to print this same data from the SQL query to a PDF file.
> &gt;&gt; 
> &gt;&gt; Anyone have any tips or anything - with examples - to get this done? I&#39;d appreciate any serious help or tips. Thanks very much.
> &gt;&gt; 
> &gt;&gt; You&#39;re welcome to email me as well as posting here - davebowlin at gmail dot com
> &gt;
> &gt;Check tcpdf library, it is very mature and feature rich...
> 
> 
> You might want to review the FPDF.org site and look at how their model
> works.  I&#39;ve used it for several projects and once set up and working
> producing similar reports was a real breeze.
> 
> Worth a look and good luck.

Thank you very much. This seems to be the ticket. I appreciate all the suggestions.

[toc] | [prev] | [next] | [standalone]


#6663

FromGoran <goran@nospam.com>
Date2012-07-26 09:10 +0200
Message-ID<juqqgn$ik2$1@news.metronet.hr>
In reply to#6632
On 20.7.2012 22:24, r.mariotti@fdcx.net wrote:
> On Fri, 20 Jul 2012 12:08:44 +0200, Goran <goran@nospam.com> wrote:
> 
>> On 19.7.2012 19:42, cresh wrote:
>>> I realize there's many tools available to convert HTML pages to PDF using PHP. What I need to do is to convert data from an SQL database to PDF. I use PHP to connect to the database and print the results to the screen, no problem there. What I need is a way to print this same data from the SQL query to a PDF file.
>>>
>>> Anyone have any tips or anything - with examples - to get this done? I'd appreciate any serious help or tips. Thanks very much.
>>>
>>> You're welcome to email me as well as posting here - davebowlin at gmail dot com
>>
>> Check tcpdf library, it is very mature and feature rich...
> 
> 
> You might want to review the FPDF.org site and look at how their model
> works.  I've used it for several projects and once set up and working
> producing similar reports was a real breeze.
> 
> Worth a look and good luck.

FYI development of FPDF stalled long time ago while TCPDF is still
actively developed. FPDF is not a good choice for long term projects and
had many unfixed problems

[toc] | [prev] | [next] | [standalone]


#6695

FromIRC <ircadhikari@gmail.com>
Date2012-07-31 01:46 -0700
Message-ID<cb8e9c2b-ca91-48ea-b1a6-cf1a3a583a62@googlegroups.com>
In reply to#6663
I also suggest to use TCPDF (third party library for pdf). It is a great library among all I have used.

here is the link http://www.tcpdf.org/examples.php (check expmple)..


Cheers !

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web