<<

Contents

Search

>>

 

REPLEN

 

 

Instruction

 

 

Syntax:

REPLEN = <Report Length in Lines>

 

<Report Length in Lines> = <NUM-EXPRESSION>

 

Meaning:

Changes the length of the current report.

 

With the report properties the report length of a report is specified. The report length is the number of lines that are printed on one page.

 

REPLEN sets the report length of the current report to <Report Length in Lines>.

 

Attention: EBUS_REPMINSIZE_Y has to be adjusted acoordingly.

 

This instruction only takes effect in Macros which are executed during the execution of a report.

 

With the graphic print (ENABLE LPGDI) a new print grid for the changed report length must be created with the instruction COMPUTE_LPGRIDSETTING. When a report is started a grid is automatically internally calculated for the report length and report width defined in the report specification. The print font is calculated by the grid so that the print page is filled optimally. If the report length is changed in the report with the instruction  REPLEN without recreating the grid, printing continues with the font size calculated at the start of the report. This has then the effect that either the font is too small or not all lines on the page can be printed.

 

Parameter:

Report Length in Lines

Length of report

 

Sample:

REPLEN = 66

LPFONTHEIGHT = PAGEHEIGHT(1) / 66

COMPUTE_LPGRIDSETTING

 

See also:

REPORT

EBUS_REPMINSIZE_Y

LPFONTHEIGHT

COMPUTE_LPGRIDSETTING