From owner-freebsd-questions@freebsd.org Mon Apr 3 08:50:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B5CED2CF3B for ; Mon, 3 Apr 2017 08:50:00 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp205.alice.it (smtp205.alice.it [82.57.200.101]) by mx1.freebsd.org (Postfix) with ESMTP id 985377B for ; Mon, 3 Apr 2017 08:49:59 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (79.42.53.222) by smtp205.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 588F425B0F527BA9 for freebsd-questions@freebsd.org; Mon, 3 Apr 2017 10:49:52 +0200 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id v338nrPq002504 for ; Mon, 3 Apr 2017 10:49:56 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu To: freebsd-questions@freebsd.org From: Andrea Venturoli Subject: Troubles printing from Okular through cups Message-ID: Date: Mon, 3 Apr 2017 10:49:48 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2017 08:50:00 -0000 Hello. As per subject, I've got a problem printing a specific document: I get no error, nothing at all, but no pages come out of the printer (which normally prints other documents). I pinpointed this to a job name encoding problem: starting okular from the terminal I get: > lpr-cups: Bad job-name value: "job-name": Bad name value "... > .." - bad UTF-8 sequence (RFC 2911 section 4.1.2). How do I solve this? I didn't find any option to specify the job-name in Okular; I think it comes from the document's title, but I have no idea how to change it. I guess lpr-cups should handle this, but it's clear it doesn't; possibly Okular is to blame, but then again, what to do about it? TIA to anyone who will answer. bye av.