What about using PDF::API2?
In reply to Re: Array of Text to PDF by ghenry in thread Array of Text to PDF by Pretzelogic