Using window.showmodaldialog(), populating HTML data as popup.
We need the same populated data as PDF using JavaScript (Without using third party tools), how can we do this?
If you want a fully client-side solution, I would look into the jsPDF library. Apparently it can process HTML now.