Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help printing from WinXP to Linux via Samba...PLEASE :)

Reply
Thread Tools Display Modes

Help printing from WinXP to Linux via Samba...PLEASE :)

 
 
USMC Sniper
Guest
Posts: n/a

 
      01-31-2004, 04:59 PM
OK, I have set up my network to make Fedora my server. My wife's laptop is
running WinXP Home. I am able to see each computer from the other computer
and can share files. I also am able to install the two printers that are
physically connected to the Linux box onto the WinXP box. I am not able,
however, to get it to print from WinXP. I try to print a test page from
WinXP and it says that the test page has been printed, but nothing happens
at the printer. It's like it just disappears after leaving the WinXP box.
Can anyone help with this? I don't know anything about cups, so do I need
to do something with that? Also, maybe my smb.conf is not correct. Here
is my smb.conf:

[global]
workgroup = WORKGROUP
netbios name = Linux-Desktop
server string = linux running samba 3.0.1
hosts allow = 192.168.2. 127.
load printers = yes
socket options = TCP_NODELAY
max log size = 1024
lock directory = /var/samba
smb passwd file = /etc/samba/smbpasswd
password server = None
security = SHARE
encrypt passwords = no
dns proxy = no

[printers]
comment = "All Printers"
path = /var/spool/samba
browseable = no
public = yes
writable = no
printable = yes
print command = /usr/bin/lpr -r %s
use client driver = yes

Thanks!
Tom


 
Reply With Quote
 
 
 
 
wesley
Guest
Posts: n/a

 
      01-31-2004, 07:33 PM
On Sat, 31 Jan 2004 12:59:11 -0500, USMC Sniper wrote:

> OK, I have set up my network to make Fedora my server. My wife's laptop is
> running WinXP Home. I am able to see each computer from the other computer
> and can share files. I also am able to install the two printers that are
> physically connected to the Linux box onto the WinXP box. I am not able,
> however, to get it to print from WinXP. I try to print a test page from
> WinXP and it says that the test page has been printed, but nothing happens
> at the printer. It's like it just disappears after leaving the WinXP box.
> Can anyone help with this? I don't know anything about cups, so do I need
> to do something with that?

<smb.conf snipped>

Yes, you need to have sharing enabled if you are using CUPS. On my system
(RH9) it is in the /etc/cups directory. Or, it may be easier to use the
GUI interface from your menu, if available.




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
DarkMatter
Guest
Posts: n/a

 
      01-31-2004, 07:36 PM
On Sat, 31 Jan 2004 12:59:11 -0500, USMC Sniper
<(E-Mail Removed)> Gave us:

>OK, I have set up my network to make Fedora my server. My wife's laptop is
>running WinXP Home. I am able to see each computer from the other computer
>and can share files. I also am able to install the two printers that are
>physically connected to the Linux box onto the WinXP box. I am not able,
>however, to get it to print from WinXP. I try to print a test page from
>WinXP and it says that the test page has been printed, but nothing happens
>at the printer. It's like it just disappears after leaving the WinXP box.
>Can anyone help with this? I don't know anything about cups, so do I need
>to do something with that? Also, maybe my smb.conf is not correct. Here
>is my smb.conf:
>
>[global]
> workgroup = WORKGROUP
> netbios name = Linux-Desktop
> server string = linux running samba 3.0.1
> hosts allow = 192.168.2. 127.
> load printers = yes
> socket options = TCP_NODELAY
> max log size = 1024
> lock directory = /var/samba
> smb passwd file = /etc/samba/smbpasswd
> password server = None
> security = SHARE
> encrypt passwords = no
> dns proxy = no
>
>[printers]
> comment = "All Printers"
> path = /var/spool/samba
> browseable = no
> public = yes
> writable = no
> printable = yes
> print command = /usr/bin/lpr -r %s
> use client driver = yes
>
>Thanks!
>Tom
>

Did you insure that the printer was shared on the XP box, and that a
user account was made, AND that the printer has a share name?

Sometimes they can be hit via sharename.
 
Reply With Quote
 
jmh
Guest
Posts: n/a

 
      01-31-2004, 11:19 PM
USMC Sniper wrote:
> OK, I have set up my network to make Fedora my server. My wife's laptop is
> running WinXP Home. I am able to see each computer from the other computer
> and can share files. I also am able to install the two printers that are
> physically connected to the Linux box onto the WinXP box. I am not able,
> however, to get it to print from WinXP. I try to print a test page from
> WinXP and it says that the test page has been printed, but nothing happens
> at the printer. It's like it just disappears after leaving the WinXP box.
> Can anyone help with this? I don't know anything about cups, so do I need
> to do something with that? Also, maybe my smb.conf is not correct. Here
> is my smb.conf:
>
> [global]
> workgroup = WORKGROUP
> netbios name = Linux-Desktop
> server string = linux running samba 3.0.1
> hosts allow = 192.168.2. 127.
> load printers = yes
> socket options = TCP_NODELAY
> max log size = 1024
> lock directory = /var/samba
> smb passwd file = /etc/samba/smbpasswd
> password server = None
> security = SHARE
> encrypt passwords = no
> dns proxy = no
>
> [printers]
> comment = "All Printers"
> path = /var/spool/samba
> browseable = no
> public = yes
> writable = no
> printable = yes
> print command = /usr/bin/lpr -r %s
> use client driver = yes

