473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Problem with JAVAPOS

Hello there,
anyone knows how to develop program in javapos? I have this problem, its already been a month, i still havent figure out how to display a message in a line display. My code is very simple

LineDisplay ld = new LineDisplay();
System.setProperty
(JposPropertiesConst.JPOS_POPULATOR_FILE_PROP_NAME ,
"C:/jpos.xml");
try
{
ld.open("line display");
ld.claim(1000);
ld.setDeviceEnabled(true);
ld.displayText("This is a test",1);
ld.release();
ld.close();
}
catch(JposException e)
{
System.out.println(e.getMessage());
}

I think my problem is not within my codes.....i think with the jpos files. Does anyone there has knowledge with javapos?
Nov 2 '06 #1
2 6491
r035198x
13,262 8TB
Hello there,
anyone knows how to develop program in javapos? I have this problem, its already been a month, i still havent figure out how to display a message in a line display. My code is very simple

LineDisplay ld = new LineDisplay();
System.setProperty
(JposPropertiesConst.JPOS_POPULATOR_FILE_PROP_NAME ,
"C:/jpos.xml");
try
{
ld.open("line display");
ld.claim(1000);
ld.setDeviceEnabled(true);
ld.displayText("This is a test",1);
ld.release();
ld.close();
}
catch(JposException e)
{
System.out.println(e.getMessage());
}

I think my problem is not within my codes.....i think with the jpos files. Does anyone there has knowledge with javapos?
Since you have not specified what the problem is and no expert in javapos, all I can do is point you to
http://www.javapos.com/tips-hints.html
and
http://www.javapos.com/downloads/JavaPOS-Deployment_20040212.pdf
Nov 2 '06 #2
the problem is that I always encounter an error message saying "Could not connect to service with logical name POSPrinter. Implementation class could not be loaded" everytime I execute the program....can anyone help me...
Nov 7 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
1
by: Shaider | last post by:
Can anyone help on how can I be able to use IBM JavaPOS particularly on installation; how can I know their logical names and what else do I need to run the services; How can I connect POSTest to...
0
by: Jesus | last post by:
Hi there! well I´m new in this "javaPOS" world so I was wondering if anybody has a clear idea about how to use it 'cause www.javapos.com doesn´t help me out . First of all : is it necessary to buy...
1
by: marquitosh | last post by:
I've got a TM-T88IV with paralell port, also I downloaded Epson JavaPOS ADK. When I want to add my TM-T88IV there is a section where the program ask me what kind of port I am using, I want to say...
1
by: dustfly | last post by:
Excuse me, I installed JavaPOS1.12 in SLED11, on SurePOS 700 system, and jpos.xml was created, Control Center showed that POSPrinter was online and configured. after that, I tried to test the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.