title: print webpage into pdf file using java or javascript
body: <p>I have requirement to convert a web page into pdf using java or javascript. This pdf should exactly look like print format of webpage. So basically I have to print the html webpage into pdf doc using java or javascript</p>