texttops in CUPS 1.3

Opher Shachar ophers at ladpc.co.il
Mon Jan 28 15:37:41 PST 2008


> Opher Shachar wrote:
> > In CUPS version 1.2.12 I can submit a print job with:
> >
> >   lp -d MyPrinter -o document-format="text/plain;charset=iso-8859-8" an_iso-8859-8_file.text
>
> CUPS doesn't support charset attributes on MIME types.

I have to disagree. It does at least with text/plain.

> Instead, it assumes UTF-8.

Indeed if charset is not specified in document-format then the scheduler sets CHARSET=utf-8 in the environment.

I set up a (virtual) Fedora 8 machine with CUPS 1.3.5
    # yum list installed "cups*"
    Installed Packages
    cups.i386            1:1.3.5-2.fc8          installed
    cups-libs.i386       1:1.3.5-2.fc8          installed
    cups-lpd.i386        1:1.3.5-2.fc8          installed
    cups-pdf.i386        2.4.6-6.fc8            installed

and (sight) this all works well as in CUPS 1.2.12.

If I may ask for anything, it is that you do not break this functionality at least for CUPS 1.3.x .
We are planning on upgrading (this summer) our production env to 1.3.5 to take advantage of Kerberos authentication. The said functionality is crucial to the functioning of our applications.

Thanks,
Opher Shachar.




More information about the cups mailing list