Using BullzipPDF from Javascript

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Post Reply
spierian
Posts: 1
Joined: Wed Sep 15, 2010 6:08 pm

Using BullzipPDF from Javascript

Post 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.
Post Reply