.Newpage Statement—Insert Page Break
The .newpage statement causes an immediate page break, with an optional change in the page number.
This statement has the following format:
.newpage | .np [[+|-] pagenumber | expression]
The parameters for the .newpage statement are as follows:
+ | -
If a sign is present, the new position is calculated relative to the current position. If no sign is present, it is set to the specified value.
. The plus sign (+) or minus sign (-) must be stated explicitly and cannot be a part of the expression.
pagenumber
The page number to be assigned to the next page in the report.
expression
A numeric expression that evaluates to the page number to be assigned as the next page in the report. All variables that are part of the expression must be preceded by a dollar sign ($).