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

This is a discussion on Help printing from WinXP to Linux via Samba...PLEASE :) within the Linux Networking forums, part of the Linux Forums category; OK, I have set up my network to make Fedora my server. My wife's laptop is running WinXP Home. ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-31-2004
USMC Sniper
 
Posts: n/a
Default Help printing from WinXP to Linux via Samba...PLEASE :)

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
  #2 (permalink)  
Old 01-31-2004
wesley
 
Posts: n/a
Default Re: Help printing from WinXP to Linux via Samba...PLEASE :)

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
  #3 (permalink)  
Old 02-01-2004
jmh
 
Posts: n/a
Default Re: Help printing from WinXP to Linux via Samba...PLEASE :)

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
  #4 (permalink)  
Old 02-01-2004
John Thompson
 
Posts: n/a
Default Re: Help printing from WinXP to Linux via Samba...PLEASE :)

["Followup-To:" header set to comp.os.linux.networking.]

On 2004-01-31, USMC Sniper <md_usmc@nospam.yahoo.com> 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 (JohnThompson@new.rr.com)
Reply With Quote
  #5 (permalink)  
Old 02-01-2004
USMC Sniper
 
Posts: n/a
Default Re: Help printing from WinXP to Linux via Samba...PLEASE :)

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 <md_usmc@nospam.yahoo.com> 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
  #6 (permalink)  
Old 02-01-2004
USMC Sniper
 
Posts: n/a
Default Re: Help printing from WinXP to Linux via Samba...PLEASE :)

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 <md_usmc@nospam.yahoo.com> 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
  #7 (permalink)  
Old 02-01-2004
John Thompson
 
Posts: n/a
Default Re: Help printing from WinXP to Linux via Samba...PLEASE :)

On 2004-02-01, USMC Sniper <md_usmc@nospam.yahoo.com> 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 (JohnThompson@new.rr.com)
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0