On 2026-03-21, didier gaumet <[email protected]> wrote: > 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 >
-o orientation-requested=3 portrait mode IPP (Internet Printing Protocol) attribute, defined in: RFC 8011 — Internet Printing Protocol/1.1: Model and Semantics (2018, the current spec), Section 5.2.13

