I have isolated the functions that require the RawBT application to run continuously in the background into a separate application.
With this server, you can use a single printer from all devices on your local network.
Access to the printer via a local network using the direct printing protocol (port 9100).
API access via a web socket (port 40213)