It's simple
If you connect over usb then send the TSPL command using that usb
If you use Bluetooth then sent data to it..
I do this many times no need specifically package.. just need package yo connect to Bluetooth or USB or serial port