By splitting data transmission into 20 byte chunks the API won't split anymore.
Therefore we can control the delay between each packet and let the printer work off the buffer.
Negotiating a bigger packet size would be more beneficial but seems not to be available.
With this hack the print speed is improved and a delay of 4ms seems ok. 5ms is conservative but also lowers print quality by stalling the motor.
By splitting data transmission into 20 byte chunks the API won't split anymore. Therefore we can control the delay between each packet and let the printer work off the buffer. Negotiating a bigger packet size would be more beneficial but seems not to be available. With this hack the print speed is improved and a delay of 4ms seems ok. 5ms is conservative but also lowers print quality by stalling the motor.