Solved

Java + Serial Printer

Posted on 2010-08-12
1
442 Views
Last Modified: 2013-11-23
I have no idea where to start on this one. I was handed a Java application by my boss because I answered his question with "I used it for a couple days about 5 years ago" when he asked me if I was familiar with Java.

So here's my issue: This software connects to a receipt printer via serial port and prints receipts after a transaction was completed in the software.. For some reason the software only worked with Windows XP and so I was tasked with making it work under Vista and Windows 7.

Ok, so I just compile it with the latest compiler and it should work right? Well it did, sort of. It runs under windows 7 now just fine but the receipt printer no longer works. I had the /lib/rxtxcomm.jar file included with the compiled jar so in theory it should be working but for some reason it won't see the printer anymore.

Keep in mind, I wasn't joking with my Java experience. I played with it for a week just to see what it was about five years ago and with the exception of extensive Javascript use, I have no real working knowledge of this language but as I'm the only one at the company that can spell Java, and they're too cheap to hire a consultant, I'm stuck with this. Small words and baby talk would be appreciated.

Is there anyone that can give me some starting points or should I make sure my resume is up to date and tell the boss I can't do it?
0
Comment
Question by:fredstov
1 Comment
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 33426108
You may not have all the files.  Take a look at this page: http://forums.sun.com/thread.jspa?threadID=698876  And 'Java' is not 'javascript' or even actually related.  In researching your question, I didn't see much in the way of good news.  The page I have linked said that Sun decided that serial and parallel ports weren't used much under Windows anymore.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now