hi experts,
When i print html file to pdf which is created using flash ,the default file name appearing in filename box is 'flash.pdf' which is common for all fies.but if we print an excel or word file,the filename is taken as the name of excel file.How to make it possible for html file ...pls help me..
Deepak RawatPosted May 4, 2023, 4:30 PM
To change the default file name when printing an HTML file to PDF, you can add a "filename" parameter to the print command in the HTML code. For example, you can add the following code to the head section of your HTML file:
When the user clicks the button, the print dialog will appear with the default file name set to "myHTMLfile.pdf".
Mukil VendhanPosted Aug 20, 2017, 8:52 AM
Gokhul VarmanPosted Aug 9, 2017, 9:08 AM