Jump to content

Problem with JasperPrintManager


raphy

Recommended Posts

Hello,

I have a strange problem with the JasperPrintManager class.

 

Problem: When I use this following code (printing without preview of the document) the printer prints only the first page of my print job and computer hang it self.

 

Code:

JasperPrint printJob = JasperFillManager.fillReport(pWorkingDirectory + "template.jasper", pParameters, this)
JasperPrintManager aJasperPrintManager = new JasperPrintManager() ;
aJasperPrintManager.printPage(printJob, 0, true) ;

 

Please help

Raphy

 

Post edited by: raphy, at: 2006/12/05 16:24

Post edited by: raphy, at: 2006/12/05 16:25

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...