Mailinglist Archive: opensuse-bugs (4510 mails)

< Previous Next >
[Bug 964184] different CUPS versions result different printout when wrong printing options are specified
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 09 Feb 2016 13:03:48 +0000
  • Message-id: <bug-964184-21960-r9VZT0ibLf@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=964184
http://bugzilla.suse.com/show_bug.cgi?id=964184#c6

Johannes Meixner <jsmeix@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|CUPS sends invalid |different CUPS versions
|orientation-requested IPP |result different printout
|parameter value, producing |when wrong printing options
|scaled and shifted |are specified
|printouts |

--- Comment #6 from Johannes Meixner <jsmeix@xxxxxxxx> ---
I found out that with CUPS 1.5.4 '-o fit-to-page' does not rotate the content.
With CUPS 1.5.4 '-o fit-to-page' only scales and centers the content.

With CUPS 1.5.4
lp -d testq -o fit-to-page original.pdf
works as expected but
lp -d testq -o fit-to-page -o orientation-requested=0 original.pdf
results no rotation but it gets scaled for A4 paper in landscape
orientation (i.e. too big for A4 paper in portrait orientation).

Note that the CUPS 1.5.4 output of
lp -d testq -o fit-to-page -o orientation-requested=0 original.pdf
is not "wrong" - it is just a random result when wrong options
are used (i.e. it is an implementation detail what the result is).


With CUPS 1.7.5 (on my SLES12 machine)
both
lp -d testq -o fit-to-page original.pdf
and
lp -d testq -o fit-to-page -o orientation-requested=0 original.pdf
rotate, scale, and center it onto A4 paper in portrait orientation
(both result identical output file).


Note that the CUPS 1.5.4 output of
lp -d testq -o fit-to-page -o orientation-requested=0 original.pdf
is not "wrong" and the CUPS 1.7.5 is "right" - it is just
a random result when wrong options are used (i.e. it is
an implementation detail what the result is).


Accordingly I change the issue subject from
"CUPS sends invalid orientation-requested IPP parameter value,
producing scaled and shifted printouts"
to
"different CUPS versions result different printout
when wrong printing options are specified"


By the way:
I do not think that it is CUPS that sends an invalid orientation-requested
value - I think that value originated from okular and CUPS only forwards
the print job with its option values as it was created by okular.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >