• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 203
  • Last Modified:

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

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
lurch36
Asked:
lurch36
  • 5
  • 3
  • 2
  • +2
1 Solution
 
objectsCommented:
You could use javacomm in an applet, but you'd need to get the necessary permissions for the applet.
0
 
heyhey_Commented:
and you will have to install some native code on the client machine too.
0
 
objectsCommented:
Yes javacomm would need to be installed on the client.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

 
lurch36Author Commented:
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
 
objectsCommented:
Not without using native method to access the serial port, (which is what javacomm does anyay).
0
 
heyhey_Commented:
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
 
objectsCommented:
Isn't that installing javacomm ;-)
0
 
heyhey_Commented:
yes, but at least end-users won't need to run installer .exe file :)
0
 
objectsCommented:
From memory, it doesn't actually come with an installer. It's a DIY job, which I guess is worse.
0
 
lurch36Author Commented:
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
 
Venci75Commented:
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
 
moduloCommented:
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 5
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now