在asp.net中自动切割热敏打印机 [英] Thermal Printer autocutting in asp.net

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

问题描述

你好,

我正在asp.net网站上打印收据.我希望收据在打印后自动剪切.我需要自动剪切打印机的代码段.

在此先感谢,

Asfand

hello,

I am printing receipts in my asp.net website. i want the receipts to cut automatically after printing. I need the code snippet for printer auto cutting.

Thanks in Advance,

Asfand

推荐答案

我认为您必须联系打印机制造商以获取有关如何执行此操作的信息.

通常,您必须将转义符发送到连接打印机的端口.

制造商最有可能为您提供有关如何执行此操作的示例代码...
I think you will have to contact the printer manufacturer to get information on how to do that.

Normally you have to send an escape charater to the port where you have the printer attached.

The manufacturer will most likely be able to supply you with sample code on how to do that...


这篇关于在asp.net中自动切割热敏打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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