CUPS 1.4.3 && printing UTF-8 text

Matthias Apitz guru at unixarea.de
Mon Aug 9 07:41:09 PDT 2010


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




More information about the cups mailing list