From: Danish on
Hi there,

I'm working on a database driven website and I need to output data in
PDF format. The database handling is all written in Perl so I'd prefer
to stick to Perl if possible, hence my question in this newsgroup!

I've done some research and come up with a couple of ideas: PDF on the
Fly from Nottingham University and a module listed on CPAN called PDF-
Create-0.08 by Markus Baertschi.

What I'd like to know is if anyone out there has experience of doing
this kind of thing. What method they used and what problems they hit,
if any.

Thanks in advance,

Nigel
From: Marek on

Hi Nigel,


I am far of being able to give advices in this group of Perl-Gurus.
But my first idea would be, to insert your data in a LaTeX-template
and run over it the pdflatex command. The output is really
beautiful ...


greetings from Munich



marek
From: Gunnar Hjalmarsson on
Danish wrote:
> I'm working on a database driven website and I need to output data in
> PDF format.

<snip>

> I've done some research and come up with a couple of ideas: PDF on the
> Fly from Nottingham University and a module listed on CPAN called PDF-
> Create-0.08 by Markus Baertschi.

So.. What's preventing you from trying out one of them?

> What I'd like to know is if anyone out there has experience of doing
> this kind of thing.

Of course. That's why there are modules available.

> What method they used

Using a module, perhaps?

> and what problems they hit, if any.

To start with, you'd better assume that possible problems have been
taken care of by the module authors.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
From: Gerry Ford on

"Danish" <nigel(a)bouteyres.com> wrote in message
news:11fc2e51-1881-431b-97dc-8bf25c5c522f(a)m71g2000hse.googlegroups.com...
> Hi there,
>
> I'm working on a database driven website and I need to output data in
> PDF format. The database handling is all written in Perl so I'd prefer
> to stick to Perl if possible, hence my question in this newsgroup!
>
> I've done some research and come up with a couple of ideas: PDF on the
> Fly from Nottingham University and a module listed on CPAN called PDF-
> Create-0.08 by Markus Baertschi.
>
> What I'd like to know is if anyone out there has experience of doing
> this kind of thing. What method they used and what problems they hit,
> if any.

Nigel,

I thought I might try the same task. My ppm shows 2 different .08 versions
available, one by Markus and another by Fabian.

I can't tell 100% which one I did, but right off the bat I tried to fire up
their sample.pdf in \lib\PDF\ and acrobat can't read it. I think this bodes
poorly for the process that created it.

I wish I could tell you which one I had. With ppm, I feel like a toddler
with a fire hose.:-0
--
"Shopping for toilets isn't the most fascinating way to spend a Saturday
afternoon. But it beats watching cable news."

~~ Booman


From: Danish on
On Apr 16, 6:05 am, "Gerry Ford" <ge...(a)nowhere.ford> wrote:
> "Danish" <ni...(a)bouteyres.com> wrote in message
>
> news:11fc2e51-1881-431b-97dc-8bf25c5c522f(a)m71g2000hse.googlegroups.com...
>
> > Hi there,
>
> > I'm working on a database driven website and I need to output data in
> > PDF format. The database handling is all written in Perl so I'd prefer
> > to stick to Perl if possible, hence my question in this newsgroup!
>
> > I've done some research and come up with a couple of ideas: PDF on the
> > Fly from Nottingham University and a module listed on CPAN called PDF-
> > Create-0.08 by Markus Baertschi.
>
> > What I'd like to know is if anyone out there has experience of doing
> > this kind of thing. What method they used and what problems they hit,
> > if any.
>
> Nigel,
>
> I thought I might try the same task.  My ppm shows 2 different .08 versions
> available, one by Markus and another by Fabian.
>
> I can't tell 100% which one I did, but right off the bat I tried to fire up
> their sample.pdf in \lib\PDF\ and acrobat can't read it.  I think this bodes
> poorly for the process that created it.
>
> I wish I could tell you which one I had.  With ppm, I feel like a toddler
> with a fire hose.:-0
> --
> "Shopping for toilets isn't the most fascinating way to spend a Saturday
> afternoon. But it beats watching cable news."
>
> ~~  Booman

Hi Booman,

I installed the PDF::Create module and tried the sample.pl program -
same result as you: couldn't open the sample.pdf created. I
investigated further and found that the sample program tries to
include a .gif and a .jpg which weren't automatically downloaded with
the install. I retrieved them from CPAN, placed them in the same
directory as the sample program and it worked. All this on my PC
running under XP, I've yet to try installing and running it on my UNIX
server, but if it goes this easily I'll be very happy.

Oh, and it seems the module was worked on by both Fabien AND Markus.

Cheers,

Nigel