Can't Printfrom within Wine

Questions about Wine on Linux
Locked
alsemus
Level 2
Level 2
Posts: 16
Joined: Sat Oct 08, 2011 10:40 am

Can't Printfrom within Wine

Post by alsemus »

I am on a Toshiba Laptop using Linux Mint 14 with Wine 1.4 installed and IE8 - Quicken 2011 installed in Wine.
If I try to print a report from Quicken I get an error that it can not find a printer at the system level.
If I run IE8 from a Linux terminal I get an error
error: commdlg:PRINTDLG-Change PrintW DocumentProterties fails on L"Officejet-pro-8600.
Prior to the error I get the following:
fixme:PRINTDLG_UpdatePrintDlgw No lpdm ptr?
WMCommandW Update printdlg was not successful

How does one resolve this problem so I can print using my wireless HP8600 printer From QUICKEN????

................................... Al
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't Printfrom within Wine

Post by dimesio »

Is your printer installed in CUPS and working in native apps? It has to be for Wine to see it.
alsemus
Level 2
Level 2
Posts: 16
Joined: Sat Oct 08, 2011 10:40 am

Re: Can't Printfrom within Wine

Post by alsemus »

here is what I get from hp-check -t

INSTALLED CUPS PRINTER QUEUES |
---------------------------------


Officejet-Pro-8600
------------------
Type: Unknown
Device URI: socket://192.168.1.9:9100
PPD: /etc/cups/ppd/Officejet-Pro-8600.ppd
PPD Description: HP Officejet Pro 8600, hpcups 3.12.11
Printer status: printer Officejet-Pro-8600 is idle. enabled since Sat 02 Mar 2013 08:51:47 AM PST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


--------------
| PERMISSION |
--------------

error: groups user-groups Required - - MISSING lpadmin

hp-info -g said No devices found

The printer works from Linux Mint14, from Office writer, from Firefox Aurora.

So if it is still NOT in CUPS then how do I install it in CUPS??????
alsemus
Level 2
Level 2
Posts: 16
Joined: Sat Oct 08, 2011 10:40 am

Re: Can't Printfrom within Wine

Post by alsemus »

Going to http:\\localhost:631
The printer is recognized.
Description: Officejet Pro 8600 N911a
Location:
Driver: HP Officejet Pro 8600, hpcups 3.12.11 (color, 2-sided printing)
Connection: socket://192.168.1.9:9100
Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided
Also
▼ Queue Name ▼ Description Location Make and Model Status
Officejet-Pro-8600 Officejet Pro 8600 N911a HP Officejet Pro 8600, hpcups 3.12.11 Idle

Does this help????
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't Printfrom within Wine

Post by dimesio »

Can you print from wine notepad? Also, upgrade Wine to the latest development release; 1.4 is old.
alsemus
Level 2
Level 2
Posts: 16
Joined: Sat Oct 08, 2011 10:40 am

Re: Can't Printfrom within Wine

Post by alsemus »

Sorry it took so long to respond. I finally found out how to upgrade wine without having to try and remove it from the system and install the latest version.
So to answer your question: NO it does not print from notepad.exe..
The print panel comes up. It says it is using CUPS. But nothing happens.
In case I haven't said it before I really appreciate your help. A big thanks is being sent your way!
.................... Al
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't Printfrom within Wine

Post by dimesio »

Post terminal output from trying to print from notepad. http://wiki.winehq.org/FAQ#get_log
alsemus
Level 2
Level 2
Posts: 16
Joined: Sat Oct 08, 2011 10:40 am

Re: Can't Printfrom within Wine

Post by alsemus »

I think this is what you asked for.

al@al-Satellite-P505 ~/.wine/drive_c/windows $ wine notepad.exe
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
err:commdlg:PRINTDLG_ChangePrinterW DocumentProperties fails on L"Officejet-Pro-8600"
fixme:commdlg:PRINTDLG_UpdatePrintDlgW No lpdm ptr?
fixme:commdlg:PRINTDLG_WMCommandW Update printdlg was not successful!
al@al-Satellite-P505 ~/.wine/drive_c/windows $

Wish I spoke Linux 'cause I have no understanding of what this means!!!!!!
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't Printfrom within Wine

Post by dimesio »

You mentioned this is a wireless printer. Can you print from notepad if the printer is connected with a cable?

Two things jump out at me from your earlier post:
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
error: groups user-groups Required - - MISSING lpadmin

hp-info -g said No devices found
This looks to me like you need to install the HPLIP driver. Some HP printers need proprietary modules that can only be obtained via HPLIP. It also looks like you need to add yourself to the group lpadmin (and possibly may need to create it). You should also ask about this on the Mint forum--this not a Wine issue, it's a system configuration issue (which of course can affect Wine).
alsemus
Level 2
Level 2
Posts: 16
Joined: Sat Oct 08, 2011 10:40 am

Re: Can't Printfrom within Wine

Post by alsemus »

Thanks. I will try that route again and hopefuly they will answer me this time. .......... Al
alsemus
Level 2
Level 2
Posts: 16
Joined: Sat Oct 08, 2011 10:40 am

Re: Can't Printfrom within Wine

Post by alsemus »

Finally got it installed. The printer shows up in both the Linux Mint Panel and the HP Device panel. I can print from notepad in WINE.
I can not print from IE8 in wine. BUT most important I can't print from Quicken 2011 in WINE. The error message says Quicken can't locate the printer at a system level. NOW I'm back to where I started from a week or so ago.
Can you provide any insight to this??????
............................................................... Al
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Can't Printfrom within Wine

Post by lahmbi5678 »

Funny, seems the same error happened to happen on windows:

http://quicken.intuit.com/support/help/ ... 82244.html

I'm not sure, that this is exactly the same issue you are seeing in wine, it might be worth trying to follow the advice.
alsemus
Level 2
Level 2
Posts: 16
Joined: Sat Oct 08, 2011 10:40 am

Re: Can't Printfrom within Wine

Post by alsemus »

Thank you! Thank you! Thank you! Thank you! Thank you! Thank you!
YOu have no idea how happy I am. This was critical to us being able file our income tax. My wife will be thrilled. I guess this is another reason why we should stay away from Windows at all cost.

Might I suggest that you put this recommendation in a very publick place. I'm sure it will help others.
How did this problem occurr? Well I replaced my HP6500 with anEpson -- it wouldn't work in Linux. So I replaced it with an HP8600. I guess that was one to many printers. I'm not sure how to clear out the 6500 though. It doesn't appear to be in Linux!

Thank you!............................... Al
Locked