Set label width

Command group Flag affected Reversible Execute on client Platform(s)
Report parameters NO NO NO All

Syntax

Set label width ([Measurement in cms]) {measurement-in-inches/cms}

Options

Measurement in cms If specified, the measurement parameter is a value in centimetres rather than inches

Description

This command specifies the width of the labels when printing labels. It overrides the value set in the report parameters dialog until the current report is next reset. The width is measured from the edge of one label to the corresponding edge of the next.

You can set up the vertical spacing between labels using Set record spacing.

Example

# Print labels with a width of 4.5 cms
Set report name rLabels
Set labels across page {4}
Set record spacing {3}
Set repeat factor {2} ## two of each label
Set label width (Measurement in cms{4.5}
Print report ## default measurement is inches

# Alternatively, you can use notation to set the label width
Do $clib.$reports.rLabels.$labelwidth.$assign(4.5)