Forums Register Login

print a report (client side)

+Pie Number of slices to send: Send
Hello,

I tryed to export a report to .pdf in this way :

It looks like java was trying to save the file into the client side.. i had to use

to allow the client to download the file..

Now, i want to allow him to Print the report..
I use

In local mode, it works.. I have a msg box dialog allowing me to choose which printer i want to use.
But when i try to implement it, it doesn't work anymore.. it just keeps loading and nothing happens.
I guess he s trying to print in the server side ..

How can I allow the client to print the report ?
Is my reasoning good ?

I hope my english isn't THAT bad :$
Any answer will be appreciated
+Pie Number of slices to send: Send
 

Michael Leahcim wrote:Hello,

I tryed to export a report to .pdf in this way :

It looks like java was trying to save the file into the SERVER side.. i had to use

to allow the client to download the file..

Now, i want to allow him to Print the report..
I use

In local mode, it works.. I have a msg box dialog allowing me to choose which printer i want to use.
But when i try to implement it, it doesn't work anymore.. it just keeps loading and nothing happens.
I guess he s trying to print in the server side ..

How can I allow the client to print the report ?
Is my reasoning good ?

I hope my english isn't THAT bad :$
Any answer will be appreciated



EDIT :
It looks like java was trying to save the file into the client side.. i had to use
=>
It looks like java was trying to save the file into the SERVER side.. i had to use
+Pie Number of slices to send: Send
I've the same problem, please if any person have a solution for that post it. Thank you.

PD: Sorry for my bad english.
+Pie Number of slices to send: Send
Welcome to Javaranch Alexis!
My cellmate was this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 3143 times.
Similar Threads
JasperViewer on the server machine and not on the client machine
Jasper Reports ..How To..???
JasperPrint to String and String to JasperPrint
Jasper Report Line Graph
Creating Jasper Report at client machine
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:13:23.