http://bugs.winehq.org/show_bug.cgi?id=10094
Summary: Cannot open the list of available printers. Product: Wine Version: 0.9.47. Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P3 Component: wine-gdi-(printing) AssignedTo: wine-bugs@winehq.org ReportedBy: antonv72@gmail.com
Created an attachment (id=8657) --> (http://bugs.winehq.org/attachment.cgi?id=8657) Terminal output
Cannot open the list of available printers.
fixme:winspool:get_opened_printer_entry server L"XXXXX" not supported fixme:commdlg:PrintDlgExA stub
http://bugs.winehq.org/show_bug.cgi?id=10094
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2007-10-19 06:02:16 --- Not a blocker. What app is this? Do you have printers installed?
http://bugs.winehq.org/show_bug.cgi?id=10094
--- Comment #2 from antonv72@gmail.com 2007-10-19 06:55:22 --- (In reply to comment #1)
Not a blocker.
Depends of the definition of the word :-) Printing is critical to this kind of app.
What app is this?
http://appdb.winehq.org/objectManager.php?sClass=application&iId=5790
Do you have printers installed?
Yes. Four.
http://bugs.winehq.org/show_bug.cgi?id=10094
--- Comment #3 from Lei Zhang thestig@google.com 2007-10-19 12:21:03 --- Can you print from Wine's notepad?
How are your printers configured? Are you using CUPS? LPR?
http://bugs.winehq.org/show_bug.cgi?id=10094
--- Comment #4 from antonv72@gmail.com 2007-10-19 14:55:40 --- (In reply to comment #3)
Can you print from Wine's notepad?
The 'File' -> 'Print' dialogue produced the standard Wine print dialogue - as it should. I'm offsite, so there is no point in attempting to print to paper.
How are your printers configured? Are you using CUPS? LPR?
I'm using CUPS. When I run this app natively on Windows (2000 server) I get the new XP type of printer list, which is different from the old-style dialogue from the previous version.
http://bugs.winehq.org/show_bug.cgi?id=10094
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #5 from Detlef Riekenberg wine.dev@web.de 2007-10-20 11:22:29 ---
Cannot open the list of available printers. fixme:winspool:get_opened_printer_entry server L"XXXXX" not supported
Wine has no special support for printing over the network. You need to configure your CUPS to print to your Server.
fixme:commdlg:PrintDlgExA stub
( http://bugs.winehq.org/show_bug.cgi?id=4342 )
Please attach a log to bug #4342 from:
WINEDEBUG="+winspool,+tid,+commdlg" wine yourapp.exe 2>&1 | tee log.txt
http://bugs.winehq.org/show_bug.cgi?id=10094
--- Comment #6 from antonv72@gmail.com 2007-10-20 13:30:56 --- (In reply to comment #5)
Hi,
First I'd like to say I really appreciate that there is a genuine interest in helping with this issue.
Wine has no special support for printing over the network. You need to configure your CUPS to print to your Server.
I'm afraid I do not understand the question. Printing used to work just fine in my setup before. Nothing has changed and it still works globally (Linux, Samba shares to Windows machines, Wine) - execpt for the latest servicepack release of the ERP software.
The Sonet ERP suite is the only thing that has changed from a "works to 100%" situation to this latest situation where we aren't able to choose printers. This app used to be able to offer 100% printing similiar to native under Wine - up to it's latest release.
As for the CUPS configuration: the app is run under "host-1" but the CUPS spool is configured under "host-2". They are both in the same subnet.
fixme:commdlg:PrintDlgExA stub
( http://bugs.winehq.org/show_bug.cgi?id=4342 )
Please attach a log to bug #4342 from:
WINEDEBUG="+winspool,+tid,+commdlg" wine yourapp.exe 2>&1 | tee log.txt
Done.
http://bugs.winehq.org/show_bug.cgi?id=10094
--- Comment #7 from Austin English austinenglish@gmail.com 2007-10-20 14:09:23 --- Have you tried contacting the developers of the software, to inform them of this? If the bug was introduced by a change in their code, it may also affect Windows, and/or they may be able to offer a fix.
http://bugs.winehq.org/show_bug.cgi?id=10094
--- Comment #8 from antonv72@gmail.com 2007-10-20 15:06:05 --- (In reply to comment #7)
Have you tried contacting the developers of the software, to inform them of this? If the bug was introduced by a change in their code, it may also affect Windows, and/or they may be able to offer a fix.
I can open the print dialogue in native Windows. No problems there.
http://bugs.winehq.org/show_bug.cgi?id=10094
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Detlef Riekenberg wine.dev@web.de 2007-10-22 10:45:01 --- (In reply to comment #6)
Wine has no special support for printing over the network. You need to configure your CUPS to print to your Server.
I'm afraid I do not understand the question.
From the log:
0009:trace:winspool:OpenPrinterW (L"\\PINUS600\laserjet_2100_raw", 0x33e460, (nil)) 0009:trace:winspool:get_servername_from_name found L"PINUS600" 0009:fixme:winspool:get_opened_printer_entry server L"PINUS600" not supported 0009:trace:winspool:OpenPrinterW returning 0 with 1801 and (nil)
This is the reason for the fixme in the Description: The application is configured to print to "laserjet_2100_raw" on the server "PINUS600". Configure CUPS for this printer or configure the app to use a different printer to avoid this message. (The application does a fallback to the default printer later)
Nothing has changed and it still works globally
- execpt for the latest servicepack release of the ERP software.
This is the issue, why you can't print now: The update changed the printing - dialog from PrintDlg (win3.x, win9x, NT: supported in wine) to PrintDlgEx (w2k and above: not implemented in wine yet. See bug #4342)
Closing this Dupe
http://bugs.winehq.org/show_bug.cgi?id=10094
--- Comment #10 from antonv72@gmail.com 2007-10-23 01:39:11 --- (In reply to comment #9)
From the log: 0009:trace:winspool:OpenPrinterW (L"\\PINUS600\laserjet_2100_raw", 0x33e460, (nil)) 0009:trace:winspool:get_servername_from_name found L"PINUS600" 0009:fixme:winspool:get_opened_printer_entry server L"PINUS600" not supported 0009:trace:winspool:OpenPrinterW returning 0 with 1801 and (nil)
This is the reason for the fixme in the Description: The application is configured to print to "laserjet_2100_raw" on the server "PINUS600". Configure CUPS for this printer or configure the app to use a different printer to avoid this message. (The application does a fallback to the default printer later)
This is _very_ strange. I don't have a queue with that name anymore. It has been removed from CUPS years ago. I grep'ed for my homedir and /etc/cups and only the personal Thunderbird and Firefox configuration (prefs.js) matched. Those files have entries for most of our other obsolete queues/printers as well.
This is beyond the scope of Wine, but if somebody has a clue why these old queues still exist to Wine and others I'd gladly take any advice in order to fix that.
This is the issue, why you can't print now: The update changed the printing - dialog from PrintDlg (win3.x, win9x, NT: supported in wine) to PrintDlgEx (w2k and above: not implemented in wine yet. See bug #4342)
Closing this Dupe
Is there any workaround in order to get these apps to print? For instance can Wine answer PrintDlgEx related calls and offer PrintDlg type of functionality back? Or is it a "sorry, no printing for you at this time" situation?
Thanks for having time to look into this,