进纸的POS打印机C# [英] Feed paper on POS Printer C#
问题描述
我一直在试图以编程方式进纸在POS打印机(爱普生TM-U220D)。我的问题是,该文件的最后一行没有得到打印的,相反,它打印为打印下一个文件的第一行。我试图POS用于.NET发送ESC | FLF命令,也试图发送使用串行端口原始ESC / POS命令,但它不工作。任何想法?
I've been trying to programatically feed the paper on a pos printer (Epson TM-U220D). The problem I have is that the last line of the document don't get printed, instead, it is printed as the first line of the next document printed. I tried POS for .NET sending the "ESC|flF" command, also tried to send the raw esc/pos command using the serial port, but it doesn't work. Any ideas?
推荐答案
您需要早晚的全 ESC / POS应用程序编程指南
。我做了一些几年前获得一份从我的EPSON经销商。在此期间,我发现与谷歌的链接常见问题ESC / POS
在这里:
http://postechgroup.com/updata/support/drivers/EPSON/FAQ_ESCPOS.pdf
You will need sooner or later the full ESC/POS Application Programming Guide
. I did obtained a copy from my EPSON dealer some years ago. In the meantime, I have found with Google a link to the FAQ for ESC/POS
here:
http://postechgroup.com/updata/support/drivers/EPSON/FAQ_ESCPOS.pdf
在你的情况下, LF
控制命令打印在打印缓冲区中的数据和饲料基于当前行距一行。
In your case, the LF
control command prints the data in the print buffer and feeds one line based on the current line spacing.
ASCII:LF
十六进制:0A
十进制:10
这篇关于进纸的POS打印机C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!