Support landscape input documents, part 4 (cups backend).
Fix for issue #16
Fix for issue #18