Hey all,
I have a project that I'm working on where I need to print a PDF file on the fly. I was wondering if there was a way to print an external file when the user clicks on a link? I've tried loading the file into an IFRAME, using pop-ups and closing them, and several other methods.
What the goal actually is that a PHP script I wrote will merge 4-5 PDFs on the fly, and then disguise itself as a PDF file. I want the JavaScript to call on this file, and instruct the browser to print it.
What is the simplest way I can accomplish this?
I have a project that I'm working on where I need to print a PDF file on the fly. I was wondering if there was a way to print an external file when the user clicks on a link? I've tried loading the file into an IFRAME, using pop-ups and closing them, and several other methods.
What the goal actually is that a PHP script I wrote will merge 4-5 PDFs on the fly, and then disguise itself as a PDF file. I want the JavaScript to call on this file, and instruct the browser to print it.
What is the simplest way I can accomplish this?
Comment