LinuxQuestions.org
Visit Jeremy's Blog.
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

Closed Thread
 
Search this Thread
Old 09-28-2006, 12:01 AM   #1
rockymaxsource
Member
 
Registered: Feb 2006
Posts: 43

Rep: Reputation: 15
Question Debian share LAN Windows XP printer?


Hey,

I posted this under Hardware category of this forum. But I think this it fits better in networking category, So I reposted it here. Sorry about the duplication!

In my office, we have a Windows XP machine serves as file server and there's a SHARP AR158S printer connect to it. All of my co-workers use printer through the net work. I'm the only person usign Debian. I set up the samba and did the configuration and be able to see the shared folders using smb://server/. By the way the printer is shared on the LAN.

I'm using KDE. I went to Control Center->peripherals->printer. There are 2 options for network printer. One is network
printer(TCP). Another is newwork printer w/Ipp(IPP/HTTP)

In both options I entered smb://server/ppp(my windows XP working
printer name) as printer address and In the subnetwork field I input
192.168.1. after that I hit scan but it tells me:
Code:
"you are about to scan a subnet(192.168.1.*)that does not correspond
to current subnet of this computer (127.0.0.*) .Do you want to scan
the specified subnet anyway?"
In addition, I tried the following:
Code:
LIJIANG:/home/lover# lpadmin -p serverPrinter -h 192.168.1.14 -i -v smb://server/ppp -P /root/ppp.ppd
enable serberPrinter
accept serberPrinter
lpadmin -d serberPrinter

lpadmin: Unable to connect to server: Connection timed out
LIJIANG:/home/lover# enable serberPrinter
bash: enable: serberPrinter: not a shell builtin
LIJIANG:/home/lover# accept serberPrinter
accept: Operation failed: client-error-not-found
LIJIANG:/home/lover# lpadmin -d serberPrinter
lpadmin: set-default failed: client-error-not-found


It seems that my debian network configuration is wrong? Can any of you
help me on this please?

Thanks,
Rocky
 
Old 09-28-2006, 06:50 AM   #2
goestin
Member
 
Registered: Nov 2004
Location: Netherlands (east)
Distribution: debian, suse, novell linux desktop
Posts: 81

Rep: Reputation: 15
When i use printing over SMB i normally use cups:

$ apt-get install cups

then i open a browser and go to http://localhost:631 and there you can install smb shared printers.

i hope this helped you a bit.

cheers!
 
Old 09-28-2006, 01:59 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Please continue here:
http://www.linuxquestions.org/questi...d.php?t=487600
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Share LAN Windows XP printer? rockymaxsource Linux - Hardware 6 10-04-2006 09:55 PM
share folders/files on LAN debian/MS computers. ecampii Linux - Networking 2 09-28-2005 08:05 AM
share printer (windows-debian) psa Linux - Newbie 11 08-30-2004 04:39 PM
how can i share the printer amoung all system in LAN? malikguna Fedora 1 08-06-2004 12:51 AM
How to share files,folders and printer on a LAN ? ZhiYi Linux - Networking 2 02-15-2003 06:14 AM


All times are GMT -5. The time now is 11:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration