in reply to PDF Viewer

I think PDF::API2 would be better suited for the task at hand.