如何在热敏打印机中进行打印 [英] How Can I Get Print In Thermal Printer

查看:182
本文介绍了如何在热敏打印机中进行打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有



Dear All

how to make receipt bill using epson thermal printer







I have invoice form (DataGridView and Textbox)data want to print directly Thermal Printer.



请指教。用于热敏打印机


Please advice me. for Thermal printer

推荐答案

在普通打印机上打印和在热敏打印机上打印之间没有区别。



您需要做的就是创建 PrintDocument [ ^ ]然后调用打印方法 [ ^ ]。要设置默认打印机,请使用 PrinterSettings属性 [ ^ ]



试试!
There is no differ between printing on "normal" printer and printing on thermal printer.

All you need to do is to create PrintDocument[^] and then call Print method[^]. To set up default printer, use PrinterSettings Property[^]

Try!


了解一下你的打印机命令语言即着名的ESC / POS(从EPSON网站获取参考手册)

然后使用此代码 http://support.microsoft.com/kb/322090/en-us



我想它是一个桌面应用程序,你在那里编码。如果它是一个ASP.NET网站,那么事情会有所改变。如果最后一个是您的情况,请告诉我。
Learn a little bit about your printer command language i.e. the famous ESC/POS (get ref manual from EPSON website)
Then send those commands directly to the printer by using this code http://support.microsoft.com/kb/322090/en-us

I suppose it is a desktop app what you are coding there. If it were an ASP.NET website, then things change a bit. Just let me know if this last one is your case.


这篇关于如何在热敏打印机中进行打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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