slightlyoff
asked on
Microsoft Point of Service vb.net
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(Devi ceType.Cas hDrawer, strLogicalName)
m_Drawer = posExplorer.CreateInstance (deviceInf o)
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!!!
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(Devi
m_Drawer = posExplorer.CreateInstance
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!!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your help.