Page 1 of 1

More feedback from niceApp.JobRun - Printing JOB file

Posted: Thu Dec 04, 2014 2:35 pm
by homebunny
Hi,

When executing following code:

Code: Select all

Dim niceApp As New NiceLabel6WR.NiceApp
Dim niceLbl As New NiceLabel6WR.NiceLabel
Dim result als Boolean

result = niceApp.JobRun(sFullPath)
We get the result as a boolean.
When TRUE obvious the file has printed successfully.
WHEN FALSE; How can we found out the error/reason (if there was any) why printing the JOB file has failed?

Many thanks.

Re: More feedback from niceApp.JobRun - Printing JOB file

Posted: Mon Dec 08, 2014 11:31 am
by Dennis Ehmig
Hi,

the properties ErrorID, ErrorMessage and DetailedMessage should give you some sort of feedback what happened. For more information have a look at page 22/23 in the programming guide.

Hope this helps. :)

Re: More feedback from niceApp.JobRun - Printing JOB file

Posted: Mon Dec 08, 2014 1:20 pm
by homebunny
Works perfect, thanks for the feedback.