Bug ID: 383274
           Summary: failure printing via CUPS when document name contains
                    non-ASCII characters
           Product: okular
           Version: 0.26.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: printing
  Target Milestone: ---

OS Opensuse 42.2 Leap, latest patches applied.
  rpm -q --whatprovides /usr/bin/okular

  okular --version
  Qt: 4.8.6
  KDE Development Platform: 4.14.25
  Okular: 0.26.1

When a PDF document contains Umlauts in the print job name, printing via CUPS
fails with an error message in /var/log/cups/error_log:

Create-Job client-error-attributes-or-values-not-supported: Bad job-name value:
"job-name": Bad name value "Allgemeine Geschäftsbedingungen für den
elektronischen Geschäftsverkehr" - bad UTF-8 sequence (RFC 2911 section 4.1.2).
[Client 18] Returning IPP client-error-attributes-or-values-not-supported for
Create-Job (ipp://localhost:631/printers/kopierer) from localhost

The problem seems to be that the Umlauts in there are not UTF-8 encoded.
Since I have no control over the job name (filename is e.g. x.pdf)

Printing the same document via e.g. evince succeeds:
[Job 51] job-name="51 - Allgemeine Geschäftsbedingungen für den
elektronischen Geschäftsverkehr"

Here the Umlauts seem to be properly UTF-8 encoded.

You are receiving this mail because:
You are the assignee for the bug.

Reply via email to