How to send configuration commands to ZD410 on macOS

I need to activate Bluetooth on ZD410 (USB) printers and I need to send the following commands:

 

! U1 setvar "bluetooth.enable" "on"

! U1 setvar "bluetooth.discoverable" "on"

! U1 do "device.reset" ""

 

I tried to use CUPS in order to change the printer driver to RAW and use the LP command under Terminal to send a text file with those commands but it did not work.

 

Is there a way to establish the connection using a UNIX Terminal (Telnet, ...) in order to send those commands without using a PC under Windows and the Setup app?

 

FYI, a Zebra partner developed a OS X app a while ago but the app crash under macOS 10.12.6.

 

Zebra Setup Utilities for OSX - YouTube

 

Thanks in advance.