DotMatrix Property

Microsoft Word Visual Basic

True if the printer type for the specified custom label is dot matrix. False if the printer type is either laser or ink jet. Read-only Boolean.

Example

This example displays the name and printer type of the first custom mailing label.

Dim mlTemp As MailingLabel

Set mlTemp = Application.MailingLabel
If mlTemp.CustomLabels.Count >= 1 Then
    If mlTemp.CustomLabels(1).DotMatrix = True Then
        MsgBox mlTemp.CustomLabels(1).Name & " is dot matrix"
    Else
        MsgBox mlTemp.CustomLabels(1).Name _
            & " is laser or ink jet"
    End If
End If