LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-24-2005, 05:32 PM   #1
rbm
LQ Newbie
 
Registered: Oct 2005
Location: Netherlands
Distribution: Fedora Core 4
Posts: 26

Rep: Reputation: 15
Question Connecting to a windows shared printer


Hello,

I have a (small) network with only 2 pc's and a (wireless) router.

I have a Windows 2000 prof. edition machine which is sharing a HP DeskJet 710c printer. Now I also have a laptop running Fedora (Core 4).

My question, how can I connect to the windows printer share?

Note: all machines ar standalone's.

Please answer this question. Thanks in advantage.
 
Old 11-24-2005, 05:45 PM   #2
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
Hello rbm

Maybe - this - will help (reading the hole thread will help you better). If not try reading - this - too.

Regards.

West.

Last edited by mokele; 11-24-2005 at 05:48 PM.
 
Old 11-24-2005, 05:46 PM   #3
soulestream
Member
 
Registered: Nov 2005
Posts: 183

Rep: Reputation: 30
im sure fedora has some kinda print manager,

or if you have cups installed(you probably do), you can

open a browser(firefox, ephinany,whatever) and

http://localhost:631

enter root and password

add printer

smb

soule
 
Old 11-24-2005, 06:22 PM   #4
rbm
LQ Newbie
 
Registered: Oct 2005
Location: Netherlands
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by soulestream
im sure fedora has some kinda print manager,

or if you have cups installed(you probably do), you can

open a browser(firefox, ephinany,whatever) and

http://localhost:631

enter root and password

add printer

smb

soule
I tried above steps, but when trying to print a test page, the printer does not start.
The printer is at the following location:
\\192.168.123.102\HP DeskJet 710C
Do I have to add something to the smb?

I tried the following:
smb://192.168.123.102/HP DeskJet 710C

I think it has something to do with the authentication on my Windows machine.
This machine knows (besides the Administrator) a user "user" with no password applied. How can I configure this?

ps. the printer is connected to my Windows (2000 prof.) system, not my Fedora system.
 
Old 11-24-2005, 06:47 PM   #5
soulestream
Member
 
Registered: Nov 2005
Posts: 183

Rep: Reputation: 30
check firewall on 2k (if you have one)

make sure samba is running on the linux box

and of course check your path to the printer

soule
 
Old 11-25-2005, 04:52 PM   #6
rbm
LQ Newbie
 
Registered: Oct 2005
Location: Netherlands
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by soulestream
check firewall on 2k (if you have one)

make sure samba is running on the linux box

and of course check your path to the printer

