Friday, June 22, 2007

Allow users to print your page as pdf

PDF


Pdfonline, the service which provides users the ability to convert their documents to pdfs easily has launched a new service which will give you the ability to allow your site visitors to convert any page on your site into pdf and download it.

To add this functionality add the following code to your site:


<script type="text/javascript">

function savePageAsPDF() {

var pURL = "http://savepageaspdf.pdfonline.com/pdfonline/pdfonline.asp?cURL=" + escape(document.location.href);

window.open(pURL, "PDFOnline", "scrollbars=yes, resizable=yes,width=640, height=480,menubar,toolbar,location");

</script>

<a href="javascript:savePageAsPDF()">Save Page As PDF</a>



Click here to convert this page to pdf.

Please note that this service is currently in beta and the result might not be as expected.
More here

0 Comments: