Page 1 of 1

[Solved] Opera - Print as PDF not open by Okular

Posted: 15 Nov 2013, 16:12
by firefoxjet
Hi,

I am running Porteus 2.1 64bit. I have downloaded via PPM the latest Opera 12.16 with dependences and activated all of them. All is OK but when I want to print a page as PDF from Opera (Print) and then open the produced PDF, I receive the following message from Okular: "Could not open /root/print.pdf" (that is the default location of the previously created PDF). I know I can open other PDF and all works fine with Firefox and Okular.

I know I should not run as ROOT :D and I did not test this under Guest yet, but I wonder if you can try to reproduce the same error on your installation. If all works for you, I can provide further information on my installation but it is pretty standard with only core modules downloaded from the Porteus website.

Thanks and regards.
FireFoxJet

Re: Opera - Print as PDF not open by Okular

Posted: 16 Nov 2013, 21:29
by brokenman
In which desktop does this occur?

Re: Opera - Print as PDF not open by Okular

Posted: 16 Nov 2013, 21:44
by fanthom
this is KDE4 and Okular does not support postscript files by default (deps are too big). please download 'libspectre' and deps from porteus repo and all should be ok.

btw: opera creates postscript files not .pdf (thus troubles you are experiencing).

Re: Opera - Print as PDF not open by Okular

Posted: 18 Nov 2013, 16:34
by firefoxjet
I confirm that it is KDE4. Many thanks Fanthom, installing "libspectre" now Okular works.

I was on the wrong track as the Opera "print" option allows for both PDF and PostScript generation. Now, even if I choose print as PDF from the print menu, I can see the postscript generated file with Okular even if it has .PDF extension. Of course, opening the same .PDF file with Acrobat, the error persists (as in reality, as you mentioned, it is a PostScript and not a PDF file).

Thanks again. I am marking this [Solved].

Cheers,
FireFoxJet