It would be helpful if you described how it is not working. What do you get back, a blank page or a page full of garbage or does the server just hang?
When I run following command in console:
Acrobat opens and displays my.pdf as expected. Then I add % system 'c:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe', 'D:\www\my.pdf'; in HTML file and load in browser. The page gets displayed correctly, but there is no additional Acrobat window with my.pdf. I am not sure if I can expect browser to open Acrobat window in such way... Anyway, Javascript suggested by Gangabass leads me in another direction and there will be place for 'normal' headers and standard redirection.perl -le "system 'c:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.ex +e', 'D:\www\my.pdf'"
++ for the trick with iframe - it works. How to use it when I return 'application/pdf' in HTTP header?
In reply to Re^2: Open generated PDF in new tab/new page in HTML::Mason
by grizzley
in thread Open generated PDF in new tab/new page in HTML::Mason
by grizzley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |