Solved

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

Posted on 2002-04-15
12
195 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
[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
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SHA2 certs for IIS AND Java? 2 135
pagenation logic how it is working in my code 1 80
Problem to Alipay 10 94
Find out all repos that a user is most active on Github 1 56
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

739 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