Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 91912 invoked from network); 28 Sep 2004 14:25:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Sep 2004 14:25:21 -0000 Received: (qmail 86666 invoked by uid 500); 28 Sep 2004 14:25:20 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 86610 invoked by uid 500); 28 Sep 2004 14:25:19 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 86595 invoked by uid 99); 28 Sep 2004 14:25:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [165.91.232.6] (HELO edsun.coe.tamu.edu) (165.91.232.6) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 28 Sep 2004 07:25:18 -0700 Received: (from root@localhost) by edsun.coe.tamu.edu (8.12.11/8.12.11) id i8SEPEXd004334 for embperl@perl.apache.org; Tue, 28 Sep 2004 09:25:14 -0500 (CDT) Received: from edsun (edsun [165.91.232.6]) by edsun.coe.tamu.edu (8.12.11/8.12.11) with ESMTP id i8SEO1HP004195; Tue, 28 Sep 2004 09:24:01 -0500 (CDT) Date: Tue, 28 Sep 2004 09:24:01 -0500 (CDT) From: Ben Kim To: Angus Lees cc: embperl@perl.apache.org Subject: Re: pdf generation In-Reply-To: <876567aucs.wl@lambast.inside.urnet.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS 0.3.12 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for the advice. I ended up removing authentication code from the page to generate pdf with htmldoc. It gave a few warnings about table being too wide, but worked OK. I'll try the pdf module some time later. Regards, Ben Kim Database Developer/Systems Administrator College of Education Texas A&M University On Wed, 22 Sep 2004, Angus Lees wrote: > At Mon, 20 Sep 2004 09:54:29 -0500 (CDT), Ben Kim wrote: > > I'd like to learn what people use to generate pdf files. I want to > > create pdf from an epl page, with all data from the database. > > Many ways of doing this, depending on what quality/complexity of > output you require and what tools you are more familiar with. > > In the past, I've generated (large) LaTeX files from perl and run > pdflatex over them and slurped the PDF back in. Mostly similar > methods exist for many other (non-perl) typesetting systems like troff > or XSLT-FO-based tools like FOP (as Luiz mentioned) or passivetex. > The slight advantage of the XSLT-FO based tools from the Embperl point > of view, is that you can use Embperl to generate the XML input without > having to write a new Embperl syntax. > > At the simpler end of the spectrum are several perl modules on CPAN. > A quick search on http://search.cpan.org/ turned up high level modules > like PDF::Template or PDF::Report and other tools that require some > PDF knowledge like Text::PDF, PDF::Reuse, PDF::Create or PDF::API2 > > I guess POD format and Pod::pdf, pod2latex|pdflatex or > pod2man|groff -Tps|ps2pdf would also give you a way to generate PDF > from a simple intermediate markup language (no tables unfortunately). > > There are also several methods of turning HTML into PDF. If one of > these tools can generate acceptable output then that might be an easy > route for you to take if you are unfamiliar with other markup > languages. > > If I needed to generate PDF again, I'd probably go with ConTeXt > (like LaTeX but not) and either a custom Embperl syntax or even try > ConTeXt's XML-input features. I'd do this almost entirely because I > am already familiar with (and like) working with ConTeXt -- it is > unlikely to be the easiest solution for your needs. > > -- > - Gus > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org > For additional commands, e-mail: embperl-help@perl.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org