ZT410. How do I get sensor information that the label is not removed

I'm developing an application for the ZT410 printer and using .NET.

I need to get sensor data that the label is not removed.

How can I do it?

Part of code:

Connection connection = new TcpConnection("192.168.10.143", TcpConnection.DEFAULT_ZPL_TCP_PORT);

connection.Open();

Zebra.Sdk.Printer.ZebraPrinter printer = ZebraPrinterFactory.GetInstance(connection);

PrinterStatus status = printer.GetCurrentStatus();

status.labelsRemainingInBatch;

The "labelsRemainingInBatch" field only after resending to print will have a value of 1

Сообщение отредактировано: Alexey Filyaev

Andrew Stanton
I'm not familiar with the SDK

I'm not familiar with the SDK/API you are using, but in the ~HS command there is a "LabelWaiting" bit in string 2 of the response

     String 2 mmm,n,o,p,q,r,s,t,uuuuuuuu,v,www

Its the element "t". If its 1, then a label is waiting on the peel plate. Note that you must have the peel plate/sensor installed

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments