Jump to content
We've recently updated our Privacy Statement, available here ×

Add to source code. Please Lucien read this


jvmolto

Recommended Posts

Is posible to add two lines to the source code of JRPrintServiceExporter.java, just after line 211.

This permit my java aplication to know the PrintService used by JasperReport to print the report and the parameters of the print dialog.

 

Thanks

 

Code:

201: if (displayPrintDialog)
202: {
203: if (printerJob.printDialog(printRequestAttributeSet))
204: {
205: printerJob.print(printRequestAttributeSet);
206: }
207: }
208: else
209: {
210: printerJob.print(printRequestAttributeSet);
211: }
212:}
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

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