Wine won't let me print!
Wine won't let me print!
I have to use BSL Lessons for and university class, but that stupid thing doesn't let me print anything. Instead, it throws a hissy fit about my printer not being installed. I tried to install my printer, but the installation fails every time. I checked printing with Notepad and it won't cooperate with me for the same reason.
How do I set up a dummy printer in Wine? I heard that Wine uses CUPS for printing.
Specs: Wine 4.0, 32-bit CUPS installed, Pisi Linux 2.1, HP DeskJet 1050
How do I set up a dummy printer in Wine? I heard that Wine uses CUPS for printing.
Specs: Wine 4.0, 32-bit CUPS installed, Pisi Linux 2.1, HP DeskJet 1050
Re: Wine won't let me print!
Hi Pelly,
If you can start notepad with:
to enable the winspool Wine Debug channel.
Please post the resulting log file - "${HOME}/wine_winspool_log.txt" - here, using the forum Code tags:
For reference on my system I get:
on my laptop.
Bob
If you can start notepad with:
Code: Select all
export WINEDEBUG=+winspool
wine notepad &>~/wine_winspool_log.txt
Please post the resulting log file - "${HOME}/wine_winspool_log.txt" - here, using the forum Code tags:
Code: Select all
...
Code: Select all
wine notepad
0009:trace:winspool:load_cups 0x7c829030: libcups.so.2 loaded
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 1 printers
0009:trace:winspool:WINSPOOL_EnumPrintersW Printer 0 is L"Canon_MG6350"
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 1 printers
0009:trace:winspool:WINSPOOL_EnumPrintersW Printer 0 is L"Canon_MG6350"
0009:trace:winspool:WINSPOOL_GetStringFromReg L"Name": L"Canon_MG6350"
0009:trace:winspool:WINSPOOL_GetStringFromReg L"Port": L"CUPS:Canon_MG6350"
0009:trace:winspool:CUPS_LoadPrinters Found 1 CUPS printer:
0009:trace:winspool:CUPS_LoadPrinters Printer 0: L"Canon_MG6350". printer_type 82901c
0009:trace:winspool:CUPS_LoadPrinters Printer already exists
0009:trace:winspool:SetDefaultPrinterW (L"Canon_MG6350")
0009:trace:winspool:SetDefaultPrinterW set device to L"Canon_MG6350,wineps.drv,CUPS:Canon_MG6350"
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 1 printers
0009:trace:winspool:WINSPOOL_EnumPrintersW Printer 0 is L"Canon_MG6350"
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 1 printers
0009:trace:winspool:WINSPOOL_EnumPrintersW Printer 0 is L"Canon_MG6350"
0009:trace:winspool:WINSPOOL_GetStringFromReg L"Name": L"Canon_MG6350"
0009:trace:winspool:WINSPOOL_GetStringFromReg L"Port": L"CUPS:Canon_MG6350"
Bob
Re: Wine won't let me print!
Code: Select all
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
0009:trace:winspool:PRINTCAP_ParseEntry name=Deskjet_1050_J410| entry=:rm=squeekers:rp=Deskjet_1050_J410:
0009:trace:winspool:PRINTCAP_ParseEntry "Deskjet_1050_J410"
0009:trace:winspool:PRINTCAP_ParseEntry ""
0009:trace:winspool:PRINTCAP_ParseEntry Printer already exists
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
0009:trace:winspool:WINSPOOL_EnumPrintersW ignoring PRINTER_ENUM_CONNECTIONS
0009:fixme:winspool:WINSPOOL_EnumPrintersW We don't handle PRINTER_ENUM_CONNECTIONS
Re: Wine won't let me print!
You could install the cups-pdf driver, which will print to a PDF file. That should be enough to get past the complaints from the application about no printer being installed. However, if you want to actually print anything from Wine, your printer needs to be working in the host system. According to https://developers.hp.com/hp-linux-imag ... ices/index, the HP Deskjet 1050 j410 is fully supported by the hplip driver, version 3.10.6 or later.Pelly wrote:How do I set up a dummy printer in Wine? I heard that Wine uses CUPS for printing.
Specs: Wine 4.0, 32-bit CUPS installed, Pisi Linux 2.1, HP DeskJet 1050
Re: Wine won't let me print!
Code: Select all
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
0009:trace:winspool:PRINTCAP_ParseEntry name=Deskjet_1050_J410| entry=:rm=squeekers:rp=Deskjet_1050_J410:
0009:trace:winspool:PRINTCAP_ParseEntry "Deskjet_1050_J410"
0009:trace:winspool:PRINTCAP_ParseEntry ""
0009:trace:winspool:PRINTCAP_ParseEntry Printer already exists
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
0009:trace:winspool:WINSPOOL_EnumPrintersW ignoring PRINTER_ENUM_CONNECTIONS
0009:fixme:winspool:WINSPOOL_EnumPrintersW We don't handle PRINTER_ENUM_CONNECTIONS
0009:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
0009:trace:winspool:WINSPOOL_EnumPrintersW ignoring PRINTER_ENUM_CONNECTIONS
0009:fixme:winspool:WINSPOOL_EnumPrintersW We don't handle PRINTER_ENUM_CONNECTIONS
Re: Wine won't let me print!
@Pelly
The clue is in the first statement of my log:
- a line which isn't in your log...
Anyway I'm presuming you haven't installed: libcups2:i386 ,,,
Bob
The clue is in the first statement of my log:
Code: Select all
0009:trace:winspool:load_cups 0x7c829030: libcups.so.2 loaded
That's pretty vague.32-bit CUPS installed
Anyway I'm presuming you haven't installed: libcups2:i386 ,,,
Bob
Re: Wine won't let me print!
I have it installed, but it's in /usr/lib32.
Re: Wine won't let me print!
@PellyPelly wrote:I have it installed, but it's in /usr/lib32.
Sorry I just skimmed over your first post and didn't realise you were using Pisi Linux.
In my defence these forums are inundated by an army of Ubuntu users...
I'll help out with Arch, Suse, Fedora, Gentoo, Debian/Ubuntu.
But my knowledge of more obscure distributions is pretty limited.
I'd file a bug about, this issue, with your distribution.
It does sound like a packaging issue.
Bob
Re: Wine won't let me print!
I had this same problem. The issue is, in both my case and the OP's, that the printer is missing a description in CUPS. I added one and it worked fine after that. Filed bug 47221 on this issue.