[Wine] Re: REPOST: No printing possible in wine 0.9.15

Sven Rudolph sven at spaghetticode.de
Sun Jul 2 18:42:46 CDT 2006

Hello Detlef,

thanks for your reply!

> "+wineps" does not work for WINEDEBUG. "+psdrv" is correct:
> WINEDEBUG="+winspool,+psdrv,+file" wine app.exe 2>log.txt
> You will see the Failure from "DocumentProperties":
> --- cut ---
> trace:winspool:DocumentPropertiesA
> ((nil),(nil),<your_printername>,(nil),(nil),0)
> err:commdlg:PRINTDLG_ChangePrinterW DocumentProperties fails on
> L"<your_printername>"
> fixme:commdlg:PRINTDLG_UpdatePrintDlgW No lpdm ptr?
> --- cut ---

I'm not sure how this would help me.

> You need a PPD-File for your Printer, as I already mentioned in:
> http://www.winehq.org/pipermail/wine-users/2006-June/022383.html

Yes, I remember your reply.
You wrote: "Peinting with lpr requires an entry in "/etc/printcap" and a
ppd-File for the Printer."

At this point I decided to post my problem again with a more detailed

There I mention that I already have a working printing environment and that
I can print with lpr from the command line, even without /etc/printcap or
any ppd files, just by configuring /etc/cups/client.conf.

Anyway. I followd your advice and copied /usr/share/wine/generic.ppd
to /usr/share/cups/model/generic.ppd on my local machine. Then I configured
a local cupsd, which forwards all print jobs to my print server
(ipp://goza/printers/i560), using the generic.ppd.
(It seems, that wine requires a local cupsd.)

Unfortunately I still can't print, although the error messages disappeared.
But now I'm able to print to a file. The file is called "FILE:" (can't
choose a name or path), a postscript file that I can print with Konqueror.
I can live with that for now.

> With a PPD-File, you find the results from PSDRV_ParsePPD:
> --- cut ---
> trace:psdrv:PSDRV_ParsePPD file '/var/tmp/44a835909b8f2'
> trace:psdrv:PSDRV_ParsePPD NickName =

I believe you, but I don't understand what you are trying to tell me.

Thanks a lot!


P.S. You sign your postings with "Detlef", but the list shows you
as "Derlef"

More information about the wine-users mailing list