Solved

Java + Serial Printer

Posted on 2010-08-12
1
445 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Weekend adv creator 3 64
Java: anonymous class 4 38
printf performancy 11 84
learn programming 8 68
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This video teaches viewers about errors in exception handling.

749 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