Streaming file to the printer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Streaming file to the printer

Fred
Hello,

I have a an input stream that i want to redirect to the browsers printer. When I do it on my local machine it works but of course when i deploy to the server the print dialog opens on the server.

I assume that I have to send the file as a response to a request but I am unsure on how to do that. Can someone please help me out with an example?

The way I have it now is on the button submit we generate the file and send it to the printer.

Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Streaming file to the printer

hariharansrc
You may  use jasper reports for that.
Loading...