如何将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