CUPS 1.4.3 && printing UTF-8 text

Helge Blischke h.blischke at acm.org
Mon Aug 9 09:07:32 PDT 2010


Matthias Apitz wrote:

> Matthias Apitz wrote:
> 
>> The not embedded font files must be somehow the result of a missing PPD
>> file information if I call 'texttops' for testing this way:
>> 
>> # CHARSET=utf-8 ~/cups-1.4.3/filter/texttops 1 rleigh myfile 1 ""
>> # ~/CUPS-UTF8.txt  > /tmp/ps
>> DEBUG: ppd = SetCommonOptions(num_options 0, options 0, 1) gives 0
>> DEBUG: ppd arg of WriteProlog() 0?
>> DEBUG: charset file /usr/local//share/cups/charsets/utf-8
>> DEBUG: NumFonts 15
>> DEBUG: Download fonts 2?
>> DEBUG: Download fonts ppd 0?
>> DEBUG: Download fonts ppd 0?
>> 
>> (I inserted some more DEBUG statements to see what it is missing).
>> 
>> I don't know what I should provide exactly as PPD information, even after
>> reading for a while the docs :-(
>> 
> 
> Fonts get embedded in the PS file by using the PPD env variable, like
> 
> # CHARSET=utf-8 PPD=/usr/local/etc/cups/ppd/pdf.ppd
> # ~/cups-1.4.3/filter/texttops 1 rleigh myfile 1 "" ~/CUPS-UTF8.txt  >
> # /tmp/ps
> 
> Thanks
> 
>         Matthias

Yes, the filter only downloads needed fonts if they are not listed in the 
PPD, as the filter assumes that fonts listed in the PPD are resident on the 
rexpective printer (and thus need not be downloaded).

Helge





More information about the cups mailing list