Printing Functions 3-13
Example VB.NET
Import Ultra
Dim rPrint As New Print ' Instantiate class
Dim nStat As String
nStat = Convert.ToString(rPrint.LastPrintStatus())
If (rPrint.LastPrintStatus <> 0) Then ' Print Status
MsgBox(nStat, MsgBoxStyle.Exclamation, "Print Error")
End If