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

Michael Sweet mike at easysw.com
Thu Aug 24 04:31:58 PDT 2006


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... :)

-- 
______________________________________________________________________
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