• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing from Java application to USB printer  RSS feed

 
Prasanna Raman
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

How can I print to a USB printer from my Java application? I've always printed to network printers using IP addresses.

Thanks,
Prasanna
 
Claude Moore
Ranch Hand
Posts: 924
9
IBM DB2 Java Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By using PrintService related API you shouldn't care about how your printer is phisically connected to the
rest of the world (IP, USB, parallel port).
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!