Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Anyway, here we go. I know you guys get LOTS of posts on this, but I just cannot find a straight answer. I want to get a printer on a windows box on my network (Local IP 192.168.0.101) to allow my linux box to print remotely. Now, I have tried simply using CUPS to go to IP:631/printers/printernamehere, but my printer is not listed.
So, heres a list:
Printer: HP Deskjet 722c on Windows pc
Connecting from: Slackware 10.2 box
Do I need to set up a CUPS or SAMBA server on my windows box? If so, can you please point me to a Howto. If there is anohter way I don't know of yet, please tell me.
Login as root, go to printers --> add printer
Name: whatever name you like
location: //IP
Descrtiption: something
Continue
Device: Windows Printer Via SAMBA (you do have your smb.conf, and smbd running right?)
THIS IS THE FUN PART
Device URI: smb://userasswd@ip/printer (the user y passwod are from the winmachine)
The rest is actually trivial
Originally posted by mago
(you do have your smb.conf, and smbd running right?) [/B]
Uhhh, no....
Which PC should have it, where is it, and what do I do with it?
Also, there is no print driver for ANY of the 700 series. I ahve a Deskjet 768c. I used 810c, and it found it. When I tried printing, I got this error:
Code:
"Can't load /etc/samba/smb.conf - run testparm to debug it"
I assume thats from not having the samba.conf file.
Im close, thanks for the help, and hopefully I can get this over with :P
Scenerio: You have a printer connected to a Windows machine and you want your Linux machine to have access to it
Here's what you do using SAMBA:
To configure CUPS for SAMBA, run the following command:
ln -s `which smbspool` /usr/lib/cups/backend/smb ENTER
The smbspool(1) program is provided with SAMBA starting with SAMBA 2.0.6. Once you have made the link you can configure your printers with one of the following device URIs:
Originally posted by steve1972 Scenerio: You have a printer connected to a Windows machine and you want your Linux machine to have access to it
Here's what you do using SAMBA:
To configure CUPS for SAMBA, run the following command:
ln -s `which smbspool` /usr/lib/cups/backend/smb ENTER
The smbspool(1) program is provided with SAMBA starting with SAMBA 2.0.6. Once you have made the link you can configure your printers with one of the following device URIs:
Well, I know Im a complete and total nub, but when I try that I get this:
Code:
brian@brute:~$ ln -s `which smbspool` /usr/lib/cups/backend/smb
ln: `/usr/lib/cups/backend/smb': File exists
brian@brute:~$ ln -s `which smbspool` /usr/lib/cups/backend/smb ENTER
ln: when making multiple links, last argument must be a directory
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.