This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Java » Servlets
Bookmark "Printing to a Network Printer" Watch "Printing to a Network Printer" New topic

Printing to a Network Printer

Matthew Shapiro

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: 42958
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.
Have you checked out Aspose?
subject: Printing to a Network Printer
jQuery in Action, 3rd edition