Thank you very much for the quick reply! This should work nicely for a first test run.
The ultimate goal here is to draw continues lines with variable speed without lifting the pen. If I understand you correctly I will have to go low level to accomplish this.
Edit: Just looked at the restful api, but couldn’t find anything useful there? Am I missing something? Do I have to go lower and write my own driver?