<<

Contents

Search

>>

 

LPRINT_CENTERED

 

 

Instruction

 

 

Syntax:

LPRINT_CENTERED = <Text>,<Width In Raster Columns>

 

<Text>

= <STRING-EXPRESSION>

<Width In Raster Columns>

= <NUM-EXPRESSION>

 

 

Meaning:

Prints the single-line text on the print document at the current cursor position centered in an area of <Width in grid columns> grid columns.

 

This instruction only has an effect with ENABLE LPGDI.

 

Parameter:

Text

Text to print centered

Width In Raster Columns

Width of the area in which <Text> is printed centered.

 

Sample:

LPGRIDCURSOR(3,20)

LPRINT_CENTERED("Customer Name",30)

 

See also:

LPRINT

LPRINT_JUSTIFIED