## Printing library components

Library components visible in the page panel can be printed, for example, library components that were created using JReport Designer and inserted into dashboards via the Resources panel.

To print the library components in a dashboard, click the Print button on the side bar, or click the Options button on the side bar and select Print from the option list. Then in the Print dialog, choose in which layout you want the library components to be printed, system layout or custom layout. In the system layout, JReport will calculate the positions of the library components in the dashboard following certain rule. If you are not satisfied with the system layout, you can customize the layout by yourself to determine the position of each library component and specify whether to print all the data of a table/crosstab or just the current page of the table/crosstab displayed in the dashboard. The custom layout can be saved for all users who can access the dashboard.

To print using system layout:

1. In the Print dialog, select System Layout from the Layout drop-down list. See the dialog.

   The preview of the layout appears in the preview panel on the right. Sometimes you may find that the layout is a little different from what you see in the dashboard.

2. In the Resources box, select the library components you want to print. By default all printable library components are listed and selected.
3. The order of the library components in the Resources box determines the order in which they will be printed. Click and to adjust the printing order if necessary.
4. Check the Show Component Title option if you want to show the library component titles in the printed result.
5. From the Printer drop-down list, select the printer using which to print the library component result. All the printers the web browser can access will be listed here. If you want to download the result to a PDF or HTML file and then use your local printer to print the file, select Save as PDF or Save as HTML.
6. If a printer is selected, click the Properties link to specify the printing properties in the Printer Properties dialog, then specify the number of copies you want to print accordingly.
7. Specify the page orientation and paper type for the printed result. If necessary, click the More Settings link to set more page properties such as paper size and margins in the Page Setup dialog.
8. Click the page navigation buttons on the toolbar of the preview panel to browse the pages if you want.
9. Click on the toolbar to start printing. If Save as PDF or Save as HTML is selected in the Printer drop-down list, the result file of the library components is then opened in an associated program with which you can print the result to a printer.

To print using custom layout:

1. In the Print dialog, select Custom Layout from the Layout drop-down list. You can also select an existing custom layout to modify it. See the dialog.

2. Do the same as described in steps 4 to 8 of the above system layout procedure.
3. In the Design tab, customize the layout of the library components, then preview it in the View tab. For how to customize the layout, refer to Exporting using custom layout.
4. Click on the toolbar to start printing. If Save as PDF or Save as HTML is selected in the Printer drop-down list, the result file of the library components is then opened in an associated program with which you can print the result to a printer.