SDG command to get printed tag count while printing not working.

A Axel FOODLES 3 years 7 months ago
27 0 0

Hello, I am using the java sdk to connect and send zpl commands to a R110Xi4 printer.
To get the printed tag count I used :

SGD.GET("odometer.rfid.valid_resettable", connection, 1000, 1000).toInt()

It works fine when I first connect to the printer, but after I send a zpl print job or while the printer is printing the functions returns an empty string or a "?".
To get the tag count again, I have to close the connection to the printer and reconnect.
Is there a solution for this problem?

I connect to the printer with the TcpConnection class. TcpConnection (Zebra API (build v2.11.2800))

Many thanks for your help in advance.
Best regards

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