Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

2 views
Skip to first unread message

USMC Sniper

unread,
Jan 31, 2004, 12:59:11 PM1/31/04
to
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


jmh

unread,
Jan 31, 2004, 7:19:14 PM1/31/04
to
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

John Thompson

unread,
Jan 31, 2004, 9:09:17 PM1/31/04
to
["Followup-To:" header set to comp.os.linux.networking.]

On 2004-01-31, USMC Sniper <md_...@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 (JohnTh...@new.rr.com)

USMC Sniper

unread,
Feb 1, 2004, 2:30:19 AM2/1/04
to

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

Ross Axe

unread,
Feb 1, 2004, 7:41:44 PM2/1/04
to

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

Kirk C Aune

unread,
Feb 4, 2004, 8:02:01 AM2/4/04
to
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).


Charles Tryon

unread,
Feb 7, 2004, 6:55:12 PM2/7/04
to
Kirk C Aune wrote:
...

>
> 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).

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.)

0 new messages