SQL/MP Report Writer Guide

Customizing a Report
HP NonStop SQL/MP Report Writer Guide527213-001
4-3
Defining the Layout
The default top and bottom margins are one line each. You can increase the apparent
size of these margins with a PAGE TITLE or PAGE FOOTING command. If you have
no title, specify PAGE TITLE "" for a top margin of 3 lines or specify
PAGE TITLE
SKIP desired-margin-size - 3 for more than 3 lines.
For example, the following command produces a margin size of 4 blank lines
preceding the headings (SKIP 4 - 3 = SKIP 1):
S> PAGE TITLE SKIP 1;
( 4 blank lines appear here. )
CUSTNUM CUSTNAME
------- --------
The first blank line is the default top margin. The second blank line is the specified
skip. The third blank line is the default skip for the title line. The fourth blank line is the
default skip following the title line.
If you specify text in the title line, specify
PAGE TITLE SKIP desired-margin-
size - 1, " text". For example, the following command produces a desired
margin size of 4 lines (SKIP 4 - 1 = SKIP 3):
S> PAGE TITLE SKIP 3, "Summary of Employees"; (
Figure 4-2. Default Margin Settings - Printer Report
Printed Report
Left Margin 0
Print Position 1
Right Margin At
Output Device Width
VST0402.vsd