如何将刷卡机与我们的应用程序集成 [英] How Can I Intergrate Swipe Machine With Our Application

查看:78
本文介绍了如何将刷卡机与我们的应用程序集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

客户刷卡后,我需要获取客户卡号,姓名,期限日期,客户借方金额,贷方金额给店员账户

After customer swipe the card, I need to get customer card no, name,expirary date , debit amount from customer, credit amount to shopman account

推荐答案

卡读者通常带有两个接口



a)一个可能带USB的串行接口 - >虚拟串口

b)一个'键盘'界面,看起来输入正在键盘输入



无论如何,您需要RTFM - 即您的设备附带的供应商手册和/或SDK,并使用他们包含的任何样品
Card readers typically come with two interfaces

a) a 'serial' interface possibly with a USB -> virtual Serial port
b) a 'keyboard' interface whereby it looks like the input is being typed at the keyboard

what ever the case, you need to RTFM - ie the supplier manual and/or SDK that came with your device, and play with any samples they have included


这篇关于如何将刷卡机与我们的应用程序集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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