When doing landscape printing the margin are computed
wrongly. When in landscape mode the only W/H values
that are swapped in the printInfo are in the
printPageSize. This means that the margin computation
in printableArea is swapped.
The attached patch fixes the problem, but might not be
the best way to do it.
-- Lennart (email@example.com)