missing of "us-ascii" character set file

Michael Sweet mike at easysw.com
Mon Nov 6 17:34:04 PST 2006


Sam wrote:
>> Sam wrote:
>>>> Sam wrote:
>>>>> the missing of  "us-ascii" character set file, under /usr/share/cups/charsets, lead to error when print ascii file.
>>>>>
>>>>> Any place to download this charset conversion file ?
>>>> It shouldn't be necessary, since all of the supported character sets
>>>> use US-ASCII for characters 0 to 127...
>>>>
>>>> --
>>>> ______________________________________________________________________
>>>> Michael Sweet, Easy Software Products           mike at easysw dot com
>>>> Internet Printing and Document Software          http://www.easysw.com
>>> Michael:
>>>
>>> But i got this error when print any ascii file:
>>> "No conversion available for type 'text/plain:charser=us-ascii'"
>>> and the us-ascii character set file was not found in /usr/share/cups/charsets folder.
>>>
>>> Are these two issues related or not?
>> No, they aren't.  The MIME type (if you've provided the correct one)
>> is bad - the charset modifier is not supported, and you need to use a
>> semicolon (not a colon) to separate the type from the charset,
>> anyways.
>>
>> --
>> ______________________________________________________________________
>> Michael Sweet, Easy Software Products           mike at easysw dot com
>> Internet Printing and Document Software          http://www.easysw.com
> 
> 
> Hi, Mike:
> 
> In which file should I "use a semicolon (not a colon) to separate the type from the charset"? I did not find such one in mime.convs or mime.types. Please specify.  Thanks

The client is specifying "text/plain:charset=us-ascii" in the
document-format attribute, or you have this type listed in one of
the *.types files in /etc/cups.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups-devel mailing list