Quantity Property

Syntax

Object.Quantity
Type = short, read/write

Description

The Quantity property is a read/write property that sets the amount of labels to print. The default for this property is one. The Quantity of labels is used to increment serial numbers and other incrementing fields.

When using this property with a label that has an incrementing or decrementing serial number, it is important to note that changing this property DOES NOT create duplicate serial numbers. To create multiple copies of labels with identical serial numbers use the Duplicates Property.

Example

'This example ends up producing 10 labels
'with 2 duplicates of any incrementing or decrementing number
ClientX1.SetLabelName  "Label1.lwl"
ClientX1.SetData 0, "ABC-123"
ClientX1.Quantity = 5
ClientX1. Duplicates = 2
ClientX1.PrintJob

See also:

Duplicates

Pages