#803236 okular: attempting to print from okular causes printer to fail requiring reset

Package:
okular
Source:
okular
Description:
universal document viewer
Submitter:
Arthur Marsh
Date:
2015-10-28 11:03:21 UTC
Severity:
important
#803236#5
Date:
2015-10-28 10:20:45 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Attempting to print a single page of a PDF file from okular.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Attempted to print a single page in draft mode to an HP Officejet Pro 8000
 a809 with hpcups 3.14.6 using socket://192.168.1.102

The printers lights all flickered until the printer was reset by powering off.

(I am not sure if this counts as a more serious bug than I have indicated).

I printed the page of PDF from another pc (using kpdf from KDE 3.5).

The printer worked fine from CUPS' print test page option using this pc that
has okular installed.

Unfortunately the PDF contains confidential information, otherwise I would
include it. okular's file properties shows a creator of:

GMC Software AG~Inspire Designer~8.3.45.0

and PDF version 1.4.

When attempting to print I get the error message from the terminal window
where I launced okular:

okular(8338)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(8338)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(8338)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(8338)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(8338)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(8338)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(8338)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(8338)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QPrinter::setPaperSize: Illegal paper size 30

(the actual paper size is A4).

   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

#803236#10
Date:
2015-10-28 10:54:46 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

I was able to reproduce the problem with a PDF created from a non
confidential page of the original pdf using qpdf, which I've attached.

*** End of the template - remove these template lines ***