Design labels

For a report application that prints out labels, the report design document (.4rp) is the size of a single label.

A report program programmed to output labels expects the report design document to represent a single label.
  1. Create a new report. Select File >> New, Reports, Empty Report (.4rp).
  2. In the Data View, specify a Data Schema. See Adding report data (Data view).
  3. Set the page size to the size of a single label.
    1. Select File >> Report properties >> Paper Settings....
    2. Set the Page Size Format to Custom.
    3. Set the paper settings to the size of one label. Adjust margins as needed.
  4. In the custom page you've created, design the label as you would design any report, to include adding fields from the Data view. In this example, the page has a width of 9.90 cm and a height of 4.30 cm. The page contains six WordBox objects. Each WordBox object is populated with data from fields listed in the Data View.

    Screen shot of the central workspace, showing the near-WYSIWYG version of the form.

    Figure 1. Label Report and Report Structure

  5. In the Report Structure, place the report under the appropriate trigger. In this example, the label (Page) is positioned under the orderid trigger, meaning a new label is printed each time there is a change in orderid.

    Screen shot of the Report Structure pane.

    Figure 2. Label Report and Report Structure

  6. Save your report.
For an example, see the orderlabels.4rp report in the OrderReport demo application.