CUPS Printers not showing up in wine (notepad et al)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
TheBigLabowski
Newbie
Newbie
Posts: 3
Joined: Tue Dec 02, 2008 1:08 am

CUPS Printers not showing up in wine (notepad et al)

Post by TheBigLabowski »

I compiled and installed wine 1.1.8 (from src from winehq) probably 4 months ago...ish. I never tried printing until today after I installed MathCAD.

My printer (which normally shows up in Ubuntu 8.04 32 bit) doesn't show up at all in wine. MathCAD and notepad both threw an error "Install a printer before trying to print" <- not exact quote. I tried installing bullzip pdf printer, which installed fine, but this was the result when I tried to print from it:

Code: Select all

sean@sean-desktop:~$ wine notepad
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub
fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000013
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
err:commdlg:PRINTDLG_ChangePrinterW DocumentProperties fails on L"Generic PostScript Printer"
fixme:commdlg:PRINTDLG_UpdatePrintDlgW No lpdm ptr?
fixme:commdlg:PRINTDLG_WMCommandW Update printdlg was not successful!
Is there something I need to do in order to see my CUPS printers in Wine? I have done absolutely no setup for any printers besides try and install bullzip.

Any ideas? Did I have to do something special when I compiled wine in order to have this functionality?

I appreciate any insight.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

CUPS Printers not showing up in wine (notepad et al)

Post by austin987 »

On Tue, Dec 2, 2008 at 12:17 AM, TheBigLabowski
<[email protected]> wrote:
I compiled and installed wine 1.1.8 (from src from winehq) probably 4 months ago...ish. I never tried printing until today after I installed MathCAD.

My printer (which normally shows up in Ubuntu 8.04 32 bit) doesn't show up at all in wine. MathCAD and notepad both threw an error "Install a printer before trying to print" <- not exact quote. I tried installing bullzip pdf printer, which installed fine, but this was the result when I tried to print from it:


Code:

sean@sean-desktop:~$ wine notepad
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub
fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000013
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
err:commdlg:PRINTDLG_ChangePrinterW DocumentProperties fails on L"Generic PostScript Printer"
fixme:commdlg:PRINTDLG_UpdatePrintDlgW No lpdm ptr?
fixme:commdlg:PRINTDLG_WMCommandW Update printdlg was not successful!




Is there something I need to do in order to see my CUPS printers in Wine? I have done absolutely no setup for any printers besides try and install bullzip.

Any ideas? Did I have to do something special when I compiled wine in order to have this functionality?

I appreciate any insight.





Does your printer work in cups? I.e., can you print from firefox? Did
you originally compile with printing support?

--
-Austin
TheBigLabowski
Newbie
Newbie
Posts: 3
Joined: Tue Dec 02, 2008 1:08 am

Post by TheBigLabowski »

I can print fine from firefox, document viewer, etc. in ubuntu (while not using wine).

It may or may not be of interest to note that another windows port (Mathematica, linux version) can't see my printer either, I always have to print to file. This is not running in wine, however, it's a native linux version from wolfram.

I did not explicitly compile wine with printing support. What are the flags to do that when I compile? I've only ever compiled stuff in linux with just ./configure;make;make install. What would I want to change in order to install with printing support?

Thanks!
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

CUPS Printers not showing up in wine (notepad et al)

Post by austin987 »

On Tue, Dec 2, 2008 at 11:59 AM, TheBigLabowski
<[email protected]> wrote:
I can print fine from firefox, document viewer, etc. in ubuntu (while not using wine).

It may or may not be of interest to note that another windows port (Mathematica, linux version) can't see my printer either, I always have to print to file. This is not running in wine, however, it's a native linux version from wolfram.

I did not explicitly compile wine with printing support. What are the flags to do that when I compile? I've only ever compiled stuff in linux with just ./configure;make;make install. What would I want to change in order to install with printing support?

Thanks!





If you didn't have cups dev libraries installed when compiling, you
may not have printing support. Check the status of configure.

--
-Austin
TheBigLabowski
Newbie
Newbie
Posts: 3
Joined: Tue Dec 02, 2008 1:08 am

Post by TheBigLabowski »

Do you know which Ubuntu (or other) repository would have that package? I'm assuming the one I want is "cups-dev" but it doesn't show up in synaptic for me so I don't think I have the repository that has it.

I have all of the Ubuntu repos selected (including multi and universe).

Which repository would have cups-dev? Should I just find and compile it from source? Also, is cups-dev even the correct package?

Thanks in advance, you've been very helpful :)
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

CUPS Printers not showing up in wine (notepad et al)

Post by austin987 »

On Tue, Dec 2, 2008 at 6:53 PM, TheBigLabowski
<[email protected]> wrote:
Do you know which Ubuntu (or other) repository would have that package? I'm assuming the one I want is "cups-dev" but it doesn't show up in synaptic for me so I don't think I have the repository that has it.

I have all of the Ubuntu repos selected (including multi and universe).

Which repository would have cups-dev? Should I just find and compile it from source? Also, is cups-dev even the correct package?

Thanks in advance, you've been very helpful :)
http://wiki.winehq.org/Recommended_Packages

looks like libcupsys2-dev


--
-Austin
Locked