Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using HTML Report to View Data.I use window.print() function in JavaScript to Print that Report. When I Click the Print Button it Save the Report in PDF the Defalt Name is URL of site.
I want to set the Customize Name of that PDF File
Please Help.
Sh. Saad
Posted
Updated 13-Apr-10 9:43am
v2

1 solution

Hi
Window.print() in JavaScript simply sends print command to default printer.
You cannot control the printer behavior here.
You need to check your printer settings, for option of custom names for each print command.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900