开发者

Is there any jquery print preview that shows you the printed page without the website header & menu?

开发者 https://www.devze.com 2023-04-07 15:10 出处:网络
My web application generates reports and I need now to add the print preview functionality to these reports in order to show the user what he will print of that report and to show him that the report

My web application generates reports and I need now to add the print preview functionality to these reports in order to show the user what he will print of that report and to show him that the report will not contain the website header and menu in the printed page.

Shoul开发者_开发百科d I use the combination of jquery and css to do this functionality?


Create style sheet with the media type as rpint

For example

<link rel="stylesheet" type="text/css" media="print" href="print.css">

Check this out : CSS Media Types Create Print-Friendly Pages

0

精彩评论

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