I am using the PrintFriendly WordPress plugin and it works almost exactly as I want it to. The post that I am printing begins with user provided input in a form. The final content is the post content and includes the user input. I want to print this final content, and the plugin achieves this flawlessly. However, when I click the print/pdf button, the page refreshes and the post reverts back to the initial form. Is there any way to print the page without a refresh?
I notice there is a "refresh" function in printfriendly.js, but that file is hosted remotely. Any way I can prevent a refresh and just close the Lightbox?