[cups] client-error-attributes-or-values-not-supported

Paul van der Vlis paul at vandervlis.nl
Thu Mar 23 15:48:13 PDT 2017


Op 23-03-17 om 19:14 schreef Helge Blischke:
> 
>> Am 23.03.2017 um 15:16 schrieb Paul van der Vlis <paul at vandervlis.nl>:
>>
>> Hello,
>>
>> A customer has problems with this PDF:
>> http://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CELEX:32009L0141&from=EN
>>
>> If it's printed with Evince, there is no "job" in cups created. Other
>> PDF's are printed without problems.
>>
>> In the log I see this:
>> localhost - - [23/Mar/2017:14:25:39 +0100] "POST /printers/lexmark-zw
>> HTTP/1.1" 200 45052 Print-Job
>> client-error-attributes-or-values-not-supported
>>
>> And is there a good way to validate a PDF?
>>
>> With regards,
>> Paul van der Ulis
> 
> Printing this file with Evince 3.10.3 (on Peppermint six OS, a Linux distribution) generates the following entries in
> /var/log/cups/error_log:
> 
> D [23/Mar/2017:18:58:47 +0100] Print-Job ipp://localhost:631/printers/peppermint-preview
> D [23/Mar/2017:18:58:47 +0100] [Job ???] Auto-typing file...
> I [23/Mar/2017:18:58:47 +0100] [Job ???] Request file type is application/pdf.
> D [23/Mar/2017:18:58:47 +0100] Print-Job client-error-attributes-or-values-not-supported: Bad job-name value: "job-name": Bad name value "CELEX%3A32009L0141%3AEN%3ATXT.pdf — Commission Directive 2009/141/EC of 23 November 2009 amending Annex I to Directive 2002/32/EC of the European Parliament and of the Council as regards maximum levels for arsenic, theobromine, Datura sp., Ricinus communis L., Croton tiglium L. and Abrus precatorius L.Text with EEA relevance" - bad length 329 (RFC 2911 section 4.1.2).
> E [23/Mar/2017:18:58:47 +0100] [Client 22] Returning IPP client-error-attributes-or-values-not-supported for Print-Job (ipp://localhost:631/printers/peppermint-preview) from localhost
> D [23/Mar/2017:18:58:47 +0100] [Client 22] Content-Length: 858
> ~                       
> 
> (printed using cups 1.7.2)

I get the same errors.

> As you see, the title string is far too long with respect to the IPP specification. 

I see the title string is very long, but I don't know the IPP specs.

I even did not know that the title is something else then the filename,
ahum.

> Try to print it using e.g.
> the Gnome document viewer, which works perfectly.

So far I know Gnome document viewer is the same as Evince. Maybe you use
a newer version as I do. I can try another PDF viewer.

Thanks for you help!

With regards,
Paul van der Vlis.


-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/




More information about the cups mailing list