XPRINT SET CLIP statement

Purpose | Establishes margins around the outer edges of the print page.
Syntax | XPRINT SET CLIP LeftMargin!, TopMargin!, RightMargin!, BottomMargin!

Remarks

This statement establishes margins on any or all sides of the selected printer. All subsequent XPRINT operations are "clipped" on these boundaries, so that no additional text or graphics are written in these protected areas.

Each of the 4 parameters is specified in the PAGE UNITS currently in effect. However, as this changes the target space available to you, the page units are immediately set to pixels/points. The upper left corner of the clip area is now addressed as point (0,0), while the right and bottom limits are reduced by the size of the margins. If you would prefer to use new Scaled Page Units for this revised clip area, you must executes a new XPRINT SCALE.

XPRINT SET CLIP is particularly useful for displaying text, where enclosing "white space" improves the appearance a good deal.

You can disable a clip area by executing XPRINT SET CLIP 0,0,0,0.

See also | XPRINT GET CANVAS, XPRINT GET CLIENT, XPRINT GET SCALE, XPRINT SCALE