如何从ASP.NET MVC Web应用程序打印? [英] How do I print from an ASP.NET MVC web application?

查看:164
本文介绍了如何从ASP.NET MVC Web应用程序打印?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET MVC Web项目可供使用。该应用程序将托管在本地IIS服务器上,并可从Tablet浏览器访问。用户将在平板电脑上输入一些文本,应用程序将存储在数据库中,显示在页面上并自动在标签打印机上打印。



可以有人让我了解如何使用标签打印机(标签打印机应通过以太网/ USB连接到服务器)从ASP.NET MVC应用程序打印文本?



我尝试了什么:



我已经有了其他一切的想法,但没有打印。谢谢。

解决方案

按照以下链接说明:

从ASP.NET MVC打印 - 简单对话 [ ^ ]

Rotativa,如何在ASP.NET MVC中打印PDF [ ^ ]

I have an ASP.NET MVC web project to work on. The application will be hosted on local IIS server and accessed from Tablet browsers. The user will enter some text on the tablet which the application will store in a database, display on the page and print on a label printer automatically.

Can somebody give me some light on how to print text using a label printer (The label printer should be connected to the server via Ethernet/USB) from an ASP.NET MVC application?

What I have tried:

I've got the idea for everything else but not for printing. Thank you.

解决方案

Follow the instruction from below links:
Printing from ASP.NET MVC - Simple Talk[^]
Rotativa, How to Print PDF in ASP.NET MVC[^]


这篇关于如何从ASP.NET MVC Web应用程序打印?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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