libreoffice printing portrait as landscape

From: Gary Aitken <freebsd_at_dreamchaser.org>
Date: Tue, 02 Jan 2024 04:31:09 UTC
I've had a problem for some time with 12.4, and after upgrading to
13.2 still have the same problem:

Libreoffice, and only libreoffice, prints portrait as landscape.
If I have it print to file and then print the pdf via xpdf, it
prints fine as landscape.  Printing is via cups.

13.2-RELEASE-p8 FreeBSD 13.2-RELEASE-p8 GENERIC amd64
libreoffice-7.6.2.1

Is anyone else seeing this problem, or even printing from libreoffice?

Thanks,

Gary