• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • 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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

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