Sfairadora

  • Reference Guide

Labels

The Labels tool allows you to comfortably print information from a table on self-adhesive labels. You must specify label and page dimensions, a data source, and a template on which the labels should be based. The tool is opened by the Tools|Labels menu command.
The tool window contains two tabs. The Label definition tab is used to specify the data source, label dimensions, and the label template; the Result labels tab contains a rich text editor containing a table, whose cells correspond to individual labels. You can print out the finalized labels using the Print labels button or copy them elsewhere (press Ctrl+A to select the entire text and Ctrl+C to copy it). You can also save them using the Save Text context menu command.

Data Source for Labels

The data source is a table. The template is applied to every row of the table, so the final number of produced labels is equal to the number of rows in the table.
Item
Description
Use active table
The table that was active when the tool was opened is used as the data source. If no table was active, you can activate it afterwards. If there is no active table, labels cannot be created.
Select table manually
The table is selected manually using the Object name of table and Data reference of table fields.
Active row/Selected rows
The tool produces only one label based on the active row or labels based on the selected rows if there are some selected rows.
All rows
One label is produced for every row in the table.
Object name of table
If the Select table manually option is selected, you can specify here the name of the object in which the table is located. Typically you will need to select the master identifier referencing the document affected by the tool (i.e. the document that was active when the tool was activated).
If the Use active table option is selected, information about the used table is displayed.
Data reference of table
Reference to a table within the specified Object name of table.

Page

Here you define the dimensions of the page divided into individual labels.
Item
Description
Paper size
Allows you to select a standard paper size. Page width and height are automatically set according to the selected value.
Page width
Width of the page with labels.
Page height
Height of the page with labels.
Page border
Margins around the area containing the labels.
Paper orientation
Paper orientation – portrait or landscape.

Labels

Here you define the dimensions and number of labels.
Item
Description
Number of columns
Number of columns across the label area.
Number of rows
Number of rows down the label area.
Label size
Label dimensions, derived from the page size, page borders, and the numbers of columns and rows, are displayed for information.
Label border
The spaces left between the label borders and the text contained within.
Number of skipped
Number of skipped labels at the beginning of the page. This setting allows you to print smaller numbers of labels multiple times on the same page – enter the number of labels that have already been used and printing will skip the positions where labels are missing.

Label Template

The template in which you insert the text of the label and fields that will be replaced by data from the source table. You can use the buttons from the Table columns list to insert these fields. If necessary, all Enkidu language constructs are available. The template is specified in a standard rich text editor.
Note: In this context, the rich text editor is located inside another tool. Consequently, tools for character formatting etc. cannot be used to edit its formatting because a tool cannot be related to another tool. If you need to create a label template with complex formatting, the best solution is to create it in a text editor outside the tool (e.g. in a rich text document created by the File|New|Formatted Text menu command) and to copy it here using the Ctrl+C keyboard shortcut.

Table Columns

If a table is correctly selected, a list of the table columns is displayed to the right of the label template. Every column is represented by a button. If you click a particular button, a field is inserted into the label template. The field will be replaced by data from the respective source table column.
Fields referencing table columns must be formatted as hidden, that is, their background is cross-hatched. If this format is accidentally applied to other text during editing, you can remove the formatting by the Ctrl+H keyboard shortcut; or you can remove all applied formatting by the Ctrl+spacebar keyboard shortcut.

Buttons

Use the Reset label button to delete the label template text. Use the Print labels button to print out the finalized labels. The Save settings button allows you to create a new tool in the current document based on this general mail merge tool, but its definition reflects the current settings. This way you can create a specific tool allowing you to repeatedly produce labels based on the same template.