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
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.)
["Followup-To:" header set to comp.os.linux.networking.]
On 2004-01-31, USMC Sniper <md_u...@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.
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_u...@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?
>>>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
If CUPS is already set up to use the printer, then that should be just about all you need. You may need to add the machine or subnet to cupsd.conf. Here's an extract from mine...
<Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 192.168.0. AuthType Basic AuthClass User </Location>
Basically, that lot just means allow access only from 127.0.0.1 and 192.168.0.* (change that to match your subnet). The AuthType and AuthClass lines mean that a username+password will be required, which is probably a good idea but not neccessary.
>> 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_u...@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
> If CUPS is already set up to use the printer, then that should be just > about all you need. You may need to add the machine or subnet to > cupsd.conf. Here's an extract from mine...
> <Location /> > Order Deny,Allow > Deny From All > Allow From 127.0.0.1 > Allow From 192.168.0. > AuthType Basic > AuthClass User > </Location>
> Basically, that lot just means allow access only from 127.0.0.1 and > 192.168.0.* (change that to match your subnet). > The AuthType and AuthClass lines mean that a username+password will be > required, which is probably a good idea but not neccessary.
> HTH, > Ross
Cups printing:
Go to /etc/cups and uncomment octet-** in mime.types and mime.convs. Also uncomment msword in mime.types (or is it mime.convs).
> Go to /etc/cups and uncomment octet-** in mime.types and mime.convs. > Also uncomment msword in mime.types (or is it mime.convs).
Oh jeeze! Like that's really obvious. :-( Guess I should know better than trying to configure this thing through the GUI.
Is there any documentation of this trick, or way you might know to turn that option on through "normal" configuration options?
(Sorry about the tone. I have NEVER been able to get CUPS to work well, or at least not without a huge amount of hair loss and cursing. It tries to present a neat Web based GUI face, but I have never seen a SINGLE useful option that I could set through that interface. The only way to get it to work is to get down and vi the text config files.)