Unable to call or trigger C# method when printed label removed from ZEBRA ZD621 printer.

// Expert user has replied.
s suresh Amsala 6 months 3 weeks ago
80 3 0

Hi All,

I am using ZEBRA ZD621 printer and connected to my machine via USB.

I am sending 5 labels to the printer, with the first one made available on the peeler. As user physically remove each label, My C# application needs to detects the label being removed and places the check mark in each successive checkbox.

But I am unable to trigger or call the event in application immediately when user remove label from the printer.

Can someone help me.

Thanks.

Please register or login to post a reply

3 Replies

S Steven Si

Does the printer have a peeler installed with? The peel-off configuration on the printer goes hand in hand with a peeler installed on the printer. If a peeler is not installed on the printer, the sensor.peeler won't be able to detect if a label needs to be removed from the peeler.

If a peeler is installed and the printer is configured as peel-off, you can use the sensor.peeler SGD to check if a label on the peeler needs to be removed. Alternative, you can use the device.host_status SGD to check for the peel-off status as well.

s suresh Amsala

Hi Steven, Thanks for your reply.

Yes, peeler was installed and configured as peel-off. I successfully achieved this by using "odometer.total_label_count" and sensor.peeler but looping and waiting until to complete all labels printing is eating performance. But the question is in which event I have to check this because if a label is printed and placed on sensor but user was not removed immediately, he removed label from printer after 15 mins. So, I think running or looping application until that time is not a good idea.

So, I am trying an event to call when the user peel-off label from the printer. Like from C# when user clicked on button the button click event will trigger.

S Steven Si

There is no event driven peel-off notification. We will have to query the status of the sensor.peeler in order to know if the label is removed or not. Sine your use case is depending on the removal of the label, it should not matter to loop through the sensor.peeler SGD with a 1 second interval until the sensor.peeler is clear.

CONTACT
Can’t find what you’re looking for?