wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes print a report (client side) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "print a report (client side)" Watch "print a report (client side)" New topic
Author

print a report (client side)

Michael Houlo
Ranch Hand

Joined: Jun 07, 2010
Posts: 58
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
Michael Houlo
Ranch Hand

Joined: Jun 07, 2010
Posts: 58
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
Alexis Gamarra
Greenhorn

Joined: Aug 18, 2010
Posts: 3
I've the same problem, please if any person have a solution for that post it. Thank you.

PD: Sorry for my bad english.


Alexis Gamarra
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Welcome to Javaranch Alexis!


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: print a report (client side)
 
Similar Threads
Creating Jasper Report at client machine
Jasper Report Line Graph
Jasper Reports ..How To..???
JasperViewer on the server machine and not on the client machine
JasperPrint to String and String to JasperPrint