https://bugs.kde.org/show_bug.cgi?id=426652

            Bug ID: 426652
           Summary: Orientation option is set to 0 and causes error
                    message in Status Message queue for CUPS
           Product: print-manager
           Version: 20.08
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dantt...@gmail.com
          Reporter: siloco...@gmail.com
  Target Milestone: ---

Created attachment 131729
  --> https://bugs.kde.org/attachment.cgi?id=131729&action=edit
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)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to