Microsoft Point of Service vb.net
Posted on 2015-01-19
I'm trying to get a handle on using Microsoft Point of Service.
I have an Epson TI-20II connected to my computer via USB. I have installed it and named it "Receipt"
I have this code in my application:
deviceInfo = posExplorer.GetDevice(DeviceType.CashDrawer, strLogicalName)
m_Drawer = posExplorer.CreateInstance(deviceInfo)
which comes from Epson's code examples.
I can't figure out what strLogicalName is supposed to be or where it is defined.
Earlier in my code, it's set up like this:
strLogicalName = "CashDrawer"
(since the application is trying to open the drawer through the receipt interface.)
I renamed the variable to Receipt to match the actual name of the printer. But it's not working.
I've attached the sample program for what it's worth.
Any ideas on how I can connect to the printer/cash drawer?
Thanks for your help!!!