Jump to content
Changes to the Jaspersoft community edition download ×

Report Printing

Recommended Posts

By: Allen Pham - apham

Report Printing

2003-04-25 11:23

After I have created and compiled the report, I would like to somehow explicidly send the report to a predefined printer without having the printer dialog showing up. I check the examples, but can't seem to find a solution. Does anyone know how to do this?





By: Joshua C. Arles - joshua_arles

RE: Report Printing

2003-04-27 22:52

Try using this.

JasperPrintManager.printReport(strFillFileName, false);


strFillFileName is the complete file path and filename of the jrprint file.

e.g. strFillFileName = C:reportsFileName.jrprint

false means that the print dialog will not show.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...