LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2011, 01:34 PM   #1
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Rep: Reputation: 20
Question Ubuntu 11.04 talking to Windows 7 ... the easy way?


My wife uses Windows 7, I use Ubuntu 11.04. We share a wireless router (Netgear). My computer is in my Office, her computer is tucked away in the corner of the living room. She has a Samsung Laser Printer wired to her computer. I need to find a way of connecting to the Laser Printer through her computer. I am not a technical wizzkid, I'm an author, so I would be grateful if someone would help me by sending simple, step by step instructions on how to achieve the connection between my computer and the wired laser printer connected to the computer running Windows 7.

Many thanks.
 
Old 08-22-2011, 01:38 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
The site below explains it for vista so it should be similar for win 7:

http://www.watchingthenet.com/connec...computers.html
 
Old 08-22-2011, 04:24 PM   #3
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by yancek View Post
The site below explains it for vista so it should be similar for win 7:

http://www.watchingthenet.com/connec...computers.html

Thanks for the link. I'll give it a go as soon as my wife as finished working on her PC.
I'll let you know if it worked in a day or two ... keeping my fingers crossed
 
Old 08-22-2011, 04:50 PM   #4
allwimb
Member
 
Registered: Aug 2011
Posts: 47

Rep: Reputation: Disabled
Yeah thank you yancek for the link it's really very interesting.

spring logout

Last edited by allwimb; 12-12-2011 at 06:46 AM.
 
Old 08-22-2011, 06:28 PM   #5
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Original Poster
Rep: Reputation: 20
Okay, I tried to follow the instructions, but without success. Maybe, somebody has the answer to the problem as I certainly don't. I managed to install my wife's printer so that it shows on my computer ... however, in the printer settings it says this.

Description; Samsung CLP-620
Location; Living Room (is that the answer that was expected?)
Device URI; I put in the Computer IPv4 Address and the Gateway Address (is that correct?)
Make and Model; Samsung CLP-620 Foomatic/foo2qpdl (Recommended).
Printer State; idle, unable to connect to CIFS host, will try again in 60 seconds.

The tutorial recommended above does not give all the answers ... unless I have step for step instructions on how and what to type into the relevant boxes this adventure into techie land will have been in vain ... I just don't have the technical know how to complete the task.
 
Old 08-22-2011, 08:02 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Are you getting the information you posted from CUPS or from the Ubuntu printer configuration?
It would be helpful if you would let us know what steps worked and what didn't and whether you had any warning/error messages.
The printer is plugged in and turned on?

Check the link below, Ubuntu 11.04 specific:

http://www.liberiangeek.net/2011/04/...natty-narwhal/
 
Old 08-22-2011, 09:47 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
Is Samba running? If it's not, start Samba and run

"smbclient -L [print server]"

where printserver = the name or the ip of the Windows computer.

That will tell you how Linux is seeing the server name and the printer sharename. You can then use that information to configure the network printer in CUPS.

Also, verify that the printer is properly shared under Windows.

Edit: It's been a while since I had to set something like this up, but I think you have to have the Samba daemon running to print to Windows using CUPS.

Last edited by frankbell; 08-22-2011 at 10:04 PM.
 
Old 08-23-2011, 04:55 AM   #8
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by frankbell View Post
Is Samba running? If it's not, start Samba and run

"smbclient -L [print server]"

where printserver = the name or the ip of the Windows computer.

That will tell you how Linux is seeing the server name and the printer sharename. You can then use that information to configure the network printer in CUPS.

Also, verify that the printer is properly shared under Windows.

Edit: It's been a while since I had to set something like this up, but I think you have to have the Samba daemon running to print to Windows using CUPS.
Here is the message I got when I typed in smbclient etc ...
gae33@gael33:~$ smbclient -l 192.168.0.1
Usage: smbclient [-?EgBVNkPeC] [-?|--help] [--usage]
[-R|--name-resolve=NAME-RESOLVE-ORDER] [-M|--message=HOST]
[-I|--ip-address=IP] [-E|--stderr] [-L|--list=HOST]
[-m|--max-protocol=LEVEL] [-T|--tar=<c|x>IXFqgbNan]
[-D|--directory=DIR] [-c|--command=STRING] [-b|--send-buffer=BYTES]
[-p|--port=PORT] [-g|--grepable] [-B|--browse]
[-d|--debuglevel=DEBUGLEVEL] [-s|--configfile=CONFIGFILE]
[-l|--log-basename=LOGFILEBASE] [-V|--version]
[-O|--socket-options=SOCKETOPTIONS] [-n|--netbiosname=NETBIOSNAME]
[-W|--workgroup=WORKGROUP] [-i|--scope=SCOPE] [-U|--user=USERNAME]
[-N|--no-pass] [-k|--kerberos] [-A|--authentication-file=FILE]
[-S|--signing=on|off|required] [-P|--machine-pass] [-e|--encrypt]
[-C|--use-ccache] service <password>
gae33@gael33:~$

