DefaultPrintBarCode Property Example

This example sets the default envelope settings to include a bar code and a Facing Identification Mark (FIM-A).

With ActiveDocument.Envelope
    .DefaultPrintBarCode = True
    .DefaultPrintFIMA = True
End With

This example displays the bar code status in a message box.

If ActiveDocument.Envelope.DefaultPrintBarCode = False Then
    MsgBox "A bar code is not included by default"
Else
    MsgBox "A bar code is included by default"
End If

Send feedback to MSDN.Look here for MSDN Online resources.