【发布时间】:2018-05-23 12:09:49
【问题描述】:
我需要从我的 Web 应用程序打印多个 PDF 和呈现的 html。是否可以向用户显示打印预览,然后一次性打印,还是我需要一个接一个地打印?
这是我要打印的内容的简短示例,我想在第一段中打印内容,然后是 pdf,然后是下一段。
<html>
<body>
<p>
This is my paragraph<br />
This is my paragraph<br />
This is my paragraph<br />This is my paragraph<br />This is my paragraph<br />This is my paragraph<br />
</p>
<iframe src="http://www.africau.edu/images/default/sample.pdf" style="width:718px; height:700px;" frameborder="0"></iframe>
<p>
This is my paragraph<br />
This is my paragraph<br />
This is my paragraph<br />This is my paragraph<br />This is my paragraph<br />This is my paragraph<br />
</p>
</body>
【问题讨论】:
标签: javascript css reactjs printing