Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 797 invoked from network); 22 Sep 2004 09:07:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Sep 2004 09:07:38 -0000 Received: (qmail 17247 invoked by uid 500); 22 Sep 2004 09:07:36 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 17232 invoked by uid 500); 22 Sep 2004 09:07:36 -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 17217 invoked by uid 99); 22 Sep 2004 09:07:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [193.108.181.130] (HELO roasted.cubic.org) (193.108.181.130) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 22 Sep 2004 02:07:35 -0700 Received: from b121064.adsl.hansenet.de ([62.109.121.64] helo=mrmucke.doj) by roasted.cubic.org with esmtp (Exim 3.36 #1) id 1CA362-00052n-00 for embperl@perl.apache.org; Wed, 22 Sep 2004 11:07:30 +0200 Received: from [192.168.0.3] (helo=[192.168.0.3]) by mrmucke.doj with esmtp (Exim 3.36 #1) id 1CA363-0003kh-00 for embperl@perl.apache.org; Wed, 22 Sep 2004 11:07:31 +0200 Message-ID: <415140D3.6030409@cubic.org> Date: Wed, 22 Sep 2004 11:07:31 +0200 From: Dirk Jagdmann User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: embperl@perl.apache.org Subject: Re: pdf generation References: <876567aucs.wl@lambast.inside.urnet.com.au> In-Reply-To: <876567aucs.wl@lambast.inside.urnet.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >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. I have always used LaTeX in the past, because latex gives me a comfortable way to generate tables (I generated invoices). The way I did it, was to have a template latex file, with some special keywords like ADDRESS, MONEYSUM etc. which I would search and replace with a simple regexp while writing the new file into /tmp. Then a single run with pdflatex gives me a pdf in /tmp which I either send back via the browser (and the proper mime-type) or spool to the right printer directly via a call to "lpr". -- ---> doj / cubic ----> http://cubic.org/~doj -----> http://llg.cubic.org --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org