Specifies the number of lines per page for streaming output.

Syntax

_plength = <expN>

<expN>

The number of lines per page. The valid range is 1 to 32,767, inclusive. You can specify a fractional number for <expN> to position output accurately with a proportional font.

Default

The default page length is determined by the default page size of the current printer driver and the current page orientation (portrait or landscape).

Description

Use _plength to specify a page length that is different from the default of the current printer driver. For example, to print short pages, such as checks that are 20 lines long, set _plength to the length of the output (20 in this example) and _padvance to "LINEFEEDS" to advance to the top of the next page.

When you change printer drivers or page orientation, dBASE Plus changes the value of _plength automatically. You can change printer drivers in dBASE Plus by issuing CHOOSEPRINTER( ) or by assigning a value to _pdriver. In Windows, you can change printer drivers with the Printers program of the Control Panel (however, it won't take effect until you quit dBASE Plus and start a new dBASE Plus session). You can change page orientation in any of these ways or, in dBASE PLus, by changing the value of _porientation.