minimum.y seems to be negative. Therefore substracting leeds to an error. The used values worked on my printer.