在文档上打印屏幕。 [英] Print screen on a document.

查看:101
本文介绍了在文档上打印屏幕。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从纸质文档中创建了一个Web表单,用户可以输入要保存到数据库中的数据。我想要做的是当用户提交他们打印出来的数据时也要签名。我将纸质文档放在我的计算机上的word文档格式的文件中。有没有办法将word文件添加到表单中,当用户单击print时,它将使用用户输入数据库的数据打印文件?我想要一个专业的打印报告而不是丝网印刷。

I made a web form from a paper document that a user can input data to be saved into a database. What I wanted to do is when the user has submitted the data they will need to print it out also to sign. I have the paper document in a file in a word document format on my computer. Is there a way to have the word file to be added to a form and when the user clicks print it will print the file with the data the user entered into the database? I wanted a professional print out report not a screen print.

推荐答案

你可以在浏览器中显示Word文件。



查看 - 在网页上显示Word文档在ASP.Net中 [ ^ ]。
You can show the Word File in Browser.

Check - Display Word document on web page in ASP.Net[^].


您可以使用Google文档查看器预览页面上的doc文件,并允许用户进行打印。当然,您必须将doc文件的绝对URL传递给Google Doc Viewer才能使其正常工作。你可以使用这样一个简单的标记:

You can use Google Docs Viewer to preview a doc file on the page and allow the user to print it. Of course, you have to pass absolute URL of your doc file to Google Doc Viewer in order to get it working. You can use a simple markup like this:
<iframe style="width:100%; height:500px;" frameborder="0" src="ABOSULTE_URL_TO_DOC_FILE_HERE"></iframe>



这是获得所需内容的免费方式。如果您无法公开披露您的doc文件,那么您可以尝试另一种方法,但它不是免费


这篇关于在文档上打印屏幕。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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