0

Possible Duplicate:
how to print a PDF on an unmapped network printer in java?

I know the printer ip address , and the printer is in the network. How can I print PDF document in JAVA to that printer . Please send a sample code.

I Really appreciate your help on this.

Community
  • 1
  • 1

1 Answers1

0

You should try PDF Renderer. That will help you print PDF documents.

A source where you can find the PDF-Renderer class: http://java.net/projects/pdf-renderer/sources/svn/content/trunk/src/com/sun/pdfview/PDFRenderer.java?rev=140

A similar question asked by someone. This one has the code: Java PDF Viewer

FOR THE CODE: http://www.idrsolutions.com/how-to-print-pdf-files-in-java/

One final thing. Atleast do some work by yourself. Don't expect this everytime. Show some work, so we know what you are looking for. Don't you read the rules?

Community
  • 1
  • 1
DURTAYY
  • 21
  • 1
  • 1
  • 6