What is the fastest way to create 100.000 unique PDFs?

2009-10-09 Thread Stepan RYBAR
Hallo! 

I am looking for the fastest way to create 100.000 unique PDFs. I have 10 
unique XML files per 25 MB (result of output from SQL database), each one 
contains data for unique 10.000 letters. I have to create 100.000 letters in 
PDF per 1 or 2 pages. Now I am doing it in following way: 

1) For each of 10 XML file do XSL-T 2.0 using Saxon 9.2, which produces 100.000 
FO files per 4 to 7 kB. Technically I am doing it by 10 times call of XSL-T 
using Saxon, which split input using xsl:result-document 2.0 instruction. This 
is fast enough for me, it takes about 18 minutes. 

2) Now the painfull process. For each of 100.000 FO file do FO to PDF using 
Apache FOP 0.95, which produce 100.000 PDF files per few kB. Technically I am 
doing it by 100.000 times call of FO to PDF using Apache FOP. I guess, that the 
problem is time for starting and closing Apache FOP from command line. Is there 
any other efficient way, how to do it? Like to specify not input exact file, 
but wildcarded filename. Of have I do some Java programming with Apache FOP? Or 
can Apache FOP do some kind of splitting output? 

I tried to solve it by parallel transformation using 

for %%f in (*0.fo) do fop... 
for %%f in (*1.fo) do fop... 
for %%f in (*2.fo) do fop... 
... 
in separate batches. 

because my files is named sequentionNumber.fo to be able to utilize more cores, 
but it should have the right effect on 10+ cores computers. Utilisation of 
cores is 100 %, RAM is OK. 

I am using Sun Java 1.6.0_05 on MS Windows Vista 32bit Enterprise, Intel Core2 
6600 at 2.4 GHz, 2.0 GB RAM, java -Xmx=128m. 

Thank You for help in advance. Stepan

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: Page Numbers

2009-10-09 Thread Amick, Eric
 Hello All,
 
 I need to have the format of the doc according to the attached file.
 Need to knwo if it is possible to have no page numbers on the second
 page of
 the document and then start from the third page as in the attached
 document.
 Is this possible.

You can do something like this:

fo:page-sequence-master master-name=document
fo:repeatable-page-master-reference
master-reference=no-page-numbers maximum-repeats=2/
fo:repeatable-page-master-reference
master-reference=page-numbers/
/fo:page-sequence-master

Define two appropriate simple-page-masters called no-page-numbers and
page-numbers, and you're all set.

Eric Amick   Systems Engineer II
Legislative Computer Systems



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Help needed with FOP message logging.

2009-10-09 Thread Venkat Reddy
What version of FOP you are using? I found one of the jeremias replies 
to the similar queryplease follow the below link...


http://www.nabble.com/How-to-Log-errors-with-Fop.bat-0.94-td15529153.html

Thanks,
Venkat.

sreenaresh gopu wrote:


Hello,


I need some help with FOP message logging.


I have embedded FOP processes in Web service application that runs on 
Websphere.  For all our applications we write error, warning and 
exceptions to their designated application logs.  With FOP web service 
application all FOP related warnings, errors, info, etc (generated 
during transformation) are being written to Websphere 'SystemOut.log', 
is there a way to divert these messages to the application log instead 
of SystemOut.log. (note: we use default server JRE logging).   Can 
someone please direct me to some resources.


 

About couple of years ago Jeremias had stated that there is going to 
be some work done to develop generic fop app logging or some kind of 
event handler, has it been developed?



Regards

Sreenaresh




-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Fw: Raise a Glass to Apache: Join the ASF in celebrating its 10th Anniversary

2009-10-09 Thread Simon Pepping
- Forwarded message from Sally Khudairi s...@apache.org -

Date: Thu, 8 Oct 2009 20:19:15 -0700 (PDT)
From: Sally Khudairi s...@apache.org
To: annou...@apachecon.com
Subject: Raise a Glass to Apache: Join the ASF in celebrating its 10th
Anniversary

As you know, the ASF turned 10 this year ??? our celebrations kicked off with 
cake at ApacheCon Europe this past March. We were thrilled to receive birthday 
wishes from so many members from the Apache community from across the world.

Our festivities will continue at ApacheCon US (Oakland, California), where we 
will be holding the Big Feather Birthday Bash and related community events 
during the conference. We anticipate seeing many of you there!

Some of you are unable to join us in person, but we don't want you to miss out 
on the fun. As such, we're inviting our global community to Raise a Glass to 
Apache and celebrate this landmark event at your own local gathering. 
Recognizing Apache developers and users as part of the ASF's 10th Anniversary 
is very important to us. We want you to join the fun, meet other Apache 
enthusiasts, make new friends, put faces to the names behind those emails, and, 
of course, engage in all things Apache.

We understand that communities have their own local culture and preferences: 
you are welcome to host the type of event best suited to your needs. 
Preferably, this will take place during the week of ApacheCon (2-6 November, 
2009; the Big Feather Birthday Bash is on Wednesday, 4 November) ???  your 
event can be held on any day of that week, at any time of the day or night that 
is most convenient for you. Events include but are not limited to:

