Sets page margins (distance from the edge of the page) for barcode and text placement. Default margins are 0.2 inch from each edge of the page.
To set the same margins on all sides
margins AllMargins
To set different horizontal and vertical margins
margins HorzMargins, VertMargins
margins HorzMargins:VertMargins
To set different margins on some or each side
margins [left=LeftMargin] [,top=TopMargin] [,right=RightMargin] [,bottom=BottomMargin]
margins LeftMargin, TopMargin, RightMargin, BottomMargin
margins LeftMargin:TopMargin:RightMargin:BottomMargin
AllMargins
Left, top, right, bottom margins
HorzMargins
Left and right margins. Implicit (first position out of two)
VertMargins
Top and bottom margins. Implicit (second position out of two)
LeftMargin
Left margin. Explicit or implicit (first position or four)
TopMargin
Top margin. Explicit or implicit (second position out of four)
RightMargin
Right margin. Explicit or implicit (third position out of four)
BottomMargin
Bottom margin. Explicit or implicit (fourth position out of four)
Refer to the Page Placement diagram
Command is applied to all barcode and text commands that follow margins command.
Command is in effect until another margins command.
Command with explicit parameters modifies only specified margins.
target parameter of barcode or text commands overrides values specified in margins command.
Format |
Meaning |
Italic |
Information
that the user must supply |
Bold |
Elements that the user must type exactly as shown. |
Between brackets ([]) |
Optional
items |
Ellipsis (...) |
Parameter that can be repeated several times |