Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

JavaScript to Print to PDF with a pre-determined file name

$
0
0

I know how to add a button and set it to print, but that only brings up the print dialog...

What i am trying to achieve is to have a button that executes a javascript to print to  the adobe PDF printer ( Which actually saves it)1.png

 

Then  a preselected file name to save as "My File" but with the current date at the end.

So all i have to do is select the location to save to.

2.png

 

Is this Possible and how would i code it?


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>