在VB.Net中使用EPSON TM-U220热敏打印机 [英] Using EPSON TM-U220 Thermal Printer in VB.Net

查看:121
本文介绍了在VB.Net中使用EPSON TM-U220热敏打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,首先感谢您抽出宝贵的时间阅读我的帖子.

我正在使用VB.NET 2008和MYSQL开发POS系统.
我的问题是,您是否知道我应该为vb.net和EPSON TM-U220热敏打印机使用哪个驱动程序?

这里有人可以给我一个示例代码(基本)吗?

我在Visual Basic .Net中不是很好,这台热敏打印机会需要SDK或第三方软件的另一个特殊命令,还是会使用标准.Net Visual Basic语言?

谢谢您的信息,我们将不胜感激.

Hi everyone first of all thanks for taking the time reading my post.

i am developing a POS system using VB.NET 2008 and MYSQL
My question is do you have any idea which driver should i use for vb.net and EPSON TM-U220 Thermal printer?

is there anyone here who could give me a sample codes(basic) for me to begin with?

i am not very much good in Visual Basic .Net would this thermal printer will require another special commands from SDK''s or third party software or it will use standard .Net Visual Basic language?

Thanks your information will be very much appreciated.

推荐答案

已经有一段时间了,因为我已经为这样的打印机编程了,很遗憾无法提供任何打印机.代码.但是通常Epson热敏打印机会发送单色图像作为打印源.

PoS硬件提供商进行了大量工作来标准化外围设备的使用. OPoS是一种这样的尝试.

尝试搜索OPoS打印机驱动程序和API.

通常,由于需要使用诸如销售点系统的嵌入之类的专有技术,因此热敏打印机API的文档记录水平很低,并且可以使用位/字节消息传递,而不是传统方法(例如使用GDI +进行页面打印).

供应商应该能够参考您的打印机文档,其中概述了打印机支持的消息.

打印机通常以并行,串行或USB连接运行.您很可能需要通过相关端口类型打开套接字,然后按照打印机文档中的说明实施消息传递.
It''s been a while since I''ve programmed such a printer and unfortunately can''t supply any of the code. But normally Epson thermal printers are sent a monochrome image as the source for the print.

There''s a lot of work from PoS hardware providers to standardise the use of peripherals. One such attempt is OPoS.

Try searching for OPoS printer drivers and APIs.

Often because of the requirement to work with proprietary technology such as embedding point of sale systems, thermal printer APIs are documented at quite a low level and work with bit/byte messaging instead of traditional methods such as page printing with GDI+.

The supplier should be able to refer you to the documentation for the printer which outlines the messages which are supported by the printer.

Printers normally run on parallel, serial or USB connections. You''ll most likely need to open a socket via the relevant port type and then implement the messaging as described in the printer documentation.


这篇关于在VB.Net中使用EPSON TM-U220热敏打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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