Second time CUPS sends pcl6 to postscript printer

jowyta jt at dpets.co.uk
Tue Jul 19 02:05:48 PDT 2011


On 19/07/11 07:11, jowyta wrote:
> On 18/07/11 21:56, Helge Blischke wrote:
>> jowyta wrote:
>>
>>> On 18/07/11 19:51, Helge Blischke wrote:
>>>> jowyta wrote:
>>>>
>>>>> If I switch my Samsung ML-2550 printer off and on again and then
>>>>> print a
>>>>> document (from LibreOffice) it prints correctly. If I then try to
>>>>> print
>>>>> the document again, or anything else, the display on the printer says
>>>>> "Printing PCL6" and I get a single page with a row of /.notdef s on
>>>>> it.
>>>>>
>>>>> Attached are relevant parts of error_log. Job 141 printed correctly,
>>>>> 142 did not.
>>>>>
>>>>> Anyone any ideas what is going wrong?
>>>>>
>>>>> John
>>>>
>>>> As there are several differend PPDs around for this printer, please
>>>> post
>>>> (an URL to) tze PPD you use.
>>>>
>>>> Helge
>>>>
>>> It is the generic postscript ppd, attached.
>>
>> The PPD seems to be OK (short of that you attached 2 PPDs as one file).
>> But what strikes me when comparing your PPD with the PostScript-PPD
>> supplied by Samsung is: the latter contains JCL statements, especially
>> the following:
>>
>> *JCLBegin: "<1B>%-12345X at PJL JOB<0A>"
>> *JCLToPSInterpreter: "@PJL ENTER LANGUAGE = POSTSCRIPT<0A>"
>> *JCLEnd: "<1B>%-12345X"
>>
>> I'd suggest to insert these lines into your PPD just after the line
>> reading:
>> *TTRasterizer: Type42
>>
>> This will switch the printer to the PostScript interpreter at the
>> beginning
>> of each job.
>>
>> Helge
>>
> Helge,
>
> "(short of that you attached 2 PPDs as one file)"
>
> That is curious. I attached the file
> /usr/share/ppd/cups-included/postscript.ppd
>
> and as you say, it contains two printer drivers. Is this likely to cause
> any problems? How is this file generated?
> (I am using Debian Wheezy)
>
> I have inserted the lines as you suggested, I will let you know how it
> goes.
>
> John

Ah, presumably it should be /etc/cups/ppd/Samsung_ML-2550.ppd that I 
should change.  This is identical to 
/usr/share/ppd/cups-included/postscript.ppd including the two printer 
drivers.

I have still had some reverts to PCL6 but I am not sure how much needs 
restarting in order for CUPS to use the modified ppd.  I have now 
restarted the CUPS server.

John




More information about the cups mailing list