This is a huge thing for us; we use GhostScript, which I don't know too much about, but it runs on our big Unix/Progress DB servers and turns PostScript into PDF. We also use a2ps to convert ASCII-type files into PostScript first, where necessary, before running it thru GS.
We had a big project to rearchitect all of this so that GS could run on a (or potentially several) machines separate from the DB, but we eventually gave up on it. But if you are doing a lot of this, as we do, it's something to think about, eg. think about where you run GS since it can use a lot of resources and one would hope you could run it anywhere.