in reply to Finding the right PDF module

Take a look at PDF::API2::Simple: the stringify() method looks like it will handle your output requirements (I haven't used that method myself).

If PDF::API2::Simple doesn't have enough grunt for your app, try PDF::API2.

-- Ken