international ppd

Michael Sweet mike at easysw.com
Mon Apr 17 06:59:55 PDT 2006


Anonymous wrote:
>> Anonymous wrote:
>>> I make an international PPD and add printer in English, so it is well to do work, but when I change the setting from English to German, it doesn't work,and there is the same problem in other languages,
>>>
>>> how can it go that, and how can I do with international ppd?
>> What doesn't work?
>>
>> What application are you using?
>>
>> --
>> ______________________________________________________________________
>> Michael Sweet, Easy Software Products           mike at easysw dot com
>> Internet Printing and Publishing Software        http://www.easysw.com
> I cannot realize international PPD.For example, I changed PPD as follows:
> 
> *cupsLanguages: "fr_FR"
> 
> ..
> 
> *OpenUI *PageSize/Media Size: PickOne
> *fr_FR.Translation PageSize/1: ""
> *OrderDependency: 10 AnySetup *PageSize
> *DefaultPageSize: w90h18
> *PageSize w90h18/Label - 1.25x0.25": "<</PageSize[90 18]/ImagingBBox null>>setpagedevice"
> *fr_FR.PageSize w90h18/1: ""
> *CloseUI: *PageSize
> 
> but it cannot work in French setting,
> it should be '1' instead of 'Media Size' according the ppd showed above, but it is still 'Media Size' in the web page to set printer options.
> 
> I am running CUPS 1.2 in Mac OS X 10.4.6.

OK, but WHAT APPLICATION ARE YOU RUNNING?

If you are using Safari, more than likely it is not passing a
complete locale specification ("fr-FR"), but is instead just
passing "fr" as the language preference.  In fact, it might not
be passing it at all for that matter - I haven't tested I18N with
Safari (yet)...

If you are trying to see the localizations in an application's
print dialog, none of the current MacOS X releases will show the
localizations - that requires an extra CUPS API call in the app or
toolkit to enable them...

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




More information about the cups-devel mailing list