[Bug 1015478] New: printing an a4 pdf from okular comes out scaled down to apprx a5
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478 Bug ID: 1015478 Summary: printing an a4 pdf from okular comes out scaled down to apprx a5 Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Printing Assignee: jsmeix@suse.com Reporter: per@computer.org QA Contact: jsmeix@suse.com Found By: --- Blocker: --- Printing an A4 size PDF from okular comes out scaled down to what looks like A5, but with about 2cm truncated on the right. Printing to this printer via our local printserver works fine from other systems - Windows, openSUSE 10/12/13 and Leap421. The Leap422 installation is vanilla, not much changed. Printer is a Kyocera C5015N. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c1
Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c2
--- Comment #2 from Per Jessen
See https://en.opensuse.org/SDB:How_to_Report_a_Printing_Issue
Okay, good point. Printer model = Kyocera FS-C5015N. Connection = ipp://192.168.2.128:631/printers/Kyocera Drivers = (no files in /etc/cups/ppd). opensuse version = leap422.
When it happens for all PDFs only when printing from okular it is most likely an issue in okular or in whatever lower level tool or library that is called by okular to create its printing output.
I have sofar only noticed the issue when printing PDFs from Okular, at least two different ones. (one from libreoffice, one was an airline boarding pass). I have also noticed that the information presented in the window "System Settings->Printers->Kyocera" is missing some info when compared to the same on Leap421. I'll attach some screenshots in a minute. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c3
--- Comment #3 from Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c4
Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c5
--- Comment #5 from Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c6
--- Comment #6 from Per Jessen
Without a PPD the print queue does "raw" printing, cf. https://en.opensuse.org/SDB:CUPS_in_a_Nutshell#.22raw.22 which means no filtering software is run on the system where the print queue is - instead the print job data from the printing application is sent directy as is to the printer device.
Okay. (I thought the driver set up on the CUPS server would be in the mix too).
Accordingly this issue is not an issue in the printing system (i.e. CUPS plus filters and printer drivers) but either an issue in the printing application or an issue in the printer device.
Given that other systems (openSUSE 12.3, 13.1, Leap421) work fine, it must mean it is a problem in the application. I guess I should try other applications too - Libreoffice for example.
I guess what looks like an a4 PDF (from okular) is not really A4 but a bit larger and then in the printer device it gets downscaled to get the whole content within the imageable area of the paper.
It is odd that the same happens to other (supposedly) A4-sized PDFs, from different producers: Libreoffice, Nitro Pro 10, PDF24 Creator and more.
See the documentation of your printer device how it behaves when it gets contant that does not fit within the imageable area of the paper and how you can adjust that printer device behaviour.
Because it works for other systems, I really don't want to start adjusting any of our printers. They're clearly working fine, except with Leap422. To get a PDF printed correctly, I only need to print the same PDF from a non-Leap422 desktop.
The crucial part is to find out whether or not the application's PostScript or PDF output that is submitted to CUPS for printing fits in the printable area of the particular printer.
In that article see in particular the section about
Debugging issues with "landscape printing"
It describes how you could get the actually imaged/printed area of a PostScript or PDF file by using the Ghostscript 'bbox' device that shows the actually used BoundingBox (and not whatever possibly wrong value a BoundingBox comment in the file or other things like that may tell).
Okay, sounds interesting. I'll try that. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c7
--- Comment #7 from Per Jessen
It describes how you could get the actually imaged/printed area of a PostScript or PDF file by using the Ghostscript 'bbox' device that shows the actually used BoundingBox (and not whatever possibly wrong value a BoundingBox comment in the file or other things like that may tell).
Okay, sounds interesting. I'll try that.
I'm not sure what to look for, but the boundingbox of three different documents
(created with Libreoffice, Nitro Pro 10, PDF24 Creator) looks the same on
openSUSE 13.1 and Leap422 - they're portrait (width
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c8
--- Comment #8 from Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c9
--- Comment #9 from Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c10
--- Comment #10 from Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c11
--- Comment #11 from Per Jessen
Per Jessen, in particular check on your CUPS server whether or not the PDFs from Leap-42.2 are processed with the same filtering programs as other PDFs from non-Leap-42.2 systems.
To see what filtering programs are run I use # grep PID /var/log/cups/error_log (with LogLevel debug").
From Leap422: I [16/Dec/2016:16:34:41 +0100] [Job 2177] Started filter /usr/lib/cups/filter/pstops (PID 30815) I [16/Dec/2016:16:34:41 +0100] [Job 2177] Started backend /usr/lib/cups/backend/http (PID 30816) D [16/Dec/2016:16:34:47 +0100] PID 30814 (/usr/lib/cups/filter/gziptoany) exited with no errors. D [16/Dec/2016:16:34:48 +0100] PID 30815 (/usr/lib/cups/filter/pstops) exited with no errors. D [16/Dec/2016:16:34:50 +0100] PID 30816 (/usr/lib/cups/backend/http) exited with no errors.
From openSUSE 13.1: I [16/Dec/2016:16:35:32 +0100] [Job 2178] Started filter /usr/lib/cups/filter/pstops (PID 30836) I [16/Dec/2016:16:35:32 +0100] [Job 2178] Started backend /usr/lib/cups/backend/http (PID 30837) D [16/Dec/2016:16:35:38 +0100] PID 30836 (/usr/lib/cups/filter/pstops) exited with no errors. D [16/Dec/2016:16:35:40 +0100] PID 30837 (/usr/lib/cups/backend/http) exited with no errors.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c12
--- Comment #12 from Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c13
--- Comment #13 from Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
Otmar Stahl
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c14
--- Comment #14 from Otmar Stahl
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c15
Volker _
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c16
Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c17
Wolfgang Bauer
Problem persists with most recent updates. Okular 16.08.2
Erm, you changed the version to Leap 42.3, but that comes with Okular 17.04.2. So which one is it now? ;-) Anyway, your problem may be caused by https://bugs.kde.org/show_bug.cgi?id=383734, which should be fixed in 17.08.1. Have you tried that version already? (available in Tumbleweed and KDE:Applications) If not, I prepared testing packages for 42.2 or 42.3 with that fix applied: https://download.opensuse.org/repositories/home:/wolfi323:/branches:/OBS_Mai... Please report back whether that helps. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c18
Per Jessen
(In reply to Per Jessen from comment #16)
Problem persists with most recent updates. Okular 16.08.2
Erm, you changed the version to Leap 42.3, but that comes with Okular 17.04.2. So which one is it now? ;-)
Ah, sh... I was sure the laptop had been upgraded to 42.3, but I've just double-checked. Still 42.2. Sorry.
Anyway, your problem may be caused by https://bugs.kde.org/show_bug.cgi?id=383734, which should be fixed in 17.08.1.
Have you tried that version already? (available in Tumbleweed and KDE:Applications) If not, I prepared testing packages for 42.2 or 42.3 with that fix applied: https://download.opensuse.org/repositories/home:/wolfi323:/branches:/ OBS_Maintained:/okular/
That's great, I'll try it out. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c19
Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c20
Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c21
Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c22
Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478
http://bugzilla.opensuse.org/show_bug.cgi?id=1015478#c24
Fabian Vogt
(In reply to Fabian Vogt from comment #22)
https://phabricator.kde.org/D10974 (or https://phabricator.kde.org/D7949 and https://phabricator.kde.org/D7962) might fix this.
As a workaround, using qpdfview should work.
I did a backport of the first patch - please have a try with the new option in the print dialog: https://software.opensuse.org//download. html?project=home%3AVogtinator%3Aboo1015478&package=okular
No response - closing. If you want to have this fixed in Leap 15.1+, please try it and reopen. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com