http://www.perlmonks.org?node_id=796389

lorenzob has asked for the wisdom of the Perl Monks concerning the following question:

Hi Guys, i'm pretty new to perl and i need to read text file and create a pdf file. I would like also to add an image to my pdf file or a background image under each each page of my pdf file. thanks a lot in advance for your help. Lorenzo.
  • Comment on read text file and create pdf and add image to each pdf page

Replies are listed 'Best First'.
Re: read text file and create pdf and add image to each pdf page
by ccn (Vicar) on Sep 20, 2009 at 17:20 UTC
      i know that i should use that module... but i nead an example how read text file and convert it in pdf adding also some images and background to each pdf pages.
Re: read text file and create pdf and add image to each pdf page
by moritz (Cardinal) on Sep 20, 2009 at 18:04 UTC

    In my humble opinion the easies way to generate PDFs from text is to emit LaTeX code, and run that through pdflatex.

    I don't know if others (who might not know LaTex yet) agree, though.

    Perl 6 - links to (nearly) everything that is Perl 6.