Jump to content

auto print to adobe?


dkirk

Recommended Posts

I am looking for a way to automatically print a html page to adobe pdf when a page loads. I would like to control the name that the pdf file is saved as and the directory to which it is saved. I am now using the script below to open the print dialog box once the page loads but can this be taken a bit further?

 

<script language="Javascript1.2">

  <!--

  function printpage() {

  window.print(); 

  }

  //-->

</script>

 

<body onload="printpage()">

 

any help would be greatly appreciated..

Link to comment
https://forums.phpfreaks.com/topic/73348-auto-print-to-adobe/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.