Solved

Accessing a client's serial port printer over the internet.

Posted on 2002-04-15
12
190 Views
Last Modified: 2010-03-31
Hi,

I'm working on a Java based web site, where the only people who will access the site (registered users with userid/password logons) have slip printers attached to a serial port on their PC's.

I know I can access serial ports of the server computer using the javax.comm API, but can I access the serial port of a client machine over the internet?  If so, how?
0
Comment
Question by:lurch36
  • 5
  • 3
  • 2
  • +2
12 Comments
 
LVL 92

Accepted Solution

by:
objects earned 200 total points
ID: 6944039
You could use javacomm in an applet, but you'd need to get the necessary permissions for the applet.
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 6944411
and you will have to install some native code on the client machine too.
0
 
LVL 92

Expert Comment

by:objects
ID: 6944433
Yes javacomm would need to be installed on the client.
0
 

Author Comment

by:lurch36
ID: 6946337
Would there be any way around it without installing javacomm on the client PC?  Permissions are OK - we can get them to change those, but I'd prefer to avoid client software installations if possible.
0
 
LVL 92

Expert Comment

by:objects
ID: 6946376
Not without using native method to access the serial port, (which is what javacomm does anyay).
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 6947055
I suppose that you can copy appropriate .dll, .jar and configuration files 'manually' on the client machine (in fact you can write a dedicated applet that performs this task)
0
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.

 
LVL 92

Expert Comment

by:objects
ID: 6947065
Isn't that installing javacomm ;-)
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 6947078
yes, but at least end-users won't need to run installer .exe file :)
0
 
LVL 92

Expert Comment

by:objects
ID: 6947084
From memory, it doesn't actually come with an installer. It's a DIY job, which I guess is worse.
0
 

Author Comment

by:lurch36
ID: 6952210
Thanks for your thoughts - unfortunately, I'm not going to be able to procure a slip printer for testing until the middle of next week, so I won't be able to close this question off until then.
0
 
LVL 9

Expert Comment

by:Venci75
ID: 7940748
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: objects
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venci75
EE Cleanup Volunteer
0
 

Expert Comment

by:modulo
ID: 7990899
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

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

19 Experts available now in Live!

Get 1:1 Help Now