File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Printing to a Network Printer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Printing to a Network Printer" Watch "Printing to a Network Printer" New topic

Printing to a Network Printer

Benjamin Lambe

Joined: Jul 04, 2007
Posts: 7
I am writing a servlet that accepts a soap message from an iPad/Android device of an order, and converts it to an order.

Where I am having a problem is that I am wanting to then send the order (text formatted from soap message) to a network printer somewhere else via IP Address.

Is this possible?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42954
Assuming that the printer is configured on the machine where the Java printing code runs, you should have no problems accessing it using the javax.print API.
I agree. Here's the link:
subject: Printing to a Network Printer