You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "nagarjunabattula@gmail.com" <na...@gmail.com> on 2011/04/27 11:07:53 UTC

directly send Jasper report to printer in WebApplication from local printer

all said and done my code is working well

i am using JasperPrintManager.printReport(jasperPrint, false); in struts
environment.
bt here when i am calling from client the print is invoking the server
printer unlike using local resource(printer).
 can u find me the solution for this its very very damn urgent for me



--
View this message in context: http://struts.1045723.n5.nabble.com/directly-send-Jasper-report-to-printer-in-WebApplication-from-local-printer-tp4343114p4343114.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: directly send Jasper report to printer in WebApplication from local printer

Posted by "nagarjunabattula@gmail.com" <na...@gmail.com>.
dat means i hav to use content Disposition????
ok bt later will the print action be revoked or not???
Please elaborate ur idea using code please  

--
View this message in context: http://struts.1045723.n5.nabble.com/directly-send-Jasper-report-to-printer-in-WebApplication-from-local-printer-tp4343114p4346178.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: directly send Jasper report to printer in WebApplication from local printer

Posted by Dave Newton <da...@gmail.com>.
(Sorry if this is a dupe.)

On Wed, Apr 27, 2011 at 5:07 AM, nagarjunabattula@gmail.com wrote:
> bt here when i am calling from client the print is invoking the server
> printer unlike using local resource(printer).

Well, your code is running on the server, so I'm not surprised. You
need to stream / download the generated PDF.

>  can u find me the solution for this its very very damn urgent for me

http://www.coderanch.com/how-to/java/EaseUp

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org