简体   繁体   English

ESC \\ POS命令 - 设置用户设置

[英]ESC \ POS Command - Setting User Settings

First I'd like to say that long time reader of this site! 首先,我想说这个网站的长期读者! Has saved me a lot from some problems that I've run in to while learning how to develop applications (specifically in c#). 从学习如何开发应用程序(特别是在c#中)中遇到的一些问题中拯救了我很多。

Now on to the problem I am facing. 现在我要面对的问题。 I am currently developing an application that will set the speed and the power supply unit values on the EPSON TM-T88V to the values of 13 and 3 (speed and PSU). 我目前正在开发一种应用程序,它将EPSON TM-T88V的速度和电源单位值设置为13和3(速度和PSU)的值。 I have been using the provided commands located here on EPSON's Site. 我一直在使用EPSON网站上提供的命令 I am able to communicate with the printer by sending simple commands such as cut paper and line feed using hex in c# (using RawPrinterHelper), So I know I am able to connect to it. 我能够通过在c#中使用十六进制的简单命令(例如剪纸和换行)与打印机进行通信(使用RawPrinterHelper),所以我知道我能够连接到它。 When I attempt to enter the user setup by using the values provided in their website, the printer seems to just "lock up". 当我尝试使用其网站中提供的值进入用户设置时 ,打印机似乎只是“锁定”。 I have to rest the printer after about 2 minutes for me to be able to use it again. 我必须在大约2分钟后休息打印机才能再次使用它。 Thankfully, it doesn't seem like its writing anything at all to the printer, which is probably why it hasn't failed yet. 值得庆幸的是,它似乎并没有给打印机写任何东西,这可能就是为什么它还没有失败。

Does anyone have any experience changing settings to POS printer (specifically EPSON) who could help me with this? 有没有人有经验将设置更改为POS打印机(特别是EPSON)谁可以帮我这个? Usually there's a tool that will allow you to just send a .txt file with HEX values (like TPGs), but I cannot seem to find anything like that for EPSON POS printers. 通常有一个工具可以让你只发送一个带有十六进制值的.txt文件(比如TPG),但我似乎找不到类似的EPSON POS打印机。 Any help would be greatly appreciated! 任何帮助将不胜感激! Thank You 谢谢

Try to reset a printer (ESC @) before start a user settings commands. 尝试在启动用户设置命令之前重置打印机(ESC @)。 It helped for me in the same case. 在同样的情况下,它对我有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM