This is a discussion on How can we set the Charset used when printing text files with CUPS ? within the Linux General forums, part of the Linux Forums category; Hi, I have a CUPS Server, configured properly to work with my printer. I would like to print text files ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I have a CUPS Server, configured properly to work with my printer. I would like to print text files encoded in different charsets (at least ISO-8859-1 and UTF-8). The CUPS FAQ says that CUPS accepts these encodings, however I don't know how to tell the texttops filter which one to use. For me, it always uses ISO-8859-1. The ideal would be for me that clients can specify their encoding when printing. I do not want to set it system-wide. Any idea ? Thank you |
|
|||
|
Antoine Picolet wrote:
> Hi, > > I have a CUPS Server, configured properly to work with my printer. I > would like to print text files encoded in different charsets (at least > ISO-8859-1 and UTF-8). The CUPS FAQ says that CUPS accepts these > encodings, however I don't know how to tell the texttops filter which > one to use. For me, it always uses ISO-8859-1. > The ideal would be for me that clients can specify their encoding when > printing. I do not want to set it system-wide. > > Any idea ? LANG=en_US.iso885915 whatever_command LANG=en_US.utf8 whatever_command etc. or whatever char set you want, even ones other than the various en_US ones, eh? |