Reporting Print Status: "Printed 45 of 50 labels"

Label printing integration (NiceWatch middleware and ActiveX programming interface)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
jasonkhonlaw
Newcomer
Posts: 4
Joined: Wed Jul 17, 2019 9:55 pm

Reporting Print Status: "Printed 45 of 50 labels"

Post by jasonkhonlaw » Mon Jan 11, 2021 4:21 pm

We have a requirement for our Manufacturing system to log the actual print status of a label print job. For example, we need to be able to say “45 of 50 labels printed successfully.” (not just how many were requested)
The NiceLabel print history doesn’t provide this information nor is that information available through the SDK. It doesn't provide this information, although we aren't even able to get the Spool Status through the SDK event handlers, those handlers never fire despite the MonitorSpoolJobStatus being set to ‘true’ (however, the Print Status event handler works and reports back as “Completed”).

When monitoring the print queue in Windows using the System.Print library, the print jobs go in and out of the queue almost instantaneously, so monitoring how many labels have printed doesn’t seem possible.

Does anyone have any suggestions on how to get the detailed print job status (“Printed X of Y labels successfully”).

Thank you!

User avatar
Kyleodonnell
NiceLabel Support
NiceLabel Support
Posts: 688
Joined: Mon Aug 28, 2017 3:07 pm

Re: Reporting Print Status: "Printed 45 of 50 labels"

Post by Kyleodonnell » Tue Jan 12, 2021 3:00 pm

Jason

This type of info would not be available to us as we can only print on certain things from the print spooler, knowing how many labels that were printed would be something that would have to be exposed to use. We recommend posting in the new ideas section of the forum viewforum.php?f=12

Rainer
Newcomer
Posts: 4
Joined: Mon Oct 15, 2018 1:03 pm

Re: Reporting Print Status: "Printed 45 of 50 labels"

Post by Rainer » Tue Jan 19, 2021 8:05 am

Hi there,
If the printer is connected via Ethernet, you can use the action "Send data to TCPIP address" with different printer models e.g. Zebra or Sato to send a command to the printer and the printer will respond with the number of labels still to be printed.

further help from
Rainer Huwer
reconon GmbH
Anschrift: Julius-Probst-Str. 1, DE-66459 Kirkel-Limbach
Telefon: +49 6841 7777-834
Telefax: +49 6841 7777-839
Mobil: +49 1761 6777-834
E-Mail: rainer.huwer@reconon.de
Home: www.reconon.de

Post Reply