如何将asp.net页面的特定div打印成PDF [英] how to print particular div of asp.net page into PDF

查看:120
本文介绍了如何将asp.net页面的特定div打印成PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

还想在pdf的每个页面添加页脚和页眉

also want to add footer and header in every page of pdf

推荐答案

尝试使用jspdf: http://www.codersgrid.com/2013/08/27/jspdf-generate-pdf-in-client-side/



您可以根据需要特殊操作直接使用插件(比如使用图像的jspdf.plugin.addimage.js)。检查 https://github.com/MrRio/jsPDF
Try using jspdf : http://www.codersgrid.com/2013/08/27/jspdf-generate-pdf-in-client-side/

You can directly use plugins as per your need for "special operations" (like jspdf.plugin.addimage.js for using images). Check https://github.com/MrRio/jsPDF.


请查找媒体css在谷歌和媒体css使用你可以隐藏或显示按clt + p
please find media css in google and media css using you can hide or show press clt+p


这篇关于如何将asp.net页面的特定div打印成PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