aspose file tools*
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 Spring in Action this week in the Spring 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: 42264
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.

Ping & DNS - my free Android networking tools app
Don't get me started about those stupid light bulbs.
subject: Printing to a Network Printer