Unicode character in PJL job title

Helge Blischke h.blischke at srz.de
Tue Sep 5 05:57:58 PDT 2006


Michael Sweet wrote:
> Stefan Rijnhart wrote:
> 
>> Hi all,
>>
>> Using a Kyocera KM-2030 in PCL mode with a vendor supplied PPD with
>> cups 1.2.2. Also occurs when using a Brother 5170DN.
>>
>> When printing a webpage with a Unicode character in its title from
>> Mozilla Firefox, the character ends up in the PJL job title. Upon
>> encountering this character, the printer starts printing one line or
>> so of the PJL header before aborting.
>>
>> The unicode character seem to violate the PJL specs, which I think
>> allows ASCII values {9,32-255} only. My question is, is this a Cups
>> problem or a Firefox problem?
> 
> 
> First, ASCII is only 0-127.
> 
> Second, PJL as implemented by HP printers allows for UTF-8.  It may
> be that we need to filter out UTF-8 characters from the PJL JOB
> command we send for non-HP printers...
> 
> Please file a bug report at:
> 
>     http://www.cups.org/str.php
> 
> so that we can track the issue.
> 
> Thanks!
> 

Other printers require something like "§PJL SET STRINGCODESET = UTF8"
(which is, btw, not documented in HP's PJL reference).

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups-devel mailing list