Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SET MARGIN Command

Sets the left printer margin and affects all output directed to the printer.


SET MARGIN TO nColumns

Parameters

nColumns

Specifies the left margin in columns. The default is 0 columns; the maximum is 256.

If you use SET MARGIN to adjust the left margin, the value specified with SET MARGIN is stored to the system variable _PLOFFSET. You can also set the left margin by storing a value directly to _PLOFFSET. The value of the system variable _LMARGIN also affects the left margin setting.

NoteNote

The left margin setting specified in SET MARGIN does not affect reports created with the Report Designer or Label Designer and then run with a REPORT FORM or LABEL command. The Left Margin setting in the Report Page Setup dialog box in the Report Designer determines the offset from the left edge of the paper. For more information, see Report Page Setup Dialog Box and Page Layout Tab, Report Properties Dialog Box (Report Builder).

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.