Hello List, I just installed wine-0.9.15, because I wasn't able to print with wine-0.9.8, but unfortunately the problem persists. System: Gentoo Linux 2006.0 Wine: 0.9.15 (duh) Printer: Cups-1.1.23 on separate machine (Gentoo 2006.0), on localhost only cupsclient This is what i do: - remove ~/.wine - run winecfg from xterm winecfg complains about printer problems, but continues: wine: creating configuration directory '/home/sven/.wine'... To use WINEPS you need to install some AFM files. fixme:winspool:AddPrinterW DocumentPropertiesW on printer 'L"i560"' fails To use WINEPS you need to install some AFM files. wine: '/home/sven/.wine' created successfully. - create a text file test.txt in ~/.wine/drive_c/ containing "This is a test" - open test.txt from winefile (chooses notepad) - try to print the file with notepad, printer dialog shows up, but no button has any effect, except "Cancel". Everytime i press "Properties" or "OK" the error messages "To use WINEPS you need to install some AFM files." or "fixme:commdlg:PRINTDLG_UpdatePrintDlgW No lpdm ptr? fixme:commdlg:PRINTDLG_WMCommandW Update printdlg was not successful!" show up in my xterm. I searched Google-Groups and found some postings about this or similar problems. Most of them saying "Update to a newer version", on of them saying "It works when you remove gimp-print" and one (Huw Davies) saying that this is a bug that was fixed in wine-0.9. None of these hints was of any help for me, and since wine switched from config files to registry, searching for misconfigurations is a real pain, if possible at all. Can anybody please help me with this? Thanks in advance Sven Rudolph
Sven Rudolph <sven@spaghetticode.de> wrote:> Hello List, > > I just installed wine-0.9.15, because I wasn't able to print with > wine-0.9.8, but unfortunately the problem persists.If you compile wine yourself, do you have the CUPS development package installed? If you use a package, did you install the wine-cups (or similar) package? For Gentoo, this propably means having CUPS somewhere in your USE variable, but I'm no expert. Daniel
Hi Sven Rudolph:> I just installed wine-0.9.15, because I wasn't able to print with > wine-0.9.8, but unfortunately the problem persists.> Printer: Cups-1.1.23 on separate machine (Gentoo 2006.0), on localhost only > cupsclientThe "lpr" - command must be installed and your Printer must have an entry in "/etc/printcap", when CUPS is not used (libcups.so).> wine: creating configuration directory '/home/sven/.wine'... > To use WINEPS you need to install some AFM files.Where is the Problem? Simple do it. Searching Google for "afm files" => font - related You need "gsfonts": Fonts for the Ghostscript interpreter(s) These are free look-alike fonts of the Adobe PostScript fonts. Recommended for all flavors of Ghostscript (gs-gpl, gs-afpl and gs-esp). Does it work now? -- By By ... ... Detlef
Hello Detlef, thanks for your reply!> The "lpr" - command must be installed and your Printer must have an > entry in "/etc/printcap", when CUPS is not used (libcups.so).lpr is /usr/bin/lpr /etc/printcap on my server says: i560|i560:rm=goza:rp=i560: There is no /etc/printcap on my local machine, since there is no printer connected to my local machine, and no cupsd running (client only). I just tried to create a /etc/printcap file with the same content on my local machine, but I still can't print.>> wine: creating configuration directory '/home/sven/.wine'... >> To use WINEPS you need to install some AFM files. > > Where is the Problem? > Simple do it.All my AFM files are in /usr/share/fonts/Type1, so this can't be the problem.> You need "gsfonts": > Fonts for the Ghostscript interpreter(s) > These are free look-alike fonts of the Adobe PostScript fonts. > Recommended for all flavors of Ghostscript (gs-gpl, gs-afpl and gs-esp).I have gnu-gs-fonts-other and gnu-gs-fonts-std installed. Do I have to install the fonts on my print server too? Sven