Rotates page layout according to selected paper orientation when printing through CUPS backend (#420335).