XPRINT SET WORDWRAP statement  

Purpose

Enables or disables XPRINT WordWrap Mode.

Syntax

XPRINT SET WORDWRAP [NumrExpr&]

Remarks

XPRINT SET WORDWRAP enables or disables WordWrap mode for the host printer which is currently attached to the XPRINT stream.  It has no effect on any other printer.  If NumrExpr& is true (non-zero), WordWrap mode is enabled.  If false (zero), WordWrap mode is disabled. If NumrExpr& is missing, the default is to enable WordWrap Mode.

With WordWrap Mode, you can control how PowerBASIC prints text on an XPRINT page when it reaches the end of a line.  Since a host printer operates on a full page basis, the default is to ignore text which is printed past the end of the line.

When WordWrap mode is enabled, it affects only XPRINT PRINT operations. If XPRINT PRINT attempts to display a word beyond the end of a row, the entire word is automatically wrapped to the first column of the next row.

See also

XPRINT CELL, XPRINT GET WORDWRAP, XPRINT PRINT, XPRINT SET WRAP, XPRINT SPLIT