[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpprintipp] character s Transliteration [Re: PHP printipp, problèm
From: |
Thomas Harding |
Subject: |
Re: [Phpprintipp] character s Transliteration [Re: PHP printipp, problèm e d'encodage avec CUPS] |
Date: |
Sat, 9 Aug 2008 19:54:37 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Fri, Aug 08, 2008 at 10:46:03PM +0200, Thomas Harding wrote:
> On Tue, Aug 05, 2008 at 06:33:50PM +0200, Thomas Harding wrote:
> > > >$ipp->setMimeMediaType('text/plain');
> > > >$ipp->setCharset('utf-8');
> > > >$ipp->printJob();
> > > >#####################################
> >
> > > OK, thank you for answering quickly.
> > >
> > > I I didn't succeed in making it work with CUPS. I was indeed using the
> > > last version, but since anyway I want to use it with other printer
> > > servers than CUPS afterwards, I decided to convert unicode characters
> > > to their ASCII equivalents as much as I could.
>
> Verified again. Works for sure. Setting charset to us-ascii cause
> non-ascii characters to not be printed. Did you set up mime type to
> 'text/plain'?
Mhhh: there where a "feature" in BasicIpp.php -- document format were
resetted to "application/octet-stream" after each job, for historical
reasons (raw text handling with old CUPS versions). Now it should
work as expected (CVS version OK, planned for next release (0.82)).
--
=== The BOFH Excuse Server ===
Your excuse is: The mouse escaped.