Saving a web page in order to render the page later with as pdf with graphics.

I need to print the web page being scraped to a PDF with graphics. The preferred approach I would like to use is to perform save as similar to IE or Firefox, placing and referencing the the supporting files in a sub-folder.

thank you for your assistance.

Java write to pdf

Philr_1

What I would suggest is saving the html as a session variable and then calling on an external java library to write the PDF. I googled around a bit and found several java packages are already developed for writing pdfs using java. I'm sure that one of them is smart enough to create the pdf. Also, if you have problems with the images you could always scrape the reference to those images and either save the references in variables to insert them elsewhere or download them into a sub-directory of your creating so that those images are locally available to you.

This is a link to a pdf java library I found.

http://java-source.net/open-source/pdf-libraries

Thanks
scraper