Using Netbeans save PDF JavaScript

Asked By 10 points N/A Posted on -

I am using JAVA SE in Netbeans. Can you please share some code for Netbeans save PDF script? What I want to happen in my program is once the user click the "Save as PDF" button he/she will be shown the preview of the file as PDF.


Answered By 5 points N/A #191989

Using Netbeans save PDF JavaScript



I have two solutions for this problem. One is to write a javascript and second is to write a java code for SaveAsPdf Button. 

1. There are many online PDF conversion services is available that help us to convert an HTML web page to PDF. 
     Just write this in your page.


Related Questions