Version: (using KDE 4.0.3) Installed from: SuSE RPMs Compiler: gcc (SUSE Linux) 4.3.0 OS: Linux I have some PDFs which have an user and owner password set. I can open them with okular just fine (after entering the owner pw). As I want to remove the password I want to print them in a pdf, but this does not work. Printing a pdf from okular into a pdf results in a postscript file. I can convert this file without any problems with ps2pdf. In other applications the print dialog is able to print into a pdf ... The same has been reported at https://bugzilla.novell.com/show_bug.cgi?id=378108
Are you using Qt 4.4 for that okular build?
I am using Qt-4.4.0_snapshot-20080325 I think. # ldd /usr/bin/okular | grep -i qtcore libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb7eef000) # rpm -qf /usr/lib/libQtCore.so.4 libqt4-4.3.93.20080325-1
Not an okular bug, we don't activate the print to file options, but Qt 4.4 has a bug that does not respect that and still shows the options.
OK, may I reopen this as a feature request? With my kpdf 0.5.9 from KDE 3.5.9 I can print a password protected pdf without any problems into a new pdf. For me this an essential feauture.
You might, but do not hold your breath. kpdf/okular has never known how to print to pdf, it was KDE 3 printing libraries doing the conversion from ps (that is what we print) to pdf.
But is there any specific problem that made you choose to disable the "Print to file" option? Activating this wouldn't be enough to enable us to print PDF files to PDF? I have exactly the same problem than Felix. I get my credit card bills in password protected .PDF files, but I prefer to archive them without the password protection, so I usually print the password protected .PDF to another .PDF file. With Okular, it's not possible to do that anymore.
Oh yeah we are dumb and did not realize that just activating the option would make it work, err wait, no, we are not THAT dumb.
And is there any reason to be that aggressive with users just because they ask POLITELY if there's any specific reason to disable this option, as you said you opted to do? You'd better just stay with you mouth shut if you don't want to answer a question.
The reason to be agressive is because you were agressive. Want to know why it does not work? I already said why, maybe you should read comment #5
I really do not see where or how I was aggressive. You said neither kpdf nor okular know how to print into pdf and that the translation from .ps to .pdf is done by kde printing libraries. However, kpdf is able to print into pdf using the "print to file" option and kde printing libraries services. Better stil, Okular can do that too using the very same "print to file" option, as long as the loaded file is not .pdf already, because in this case the option is disabled. For some reason that's not clear to me, otherwise I would not have asked, you say you have intentionally disabled the "print to file" option. Once this option does work nicely for printing into PDF, as long as the input file is not PDF, why should it be clear to anyone the reason why this very option can't be used to print pdf files into pdf? I'm really trying to understand and maybe help if I can and never intended to offend or blame anyone for anything.
"You said neither kpdf nor okular know how to print into pdf and that the translation from .ps to .pdf is done by kde printing libraries." No, i said KDE ->3<- libraries do the translation, note Okular is not a KDE 3 application. "Better stil, Okular can do that too using the very same "print to file" option, as long as the loaded file is not .pdf already, because in this case the option is disabled." Because as said the pdf backend of Okular only knows printing to PS "For some reason that's not clear to me, otherwise I would not have asked, you say you have intentionally disabled the "print to file" option." Maybe because it does not work? "I'm really trying to understand and maybe help if I" Good, more manpower :-) Join the kde print mailing list and say you want to help transforming Okular PS output to PDF.
I really like to have print to PDF support in Okular for PDF files. It's quite handy as I used KPDF so far to add margins to some PDF files to make them A4 format. Now this isn't possible with 4.1.2 (Gentoo).
same problem here. okular just print to A4. And it doesn't save the options. It doesn't respect the default options set in cups (like duplex).
(In reply to comment #13) > same problem here. okular just print to A4. And it doesn't save the options. > It doesn't respect the default options set in cups (like duplex). Those have nothing to do with this bug report.