Return-Path: Delivered-To: apmail-xml-fop-user-archive@www.apache.org Received: (qmail 35258 invoked from network); 12 Mar 2004 15:17:31 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Mar 2004 15:17:31 -0000 Received: (qmail 88613 invoked by uid 500); 12 Mar 2004 15:17:22 -0000 Delivered-To: apmail-xml-fop-user-archive@xml.apache.org Received: (qmail 88597 invoked by uid 500); 12 Mar 2004 15:17:22 -0000 Mailing-List: contact fop-user-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: fop-user@xml.apache.org Delivered-To: mailing list fop-user@xml.apache.org Received: (qmail 88583 invoked from network); 12 Mar 2004 15:17:21 -0000 Received: from unknown (HELO castor.acu.ac.uk) (194.81.120.81) by daedalus.apache.org with SMTP; 12 Mar 2004 15:17:21 -0000 Received: from acu.ac.uk (arcturus.acu.ac.uk [194.81.120.110]) by castor.acu.ac.uk (8.12.10/8.12.10) with ESMTP id i2CFHMYq026441 for ; Fri, 12 Mar 2004 15:17:23 GMT Message-ID: <4051D482.2020503@acu.ac.uk> Date: Fri, 12 Mar 2004 15:17:22 +0000 From: Mike Brodbelt User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: fop-user@xml.apache.org Subject: Print on demand using FOP Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version devel-20040227, clamav-milter version 0.67h X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, We're using FOP to generate print-ready pages directly from information held in a database. We're essentially hold directory type information in the database, and we periodically print a new edition of the directory. During the editing process, we have a dataflow set up so that an end user goes to an internal webpage, and submits a form. That form calls some Perl code, which sucks data out of a database, and formats it as XML using XML::Writer. That XML is then fed into FOP, along with a pre-defined stylesheet, and the Perl code then returns that generated PDF data to the browser. The whole experience is seamless to the user, and allows previewing of pages direct from the database. The user can then correct/update information in the database, and regenerate the output page at will. When we're ready, we freeze the database, download the whole dataset, and generate a PDF that's ready for final printing. One of the big problems we have with this setup is the lack of widow and orphan control in FOP. It's vital to us that we can control where column and page breaks fall, and we are currently only able to do this by doing ugly temporary hacks on the stylesheet, or post FOP fixups on the PDF file in Adobe Acrobat. Each time we want a final press ready PDF we have to redo these hacks, as they're data specific. How do other people deal with this? Is there any way to exercise control over the positioning of pacge breaks without needing widow/orphan support? Any work rounds possible. Failing that (stupid question alert), any idea when a version of FOP that supports this might make an appearance? TIA, Mike. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org For additional commands, e-mail: fop-user-help@xml.apache.org