Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Opos Question

Posted on 2004-07-31
3
Medium Priority
?
681 Views
Last Modified: 2008-01-09
Hello

I want to know if it is possible to install opos drivers programmatically; I am using the OPOS common control activeX controls. I am programming an epson TM-88II printer, So to use the POS printer activeX control I have to be able to access the device using a link name for the printer. I can do this using the utility provided with the Epson ADK called SetupPOS ver2.0. Here I can give it a link name such as PosPrinter1, and then use this name to initialise the activeX controls. So my question is, I don't want to have to install the Epson ADK on each end PC my software is installed, I would like to be able to install the OPOS driver and setup up the "PosPrinter1" service programmatically. Now I think this will require some calls to CreateService() and StartService() but I have no idea what driver name etc is. So if anyone can help me out thats done this before I'ld be greatfull.
0
Comment
Question by:auk_ie
3 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 11688657
>>I have no idea what driver name etc is

On a machine with the ADK installed, check that in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
0
 
LVL 3

Accepted Solution

by:
jlsjls earned 1500 total points
ID: 11693716
You can install Epson OPOS drivers automatically as folow :
* do a manual install on a PC and use EPSON ADK to set POSPrinter communication parameters (and logical names).
* when finished and tested the POSPrinter ; go to registry HKEY_LOCAL_MACHINE\SOFTWARE\OLEforRetail
and make export its content to a reg-file 'EpsonPOSPrinter.reg' (some name).
* in order to automatically install the Epson OPOS utility, make a batch file with command :
setup.exe /a "C:\INSTALL\OPOS\Epson220\EpsonPOSPrinter.reg"

It'll install the Epson utility and set all needed registry settings.

Hope this helps.
jlsjls
0
 

Author Comment

by:auk_ie
ID: 11700575
Thanks jlsjls

Can I request you to have a look at this question, Its about printing the euro sybol to the printer

http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/Q_21080047.html
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question