如何通过epson TM-T82打印机打印HTML页面? [英] How do I print HTML page via epson TM - T82 printer?
问题描述
我有一个.NET MVC应用程序,它接受一组IMEI号码和excel正式的序列号,用于N个移动设备。然后,它从设计和保存的许多(HTML)中选择标签布局,并通过将上述加载的数字用于N个标签来创建HTML内容。
是否可以通过Epson TM-T82打印机打印此内容,就像我们在普通打印机上打印一样?
我尝试过的事情:
我搜索并搜索了多个论坛。但是,无法准确找到我要找的东西?
I have a .NET MVC application that accepts a set of IMEI numbers and Serial Numbers in excel formal for N number of mobile devices. It then selects a label layout from the many that is designed and saved (HTML) and creates HTML content by using the above loaded numbers into N number of labels.
Is it possible to print this content via an Epson TM - T82 printer like how we print on a normal printer?
What I have tried:
I have googled and searched several forums. But, can't exactly find what I am looking for?
推荐答案
您不可能直接在任何打印机上打印HTML - 但它应该是可能的如果使用WebBrowser控件进行渲染,然后使用 WebBrowser.Print方法(System.Windows.Forms) [ ^ ]将其发送到您的打印机。在实际进行打印之前,您可能需要了解打印机设置和选择。
It's unlikely that you will be able to print HTML directly on any printer - but it should be possible if you use the WebBrowser Control to render it, and then use the WebBrowser.Print Method (System.Windows.Forms)[^] to send it to your printer. You may have to faff with printer settings and selections before you actually do the print.
这篇关于如何通过epson TM-T82打印机打印HTML页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!