Solved

Opos Question

Posted on 2004-07-31
3
646 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 500 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

776 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