LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-23-2004, 09:16 PM   #1
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
sharing printers in linux and windows xp: no printing, yet no errors


more windows/linux networking woes....

after successfully samba-ing a linux and windows me box, i decided to traverse the vast world of winxp/linux networking, only to find that the new print system in winxp only leads to pain...

i have searched and read, but no solution has been given as to why i am unable to print to a linux shared printer, when it is accessable and is reported to be connected; also, when trying to print to a windows shared printer, the information is definitely sent (the router's wireless light starts flashing) but nothing is reported to happen in windows

what is the cause of this? i was wondering if i need to change the access level to "user" in windows, but i don't know where that option is...

here is my smb.conf file:

[global]
workgroup = MSHOME
security = user
encrypt passwords = Yes
null passwords = Yes
log level = 3
os level = 33
printing = cups

[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No

[public]
comment = Public Stuff
path = /mnt/2winData
read only = No
guest ok = Yes

[printers]
comment = All Printers
valid users = sandeep
path = /var/spool/samba
printable = Yes
browseable = No
use client driver = yes

*note: the problem is not with the "browsable" option

**note2: i also have enabled guest account in windows xp, don't have a firewall (so ports are not being blocked) and the same users and passwords exist on both machines; i am truly bewildered

samba 2.28a btw
 
Old 04-26-2004, 07:01 AM   #2
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
From the command line in root on my slackware box I can

smbclient //abit/epson -U guest

Where abit is what my XP box is known as and epson is the sghare name for the printer. It invites me to type a password in this case there isn't one so I just hit <Return> it should then gives the following prompt

smb: \>

at this prompt I type

print /root/.bash_profile


the .bash_profile is a small text file that exists in my root folder. The print command sends the file to the printer whose share name on the XP box is called epson which then gets printed.

at the next smb: />

type quit or exit.

May give more information
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
hplip does not support printing to windows printers phats_O Linux - Hardware 1 06-01-2005 03:54 PM
fax and printers sharing [ITA]freeware Linux - Software 2 04-24-2005 09:05 PM
CUPS -- sharing with WINDOWS AND LINUX remote printers 1kyle Linux - Networking 4 07-15-2004 06:55 PM
Samba not printing one only one out of two printers tddlard Linux - Networking 1 12-29-2003 06:04 PM
Printers printing garbage? inkysplat Linux - Hardware 1 11-03-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration