Created attachment 131729 [details] Example when using GTK system-config-printer SUMMARY The print manager has no job options setting and the orientations is set to 0 causing an error message to appear in the printer job queue. STEPS TO REPRODUCE 1. Install printer using CUPS 2. Start print job 3. Immediately watch queue message. OBSERVED RESULT Prints the job but shows following error message in Status Message "Bad value (0) for orientation-requested, using 0 degrees" EXPECTED RESULT 1) Print but do not show above error message. 2) Should have a Job Options setting in print manager to set orientation as well as others. SOFTWARE/OS VERSIONS Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 Kernel Version: 5.4.0-47-generic OS Type: 64-bit Processors: 8 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz Memory: 15.6 GiB of RAM ADDITIONAL INFORMATION I believe the portrait orientation should be set to 3, not 0. Here is CUPS documentation. https://www.cups.org/doc/options.html (in /etc/cups/printers.conf) Setting the Orientation The -o landscape option will rotate the page 90 degrees to print in landscape orientation: lp -o landscape filename lpr -o landscape filename The -o orientation-requested=N option rotates the page depending on the value of N: -o orientation-requested=3 - portrait orientation (no rotation) -o orientation-requested=4 - landscape orientation (90 degrees) -o orientation-requested=5 - reverse landscape or seascape orientation (270 degrees) -o orientation-requested=6 - reverse portrait or upside-down orientation (180 degrees)
Had the same problem with HP LaserJet Enterprise 700 color MFP M775 today. Had to set orientation to Landscape and back to Portrait. Was printing from Okular.
Had same problem with Lexmark MC3224DWE Linux xxx-ThinkBook-15-G2-ITL 5.13.0-46-generic #51-Ubuntu SMP Sat May 21 01:39:51 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Linux version 5.13.0-46-generic (buildd@lcy02-amd64-094) (gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.37) #51-Ubuntu SMP Sat May 21 01:39:51 UTC 2022 PRETTY_NAME="Ubuntu 21.10" NAME="Ubuntu" VERSION_ID="21.10" VERSION="21.10 (Impish Indri)" VERSION_CODENAME=impish ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=impish
Possibly related: I've noticed that on my Debian Stable system (bullseye) any attempt to print double sided from KDE apps to my Canon TS8050 inkjet results in the obverse side being printed, the paper being re-loaded, ejected, then the reverse being printed (upside down as would be expected) on a second sheet loaded from the main tray. The cups status also shows the "orientation set to 0" error message. It took me a long time to realise that only KDE apps were affected. My documents are normally LaTeX'd, but one day someone sent me a Word document which Libreoffice printed double sided no problem. A work around is not to use okular, but to use the gnome document viewer, which also prints double-sided fine.