Solved

Java + Serial Printer

Posted on 2010-08-12
1
441 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 82

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

758 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