in reply to "The web is not print"

Take a look at http://www.lhsc.on.ca/cgibin/phonedir.

It's a telephone directory, written in perl, that makes PDF output by first generating XML from its data, then running that through XMLPDF, a piece of Java code that you may or may not have to pay for, depending on your circumstances.