Printing report results
JReport relies on the JDK to create the printable version of report results. By default the JDK 1.4 printing method is used, but you can use other versions if needed.
Specifying printing options
Before you can print reports, you need to first specify the printing options in the Options dialog.
To specify printing options:
- In JReport Designer, click File > Options. The Options dialog appears.
- Select Print in the Category box, and select a method of your choosing from the Print panel. By default, the Use JDK1.4 printing method is selected.
- If you want to separate a large page during printing, select Separate large pages. When you print a report with a report page size which is larger than the print paper size, the report will be printed in multiple pages serially. That is, JReport will automatically separate a large page of a report.
- Click the Apply button to save the changes, and then click the OK button to close the dialog.
Printing with the JDK 1.4 printing method
Compared with JDK 1.1 and JDK 1.2, the JDK 1.4 printing method provides you with a more diverse selection of options for printing reports, such as paper tray, and color appearance.
To print a report with the JDK 1.4 printing method:
- Specify the printing method as Use JDK1.4 printing method in the Print category of the Options dialog.
- Open the report you want to print.
- Click File > Print (or click the Print button on the Standard toolbar). The Print dialog appears. See the dialog.
- Follow the window instructions to specify the settings.
- Click Print to print the report.
Printing with the JDK 1.1 printing method (deprecated)
The JDK 1.1 printing method is quick in speed, but the print quality cannot be guaranteed.
To print a report with the JDK 1.1 printing method:
- Specify the printing method as Use JDK1.1 printing method in the Print category of the Options dialog.
- Open the report you want to print.
- Click File > Print (or click the Print button on the Standard toolbar). The Print dialog appears. See the dialog.
In order to overcome the limitation of JDK 1.1.x, JReport is required to be calibrated on the very first print so that the lines and text can be printed correctly. You will only need to calibrate once for each printer that JReport uses. Click the Test button, and follow the window instructions.
- Click OK to print the report.
Printing with the JDK 1.2 printing method (deprecated)
The JDK 1.2 printing method will provide you with a satisfactory result, even for .gif files, but is slow in speed.
To print a report with the JDK 1.2 printing method:
- Specify the printing method as Use JDK1.2 printing method in the Print category of the Options dialog.
- Open the report you want to print.
- Click File > Print (or click the Print button on the Standard toolbar). The Page Setup dialog appears. See the dialog.
- Specify the settings according to your requirements.
- Click OK to print the report.