Wine printing doesn't work
Wine printing doesn't work
Hi,
I have application which works under wine under Xubuntu on three workstations. And on one of them printing doesn't work correctly.
Program sees printers, but it says they doesn't work. The sam with cups-pdf and real printer.
Look at attachment . Sorry for polish version, but there is only polish version of this program.
wine is the same: wine1.6 1:1.6.2-0ubuntu4
What can I do?
I have application which works under wine under Xubuntu on three workstations. And on one of them printing doesn't work correctly.
Program sees printers, but it says they doesn't work. The sam with cups-pdf and real printer.
Look at attachment . Sorry for polish version, but there is only polish version of this program.
wine is the same: wine1.6 1:1.6.2-0ubuntu4
What can I do?
Re: Wine printing doesn't work
The obvious first question is: does printing work from native apps on the affected workstation? If it doesn't, the problem is outside of Wine.
If the problem is only with Wine, check whether the affected system has 32 bit CUPS installed. It's needed. If that's not the issue, post terminal output. http://wiki.winehq.org/FAQ#get_log
If the problem is only with Wine, check whether the affected system has 32 bit CUPS installed. It's needed. If that's not the issue, post terminal output. http://wiki.winehq.org/FAQ#get_log
Re: Wine printing doesn't work
yes. Abiword prints OK.dimesio wrote:The obvious first question is: does printing work from native apps on the affected workstation?
If the problem is only with Wine, check whether the affected system has 32 bit CUPS installed.
Code: Select all
ii cups 1.7.5-3ubuntu2 i386 Common UNIX Printing System(tm) - PPD/driver support, web interface
Hm... are you sure?It's needed. If that's not the issue, post terminal output. http://wiki.winehq.org/FAQ#get_log
Code: Select all
tristan@lenek:~/Zasoby/mk$ WINEDEBUG=+relay,+seh,+tid wine Księga.exe >> /tmp/output.txt 2>&1
[...]
tristan@lenek:~/zasoby/mk$ ls -lh /tmp/output.txt
-rw-rw-r-- 1 tristan tristan 596M gru 5 16:48 /tmp/output.txt
Code: Select all
tristan@lenek:~/Zasoby/mk$ wine Księga.exe
fixme:actctx:parse_expect_elem unexpected element L"/dependentAssembly"
fixme:actctx:parse_manifest_buffer failed to parse manifest (null)
fixme:heap:HeapSetInformation 0x110000 0 0x32fcf8 4
Re: Wine printing doesn't work
FYI, when asked for terminal output, don't set any debug channels unless specifically requested.596M Hm....Code: Select all
tristan@lenek:~/Zasoby/mk$ WINEDEBUG=+relay,+seh,+tid wine Księga.exe >> /tmp/output.txt 2>&1 [...] tristan@lenek:~/zasoby/mk$ ls -lh /tmp/output.txt -rw-rw-r-- 1 tristan tristan 596M gru 5 16:48 /tmp/output.txt
You're right about plain terminal output not providing any useful information. Have you checked the CUPS logs? The problem may be a setting at that end.
Re: Wine printing doesn't work
No, there is nothing new during printing from this wine application.
/var/log/cups/error_log is empty and
When I print from AbiWord, there is:
That's strange...
======== edit
Maybe that will be helpfull:
/var/log/cups/error_log is empty and
Code: Select all
tristan@lenek:~$ cat /var/log/cups/access_log
localhost - - [05/Dec/2014:17:41:47 +0100] "POST /admin/ HTTP/1.1" 401 153 CUPS-Delete-Printer successful-ok
localhost - root [05/Dec/2014:17:41:47 +0100] "POST /admin/ HTTP/1.1" 200 153 CUPS-Delete-Printer successful-ok
localhost - - [06/Dec/2014:07:16:52 +0100] "POST /admin/ HTTP/1.1" 401 397 CUPS-Add-Modify-Printer successful-ok
localhost - root [06/Dec/2014:07:16:52 +0100] "POST /admin/ HTTP/1.1" 200 397 CUPS-Add-Modify-Printer successful-o
Code: Select all
localhost - - [06/Dec/2014:07:28:16 +0100] "POST /printers/PDF HTTP/1.1" 200 8240 Print-Job successful-ok
======== edit
Maybe that will be helpfull:
Code: Select all
tristan@lenek:~/Zasoby/mk$ notepad
err:commdlg:PRINTDLG_ChangePrinterW DocumentProperties fails on L"PDF"
err:commdlg:PRINTDLG_ChangePrinterW DocumentProperties fails on L"HP_LaserJet_Professional_P_1102w"
fixme:commdlg:PRINTDLG_UpdatePrintDlgW No lpdm ptr?
fixme:commdlg:PRINTDLG_WMCommandW Update printdlg was not successful!
Re: Wine printing doesn't work
Are there any differences between the wineprefixes on the three workstations--something installed or not installed in the non-working one that differs from the other two? Does your user have write access to the affected wineprefix? What other differences are there between the three systems (libraries, settings, hardware)?
Re: Wine printing doesn't work
It's problem with ubuntu 14.10. I took old computer and I installed Xubuntu 14.10 + wine + cups-pdf and notepad doesn't print. Later I installed xubuntu 14.04 on the same computer and all works correctly. I think there is something wrong with Xubuntu (or even ubuntu?) 14.10. Something is missing, because on workstation with Xubuntu 14.10 upgraded from 14.04 all was OK.
Re: Wine printing doesn't work
Does 14.10 have a different version of CUPS? Also, look for any libraries that are present on the upgraded workstation and missing from the ones that don't work.