Tutorial 7 - Building a Print Template

During this exercise, you will build a simple Print Template to print out your Name table as Labels. The Print Template defines the geometric aspects of the printed data, which includes both WHERE and HOW (meaning the fonts, text alignment, style, etc.) The Report Procedure handles the WHAT aspect of printing, meaning the actual contents of the printed report - this will be created in Tutorial 8. Although this is a useful report, you will only use Dynamic Text fields which will be loaded with data as part of the Procedure.

In creating the specifications for this Print template, we planned for a commercial label format i.e. Avery's AL-120, Code #05159, 2-up, 14 per page. The Grid density = 8 per inch; the page Margins = 0.2 for all sides and the Inspector's Segment view was defined as Body with 2 blank lines before and after printing; the Font is Sans Serif Regular 12. When finished, the template will look like this:

Follow these simple instructions to create this template:

1. Launch Print Templates editor.
You will see the three configuration windows: Palette, Workspace, and Inspector. The Inspector's Template view will be set to the Printing default option Always start on the new page.

2. Select Format > Page Layout menu item.
Retain the Portrait default format but change all the Margin settings to 0.2.
3. Select Format > Grid Panel menu item
Select 8 per inch as the Grid density; this locks the Grid spacing H to 9 and V to 9; click on the Set button.
4. Click on the Grid background of the Workspace.
This will display the Inspector's Segment view with its Body definition Print on every call to Template being the default.

Set both switches in the Segment view Before printing the fields: and After printing the fields: to ON and change the default values in the editable fields from 1 to 2.

5. Drag a Print field icon from the Draggable objects area of the Palette and drop it into the Workspace and repeat this process until you have eight fields.
These fields will carry the title dyn 1 (dynamic field 1) through dyn8 which are now also listed in the Local area of the Palette under the heading Dynamic. The Inspector will now show the Field view (as long as a field is selected) with its default being a left justified Text data type and the switches Print only when contents changes and Add lines if needed to fit all text set to NO.

Double-click on dyn 1 in the Local area of the Palette (this makes that text row an editable field) and type Name1. Repeat the process for the remaining dynamic fields as per our Workspace example shown.
This action will also change the title of the Print field in the Workspace.

6. Click on Preview button.
this will show you what the report will look like based upon the completed Template.
7. Select Save menu item.
This will launch the Save Template panel.
Type Labels into the Name field and Avery's AL-120, 2-up, 14/page, Code #05159 into the Description field.

Go To
  Tutorial 8 - Building a Report Procedure
  Index