Page 1 of 1

Using BullzipPDF from Javascript

Posted: Wed Sep 15, 2010 6:22 pm
by spierian
I have an existing script which uses another PDF printer (Win2PDF) to start the orint dialog box at the end of a html file so that the user can print after viewing the html page in IE.

The file looks like this

<html>
<body>

....html code....

<script type="text/javascript">
window.print ();
window.close ();
</script>
</body>
</html>

This brings up the print dialog box and the the user has to select the Win2PDF printer and type in the PDF file name.

I want to replace the javascript part with some code that does all this without user action, including handling of file name.

Can anyone supply a sample script - I should be able to adapt it to my needs.

Many thanks.