[Okular-devel] [Bug 254672] New: okular sets bad job-sheets value for cups printing system

p92 at free.fr p92 at free.fr
Tue Oct 19 19:44:51 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=254672

           Summary: okular sets bad  job-sheets value for cups printing
                    system
           Product: okular
           Version: 0.11.2
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: p92 at free.fr


Version:           0.11.2 (using KDE 4.5.2) 
OS:                Linux

It seems that cups refuses print jobs from okular when the page orientation
option in kde printer configuration dialog (printer task option) is changed
from the default "portrait no rotation" to another not null orientation
(90/180/270).

The error line in the cups erro log is :
Print-Job client-error-bad-request: Bad job-sheets value ""!

In this case it will be possible to get the print job accepted only in changing
the cover page options in the okular print dialog to anything other than none.

In fact, when no cover pages are requested, okular should send the string ","
instead of "" , as cups job-sheets option (the "," separator is mandatory for
cups).

Gwenview does this correctly.
Firefox has the same problem as okular.
Strangely this problem does not show up when page orientation is 0°.

Reproducible: Always

Steps to Reproduce:
1. set up a page orientation of 90/270/180° in the job tasks options of kde
printer configurator
2. use no cover pages while printing


Actual Results:  
The print job is rejected silently
Cups error log in debug mode shows :
Print-Job client-error-bad-request: Bad job-sheets value ""!

Expected Results:  
Print job accepted and processed.

OS: Linux (x86_64) release 2.6.35-22-generic
Compiler: cc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list