XPRINT GET LINES statement  

Purpose

Retrieve the number of lines that can be printed.

Syntax

XPRINT GET LINES To LineVar&

Function Form:

LineVar& = XPRINT(LINES)

Remarks

XPRINT GET LINES retrieves the number of lines of text which can be printed on the host printer page, given the current selected font. Since XPRINT statements do not generate an automatic formfeed when text is printed on the last line, this statement can be used to determine when your program should execute an XPRINT FORMFEED to move to the next printed page on a host printer.  If executed without a host printer attached, error 57 is generated.

See also

XPRINT, XPRINT ATTACH, XPRINT SET FONT, XPRINT FORMFEED