You migh want to check one of the Samba web sites. Also,
have you tried setting the printer to browseable = yes and
then see if you can install the networked printer on the
XP machine, in the Run text input box \\Linux-Desktop\?--
what's the printer name? Maybe that's the problem.

Haven't played with Samba for about 3 years but was
printing to a RH 6.2 system from NT.

You might also look to see if the printer spool has any
jobs--on both the XP machine and the linux one (lpq I
think.)

jmh

 
Reply With Quote
 
John Thompson
Guest
Posts: n/a

 
      02-01-2004, 01:09 AM
["Followup-To:" header set to comp.os.linux.networking.]

On 2004-01-31, USMC Sniper <(E-Mail Removed)> wrote:

> OK, I have set up my network to make Fedora my server. My wife's laptop is
> running WinXP Home. I am able to see each computer from the other computer
> and can share files. I also am able to install the two printers that are
> physically connected to the Linux box onto the WinXP box. I am not able,
> however, to get it to print from WinXP. I try to print a test page from
> WinXP and it says that the test page has been printed, but nothing happens
> at the printer. It's like it just disappears after leaving the WinXP box.
> Can anyone help with this?


Is there a compelling reason to use samba for printing? Install XP's
tcp/ip printer service and you can print from Windows to linux without
bothering with all that smb nonsense.

--

-John ((E-Mail Removed))
 
Reply With Quote
 
USMC Sniper
Guest
Posts: n/a

 
      02-01-2004, 06:23 AM
On Sun, 01 Feb 2004 02:09:17 +0000, John Thompson wrote:

> ["Followup-To:" header set to comp.os.linux.networking.]
>
> On 2004-01-31, USMC Sniper <(E-Mail Removed)> wrote:
>
>> OK, I have set up my network to make Fedora my server. My wife's laptop is
>> running WinXP Home. I am able to see each computer from the other computer
>> and can share files. I also am able to install the two printers that are
>> physically connected to the Linux box onto the WinXP box. I am not able,
>> however, to get it to print from WinXP. I try to print a test page from
>> WinXP and it says that the test page has been printed, but nothing happens
>> at the printer. It's like it just disappears after leaving the WinXP box.
>> Can anyone help with this?

>
> Is there a compelling reason to use samba for printing? Install XP's
> tcp/ip printer service and you can print from Windows to linux without
> bothering with all that smb nonsense.


I have installed the tcp/ip printer service on WinXP, thanks. As I said,
I'm a novice at linux, so how do I configure the linux side now in order
to use the printer via tcp/ip?

Thanks,
Tom


 
Reply With Quote
 
USMC Sniper
Guest
Posts: n/a

 
      02-01-2004, 06:27 AM
On Sun, 01 Feb 2004 02:09:17 +0000, John Thompson wrote:

> ["Followup-To:" header set to comp.os.linux.networking.]
>
> On 2004-01-31, USMC Sniper <(E-Mail Removed)> wrote:
>
>> OK, I have set up my network to make Fedora my server. My wife's laptop is
>> running WinXP Home. I am able to see each computer from the other computer
>> and can share files. I also am able to install the two printers that are
>> physically connected to the Linux box onto the WinXP box. I am not able,
>> however, to get it to print from WinXP. I try to print a test page from
>> WinXP and it says that the test page has been printed, but nothing happens
>> at the printer. It's like it just disappears after leaving the WinXP box.
>> Can anyone help with this?

>
> Is there a compelling reason to use samba for printing? Install XP's
> tcp/ip printer service and you can print from Windows to linux without
> bothering with all that smb nonsense.


I installed the tcp/ip printer service as advised, thanks. Now how do I
configure the linux side in order to print via tcp/ip? As I said, I'm a
novice at this and am not sure how to configure the printers connected to
the linux box.

Thanks,
Tom


 
Reply With Quote
 
John Thompson
Guest
Posts: n/a

 
      02-01-2004, 06:09 PM
On 2004-02-01, USMC Sniper <(E-Mail Removed)> wrote:

> I installed the tcp/ip printer service as advised, thanks. Now how do I
> configure the linux side in order to print via tcp/ip?


Make sure you have printer services (lpr, lprNG, cups, whatever) running
on the linux machine. On RedHat (and I assume Fedora) you can use the
"service" command; eg "service cups status" to check if cups is running.

You may need to change your inetd or xinetd configuration to allow access
to the printer; eg for xinetd and cups:

service printer
{
socket_type = stream
protocol = tcp
wait = no
user = lp
port = 515
server = /usr/lib/cups/daemon/cups-lpd
only_from = 192.168.0.0/24
}

Restart inetd or xinetd after changing the configuration: "service xinetd
restart"

Then you should be good to go.


--

-John ((E-Mail Removed))
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do all Linux distros have Samba built-in? Detect if Samba installed? Matthew Lincoln Linux Networking 8 11-17-2008 12:11 AM
Printing over samba Mark Tilford Linux Networking 4 01-24-2007 05:21 PM
Help Printing from WinXP to Fedora via SAMBA USMC Sniper Linux Networking 4 01-18-2005 01:34 AM
Samba problem: WinXP <-> ADSL <-> Internet <-> Cable <-> Linux Just Me Linux Networking 14 04-12-2004 02:07 PM
Printing to Samba-shared printer from WinXP Dave Weaver Linux Networking 4 12-30-2003 05:33 PM



1 2 3 4 5 6 7 8 9 10 11