Share LAN Windows XP printer?
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: Code:
"you are about to scan a subnet(192.168.1.*)that does not correspond Code:
LIJIANG:/home/lover# lpadmin -p serverPrinter -h 192.168.1.14 -i -v smb://server/ppp -P /root/ppp.ppd It seems that my debian network configuration is wrong? Can any of you help me on this please? Thanks, Rocky |
You can use cups,
therefor check if its installed. and then you have to link like this Code:
ln -s `which smbspool` /usr/lib/cups/backend/smb add printer Windows printer via SAMBA (as device) smb://134.130.182.1/sharename Raw and if you want all those nice special functions from the print you've to use a PPD file. But in case that you use debian check if with dpkg -l apsfilter if apsfilter is installed. If not then apt-get install apsfilter |
My suggestion would be to bypass the windows server entirely if there is a network interface on the copier itself. In which case the Actual printserver is built into the Sharp machine, and will accept print jobs submitted via lpr.
You will just need the IP address of the Copier/Printer and the lpr port name. Sharp was always fond of using PORT1 as the lpr port name, but I cannot gaurentee that is correct for that particular model. Then grab the PS ppd for that printer from Sharp (MAC OSX uses PS ppd files just like linux does.. you just need to un-stuff the file to use it..) http://www.sharpusa.com/products/Typ...230,18,00.html |
I did below as root:
##---------snap begin------------------# LIJIANG:/home/lover# smbclient -L server -U Maxsource Password: Domain=[SERVER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- .... ... print$ Disk Printer Drivers SHARPAR- Printer ppp ... ... ... AutoMicr Printer Auto Microsoft Office Document Image Writer on BENF SHARPAR-.2 Printer SHARP AR-158S (Copy 1) Domain=[SERVER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Server Comment --------- ------- Workgroup Master --------- ------- ##-------------------snap end---------------------## /usr/sbin/lpinfo -v shows me the following infomation #-----------snap begin------------# network socket network http network ipp network lpd direct parallel:/dev/unknown-parallel0 direct usb:/dev/usb/lp0 ... direct usb:/dev/usb/lp15 network smb #---------snap end-----------# After that I did LIJIANG:/home/lover# /usr/sbin/lpadmin -p serverPrinter -v smb://maxsource:passwd@192.168.1.14/SHARPAR- -P /root/ppp.ppd lpadmin: add-printer (set model) failed: client-error-not-found I went to http://localhost:631/admin and under Printers I can see serverPrinter is there. I started the printer and hit "Print Test Page". But the test page never get printed out. I Configure the Printer but the web-browser tells me "client-error-not-possible". After that I did Modify the printer but I can not find model driver for my WIndows XP printer SHARP AR-158S. I select Raw as well but the printer status is "Idle". The printer's diver is already on Windowx XP server. Do I still need to install the linux driver on my Debian box? I searched in http://www.linuxprinting.org and google, but can not find and linux driver for SHARP 158S driver. Does this means I can not share the printer with my co-workers, simply because I use the different System? Can any of you help me please? Thanks, Rocky |
Quote:
Thanks a lot! Rocky |
If the printer is conncted to a PC with a USB cable then it is not a NETWORK attached printer.. a network attached printer would have a Network cable connected to it and would not eb connected directly to another PC..
so looks like that option is out. I guess your company didn't buy the Network printerserver option. |
Quote:
I followed your instruction. The problem is When I hit the "Print The Test" button, the Printer State turned to "stopped stopped, accepting jobs." automatically on http://localhost:631/printers and I could not start the printer unless I cancel the job. In addition to that I tried to add a class with the same name as the printer printer I select "serverPrinter" as the members but it throw me this error"Error: client-error-not-possible" I set "FileDevice" to "yes" in cupsd.conf as well. Can any of you help me please? |
All times are GMT -5. The time now is 01:35 AM. |