Hello all,

I have been troubleshooting my print system and have hit a brick wall. 

I am using Mandrake 9.0 , Cups for the spooler, HP Deskjet 712 
(foomatic+pnm2ppa) , ghostscript.

I can print any graphic file from kdeprint, but text files never print.

The cups error log shows ghostscript can not find a font and can not 
substitute for the font and gives the following:

Unable to substitute for font.
Error: /invalidfont in findfont

NOW, at this point it seems to be a ghostscript configuration problem, However 
if I use LP at a command line it will print text files perfectly. 

The fonts do exist in /usr/share/fonts/default/Type1 and reading the 
ghostscript docs I tried adding that to GS_LIB and GS_FONTPATH then exporting 
them and this did not let GS find the fonts. I tried putting links to the 
fonts in the directory /usr/share/cups/fonts. I ran the KDE addprinter and in 
directories I added /usr/share/fonts/default/Type1 and ghostscript to the 
font directories.

I found one of the scripts that made GS_FONTPATH=$CUPSFONTPATH, this may not 
be the exact cups variable but close. I could find nothing in cups that set 
this variable, looks like it is set by cups from the /etc/cupsd.conf.

I have Mandrake 9.0 installed on a small hard drive with the stock kernel and 
it will print. I have compared all the configuration files that seemed 
relevant and nothing looks out of place.

This has been going on for abt 3 weeks and I'm about to pull out what hair I 
have left. I'm sure there's something I have over-looked. I know Cups, 
Foomatic, Ghostscript, PNM2PPA and probably other things are involved but I 
can not figure out how LP can print and kdeprint fails.

BTW I have an error log with just 1 small print job if it would help.

Thanks for listening, any help or direction would be appreciated.

Jack

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to