DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   POS Printer programming with OPOSPOSPrinter.ocx (http://www.daniweb.com/forums/thread169463.html)

Rombosia Jan 19th, 2009 11:00 am
POS Printer programming with OPOSPOSPrinter.ocx
 
Hi guys,
I have OPOSPOSPrinter.ocx that I'm supposed to use to connect to a fiscal printer and print. I have installed it's drivers.
According to the OCX's limited documentation, it says there should be an entry in HKEY_LOCAL_MACHINE\SOFTWARE\OLEforRetail\ServiceOPOS.
I've juggled all I can on this entry with no avail. Is there anyone with experience with this? Thanks.

Comatose Jan 19th, 2009 12:46 pm
Re: POS Printer programming with OPOSPOSPrinter.ocx
 
regsvr32 OPOSPOSPrinter.ocx

Rombosia Jan 20th, 2009 2:09 am
Re: POS Printer programming with OPOSPOSPrinter.ocx
 
Hi Comatose,
I've already registered the OCX. I'm able to use it's functions like Open to open the printer. But this function takes a string to represent a device name, which is stored in the registry. I just don't know where to put that entry so as to make it read!!!

Comatose Jan 20th, 2009 7:22 am
Re: POS Printer programming with OPOSPOSPrinter.ocx
 
The problem is, I have no idea if that entry that you posted for the registry is a value or a key, or if it's a string or a dword or whatever....

jaasaria Jan 21st, 2009 4:42 am
Re: POS Printer programming with OPOSPOSPrinter.ocx
 
1 Attachment(s)
hi... i not tested it before but i have an idea for that.. actually im studying same part like yours.

im trying also cash drawer and line display.. but i have to output yet.
according to my research.. once that you register it u can use it by adding in ur components.


their a declaration also but i have to sample code of it. im just rely to the pdf file i have.

my reply thread may help u and also me..and others developer.

here the pdf i have... and to those people have their idea can also share it with us.


i hope we can solved this..


All times are GMT -4. The time now is 10:18 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC