No printers visible on Mac OS X Snow Leopard

Questions about Wine on macOS.
Locked
davelasker
Level 1
Level 1
Posts: 5
Joined: Sun Mar 06, 2011 7:09 pm

No printers visible on Mac OS X Snow Leopard

Post by davelasker »

I am a wine newbie so forgive me if this was already answered, but my Google foo is not good enough to solve the problem.

I just installed wine version 1.2.2 on Mac OS 10.6.6 using Macports. I also installed gdiplus using winetricks. I am not able to see any of my Mac printers on Notepad's Print Dialog. The only printer visible is "Microsoft XPS Document Writer".

I have tried to diagnose this problem as follows:

1) I can go to http://localhost:631/printers and manage CUPS.

2) nc localhost 631, followed by entering text, returns HTML with a 405 error.

3) I ran the command: cupsctl BrowseRemoteProtocols=cups

4) I tried to Add Printers in the wine environment, but I can't figure out how. The Print dialog doesn't have an "Add Printer" button. The Control Panel doesn't have a "Printers and Faxes" applet.

Any suggestions on how to resolve and/or diagnose would be gratefully appreciated.

Thanks for the help!
James McKenzie

No printers visible on Mac OS X Snow Leopard

Post by James McKenzie »

On 3/6/11 5:43 PM, davelasker wrote:
I am a wine newbie so forgive me if this was already answered, but my Google foo is not good enough to solve the problem.

I just installed wine version 1.2.2 on Mac OS 10.6.6 using Macports. I also installed gdiplus using winetricks. I am not able to see any of my Mac printers on Notepad's Print Dialog. The only printer visible is "Microsoft XPS Document Writer".

I have tried to diagnose this problem as follows:

1) I can go to http://localhost:631/printers and manage CUPS.
Can you 'see' your printers at this location? You should get back a
list of installed printers, even if they are networked. If they are not
there, then you will have to install them through Apple -> System
Preferences -> Print & Fax.

In my case, I have no installed printers, so none appear there.
2) nc localhost 631, followed by entering text, returns HTML with a 405 error.

3) I ran the command: cupsctl BrowseRemoteProtocols=cups

4) I tried to Add Printers in the wine environment, but I can't figure out how. The Print dialog doesn't have an "Add Printer" button. The Control Panel doesn't have a "Printers and Faxes" applet.
This does not work. Your printer HAS to be available through CUPS.

James McKenzie
davelasker
Level 1
Level 1
Posts: 5
Joined: Sun Mar 06, 2011 7:09 pm

Re: No printers visible on Mac OS X Snow Leopard

Post by davelasker »

James McKenzie wrote:On 3/6/11 5:43 PM, davelasker wrote:
1) I can go to http://localhost:631/printers and manage CUPS.
Can you 'see' your printers at this location? You should get back a
list of installed printers, even if they are networked.
Yes, I can see all of my installed printers at http://localhost:631/printers.
Martin Gregorie

No printers visible on Mac OS X Snow Leopard

Post by Martin Gregorie »

On Sun, 2011-03-06 at 19:13 -0600, davelasker wrote:
James McKenzie wrote:
On 3/6/11 5:43 PM, davelasker wrote:
1) I can go to http://localhost:631/printers and manage CUPS.
Can you 'see' your printers at this location? You should get back a
list of installed printers, even if they are networked.
Yes, I can see all of my installed printers at http://localhost:631/printers.
Is your CUPS server set to 'publish shared printers connected to this
system'? If not, make it so.

Reason: there are two ways for a program to talk to the CUPS server: (1)
via lpr and (2) via a TCP/IP port. Wine uses the latter which, on the
RedHat Fedora distro anyway, is blocked by default.


Martin
davelasker
Level 1
Level 1
Posts: 5
Joined: Sun Mar 06, 2011 7:09 pm

Re: No printers visible on Mac OS X Snow Leopard

Post by davelasker »

Martin Gregorie wrote:On Sun, 2011-03-06 at 19:13 -0600, davelasker wrote:
James McKenzie wrote:
On 3/6/11 5:43 PM, davelasker wrote:
Can you 'see' your printers at this location? You should get back a
list of installed printers, even if they are networked.
Yes, I can see all of my installed printers at http://localhost:631/printers.
Is your CUPS server set to 'publish shared printers connected to this
system'? If not, make it so. Martin
I believe they are published. I have a Ubuntu system on the same LAN, and I can see the Mac's printers in the Ubuntu System/Administration/Printing panel when I click "Add Printer". They are identified as "Remote CUPS printer under DNS-SD". Is that correct?
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: No printers visible on Mac OS X Snow Leopard

Post by dimesio »

davelasker wrote:I just installed wine version 1.2.2 on Mac OS 10.6.6 using Macports.
First check that the package you installed was compiled with CUPS support. This was a known problem with the Macports builds:

http://bugs.winehq.org/show_bug.cgi?id=17354
http://trac.macports.org/ticket/27836

There is another bug indicating at least one person still has a problem: http://bugs.winehq.org/show_bug.cgi?id=25941

Since only Macports users are reporting this I tend to think it's probably a Macports issue, but you can check that by building Wine yourself.
Locked