格式化Esc控制代码以供Epson矩阵打印机在C#中使用 [英] Format Esc control codes for Epson matrix printer to use in C#

查看:106
本文介绍了格式化Esc控制代码以供Epson矩阵打印机在C#中使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有C#与LPT1端口上的点矩阵打印机通信.我想在打印机上发送控制代码,但是当我发送代码时,打印机没有响应,仅当我发送FF代码时才应答.我想发送此代码ESC EM 82,但是我不知道如何格式化它,FF我也在发送十六进制格式,而ESC EM我正在发送十六进制格式,但是打印机仍然没有响应.

I have C# who communicate with dot matrix printer on LPT1 port. I want to send control codes on the printer, but when I am sending the codes, printer is not responding, it answers only when I send FF code. I want to send this code ESC EM 82, but I don''t know how to format it, FF I am sending hex format, also and ESC EM I am sending in hex format, but still printer is not responding. Which way is correct for using ESC EM 82 code in C#?

推荐答案

只是google: ^ ]
并找到诸如 http://support.microsoft.com/kb/322091 [
just google: https://www.google.nl/search?hl=nl&q=c%23+esc+codes+epson+printer[^]
and find a MicroSoft reference like http://support.microsoft.com/kb/322091[^]


这篇关于格式化Esc控制代码以供Epson矩阵打印机在C#中使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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