通过dpu-3445(ESC/P)c#打印 [英] print via dpu-3445 (ESC/P) c#

查看:105
本文介绍了通过dpu-3445(ESC/P)c#打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我有一台使用ESC/P PCL的旧热敏打印机.我检查了所有可以在该协议上找到的文档,但是发现的每个示例字节序列都是错误的.我从打印机得到的只是一排问号.
目的是通过串行端口向打印机发送字节序列,该序列有效.
有没有人熟悉这种类型的打印机/PCL?
谢谢

Hi there,
I have an old thermal printer which uses the ESC/P PCL. I checked all the documentation i could find on the protocol, but every example byte sequence i''ve found is wrong. All i got from the printer is a row of question marks.
The goal is to send a byte sequence to the printer via serial port, that works.
Is anyone familiar with this type of printer/PCL?
Thanks

推荐答案

如果您从打印机得到的只是问号,听起来好像您遇到了通讯问题.
尝试通过超级终端(HyperTerminal)或类似方法直接与之交谈:按照书中的说明设置参数,并查找ID字符串请求或类似内容. (快速搜索为我提供了< Esc> * s#^ *",它可能会报告型号-
If all you are getting from the printer is question marks, it sounds like you have communication problems.
Try talking directly to it via HyperTerminal or similar: set the parameters the way the book says, and look for an ID string request or similar. (A quick search gave me "<Esc>*s#^ *" which might report the model number - http://www.hancockcomputertech.com/blog/2010/05/03/pcl-escape-sequence-reference/[^])

When you can talk sense from your keyboard and get a readable response, you can move on - but it is pointless until you know you can talk both ways.


这篇关于通过dpu-3445(ESC/P)c#打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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