PDF DocumentSettings

This command sets the margins and header/footer sizes for the PDF document.

Omitted values are left unchanged. All values can be entered as floating point values. Floating point constants need to be enclosed in quotes.

The PDF DocumentSettings command should be used before the PDF BeginDocument command, otherwise some settings might not take effect.

Syntax

PDF DocumentSettings [header_height], [footer_height], [left_margin], [top_margin], [right_margin], [bottom_margin]

Synonyms

PDF DS

Parameters

The following table describes the parameters of the PDF DocumentSettings command:

Parameter Description
header_height The height of the page heading
footer_height The height of the page footing
left_margin The left page margin.
top_margin The top page margin
right_margin The right page margin
bottom_margin The bottom page margin

Related Script Commands

PDF BeginDocument

Version

6.0.2 Original version