Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Checking for errors using javax.comm

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a print utility that prints to a serial printer using the
javax.comm api. Is there a way to check for errors with the printer before
writing to the outstream? Such as a printer not connected or the power
swithed off?

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic