I've narrowed the my Cups printing problem down to Wine not loading my Type 1 fonts. I have several Type 1 fonts installed in 3 places, all of which are in my fontpath ("xset q" lists them). I can use the Type 1 fonts in X and with KDE-2.2.1 even as AntiAliased, however, when I try to print from an app under wine I get a memory error and a message at the command line stating that I need to add some .AFM files to use winepsdrv. The AFM files are there in the path. Why won't wine see them? I'm running Wine-20010824, XF86 4.3 and RH 7.1 I've attached error messages -- Rick Knight (rick@rlknight.com) -------------- next part -------------- err:psdrv:PSDRV_PPDGetNextTuple Error in line '*CloseUI *stpBrightness '? To use WINEPS you need to install some AFM files. fixme:winspool:AddPrinterW DocumentProperties fails To use WINEPS you need to install some AFM files. err:winspool:AddPrinterW DocumentPropertiesW failed! err:winspool:CUPS_LoadPrinters Epson740 not added by AddPrinterA (1797) err:psdrv:PSDRV_PPDGetNextTuple Error in line '*CloseUI *stpBrightness -------------- next part -------------- Building font metrics. This may take some time... fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--24-170-100-100-c-240-ksc5601.1987-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0' are not working correctly now. fixme:font:LFD_InitFontInfo font '-mutt-clearlyu arabic extra-medium-r-normal--17-120-100-100-p-103-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' fixme:font:LFD_InitFontInfo font '-mutt-clearlyu ligature-medium-r-normal--17-120-100-100-p-141-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' fixme:font:LFD_InitFontInfo font '-sun-open look cursor-----12-120-75-75-p-160-sunolcursor-1' has unknown registry 'sunolcursor' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----10-100-75-75-p-101-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----12-120-75-75-p-113-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----14-140-75-75-p-128-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----19-190-75-75-p-154-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-bitstream-terminal-bold-r-normal--18-140-100-100-c-110-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' fixme:font:LFD_InitFontInfo font '-bitstream-terminal-medium-r-normal--18-140-100-100-c-110-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--24-170-100-100-c-240-ksc5601.1987-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0' are not working correctly now. fixme:font:LFD_InitFontInfo font '-mutt-clearlyu arabic extra-medium-r-normal--17-120-100-100-p-103-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' fixme:font:LFD_InitFontInfo font '-mutt-clearlyu ligature-medium-r-normal--17-120-100-100-p-141-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' fixme:font:LFD_InitFontInfo font '-sun-open look cursor-----12-120-75-75-p-160-sunolcursor-1' has unknown registry 'sunolcursor' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----10-100-75-75-p-101-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----12-120-75-75-p-113-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----14-140-75-75-p-128-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----19-190-75-75-p-154-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--24-170-100-100-c-240-ksc5601.1987-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0' are not working correctly now. fixme:font:LFD_InitFontInfo font '-mutt-clearlyu arabic extra-medium-r-normal--17-120-100-100-p-103-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' fixme:font:LFD_InitFontInfo font '-mutt-clearlyu ligature-medium-r-normal--17-120-100-100-p-141-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' fixme:font:LFD_InitFontInfo font '-sun-open look cursor-----12-120-75-75-p-160-sunolcursor-1' has unknown registry 'sunolcursor' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----10-100-75-75-p-101-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----12-120-75-75-p-113-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----14-140-75-75-p-128-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----19-190-75-75-p-154-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' fixme:font:LFD_InitFontInfo font '-dec-terminal-bold-r-normal--14-140-75-75-c-80-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' fixme:font:LFD_InitFontInfo font '-dec-terminal-medium-r-normal--14-140-75-75-c-80-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' fixme:font:LFD_InitFontInfo font '-bitstream-terminal-bold-r-normal--18-140-100-100-c-110-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' fixme:font:LFD_InitFontInfo font '-bitstream-terminal-medium-r-normal--18-140-100-100-c-110-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' err:winspool:AddPrinterDriverA Can't create Drivers key err:winspool:WINSPOOL_LoadSystemPrinters Failed adding PS Driver (6)
On Fri, 19 Oct 2001, Richard W. Knight wrote:> I've narrowed the my Cups printing problem down to Wine not loading my > Type 1 fonts. > > I have several Type 1 fonts installed in 3 places, all of which are in > my fontpath ("xset q" lists them). I can use the Type 1 fonts in X and > with KDE-2.2.1 even as AntiAliased, however, when I try to print from an > app under wine I get a memory error and a message at the command line > stating that I need to add some .AFM files to use winepsdrv. The AFM > files are there in the path. Why won't wine see them?if you mean in [wine] "Path" I think that is nothing to do with where wineps looks for .afm files You need for them to be in ; List of all directories directly contain .AFM files [afmdirs] "1" = "/usr/share/ghostscript/fonts" "2" = "/usr/share/a2ps/afm" "3" = "/usr/share/enscript" "4" = "/usr/X11R6/lib/X11/fonts/Type1"> > I'm running Wine-20010824, XF86 4.3 and RH 7.1 > > I've attached error messages >Lawson Big fleas have little fleas upon their backs to bite 'em. And little fleas have smaller fleas and so on, infinitem.
On Sat, 20 Oct 2001 whit@giftie.alien.org wrote:> On Fri, 19 Oct 2001, Richard W. Knight wrote: > > > I've narrowed the my Cups printing problem down to Wine not loading my > > Type 1 fonts. > > > > I have several Type 1 fonts installed in 3 places, all of which are in > > my fontpath ("xset q" lists them). I can use the Type 1 fonts in X and > > with KDE-2.2.1 even as AntiAliased, however, when I try to print from an > > app under wine I get a memory error and a message at the command line > > stating that I need to add some .AFM files to use winepsdrv. The AFM > > files are there in the path. Why won't wine see them? > > if you mean in [wine] > "Path" > I think that is nothing to do with where wineps looks for .afm files > > You need for them to be in > > ; List of all directories directly contain .AFM files > [afmdirs] > "1" = "/usr/share/ghostscript/fonts" > "2" = "/usr/share/a2ps/afm" > "3" = "/usr/share/enscript" > "4" = "/usr/X11R6/lib/X11/fonts/Type1" > > > > I'm running Wine-20010824, XF86 4.3 and RH 7.1Oops, I think [afmdirs] was added after that. Befire [afmdirs] was [afmfiles], and before that was a hardcoded list of places it looked. Sorry, Wine is a moving target.> Lawson >panic: detected rogue system administrator!! ---cut here
Found the problem. For some reason Wine will not print using Cups if Cups is using Cups+Gimp printer drivers. When I removed these drivers, printing returned. Rick Knight (rick@rlknight.com) Richard W. Knight wrote:> I've narrowed the my Cups printing problem down to Wine not loading my > Type 1 fonts. > > I have several Type 1 fonts installed in 3 places, all of which are in > my fontpath ("xset q" lists them). I can use the Type 1 fonts in X and > with KDE-2.2.1 even as AntiAliased, however, when I try to print from > an app under wine I get a memory error and a message at the command > line stating that I need to add some .AFM files to use winepsdrv. The > AFM files are there in the path. Why won't wine see them? > > I'm running Wine-20010824, XF86 4.3 and RH 7.1 > > I've attached error messages > > > >------------------------------------------------------------------------ > >err:psdrv:PSDRV_PPDGetNextTuple Error in line '*CloseUI *stpBrightness >'? >To use WINEPS you need to install some AFM files. >fixme:winspool:AddPrinterW DocumentProperties fails >To use WINEPS you need to install some AFM files. >err:winspool:AddPrinterW DocumentPropertiesW failed! >err:winspool:CUPS_LoadPrinters Epson740 not added by AddPrinterA (1797) >err:psdrv:PSDRV_PPDGetNextTuple Error in line '*CloseUI *stpBrightness > > >------------------------------------------------------------------------ > >Building font metrics. This may take some time... >fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--24-170-100-100-c-240-ksc5601.1987-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0' are not working correctly now. >fixme:font:LFD_InitFontInfo font '-mutt-clearlyu arabic extra-medium-r-normal--17-120-100-100-p-103-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' >fixme:font:LFD_InitFontInfo font '-mutt-clearlyu ligature-medium-r-normal--17-120-100-100-p-141-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' >fixme:font:LFD_InitFontInfo font '-sun-open look cursor-----12-120-75-75-p-160-sunolcursor-1' has unknown registry 'sunolcursor' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----10-100-75-75-p-101-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----12-120-75-75-p-113-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----14-140-75-75-p-128-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----19-190-75-75-p-154-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-bitstream-terminal-bold-r-normal--18-140-100-100-c-110-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' >fixme:font:LFD_InitFontInfo font '-bitstream-terminal-medium-r-normal--18-140-100-100-c-110-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' >fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--24-170-100-100-c-240-ksc5601.1987-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0' are not working correctly now. >fixme:font:LFD_InitFontInfo font '-mutt-clearlyu arabic extra-medium-r-normal--17-120-100-100-p-103-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' >fixme:font:LFD_InitFontInfo font '-mutt-clearlyu ligature-medium-r-normal--17-120-100-100-p-141-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' >fixme:font:LFD_InitFontInfo font '-sun-open look cursor-----12-120-75-75-p-160-sunolcursor-1' has unknown registry 'sunolcursor' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----10-100-75-75-p-101-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----12-120-75-75-p-113-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----14-140-75-75-p-128-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----19-190-75-75-p-154-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--24-170-100-100-c-240-ksc5601.1987-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0' are not working correctly now. >fixme:font:LFD_InitFontInfo DBCS fonts like '-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0' are not working correctly now. >fixme:font:LFD_InitFontInfo font '-mutt-clearlyu arabic extra-medium-r-normal--17-120-100-100-p-103-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' >fixme:font:LFD_InitFontInfo font '-mutt-clearlyu ligature-medium-r-normal--17-120-100-100-p-141-fontspecific-0' has unknown registry 'fontspecific' and character encoding '0' >fixme:font:LFD_InitFontInfo font '-sun-open look cursor-----12-120-75-75-p-160-sunolcursor-1' has unknown registry 'sunolcursor' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----10-100-75-75-p-101-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----12-120-75-75-p-113-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----14-140-75-75-p-128-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-sun-open look glyph-----19-190-75-75-p-154-sunolglyph-1' has unknown registry 'sunolglyph' and character encoding '1' >fixme:font:LFD_InitFontInfo font '-dec-terminal-bold-r-normal--14-140-75-75-c-80-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' >fixme:font:LFD_InitFontInfo font '-dec-terminal-medium-r-normal--14-140-75-75-c-80-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' >fixme:font:LFD_InitFontInfo font '-bitstream-terminal-bold-r-normal--18-140-100-100-c-110-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' >fixme:font:LFD_InitFontInfo font '-bitstream-terminal-medium-r-normal--18-140-100-100-c-110-dec-dectech' has unknown registry 'dec' and character encoding 'dectech' >err:winspool:AddPrinterDriverA Can't create Drivers key >err:winspool:WINSPOOL_LoadSystemPrinters Failed adding PS Driver (6) > > wineerror.txt > > Content-Type: > > text/plain > Content-Encoding: > > 7bit > > > ------------------------------------------------------------------------ > wine.log.SWA0Sh > > Content-Type: > > text/plain > Content-Encoding: > > 7bit > >-- Rick Knight (rick@rlknight.com)