Setup CUPS-1.4.6 in Solaris 10?

Helge Blischke h.blischke at acm.org
Thu Feb 17 02:59:55 PST 2011


dickson wrote:

> recap my current printing problem in a dot matrix printer:
> 
> case 1. print a pdf (without embedded Chinese font), fails and no print
> out.
> case 2. print a pdf (with embedded Chinese font), can print it out.
> case 3. print a plain text (UTF-8 Chinese characters), only print out
> strange character in the printout.
> 
> (About the details and logging, please view my previous message)
> 
> I need to fix the problem in Case 1 first and then go on to solve the
> problem in Case 3. Thanks anyone's help in advance.

>From the latest error_log in your last message I see that your pdftops 
filter is configured to use Ghostscript for the PDF to PostScript 
conversion. And this invocation of Ghostscript does not contain the -I 
switch. Moreover, this invocation uses Ghostscript's pswrite device which 
causes all glyphs of all fonts to be converted to bitmaps.

To solve your case 1 ptoblem, I'd suggest to implement the Xpdf utilities 
from 
http://www.foolabs.com/xpdf/download.html
and use the alternate pdftops filter (which is a Perl wrapper around the 
Xpdf utility) from
http://www.cups.org/links.php?V70+Qpdftops
Together with the already modified pstoraster filter, this approach should 
do it.

If you will have succeeded, let us go to your case 3 and tweak the cups' 
utf-8 charset file using a suitable chinese font.

Helge





More information about the cups mailing list