I am able to print USPTO PDFs fine using evince and I am able to print other PDFs using Okular, so it looks like there is something in those PDFs that Okular doesn't digest. This is the 3rd PDF from Google Patent I am trying to print and it gives me the same result. Note that when I choose to print to PDF instead of sending it to the printer, I get a blank page output. I am running on Korora 19 (a Fedora 19 spin). Reproducible: Always Steps to Reproduce: 1. Obtain PDF file 2. Open in Okular (this works) 3. Choose File > Print and click on Print Actual Results: The file is present on the print queue, but the printer doesn't print it. Expected Results: The file should have been printed.
Do you get any error message either as dialog or as text (if you open okular from a shell)? Does File -> Print Preview, work?
Created attachment 81458 [details] Output window from Print Preview
I have no errors displaying when running Okular from the shell. The print preview window gives me 22 pages of blank. I have attached a screen shot.
Which poppler version are you running? Which ghostscript version are you running?
I have poppler-0.22.1-4.fc19.x86_64 and ghostscript-9.07-10.fc19.x86_64
Ok, please try this in the shell export LANG=C okular thefile.pdf does File -> Print Preview, work now? And if it does, does regular printing work?
Hello, Nothing changed on the print preview. However, I am getting this on the console: invalidfont -10 okular(22139)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [88x124] QImage::scaled: Image is a null image invalidfont -10 okular(22139)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(22139)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [78x110] QImage::scaled: Image is a null image invalidfont -10 okular(22139)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image Marc-André LAVERDIÈRE "Perseverance must finish its work so that you may be mature and complete, not lacking anything." -James 1:4 http://asimplediscipleslife.blogspot.com/ mlaverd.theunixplace.com On Thu, Aug 1, 2013 at 4:31 PM, Albert Astals Cid <aacid@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=322943 > > --- Comment #6 from Albert Astals Cid <aacid@kde.org> --- > Ok, please try this in the shell > > export LANG=C > okular thefile.pdf > > does File -> Print Preview, work now? > > And if it does, does regular printing work? > > -- > You are receiving this mail because: > You reported the bug.
Are you sure you did the export thing right? This problem with the preview rendering seems very much like one of the bugs of gs 9.07 regarding non english locales. Are you running okular from your distro or self-compiler/via a script?
Interestingly enough, my environment is in English. But anyways, I decided to scroll down the print preview output all the way to the last page. export LANG=C && okular US20120198559.pdf invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [88x124] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [78x110] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [555x785] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image invalidfont -10 okular(31188)/okular (Spectre) GSRendererThread::run: Generated image does not match wanted size: [0x0] vs requested [53x75] QImage::scaled: Image is a null image Also, $ printenv LANG C Note that, by default, my system says $ printenv LANG en_US.UTF-8 Okular and GS are distro-provided. I am not running a custom script to get it executed. The executable on the path is the real thing. $ whereis okular okular: /usr/bin/okular /usr/share/man/man1/okular.1.gz $ file /usr/bin/okular /usr/bin/okular: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x02f87e537cc44d2fc24bd332f704b302a5011770, stripped
We tried pdftops with the file, and then opening it with gs. Gs crashed, complaining of missing fonts. We retried with a ps generated from another system that didn't have this program. The output of gs is GPL Ghostscript 9.07 (2013-02-14) Copyright (C) 2012 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Querying operating system for font files... Can't find (or can't open) font file /usr/share/ghostscript/9.07/Resource/Font/NimbusMonL-Regu. Can't find (or can't open) font file NimbusMonL-Regu. Didn't find this font on the system! Unable to substitute for font. Error: /invalidfont in /findfont Operand stack: F0_999999 1 1 --nostringval-- Courier Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1884 1 3 %oparray_pop 1883 1 3 %oparray_pop 1867 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1836 5 4 %oparray_pop Dictionary stack: --dict:1163/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)-- --dict:67/75(L)-- Current allocation mode is local Last OS error: No such file or directory Current file position is 13026 GPL Ghostscript 9.07: Unrecoverable error, exit code 1 The ghostscript-fonts package and urw fonts are all installed. Note that this folder does not exist: /usr/share/ghostscript/9.07/Resource/Font/
To be honest this seems like a fedora bug to me, i'd try to ask someone in fedora-land for help. Rex maybe you can help him?
Looks like you're hitting ghostscript bug https://bugzilla.redhat.com/show_bug.cgi?id=969660 Should be fixed by an update, https://admin.fedoraproject.org/updates/FEDORA-2013-13173/ghostscript-9.07-10.fc19
I have updated the Fedora bug that Rex Dieter pointed me to. As it is clearly a GS issue, I propose that we close the bug on Okular's side.
Thanks, will do.