如何使用vb.net打开收银机 [英] How to Open Cash Register using vb.net

查看:98
本文介绍了如何使用vb.net打开收银机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在开发销售点系统.我想写一个可以打开收银机并剪裁打印机纸张的代码.如何使用vb.net

Am developing a point of sale system. i want to write a code that can open cash register and cut the printer paper. How can i Open Cash Register using vb.net

推荐答案

通常,您需要向收款机所连接的端口发送控制字符.

要发送什么字符取决于您正在使用的收银机.您应该能够从收银机制造商那里获取硬件的开发人员文档.他们也可能有示例代码...

至于如何将消息发送到硬件,则需要查看串行和/或并行IO功能,具体取决于收银机与计算机的连接方式.

祝你好运,
Johnny J.
Normally you need to send a control character to the port the cash register is connected to.

What character(s) to send will depend on what cash register you''re working with. You should be able to acquire developer documentation for the hardware from the cash register manufacturer. They may also have sample code...

As for how to send messages to the hardware, you need to look at serial and/or parallel IO functionality depending on how the cash register is connected to the computer.

Good luck,
Johnny J.



收银机不受框架支持;您将需要为此目的设计的第三方API.您可以尝试向基于计算机的收银机设备的供应商询问,因为他们会更好地了解您的需求.
Cash registers are not supported by the framework; you will need third-party APIs designed for that purpose. You might try asking a supplier of computer-based cash register equipment, as they would have a much better idea of what you need.


这篇关于如何使用vb.net打开收银机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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