Summary: | print pdf produces no output | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Neal Becker <ndbecker2> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | A.Fettouhi, aacid, dglent, johannes.koester, mh0122, mmtsales, postadelmaga, rdieter, tuju, w.richert, yshirman |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Neal Becker
2008-05-07 18:55:11 UTC
confirmed. See also downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=445376 > When printed, produces only a cover page. Cannot reproduce here. a) Is priting of other formats (eg PostScript, DjVu, etc) working? b) What is your Poppler-Qt4 version? > Also, 'print to file' is greyed out. Not something that depends on Okular. poppler-qt4-0.8.0-3.fc9.x86_64 Actually, if I click on the link I mentioned above, I get 'open with okular' as a choice, and if I choose that, it opens, but File/Print isn't even selectable. Only if I d/l to a local file can I even TRY to print it. > but File/Print isn't even selectable.
Fixed for KDE 4.0.4.
But it reportedly still fails to actually print. :-( Pino, what version(s) of poppler are you using that work? More testing (using kdegraphics-4.0.4 + poppler-0.8.1): * printing postscript files is all fine and dandy. prints all pages, print to file works. * printing pdf, not so. print to file (still) unavailable, and print to printer gets only 1st page. Print to file should not be available, that's not a bug. I THINK this may be the same issue (still occurring in Okular 0.6.3/KDE 4.0.4) that I came here to report. If it is, what I have been seeing is that Okular will not print the LAST page of a pdf (in which case, one-page PDF's don't print at all). Print Preview seems to work normally, and SOMETHING is getting sent as a print job (I can see the printer is receiving data, but it evidently never gets anything that compels it to spit out a page - it just reaches a "job is done" stage without printing anything.) For multi-page pdf's, all but the last page seem to print okay (at least as of last time I tried it, in the Okular shipped in KDE 4.0.3) Same pdf's print fine with Adobe's acrobat reader. If I run a non-printing pdf through pdf2ps first, the resulting ps will print from Okular. @S Clark: your problem is bug 160860. With an pdf file printing dialog of okular only offers me to print to pdf to postscript. But the only choice in the printer-drop-down-menu ist the name of my printer. And i cannto change the output file Workaround to print pdfs with okular: 1. print to pdf to postscript 2. open the postscript file with okular (perhaps you have to change the ending) 3. open print dialog 4. select "print to pdf" then select your printer 5. print. Which Qt version are you using? for me, qt-copy (qt-4.3.4 + qt-copy patches as of 2008-05-28) Albert, why shouldn't the "print to file" option be enabled? It is in all softwares I use here, but okular. In fact, it's enabled even in okular and works ok, as long as the opened file is not a PDF one. Bug still present in Beta2 When ürinting a pf okular produces a file instead of printing it. Using kde-4.0.99, plus patched qt (from bug # 162793) I can print. Looks fixed to me. I'm still seeing symptoms of bug #160860 (not all pages printing), but that's a separate issue. bug still present in kde 4.1/ opensuse 11 I think I am seeing the same bug for a while. It is present in Fedora's test packages of KDE 4.1 (okular 0.7). I can print postscript files but not pdf. PDF files are sent to printer, cups reports that they printed, printer flashes for a while and it ends there. I am also seeing what looks like a bug 167734 (which is marked as resolved) -- okular crashes on an attempt to preview print of pdf file. Because this happens only to pdf files, I thought the two could be connected, but maybe not @Thomas Kamps (comment #16): your problem is bug #162793, not this one. @Yuri Shirman (comment #19): > PDF files are sent to printer, cups reports that they printed, printer flashes for a while and it ends there. Then this is more likely a printing/cups (or similar) issue, as it indicated Okular actually do send something (as opposed to the "nothing" reported here) to the printing system. I have the same problem here on archlinux. Printing from all other kde4.1 apps works flawlessly. So it must be an okular issue I am using kubuntu hardy: If I print using "PDF" printer it does not ask anything but places a file called <title of the pdf>.pdf, which however is a Postscript. The properties (like pages per sheet) are ignored. @anybody: please please please, please, *check* whether there are no results at all, or a new PDF is written in your home directory. In case you get a PDF written, then your bug is bug #162793, not this one. There is no new PDF written in my home Directory. I can't find any files in the home directory or anywhere else created by attempt to print in okular. As mentioned earlier, I can print other formats (postscript in particular) from okular. I can also print pdf by using, say, evince -- which seems to indicate that this is not cups or not only cups problem. Yuri Shirman i have the same probleme, i cannot print the pdf documents inside konqueror okular-4.1.2-2mdv2009.0 libokularcore1-4.1.2-2mdv2009.0 I have this bug too on my debian sid x64 (i installed okular from experimental okular_4%3a4.1.96+svn911691-0r1_amd64.deb) when i push print the printer does not do anything ... (for my luck gimp can print pdf) I have the same problem with KDE 4.3.1 on Arch Linux 32bit. Printing of pdf files doesn't work properly, sometime I no output at all and other times it is messed up, e.g. the text is way off center (shifted in upper right corner). This happens both for one-page documents and documents consisting of several pages. Printing is fine in Adobe Reader and Gnome. My Printer is a Brother DCP7045N. Regards André Is this fixed in the new KDE 4.4 that is coming out next week? I still have this issue in KDE 4.3.4 on Arch Linux now 64 bit though instead. This bug is a dumping ground where everyone says "it does not work for me" but everyone is doing different things with different setups, #28 is even complaining about printing not working in his printer, wonder what does it have to do with printing to pdf. So don't expect anyone to work on "this bug" since it's so broad it is not really "a bug" anymore Then shouldn't it be marked as solved then? Unless someone can has an output or something to add? One reason seems to be a corrupted file ~/cups/lpoptions. After renaming this file okular prints fine. ~/cups/lpoptions: Default Photosmart_C7200 PageRegion PageSize=A4 sides=two-sided-long-edge å=true Dest Photosmart_C7200_fax PageSize=A4 /var/log/cups/error_log: E [04/Jan/2011:11:56:59 +0100] [Job 64] May not be a PDF file (continuing anyway) E [04/Jan/2011:11:56:59 +0100] [Job 64] PDF file is damaged - attempting to reconstruct xref table... E [04/Jan/2011:11:56:59 +0100] [Job 64] Couldn't find trailer dictionary E [04/Jan/2011:11:56:59 +0100] [Job 64] Couldn't read xref table E [04/Jan/2011:11:56:59 +0100] [Job 64] Job stopped due to filter errors; please consult the error_log file for details. ... (Kubuntu 10.10, 64bit) @brabax: Tried that but it doesn't change anything. This is fixed for me, because my issue was caused by a faulty driver for my printer. The original file from the report is gone, anyone has a file that has this problem? No answer for years. |