PrintLabelX:

object.PrintLabelX (TopMargin As Double, SideMargin As Double, VertPitch As Double, HorPitch As Double, _
Height As Double, Width As Double, NumberAcross As Integer, NumberDown As Integer, ByVal UDT As Variant)

Use this method to print labels that are not listed in this component. If you have the code for your label, you can use Microsoft Word, for example, to determine the dimensions of your label by going in the "Details" section for labels.

The data to be printed is in a user-defined type (UDT). In this component there is a built-in user-defined type (UDT) called "info" which has up to 15 members named info1, info2,..., info15 of data type string.

You must specify the dimensions.
See
figure1

object.adjustHeight = 0.2
object.adjustLeft = 0.5
object.Grid = True
object.PrintLabelX 0.83, 0.16, 1.33, 4.19, 1.33, 4, 2, 7, infogen()

 

Figure 1

Label dimensions

 

BACK