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

Detlef Riekenberg wine-users at web.de
Wed Jul 5 17:27:03 CDT 2006

Sven Rudolph wrote:

> > "+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.

Did you see the same "err:" as above?
("PRINTDLG_ChangePrinterW DocumentProperties fails" before
"PRINTDLG_UpdatePrintDlgW No lpdm ptr")

> I can print with lpr from the command line, even without /etc/printcap or
> any ppd files, just by configuring /etc/cups/client.conf.

lpr just send the File to your Printer.

wine uses "wineps.drv" to create this Postscript-File and needs
a ppd-File from your Printer for that.

When cupsd is running, wineps.drv get's the ppd-file from cups.

> a local cupsd, which forwards all print jobs to my print server
> (ipp://goza/printers/i560), using the generic.ppd.

You have a Printer-Specific PPD-File on the remote CUPS-Server.
Please copy this PPD-File to your Machine.

> (It seems, that wine requires a local cupsd.)
"/etc/printcap", "lpr" and the PPD-File
a local "cupsd" running and "lpr"

> Unfortunately I still can't print,
Might be a different Issue.

> But now I'm able to print to a file. The file is called "FILE:" (can't
> choose a name or path),
Bug #3975: http://bugs.winehq.org/show_bug.cgi?id=3975

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

You see the Results from "PSDRV_ParsePPD", when wineps reads the
This Part war missing before, because you did not provide a PPS-File.

By By ...
      ... Detlef

More information about the wine-users mailing list