soule
Firewall: Sygate (which accepts all winodws printer/file connections.

Samba is (as far as a know) installed

The path to the printer stated above is correct.

The problem is the user authentication when connecting to a Windows 2000 prof. machine. How can i add this to the smb uri? Just like in an FTP?
then the uri has to be:
smb://user@192.168.123.102/HP DeskJet 710C

knowing that the user account does not have a passoword. Is this correct or does Fedora Core 4 / Samba use other ports?
 
Old 11-25-2005, 05:52 PM   #7
bignewf
LQ Newbie
 
Registered: May 2005
Distribution: red hat enterprise es v. 3, fedora core 1
Posts: 21

Rep: Reputation: 15
first, I would disable any firewalls on the windows machine, or open the ports on the firewall for smb: 135,137, 139, 445
Make sure that smb is disabled to the internet side of your firewall (this is the biggest windows vulnerability)
make sure smb is enabled on your linux box(s)
In the print server settings:

server: //ipadress of server
share: //ipaddress of server/windows share name (usually case sensitive and watch the spaces)

you can get the share name by right-clicking on the printer name>properties>sharing>share name

If it is a windows workgroup, for username servermachinename/username
i.e printserver1/administrator
password

Using a blank password can cause problems with authentication to the windows printservers.
I would use a user account with administrative permissions on the windows printserver

Last edited by bignewf; 11-25-2005 at 10:55 PM.
 
Old 11-25-2005, 10:52 PM   #8
bignewf
LQ Newbie
 
Registered: May 2005
Distribution: red hat enterprise es v. 3, fedora core 1
Posts: 21

Rep: Reputation: 15
first, I would disable any firewalls on the windows machine.
In the print server settings:

server: //ipadress of server
share: //ipaddress of server/windows share name (usually case sensitive and watch the spaces)

you can get the share name by right-clicking on the printer name>properties>sharing>share name

If it is a windows workgroup, then: machinename/username where machinename is the netbios name of the printserver
i.e printserver1/administrator
password

I would use a user account with administrative permissions on the windows printserver
 
Old 11-28-2005, 04:34 PM   #9
rbm
LQ Newbie
 
Registered: Oct 2005
Location: Netherlands
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bignewf
first, I would disable any firewalls on the windows machine.
In the print server settings:

server: //ipadress of server
share: //ipaddress of server/windows share name (usually case sensitive and watch the spaces)

you can get the share name by right-clicking on the printer name>properties>sharing>share name

If it is a windows workgroup, then: machinename/username where machinename is the netbios name of the printserver
i.e printserver1/administrator
password

I would use a user account with administrative permissions on the windows printserver
That is going a bit to fast.

The Windows 2000 prof. workstation is installed with in a Workgroup and knowing users "user" with no password and Administrator with a password installed.

The ip of the server is 192.168.123.102

So the correct uri is smb://192.168.123.102/user/HP DeskJet 710C

Or is it something else.

ps. the current printerstatus is the following:
Description: HP DeskJet 710C
Location: Desktop computer
Printer State: processing, accepting jobs.
"Connection failed with error NT_STATUS_UNSUCCESSFUL"
Device URI: smb://192.168.123.102/user/HP DeskJet 710C

What am I doing wrong?
 
Old 11-28-2005, 04:45 PM   #10
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I wonder if you want to reconfigure the printer in CUPS to interface through the IPP:/ protocol. I think that is the protocol that Windows uses for sharing printers.
 
Old 12-01-2005, 05:32 PM   #11
rbm
LQ Newbie
 
Registered: Oct 2005
Location: Netherlands
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jschiwal
I wonder if you want to reconfigure the printer in CUPS to interface through the IPP:/ protocol. I think that is the protocol that Windows uses for sharing printers.
Trying that I get this:
Description: HP DeskJet 710C
Location: Desktop Computer
Printer State: processing, accepting jobs.
"No pages found!"
Device URI: http://192.168.123.102:631/user/HP%20DeskJet%20710C

There is paper in the printer. Does annyone has a solution.
 
Old 12-05-2005, 03:29 PM   #12
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
It seems that your problem is centering around the driver you are using rather than a failure to connect with the printer (server).
 
Old 12-10-2005, 04:05 PM   #13
rbm
LQ Newbie
 
Registered: Oct 2005
Location: Netherlands
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal
It seems that your problem is centering around the driver you are using rather than a failure to connect with the printer (server).
Which driver sould I use? I now use the (old) HP deskjet choice.
 
Old 12-18-2005, 08:29 AM   #14
rbm
LQ Newbie
 
Registered: Oct 2005
Location: Netherlands
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
I found something in an other topic.

I sould connect to smb://$USER:$PASSWD@samba_server_ip/$PRINTER_NAME

Now I changed it, and in someway when I try to print a test page, it submits (and recieves at the destionation), but the printer does not start printing.

I have token this steps

First screen:
name: home
location: desktop computer
description: HP DeskJet 710C

Second screen:
Device: Windows Printer via SAMBA

Third screen:
Device uri: smb://$USER:$PASSWD@samba_server_ip/$PRINTER_NAME

Forth screen:
Make: HP

Fifth screen:
Model: HP DeskJet Series CUPS v1.1

After that my printer is added succesfully.

When printing a testpage, it works (except for that the printer is not starting printing, but I see the document in the queue.)

The status is:
Printer State: idle, accepting jobs.
"CUPS v1.1.23 is ready to print."

But when printing something with an other application (for example, gedit), it does nothing at al. Not even set the document in the queue.

When printing something with Firefox:
Printer State: idle, accepting jobs.
"No pages found!"

And somehow in the status of the job is "aborted".

What am I doing wrong and how can I correct it? Thanks in advantage.
 
Old 12-18-2005, 02:32 PM   #15
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
Did you try the first step provided in the link, in the post #2?

-W
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to a Samba shared printer Sm1ler Linux - General 3 03-21-2005 01:31 PM
connecting to a windows shared printer in slackware 9.1 rogue_jedi Linux - Hardware 2 03-16-2004 10:07 AM
Network Printer Shared in Windows crewblunts Linux - Hardware 1 02-12-2004 09:55 PM
Networking with Windows XP and printing to Windows XP shared printer AlanButler Red Hat 1 10-27-2003 06:07 AM
Connecting to Shared Windows Directory NiallC Linux - Networking 3 08-10-2003 05:08 AM


All times are GMT -5. The time now is 02:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration