[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Configure to share Window XP printer (before it was set up samba)



Hey,

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:
"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:
##--------------------snap begin--------------------#
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
#---------------------snap end----------------------#


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

Thanks,
Rocky



Reply to: