XPRINT SET WRAP statement

Purpose | Enables or disables XPrint Wrap Mode.
Syntax | XPRINT SET WRAP [NumrExpr&]

Remarks

XPRINT SET WRAP enables or disables wrap 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), wrap mode is enabled. If false (zero), wrap mode is disabled. If NumrExpr& is missing, the default is to enable Wrap Mode.

With Wrap 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 Wrap Mode is enabled, it affects only XPRINT PRINT operations. If XPRINT PRINT attempts to display a character beyond the end of a row, it is automatically wrapped to the first column of the next row.

See also | XPRINT CELL, XPRINT GET WRAP, XPRINT PRINT, XPRINT SET WORDWRAP, XPRINT SPLIT