[cups] Difficulties with printing music score .pdfs

Helge Blischke HelgeBlischke at web.de
Tue Sep 1 10:18:37 PDT 2015


Yes, I meant cupsctl —debug-logging, of course.
Well, I really need the log entries that look like 
D [01/Sep/2015:18:37:59 +0200] [Job 210] Request file type is application/pdf.
(example from my error_log) in order to know which filters are called for this job.
What I found when looking into the PDF is:
The whole PDF contents is one single image, black and white (1 bit per component), and 
the black pixels are encoded as „1“.
I suspect that this is preserved in the PostScript stream to PDF is converted to, and the
proprietary Canon filter misinterprets this.

Helge

> Am 01.09.2015 um 17:40 schrieb Alan McConnell <alan at his.com <mailto:alan at his.com>>:
> 
> I am cc-ing Herr Miexner, since he is an expert and was so kind as
> to also take an interest.
> 
> On Tue, Sep 01, 2015 at 04:47:39PM +0200, Helge Blischke wrote:
>> Alan, I recently was able to solve a similar problem with a Canon printer.
>> Please send me
>> a) the PDF which exhibits the issue to ???helgeblischke at web dot de???,
>> (as the list strips off attachments),
>> b) an excerpt of the cups error_log containing the messages regarding to the job
>> (see below).
>> 
>> Helge
>> 
>> PS: to get the relevant messages, you may follow these steps:
>> 1) execute cupsctl ???error-logging
>     	     I trust that you meant:  cupsctl --debug-logging.
> 	     "cupsctl --error-logging" returns an error message.
> 
>> 2) print the test file
>         Just as ugly as before.  The troublesome .pdf is Attached.
> 
>> 3) execute grep 'Job xxx??? /var/log/cups/error_log > some_temp_file
>>   (where xxx is the job ID of the test job).
>     	    This is weird!  For the lp command reported that the
> 	    job being executed was 140,   Just below is the contents
> 	    of /var/log/cups/error_log:
> (start)--------------------------
>   	  ***************************************
> D [01/Sep/2015:11:23:27 -0400] Report: clients=0
> D [01/Sep/2015:11:23:27 -0400] Report: jobs=103
> D [01/Sep/2015:11:23:27 -0400] Report: jobs-active=0
> D [01/Sep/2015:11:23:27 -0400] Report: printers=1
> D [01/Sep/2015:11:23:27 -0400] Report: printers-implicit=0
> D [01/Sep/2015:11:23:27 -0400] Report: stringpool-string-count=1902
> D [01/Sep/2015:11:23:27 -0400] Report: stringpool-alloc-bytes=8776
> D [01/Sep/2015:11:23:27 -0400] Report: stringpool-total-bytes=31704
> 
>                                 ------------------------(finish)
> 	  I hope that this is what you wanted.  I hope I need not
> 	  say that I am very grateful to you and Johannes for
> 	  taking an interest!
> 
> Alan
> 
> -- 
> Alan McConnell :  http://globaltap.com/~alan/ <http://globaltap.com/~alan/>
>      Memory says, "I did that."  Pride replies, "I could not have
>      done that."  Eventually, Memory yields.(Friederich Nietzsche)
> <beeth-1symph-p1.pdf>




More information about the cups mailing list