SET MARGIN Set the page offset for all printed output ------------------------------------------------------------------------------ Syntax SET MARGIN TO [<nPageOffset>] Arguments TO <nPageOffset> is a positive number that defines the number of column positions to indent from the left side of the page for subsequent printed output. A negative value resets the MARGIN to zero. SET MARGIN TO with no argument resets the page offset to zero, the default value. Description SET MARGIN is valid for all output directed to the printer from console commands and @...SAY. With console output, the <nPageOffset> indent is output whenever there is a new line. With @...SAY, <nPageOffset> is added to each column value. SET MARGIN has no effect on screen output. Note: Printing with @...SAY and PCOL() with a MARGIN SET in most cases adds the MARGIN to each column position. This happens because PCOL() accurately reflects the print column position including the last <nPageOffset> output. The best approach is to avoid the use of SET MARGIN with PCOL() for relative column addressing. Examples . This example sets a page offset of 5, and then prints a list from Sales.dbf: USE Sales NEW SET MARGIN TO 5 LIST Branch, Salesman TO PRINTER SET MARGIN TO Files Library is CLIPPER.LIB.
See Also: @…SAY PCOL() SET DEVICE SET PRINTER
Pingback: CL5 Printing | Viva Clipper !
Pingback: C5 Commands | Viva Clipper !