Thanks for your answer.
In the meantime I have added a line for the Top margin, and one for Unit of Measure, now it seems to work.
Print to file is not that easy, my code is running on a PLC.
But I'm still not happy about the print quality, the text looks grey instead of black. I have one PJL...