Hi all,
Is there any way in java tp print PDF files by getting stream out of PDF files and giving the same to printer????
I did lot of R&D on the above topic using javax.print package avilable in jdk1.4,third party libraries like PJX,itree and JFreeReport but nothing provided me the solution.My requirement is to print user selected files in his local printer.
The javax.print stuff is local to the JVM being executed. Assuming that you're dealing with a server-side application (i.e. your question is marginally relevant to the struts-user list), you can potentially accomplish this using JavaScript.
But since essentially you'd have to (on the client using JavaScript): 1) Grab the file 2) Launch Acrobat Reader and instruct IT to print the file
This might be easier said than done.
But someone else might have experience with doing this using JavaScript. The important thing I wanted to express is that you won't be able to do it using Java raw because in a server-side application you don't actually have any Java running on the client's machine: the java is entirely executing on the server.
Kirk Wylie M7 Corporation
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

