3-12 Programmer’s Manual
LastPrintStatus
Description
Retrieves status of the last MPCL packet processed by the Print Engine.
Syntax
public int LastPrintStatus
Parameters
None
Return Values
0
Successful.
703-793
A motion control error occurred. After the operator corrects the
printer condition, the application must call ClearError to reset the
Motion Control subsystem. Refer to the 6039 Packet Reference
Manual for more information.
Other
non-zero
Error has occurred. Refer to the 6039 Packet Reference Manual
for more information.
Example C#
using Ultra;
{
Ultra.Print rPrint = new Print(); //Instantiate class
if (rPrint.LastPrintStatus != 0) // Print Status
MessageBox.Show(rPrint.LastPrintStatus.ToString(), "Print
Error", MessageBoxButtons.OK,MessageBoxIcon.Exclamation,
MessageBoxDefaultButton.Button1);
}