More feedback from niceApp.JobRun - Printing JOB file

Label printing integration (NiceWatch middleware and ActiveX programming interface)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
homebunny
Valued Contributor
Posts: 36
Joined: Wed Apr 27, 2011 1:26 pm

More feedback from niceApp.JobRun - Printing JOB file

Post by homebunny » Thu Dec 04, 2014 2:35 pm

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.

Dennis Ehmig
Addict
Addict
Posts: 157
Joined: Fri Mar 28, 2014 2:10 pm

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

Post by Dennis Ehmig » Mon Dec 08, 2014 11:31 am

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. :)

homebunny
Valued Contributor
Posts: 36
Joined: Wed Apr 27, 2011 1:26 pm

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

Post by homebunny » Mon Dec 08, 2014 1:20 pm

Works perfect, thanks for the feedback.

Post Reply