LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Debian share LAN Windows XP printer? (https://www.linuxquestions.org/questions/linux-networking-3/debian-share-lan-windows-xp-printer-487604/)

rockymaxsource 09-28-2006 12:01 AM

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

goestin 09-28-2006 06:50 AM

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!

david_ross 09-28-2006 01:59 PM

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


All times are GMT -5. The time now is 10:33 PM.