[opensuse] printing to a printer on a windows XP machine
I want to share a printer on a windows XP machine with my LInux machine. Although I can see printers on the Linux machine from the Windows machine I can't see the windows printer from the Linux machine.... How do I set it up? Phil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 20 January 2007 00:19, Phil Burness wrote:
I want to share a printer on a windows XP machine with my LInux machine. Although I can see printers on the Linux machine from the Windows machine I can't see the windows printer from the Linux machine....
How do I set it up?
Phil
You add the the printer to cups. (I've always found the cups interface easier to use than yast for this) by pointing your web browser on the linux machine to 127.0.0.1:631 and define the printer via the add new printer link. You select smb or windows printer as the protocol and give it the //machinename/sharename etc. -- _____________________________________ John Andersen
Lørdag 20 januar 2007 10:54 skrev John Andersen:
On Saturday 20 January 2007 00:19, Phil Burness wrote:
I want to share a printer on a windows XP machine with my LInux machine. Although I can see printers on the Linux machine from the Windows machine I can't see the windows printer from the Linux machine....
How do I set it up?
Phil
You add the the printer to cups. (I've always found the cups interface easier to use than yast for this) by pointing your web browser on the linux machine to 127.0.0.1:631 and define the printer via the add new printer link.
You select smb or windows printer as the protocol and give it the //machinename/sharename etc.
- remember to setup a superuseraccount on CUPS using lppasswd (man lppasswd)...otherwise you will not be able to install a new printer using CUPS. -- ------------------------------------------------------------------------- Med venlig hilsen/Best regards Verner Kjærsgaard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Jan 20 09:19 Phil Burness wrote (shortened):
I want to share a printer on a windows XP machine with my LInux machine.
See http://en.opensuse.org/SDB:Printing_via_SMB_%28Samba%29_Share_or_Windows_Sha... and perhaps you may also need http://en.opensuse.org/SDB:CUPS_-_No_Printout_on_the_XP_Client Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 22 January 2007 10:49, Johannes Meixner wrote:
Hello,
On Jan 20 09:19 Phil Burness wrote (shortened):
I want to share a printer on a windows XP machine with my LInux machine.
See http://en.opensuse.org/SDB:Printing_via_SMB_%28Samba%29_Share_or_Windows_Sh are and perhaps you may also need http://en.opensuse.org/SDB:CUPS_-_No_Printout_on_the_XP_Client
Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/ I've read the articles and it appears my username / password are not working correctly.. On the linux machine my username is bsmith password example1 On the XP machine my username is bob.smith@company.com password example2
using nmbstatus I get: WORKGROUP GROUP1 LMB BSMITH2 MEMBERS BSMITH2 using smbclient -L BSMITH2 -U bob.smith@company.com%example2 - N I get session setup failed: NT_STATUS_LOGON_FAILURE The pages pointed to do not give any indication on how to handle this Phil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-01-22 11:10, Phil Burness wrote:
<snip> On the XP machine my username is bob.smith@company.com password example2
Are you sure your username on that system is not just bob.smith? -- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
From: "Darryl Gregorash"
On 2007-01-22 11:10, Phil Burness wrote: <snip> On the XP machine my username is bob.smith@company.com password example2
Are you sure your username on that system is not just bob.smith?
I would think Darryl is right. A good way to test whether your windows box is talking is with the smbclient command. On your Linux box just issue "smbclient -U <username> -L <windows host name>" and then enter the password at the prompt. If you have a valid setup and valid username/password pair, you should see something like this: david@nemesis:~> smbclient -U david -L ripper Password: Domain=[RIPPER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- IPC$ IPC Remote IPC SharedDocs Disk Shared Docs on Ripper print$ Disk Printer Drivers GenericT Printer Generic / Text Only E Disk ADMIN$ Disk Remote Admin C$ Disk Default share Hope that helps..... -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 23 January 2007 03:33, david rankin wrote:
From: "Darryl Gregorash"
On 2007-01-22 11:10, Phil Burness wrote:
<snip> On the XP machine my username is bob.smith@company.com password example2
Are you sure your username on that system is not just bob.smith?
I would think Darryl is right. A good way to test whether your windows box is talking is with the smbclient command. On your Linux box just issue "smbclient -U <username> -L <windows host name>" and then enter the password at the prompt. If you have a valid setup and valid username/password pair, you should see something like this:
david@nemesis:~> smbclient -U david -L ripper Password: Domain=[RIPPER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment --------- ---- ------- IPC$ IPC Remote IPC SharedDocs Disk Shared Docs on Ripper print$ Disk Printer Drivers GenericT Printer Generic / Text Only E Disk ADMIN$ Disk Remote Admin C$ Disk Default share
Hope that helps.....
-- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- Here is the response from the suggestion above:
mymachine:~ # smbclient -U bob.smith@company.com -L BSMITH2 Password: example2 session setup failed: NT_STATUS_LOGON_FAILURE Phil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 23 January 2007 03:33, david rankin wrote:
From: "Darryl Gregorash"
On 2007-01-22 11:10, Phil Burness wrote:
<snip> On the XP machine my username is bob.smith@company.com password example2
Are you sure your username on that system is not just bob.smith?
I would think Darryl is right. A good way to test whether your windows box is talking is with the smbclient command. On your Linux box just issue "smbclient -U <username> -L <windows host name>" and then enter the password at the prompt. If you have a valid setup and valid username/password pair, you should see something like this:
david@nemesis:~> smbclient -U david -L ripper Password: Domain=[RIPPER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment --------- ---- ------- IPC$ IPC Remote IPC SharedDocs Disk Shared Docs on Ripper print$ Disk Printer Drivers GenericT Printer Generic / Text Only E Disk ADMIN$ Disk Remote Admin C$ Disk Default share
Hope that helps.....
-- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- Here is the response from the suggestion above:
mymachine:~ # smbclient -U bob.smith@company.com -L BSMITH2 Password: example2 session setup failed: NT_STATUS_LOGON_FAILURE
Phil hi, is there a reason that you fiddle arround with samba settings and do not use
Phil Burness wrote: printing via ipp, that is supported in any windows client and server from w2k on? Kind regards Eberhard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 23 January 2007 14:34, Eberhard Roloff wrote:
Phil Burness wrote:
On Tuesday 23 January 2007 03:33, david rankin wrote:
From: "Darryl Gregorash"
On 2007-01-22 11:10, Phil Burness wrote:
<snip> On the XP machine my username is bob.smith@company.com password example2
Are you sure your username on that system is not just bob.smith?
I would think Darryl is right. A good way to test whether your windows box is talking is with the smbclient command. On your Linux box just issue "smbclient -U <username> -L <windows host name>" and then enter the password at the prompt. If you have a valid setup and valid username/password pair, you should see something like this:
david@nemesis:~> smbclient -U david -L ripper Password: Domain=[RIPPER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment --------- ---- ------- IPC$ IPC Remote IPC SharedDocs Disk Shared Docs on Ripper print$ Disk Printer Drivers GenericT Printer Generic / Text Only E Disk ADMIN$ Disk Remote Admin C$ Disk Default share
Hope that helps.....
-- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com --
Here is the response from the suggestion above:
mymachine:~ # smbclient -U bob.smith@company.com -L BSMITH2 Password: example2 session setup failed: NT_STATUS_LOGON_FAILURE
Phil
hi, is there a reason that you fiddle arround with samba settings and do not use printing via ipp, that is supported in any windows client and server from w2k on?
Kind regards Eberhard Only that I don't know how to do it via ipp - can you explain?
Thanks Phil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Phil Burness wrote:
On Tuesday 23 January 2007 14:34, Eberhard Roloff wrote:
Phil Burness wrote:
On Tuesday 23 January 2007 03:33, david rankin wrote:
From: "Darryl Gregorash"
On 2007-01-22 11:10, Phil Burness wrote:
<snip> On the XP machine my username is bob.smith@company.com password example2
Are you sure your username on that system is not just bob.smith?
I would think Darryl is right. A good way to test whether your windows box is talking is with the smbclient command. On your Linux box just issue "smbclient -U <username> -L <windows host name>" and then enter the password at the prompt. If you have a valid setup and valid username/password pair, you should see something like this:
david@nemesis:~> smbclient -U david -L ripper Password: Domain=[RIPPER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment --------- ---- ------- IPC$ IPC Remote IPC SharedDocs Disk Shared Docs on Ripper print$ Disk Printer Drivers GenericT Printer Generic / Text Only E Disk ADMIN$ Disk Remote Admin C$ Disk Default share
Hope that helps.....
-- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com --
Here is the response from the suggestion above:
mymachine:~ # smbclient -U bob.smith@company.com -L BSMITH2 Password: example2 session setup failed: NT_STATUS_LOGON_FAILURE
Phil
hi, is there a reason that you fiddle arround with samba settings and do not use printing via ipp, that is supported in any windows client and server from w2k on?
Kind regards Eberhard Only that I don't know how to do it via ipp - can you explain?
Thanks Phil briefly: -you configure your printer in windows and then share it. -you install "internet printing" in windows -you use http://localhost:631 on your linux "client" to add a printer and see there in the cups examples how a ipp queue should look like, afaik yast does this also very nicely.
For a more detailed view of the windows side of ipp printing, this document might be useful. Beware, it is a word document ;-)) : "Effectively using IPP Printing" from Microsoft themselves. http://tinyurl.com/yjm4oq For a more detailed view on the linux side of printing in general and ipp printing in particular, you could have a look here: http://www.cups.org/book/index.php. Lastly, there is also a very good chapter about printing in the suse documentation and a fair amount of information is inside the sdb, mainly written by Johannes Meixner (jsmeix) from suse. hope this helps kind regards Eberhard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
From: "Phil Burness"
On Tuesday 23 January 2007 14:34, Eberhard Roloff wrote: Phil Burness wrote:
Here is the response from the suggestion above:
mymachine:~ # smbclient -U bob.smith@company.com -L BSMITH2 Password: example2 session setup failed: NT_STATUS_LOGON_FAILURE
Phil
Phil, I'll throw a 3rd thing at you. Let's get back to basics shall we. Before you can hope to print via smb, you need to make sure you have a working samba configuration. If you don't have samba configured correctly that can cause many smb printing headaches. A simple global section for your /etc/samba/smb.conf can be: [global] use sendfile = No workgroup = rb_law server string = Samba %v printcap name = cups load printers = yes printing = cups show add printer wizard = No log file = /var/log/samba/log.%m max log size = 50 time server = yes hosts allow = 192.168.7. 192.168.6. 127. 66.76.63.120 map to guest = bad user security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd local master = no os level = 50 name resolve order = wins lmhosts bcast wins server = 192.168.7.15 dns proxy = no Of course adjust the values accordingly. Primarily you need to make sure you have the use sendfile = No and your workgroup configured correctly. Make the changes and don't forget to issue, as root, rcsmb restart. If you changed your workgroup also issue the rcnmb restart. Also, check the version of samba you have installed. If you have 3.0.23c installed that is unpatched, you may be seeing the results of the SID/GID mapping problem that happened in that release for simple setups. Samba.org has the SuSE binaries for 3.0.23d. Believe it or not, You really can print from linux to windows. I just set up another Suse 10 to WinXP printer just to make sure..... -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
From: "Phil Burness"
On Tuesday 23 January 2007 03:33, david rankin wrote: From: "Darryl Gregorash"
On 2007-01-22 11:10, Phil Burness wrote:
<snip> On the XP machine my username is bob.smith@company.com password example2
Are you sure your username on that system is not just bob.smith?
I would think Darryl is right. A good way to test whether your windows box is talking is with the smbclient command. On your Linux box just issue "smbclient -U <username> -L <windows host name>" and then enter the password at the prompt. If you have a valid setup and valid username/password pair, you should see something like this:
david@nemesis:~> smbclient -U david -L ripper Password: Domain=[RIPPER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment --------- ---- ------- IPC$ IPC Remote IPC SharedDocs Disk Shared Docs on Ripper print$ Disk Printer Drivers GenericT Printer Generic / Text Only E Disk ADMIN$ Disk Remote Admin C$ Disk Default share
Hope that helps.....
-- Here is the response from the suggestion above:
mymachine:~ # smbclient -U bob.smith@company.com -L BSMITH2 Password: example2 session setup failed: NT_STATUS_LOGON_FAILURE
Phil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Phil, It appears to be one of two things. (1) the username/password pair of bob.smith@company.com with password example2 is not (a) recognized or (b) allowed remote access to hostname BSMITH2; or (2) Windows firewall is not providing an exception to blocking windows file and print sharing requests. Check control panel -> windows firewall -> exceptions tab. -- David C. Rankin, J.D., P.E. 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 23-01-2007 at 02:23, Darryl Gregorash
wrote: On 2007-01-22 11:10, Phil Burness wrote: <snip> On the XP machine my username is bob.smith@company.com password example2 Are you sure your username on that system is not just bob.smith?
I guess Bob knows best what's his username. And Darryl: did you ever log in to an Active Driectory? It's nothing uncommon there to use logins in this form. Really. Believe me. I had to work on such a system already. Greetings, Dominique -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-01-23 01:49, Dominique Leuenberger wrote:
<snip> I guess Bob knows best what's his username. Not necessarily. log in to an Active Driectory? It's nothing uncommon there to use logins in this form. That part was nice and concise. Thanks for the info.
-- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 23 January 2007 00:23, Darryl Gregorash wrote:
On 2007-01-22 11:10, Phil Burness wrote:
<snip> On the XP machine my username is bob.smith@company.com password example2
Are you sure your username on that system is not just bob.smith?
-- The best way to accelerate a computer running Windows is at 9.81 m/s² If I do the Ctrl-Alt-Del on the XP box it shows the logon information as: smith, bob is logged on as bob.smith@company.com At the logon prompt when I start the XP machine I logon as bob.smith@company.com
the bob.smith@company.com is just an alias in this request for help and not the real logon, but in the attempt to connect I am using the real username etc. Phil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (8)
-
Darryl Gregorash
-
david rankin
-
Dominique Leuenberger
-
Eberhard Roloff
-
Johannes Meixner
-
John Andersen
-
Phil Burness
-
Verner Kjærsgaard