[cups.general] Can't print bank statement from ar,test page fine.

Michael Sweet mike at easysw.com
Thu Aug 24 05:23:04 PDT 2006


Helge Blischke wrote:
> Michael Sweet wrote:
>> Helge Blischke wrote:
>>
>>> Tim Waugh wrote:
>>>
>>>> On Wed, 2006-08-23 at 22:56 -0400, Gene Heskett wrote:
>>>>
>>>>> Humm, I don't have a FONTPATH env var.  And from that logging I 
>>>>> sent, it found the other variations on that font, apparently w/o 
>>>>> any problems, so I guess I'm still puzzled as to what to do next 
>>>>> Helge.
>>>>
>>>>
>>>>
>>>> The correct variable name is actually GS_FONTPATH, and it's not the
>>>> GS_FONTPATH variable in your login environment that's important but the
>>>> execution environment of ghostscript while processing the job.  For
>>>> foomatic jobs on Fedora Core/Red Hat Enterprise Linux it gets set
>>>> in /usr/bin/foomatic-gswrapper:
>>>>
>>>> $ENV{'GS_FONTPATH'} = '/usr/share/fonts';
>>>>
>>>> ..meaning that any fonts under '/usr/share/fonts' are allowed to be 
>>>> read
>>>> by ghostscript.
>>>>
>>>> Do you think there are other font paths that should be added?
>>>>
>>>> Tim.
>>>> */
>>>>
>>>
>>> Yes, the environment variable is GS_FONTPATH. I reported gs' internal
>>> system variable name by accident.
>>>
>>> To set this variable reliably for use with CUPS, insert an appropriate
>>> statement into your /etc/init.d/cups startup script.
>>
>>
>> *Or* set the FontPath directive in cupsd.conf... :)
>>
> 
> This directive's value gets into CUPS_FONTPATH, AFAIK, but
> what about GS_FONTPATH?
> 
> Or does EPS-gs honour CUPS_FONTPATH?

Yes, the pstoraster script copies CUPS_FONTPATH into GS_LIB.

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




More information about the cups mailing list