Create an address label for your form

32-10 Oracle Reports Users Guide to Building Reports ■ ORDER_DATE ■ PRODUCT_ID ■ PRODUCT_DESCRIPTION ■ QUANTITY ■ UNIT_PRICE ■ ITEM_TOTAL 8. On the Labels page, remove the label names since they are not required for the preprinted form, and adjust the widths as follows, then click Next:

9. On the Template page, select No Template, then click Finish to display your

report layout in the Paper Layout view. It should look something like this: Figure 32–8 Paper Layout view of the preprinted form example with mailing label and order item details

10. Save your report.

32.3.4 Adjust the layout and add summaries

Now that you have added the elements you want displayed on your report, you need to set up the layout so that only records required for the preprinted form display on each page, and that the correct amount of information displays in the available amount of space on the form. Also, the form requires that a summary of each page displays in the same location on the page. Fields and Totals Labels Width ORDER_DATE none 9 PRODUCT_ID none 8 PRODUCT_DESCRIPTION none 40 QUANTITY none 4 UNIT_PRICE none 8 ITEM_TOTAL none 10 Note: The Width values are based on the space available on the preprinted form. Building a Report Using a Preprinted Form 32-11 To adjust the layout and add page summaries:

1. In the Object Navigator, click M_G_ORDER_ITEMS_GRPFR, as shown in the

following image: Figure 32–9 Selected frame in the Object Navigator 2. In the Paper Layout view, you should see the same object selected, as shown in the following image: Figure 32–10 Selected repeating frame in the Paper Layout view

3. In the Object Navigator, double-click the properties icon next to M_G_ORDER_

ITEMS_GRPFR to display the Property Inspector, and set the following properties: ■ Under General Layout, set the Vertical Elasticity property to Fixed to ensure that only this area is available for the order items to display.

4. In the Object Navigator, double-click the properties icon next to R_G_

CUSTOMER to display the Property Inspector, and set the following properties: ■ Under Repeating Frame, set the Maximum Records per Page property to 1, to ensure that only one customers information prints per page.

5. In the Object Navigator, double-click the view icon next to the Paper Layout node

to display the Paper Layout view.

6. In the Paper Layout view, click the Field tool in the tool palette.

7. Draw a region 7 inches 18 centimeters from the left and 10.25 inches 26

centimeters from the top, to 8 inches 20 centimeters from the left and 10.5 inches 27 centimeters from the top. Note: This field, as well as the second field you will create, should not be located within the repeating frame called M_G_ORDER_ DATE_GRPFR. If you cannot fit these fields on the page, resize the repeating frame so that you can place the fields below the repeating frame, but still on the same page.