开发者

How to show the printed document in new tab?

开发者 https://www.devze.com 2023-02-09 05:10 出处:网络
I want show the printed document in new tab when user clicked on print button. I already set the response MIME type as \'application/pdf\', B开发者_开发技巧ut it is not showing the pdf in browser. Can

I want show the printed document in new tab when user clicked on print button. I already set the response MIME type as 'application/pdf', B开发者_开发技巧ut it is not showing the pdf in browser. Can you please suggest me.

Thanks, Vara Kumar


Add the parameter TARGET = "_blank" to the HTML tag, which will cause the URL specified in the href parameter to open in a new window or a new tag depending upon the option set in the browser.

0

精彩评论

暂无评论...
验证码 换一张
取 消