Design labels

A label is a logical page that is printed several times on a single physical page. For a report application that prints out labels, the report design document (.4rp) is the size of a single label.

About this task

A report program programmed to output labels expects the report design document to represent a single label.

To code a Genero report application that creates labels in a report format, see Create labels: the report program (Genero BDL).

  1. Create a new report.
    Select File > New > Reports > Empty Report (.4rp).
  2. In the Data View, specify a Data Schema.
  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.

    Figure: Label Report and Report Structure


    Screen shot of the central workspace, showing the near-WYSIWYG version of the form.
  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.

    Figure: Label Report and Report Structure


    Screen shot of the Report Structure pane.
  6. Save your report.
For an example, see the orderlabels.4rp report in the OrderReport demo application.