10. Using Report-Writer : Types of Report Specification Statements : Text Positioning Statements
 
Share this page                  
Text Positioning Statements
Text positioning statements are used to specify a print position—absolute or relative to other positions—for any text to be printed. Most of these statements also accept the name of a column for which a print position or column width has been set with the .position or .width statements as value.
Use the following text positioning statements:
The .tab statement tabs to an exact or relative position before continuing printing.
It can be used with the name of a column to tab to the specified or default print position for that column.
The .newline statement prints out the current line and skips to the start of a new line.
The .center statement centers text around the center of the page or around a specified alternate position.
It can be used with the name of a column to center the text within the specified or default margins for that column.
The .right statement right justifies text to the right margin or to a specified position.
It can be used with the name of a column to right justify text within the specified default margins for that column.
The .left statement left justifies text to the left margin or to a specified position.
It can be used with the name of a column to left justify text within the specified or default margins for that column.
The .lineend statement tabs to the end of the text on the current line before continuing to print.
The .linestart statement tabs to the left margin before continuing to print.