[opensuse] sharing printer to OS X - can't get to work
Hi! 11.3 is just about to come out! Excellent! However, I'm still on 11.2 and I'm pretty much stuck on trying to share printer to OS X 10.6.4. I really hope somebody can help here, even though I know that the problem can also be on OS X side. So, I'm running 11.2 and I have Canon iP4300 connected to the server via USB. I have enabled samba server (from YaST) to share folders. Works... although form time to time it seems that OS X looses the connections and can't get them up before reboot (I changed to OS X from Windows - this isn't making me happy BTW). OpenSUSE server doesn't have firewall enabled (so that at least that is not the problem). I've tried everything, but I'll try to recap now... So, on samba (YaST), I have both printers and print$ enabled. From CUPS, I have published the printer with name canonip4300. The state is "idle, accepting jobs, published". I don't even know if I should be using both Samba and CUPS... however, currently my old WinXP can use the server to print. So, now from the OS X, I can not seem to be able to print to this. I am able to add it to the printers from the OS X GUI as well as OS X CUPS. I've tried to set it with GUI methods as well as manually with these: smb://192.168.1.2/canonip4300 smb://myusername@192.168.1.2/canonip4300 smb://myusername:mypass@192.168.1.2/canonip4300 ipp://192.168.1.2/canonip4300 ipp also with the account... None of those seem to work. The user name and password disappears from Apple GUI and when I try to print something, I just get: "Tree connect failed (NT_STATUS_BAD_NETWORK_NAME)". In the beginning I was not able to print from the old WinXP either because of authentication errors. Those I was able to solve by manually listing the linux user names to the openSUSE CUPS printer share as allowed users. I think that at this point, I also got similar authentication error on OS X, but I'm not getting those anymore. I really cannot understand where the problem is. I thought that with CUPS on both openSUSE on OS X, there should be no problems... :-( So, huge thanks to anybody who can point me to right direction! Here is my samba.conf: ---------------------------- # smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2010-04-13 [global] workgroup = [name removed, but as curiosity, it does contain "Ä" in it] passdb backend = tdbsam printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = No security = user add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain logons = No domain master = No wins support = Yes netbios name = Box ldap suffix = [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [profiles] comment = Network Profiles Service path = %H read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 ## Share disabled by YaST # [netlogon] [share] inherit acls = Yes path = /share read only = No -------------------- And here is the printers part from CUPS -------------------- # Printer configuration file for CUPS v1.3.11 # Written by cupsd on 2010-07-04 15:03 <DefaultPrinter canonip4300> Info Canon iP4300 with driver Canon PIXMA iP4300 - CUPS+Gutenprint v5.0.2 DeviceURI usb://Canon/iP4300 State Idle StateTime 1278244930 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 AllowUser myusername AllowUser otherusername OpPolicy default ErrorPolicy stop-printer </Printer> -------------------- -- HG. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/04/2010 09:23 AM, HG wrote:
Hi!
11.3 is just about to come out! Excellent! However, I'm still on 11.2 and I'm pretty much stuck on trying to share printer to OS X 10.6.4. I really hope somebody can help here, even though I know that the problem can also be on OS X side.
So, I'm running 11.2 and I have Canon iP4300 connected to the server via USB. I have enabled samba server (from YaST) to share folders. Works... although form time to time it seems that OS X looses the connections and can't get them up before reboot (I changed to OS X from Windows - this isn't making me happy BTW). OpenSUSE server doesn't have firewall enabled (so that at least that is not the problem). I've tried everything, but I'll try to recap now...
I'm not sure whether you must print thru a network, or if you really just want to share the printer. In the latter case, there may be an easy way out:
I have an HP LaserJet (2200D) which has three inputs: parallel, USB, and IR. (I don't know of anything that outputs IR, but maybe some laptops do.) However, the Windows machine is connected to the USB port, and the Linux machine is connected to the parallel port, and everything works fine. (Not sure what would happen if both machines sent a print command at the same time, but since it's only me sending, I can't be at two machines at once.)
A cruder method would be a mechanical switch, which is available from cablewholesale.com.
The list manager didn't like my inclusion of the http details--don't know what specifically annoyed it--but here in plain English: Part number 40121A. Price: $11.73 Hoope that helps. --doug -- Blessed are the peacemakers...for they shall be shot at from both sides. --A. M. Greeley -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 07/05/2010 01:32 AM, Doug wrote:
On 07/04/2010 09:23 AM, HG wrote:
Hi!
11.3 is just about to come out! Excellent! However, I'm still on 11.2 and I'm pretty much stuck on trying to share printer to OS X 10.6.4. I really hope somebody can help here, even though I know that the problem can also be on OS X side.
So, I'm running 11.2 and I have Canon iP4300 connected to the server via USB. I have enabled samba server (from YaST) to share folders. Works... although form time to time it seems that OS X looses the connections and can't get them up before reboot (I changed to OS X from Windows - this isn't making me happy BTW). OpenSUSE server doesn't have firewall enabled (so that at least that is not the problem). I've tried everything, but I'll try to recap now...
I'm not sure whether you must print thru a network, or if you really just want to share the printer. In the latter case, there may be an easy way out:
I have an HP LaserJet (2200D) which has three inputs: parallel, USB, and IR. (I don't know of anything that outputs IR, but maybe some laptops do.) However, the Windows machine is connected to the USB port, and the Linux machine is connected to the parallel port, and everything works fine. (Not sure what would happen if both machines sent a print command at the same time, but since it's only me sending, I can't be at two machines at once.)
A cruder method would be a mechanical switch, which is available from cablewholesale.com.
The list manager didn't like my inclusion of the http details--don't know what specifically annoyed it--but here in plain English:
Part number 40121A. Price: $11.73
Hoope that helps. --doug
Well, I can't make you happy but I had the same problem of connection from OSX - using WiFi - to the cups server. Luckily I use a networked printer (HP CP1515n) and connected directly from OSX to that. Why I can't connect to the cups server - set everything open, no FW etc - is beyond my understanding. Maybe something specific to OSX? [must be true, since Apple is the biggest monopolist now :) ]. Frans. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi!
On Mon, Jul 5, 2010 at 2:08 AM, Frans de Boer
Well, I can't make you happy but I had the same problem of connection from OSX - using WiFi - to the cups server. Luckily I use a networked printer (HP CP1515n) and connected directly from OSX to that. Why I can't connect to the cups server - set everything open, no FW etc - is beyond my understanding. Maybe something specific to OSX? [must be true, since Apple is the biggest monopolist now :) ].
I know... but I'm still not sure as CUPS is developed by Apple. So in that sense, I'm kind of open for this being a problem on linux side. But I guess that nobody here knows how to help, so I need to find some good Apple forum that would be a little open minded about other operating systems. -- HG. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 04 Jul 2010 18:32:49 -0500, Doug
The list manager didn't like my inclusion of the http details--don't know what specifically annoyed it
You're long enough on this list to know that html isn't allowed on it, it's as simple as that. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Doug
-
Frans de Boer
-
HG
-
Philipp Thomas