Unfortunately, the techie speak is beyond my comprehension ... In other words I don't understand what any of this means
 
Old 08-23-2011, 05:01 AM   #9
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by yancek View Post
Are you getting the information you posted from CUPS or from the Ubuntu printer configuration?
It would be helpful if you would let us know what steps worked and what didn't and whether you had any warning/error messages.
The printer is plugged in and turned on?

Check the link below, Ubuntu 11.04 specific:

http://www.liberiangeek.net/2011/04/...natty-narwhal/
My wife's operating system is Windows 7 and the setup for network printers is completely different than the one shown in the tutorial ... without a guide I am lost, sorry.
 
Old 08-23-2011, 11:21 AM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
How about this, a little more detail:

http://www.liberiangeek.net/2010/11/...erick-meerkat/

Last edited by yancek; 08-23-2011 at 11:23 AM.
 
Old 08-23-2011, 03:14 PM   #11
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by yancek View Post
How about this, a little more detail:

http://www.liberiangeek.net/2010/11/...erick-meerkat/
You were quite right about the tutorial being more up to date, however, I followed the instructions to the letter and it still didn't work ... thanks for all your help and patience.
I'm obviously not knowledgeable enough to complete this exercise at this moment in time. Perhaps in the future
 
Old 08-23-2011, 07:02 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Well, good luck with it. I thought that tutorial was about as good as it would get on both sides.
 
Old 08-23-2011, 08:40 PM   #13
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
The first time I set up networked printing to a Windows printer, it took me several hours across several Saturdays to get it working, not because it's hard, but because I had to learn. I also stumbled over a great page on how to do it written by someone who had just learned how, so it was written in just the right language for those of us who didn't know. Unfortunately, that page is long gone.

Looking at the output of smbclient that you posted, I would guess that the syntax of the command was not proper. When that happens, Linux often will show an abbreviated "help" display.

Let's say the ip address of your wife's computer is 192.168.1.107.

The command would then be

Code:
smbclient -L 192.168.1.107
The response should like like this, after entering the appropriate password:

Code:
Domain=[NARWHAL] OS=[Windows 7 Professional 7601 Service Pack 1] Server=[Windows 7 Professional 6.1]

	Sharename       Type      Comment
	---------       ----      -------
	ADMIN$          Disk      Remote Admin
	C$              Disk      Default share
	F$              Disk      Default share
	IPC$            IPC       Remote IPC

(text snipped)
If the computer's name is NARWHAL and local DNS is working, entering

Code:
smbclient -L narwhal
should elicit a similar reponse (case doesn't matter in this specific example--I just tested).

(My printer is directly on the network, so I can't actually show a Windows printer in the output of the command, but it would be there. You would then have the proper server name and printer name to enter in the CUPS configuration.)
 
1 members found this post helpful.
Old 08-23-2011, 09:23 PM   #14
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Its case sensitivity that the OP failed on
Quote:
gae33@gael33:~$ smbclient -l 192.168.0.1
He used lowercase L, whereas the instruction (post #7) was (correctly) to use upper-case, and you can see that confirmed in the output he obtained from the above cmd.

@gael33; if you read this you need to know that Linux is case sensitive for everything ie cmds, options, filenames etc.
HTH

Here's a really good tutorial on Linux at the cmd line http://rute.2038bug.com/index.html.gz

Last edited by chrism01; 08-23-2011 at 09:25 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux security myths talking to people using windows nec207 Linux - Security 3 05-20-2011 09:45 PM
can krecord record skype talking, any easy way ? frenchn00b Linux - General 3 02-11-2008 04:09 PM
LXer: Ubuntu users get easy access to Windows apps LXer Syndicated Linux News 0 02-07-2008 04:21 AM
Linux talking to Windows and vice versa tripweed Linux - Networking 4 04-07-2004 09:47 AM


All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration