Re: weird KDE printing Problem
- Date: Sat, 19 May 2018 02:01:04 +0200
- From: Norbert Zawodsky <norbert@xxxxxxxxxxx>
- Subject: Re: weird KDE printing Problem
It is always important to me to help if I can! So I will run these tests
with Qt 5.11
But give me some time. I'm pretty sure I won't find the time before next
week wednesday / thursday..
Am 2018-05-19 00:44 schrieb Michael Weghorn:
thanks for the additional information.
Could you possibly do a test whether the problem is fixed with the
upcoming Qt version 5.11 from upstream?
Release candidate 2 has just been released.
You can e.g. download an installer (seems to be available for 64-bit
only) for GNU/Linux from
"qt-opensource-linux-x64-5.11.0-rc2.run"). This can be run as a normal
user and be installed anywhere for testing, e.g. I quickly tested with
the preselected "$HOME/Qt5.11.0/" (make sure that "Desktop gcc 64 bit"
is selected for installation).
It won't affect any applications by default, since the system Qt version
will continue to be used instead.
In order to test an application with this Qt version, you need to start
it from the command line with the environment variable 'LD_LIBRARY_PATH'
set to the directory where the corresponding shared libraries are
located, e.g. for my case this was running the following command from
Does your problem problem still occur with this Qt version?
(To verify that the new Qt version is actually used, you can e.g. check
that a new "Advanced" tab is there in addition to the "Page" and "Job
Options" ones after clicking on the "Properties" button in the print
On 2018-05-15 11:49, Norbert Zawodsky wrote:
I followed your suggestion regarding LogLevel debug:
I opened a small PDF with okular, Ctrl-P, Printdialog, selected printer
CP3525, Preselected paper-size was "Letter", changed to "A4", OK,...
The argv line in cups-log says:
D [15/May/2018:11:08:28 +0200] [Job 10104] argv="Collate finishings=3
fit-to-page HPBookletScaling=FitPage HPColorSmart=Manual
HPTextRGB=VividSRGB job-billing media=Letter number-up=1
number-up-layout=lrtb outputorder=normal page-bottom=12 page-left=12
page-right=12 page-top=12 portrait print-color-mode=blue
time-at-processing=1526375308 Duplex=DuplexNoTumble PageSize=Letter"
So the wrong PageSize is passed to cups
Printing the same PDF by "lpr -P CP3525 my.pdf" from commandline
produves a correctly scaled A4 output and leads to this argv entry:
D [15/May/2018:11:44:05 +0200] [Job 10105] argv="finishings=3
HPBookletScaling=FitPage HPColorSmart=Manual HPTextRGB=VividSRGB
/etc/papersize is a 3 bytes file containing "a4"