- Social Gatherings ??? getting together over coffee, lunch, drinks, or dinner
- Tech Talks ??? individual or industry presentations given about ASF projects 
and actvities
- Product Demos ??? showcasing how Apache technologies are powering creative 
and robust solutions
- Hackathon ??? collaborating on Apache code bases with ASF Committers
- MeetUps or GetTogethers ??? featuring talks or presentations on a specific 
Apache Project or activity
- Networking and Job Match ??? connecting developers with users, employers with 
potential hires, clients with contractors/consultants, etc.

Can't wait until ApacheCon? That's OK: we're always up for a celebration, so 
feel free to get started as soon as you'd like ??? you can Raise a Glass to 
Apache at an upcoming conference such as the OpenWorld Forum (Paris), SpringOne 
2GX (New Orleans), CPOSC 2009 (Harrisburg, PA), FOSS4G 2009 (Sydney), NLUUG 
Open Web (Amsterdam), UTOSC 2009 (Sandy, UT), and OSMC 2009 (Nürnberg), among 
others.

So let's get started! There are three steps to make your event happen:

Step 1: Organize. Decide who will be the host(s)/main point(s) of contact, 
where the event will be held, the day and time, the format, and any costs.

Step 2: Publicize. Spread the word to your coworkers, the press, and your 
friends. Post details on your event on blogs, mailing lists, event listings, 
etc. Drive enthusiasm by discussing the event details to the media and on 
podcasts. Ask people who will be there to invite other groups who may be 
interested.

Step 3: Apprise. Share your goodwill with the Apache community. Wish the ASF a 
happy anniversary on the Foundation blog;  post photos of your event online; 
and submit a MyApache video tribute (can be one or more of the following -- 
1-2 minutes describing why you love Apache; 1-2 minutes of your group Raising a 
Glass to Apache/singing Happy Birthday; 2-5 minutes describing the cool ways 
you use ASF technologies ... be sure to mention which Apache projects you use 
as well as your results.)

The important thing is to have fun! Get inspired by checking out the ASF's 
YouTube channel at http://www.youtube.com/user/TheApacheFoundation. MyApache 
submissions received by 2 October (midnight US Pacific time/GMT-8) will receive 
priority consideration to be featured in the ASF's ApacheWay channel and at the 
Big Feather Birthday Bash!

A schedule of all confirmed events will be posted on the ApacheCon site. To be 
included in the list, please send a copy of your invitation (including the 
date, time, and location) to s...@apache.org. I will send you information on 
how to add your event in the ApacheCon network, how to submit your MyApache 
tributes, as well as suggestions on how to organize and publicize your event.

Feel free to contact me if you have any questions. We look forward to hearing 
from you!

- Sally


- End forwarded message -

-- 
Simon Pepping
home page: http://www.leverkruid.eu

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Fop.next release?

2009-10-09 Thread Adrian Cumiskey
Hi all,

At the moment I am very busy working on something really important for a
client, but I plan in the next few weeks to try and automate the release
process a bit more.  Thanks for the pointers Vincent.  I can't make any
promises though, it all depends on how much time I find :)

All the best,

Adrian.

2009/9/23 Vincent Hennebert vhenneb...@gmail.com

 Hi Peter,

 Peter Coppens wrote:
  So what can the community do to make this happen?

 Not much I’m afraid. This is a task that requires write access to the
 repository. It’s just time-consuming (and tedious).

 Actually, the most time-consuming part is updating the website and all
 the links. See the checklist here:
 http://xmlgraphics.apache.org/fop/dev/release.html

 If most of the points listed there could be automatized, that would be
 /extremely/ helpful. Maybe something can be done with Ant’s variable
 substitution mechanism ([1], among others). If anyone wants to give it
 a go...

 [1] http://www.javalobby.org/articles/ant-preprocessor/

 Thanks for asking,
 Vincent


  Thanks
 
  Peter
 
 
  From: spepp...@leverkruid.eu
  Reply-To: fop-users@xmlgraphics.apache.org
  Date: Mon, 21 Sep 2009 18:41:18 +0200
  To: fop-users@xmlgraphics.apache.org
  Subject: Re: Fop.next release?
 
  Quoting Peter Coppens pc.subscripti...@gmail.com:
 
  Fop fans,
 
  It seems the latest 'official¹ fop release (
  http://xmlgraphics.apache.org/fop/0.95/changes_0.95.html) is a over a
 year
  old
 
  I was wondering whether there are any plans to release a newer version.
 
  We plan to release a new version of our product and need support for
 some
  features currently only in trunk.
 
  I guess we could try to backport or rely on a trunk build but that does
 not
  seem ideal.
 
  Anyone any thoughts on this?
  We should make a release. We will make a release if someone has enough
  time to act as the release manager. I would very much like this to be
  the case, but it is difficult.
 
  Regards, Simon

 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




-- 

Adrian.