Hello,
- CUPS test page being printed in portrait mode,
- lpr commands being printed in landscape mode,
- lpr seeming to be a CUPS compatibility layer to legacy Unix lpr or the
genuine legacy Unix lpr,
I wonder if you have the lpr or lprng package installed instead of the
cups-bsd package? If so, try to purge lpr or lprng to install cups-bsd...
Side note: where did you find these -o portrait and -o landscape
options? I only find these (manpage of the lpr command of cups-bsd):
[...]
-o orientation-requested=4
Prints the job in landscape (rotated 90 degrees counter-clockwise).
-o orientation-requested=5
Prints the job in landscape (rotated 90 degrees clockwise).
-o orientation-requested=6
Prints the job in reverse portrait (rotated 180 degrees).
[...]
that seems to indicate there is no option to print in portait mode ("6"
being for reverse portrait) and "4" or "5" is the way to go landscape
mode, depending on the orientation you wish for the landscape