Skip to main content

Page setup and watermarks

A template carries its page settings with it: the paper size, the orientation, the margins, the measurement unit, the number of columns in the detail band and the watermark. You set them in the designer, and the preview and printing apply them. This page describes the designer settings. The watermark window of the preview is described in Preview window reference.

Page commands in the ribbon​

The ribbon of the designer has the page commands below. They are commands of the standard tool.

CommandWhat it does
MarginsChooses a ready-made set of margins for the report.
Custom Margins...Opens a window where you type each margin.
SizeChooses a common paper size for the report.
More Paper Sizes...Opens a window for a custom paper size.
OrientationSwitches between portrait and landscape pages.
WatermarkOpens the watermark editor of the report.
Page ColorSets the fill color of the report pages.

Report properties​

Select the report itself, and then open Properties. It has the properties that set the page, which are what the commands above open.

PropertyWhat it doesValues
Paper KindThe paper size from a list of known sizes.A4, A5, Letter and others, and Custom for a size you set yourself.
Page Width and Page HeightThe width and height of the page. They work with the custom paper size.Two numbers in the report unit.
LandscapeThe orientation of the page.Ticked: landscape. Not ticked: portrait.
MarginsThe four margins: top, bottom, right and left.Numbers in the report unit.
Measure UnitsThe unit used for positions, sizes and margins in the template.Tenths of a millimeter, millimeters, inches, hundredths of an inch, pixels (a pixel is 1/96 of an inch).
Roll PaperTreats the document as one continuous roll page instead of separate pages.Ticked or not ticked.

Measure Units also appears in the smart tag of the report. Change the unit first and then set the margins, because the numbers you type are read in the current unit.

note

The template uses the paper size and orientation saved in it, and you choose the printer in the print options window when you print. See Print documents with advanced reports.

Printing warnings​

The Printing Warnings command of the ribbon highlights the controls that go past the right margin of the page, because they cause extra pages when printing. Use it after you change the margins or the width of tables.

Multiple columns in the detail band​

To print records in columns side by side, as in small labels, select the Detail band and open Properties.

PropertyWhat it doesValues
Multi-Column ModeSets how the width of the columns is worked out.No columns; a fixed number of columns, so the width is calculated; a fixed column width, so the number is calculated.
Column CountThe number of columns on the page. It works with the fixed number of columns.A number.
Column WidthThe width of each column. It works with the fixed column width.A number in the report unit.
Column SpacingThe space between two columns.A number in the report unit.
Multi-Column LayoutThe direction in which records fill the columns.Down and then across the columns, or across the columns and then down.

Watermark​

A watermark is faint text or a picture printed behind or in front of the page content, such as "Draft" or the company logo. Open its editor in one of three ways: the Watermark command in the ribbon, the Edit Watermark... command in the context menu of the report, or the Watermark box in the smart tag of the report.

The editor keeps a collection of watermarks, and each one has an ID. A page carries one watermark, and a watermark can combine text and a picture. Clear All deletes all the watermarks.

Option in Text WatermarkWhat it does
Text:The text that prints.
Font:, Size:, Bold and ItalicThe font of the text, its size and its style.
Color:The color of the text.
Direction:The direction of the text on the page.
Transparency:How transparent the text is.
PositionBehind the page content or In front of it.
Option in Picture WatermarkWhat it does
Image:The picture file.
Size mode:How the picture stretches on the page.
TilingRepeats the picture to cover the page.
Horizontal alignment: and Vertical alignment:The position of the picture on the page.
Transparency:How transparent the picture is.
PositionBehind the page content or In front of it.

Both kinds share these options:

OptionWhat it does
IDThe name of the watermark, which the template uses to choose it.
Page RangeThe pages on which the watermark prints: all pages, or only the pages in a range such as 1,3,5-12. The window has one option for each, and both options are labelled Pages in English.

Choose the watermark the report prints in the Watermark Id property in the Properties of the report. If it has a value, it takes priority over the page range, and it can be an expression. The ribbon has a second option with the same name, Watermark, which shows the watermark on the design surface while you design and does not change printing.

Example: the word "Draft"​

  1. Click Watermark in the ribbon.
  2. In Text Watermark, type Draft in Text:, choose gray in Color:, set Transparency: to a high value, and choose Behind in Position.
  3. Close the editor and save the template.

The preview prints the word "Draft" faintly behind the text of every page.

This page applies to alameen ERP 10, version 10.1.79.764.